/* === Free Mockups visual refresh 2026 START === */
/* Paste this whole block at the VERY TOP of Additional CSS (above every other rule), so the font @import stays valid.
   To undo: delete everything from this START line to the END line below, then Publish. Nothing else changes. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700&display=swap");

:root {
  --fm-ink: #0b0d12;
  --fm-ink-2: #161a22;
  --fm-text: #1d2129;
  --fm-text-2: #555c69;
  --fm-muted: #7d8492;
  --fm-bg: #f4f5f7;
  --fm-surface: #ffffff;
  --fm-line: #e6e8ec;
  --fm-accent: #0a66e8;
  --fm-accent-hover: #0852c2;
  --fm-accent-soft: #eaf2ff;
  --fm-radius: 18px;
  --fm-radius-sm: 12px;
  --fm-shadow: 0 1px 2px rgba(16, 20, 30, .04), 0 6px 20px -6px rgba(16, 20, 30, .08);
  --fm-shadow-hover: 0 2px 4px rgba(16, 20, 30, .05), 0 18px 40px -12px rgba(16, 20, 30, .18);
  --fm-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fm-font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* 1. Base typography and canvas */
html, body, button, input, select, textarea {
  font-family: var(--fm-font);
}
body {
  background: var(--fm-bg);
  color: var(--fm-text-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body h1, body h2, body h3, body h4, body h5, body h6,
body.wf-active h1, body.wf-active h2, body.wf-active h3, body.wf-active h4 {
  font-family: var(--fm-font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fm-text);
}
a { color: var(--fm-accent); }
a:hover { color: var(--fm-accent-hover); }
::selection { background: #cfe0ff; color: var(--fm-ink); }

/* Accessible focus ring (keyboard only) */
body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible,
body .button:focus-visible {
  outline: 2px solid var(--fm-accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* 2. Header */
body .site-header {
  background-color: var(--fm-ink);
  background-image:
    radial-gradient(900px 380px at 50% 120%, rgba(10, 102, 232, .28), transparent 70%),
    radial-gradient(600px 300px at 90% -20%, rgba(255, 255, 255, .06), transparent 70%);
  min-height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
@media only screen and (min-width: 769px) {
  body .header-inside { padding-top: 28px; }
}
body .logo .site-title {
  font-family: var(--fm-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}
body .logo .site-title a { color: #fff; }
body .site-description {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-top: 2px;
}
body .site-header .hero-title { padding: 72px 0 84px; }
body .site-header .hero-title h1,
body.wf-active .site-header .hero-title h1 {
  font-family: var(--fm-font-display);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: none;
  max-width: 900px;
  margin: 0 auto;
}
body .site-header .hero-title p { color: rgba(255, 255, 255, .65); text-shadow: none; }
@media only screen and (max-width: 768px) {
  body .site-header .hero-title { padding: 28px 24px 48px; }
  body .site-header .hero-title h1,
  body.wf-active .site-header .hero-title h1 { font-size: 36px; }
  body .menu-toggle { background: var(--fm-ink-2); border-bottom: 1px solid rgba(255, 255, 255, .06); }
  body .menu-toggle span { font-weight: 600; letter-spacing: .04em; font-size: 13px; }
  body .main-navigation ul { background: var(--fm-ink-2); }
}

/* Header category pills: retuned to the new palette (overrides the existing pills block) */
@media only screen and (min-width: 769px) {
  html body .main-navigation ul.menu > li > a[href*="/downloads/category/"] {
    font-family: var(--fm-font);
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }
  html body .main-navigation ul.menu > li > a[href*="/downloads/category/"]:hover,
  html body .main-navigation ul.menu > li > a[href*="/downloads/category/"]:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .28);
  }
  html body .main-navigation ul.menu > li > a[href*="/downloads/category/"]:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 999px;
  }
  html body .main-navigation ul.menu > li.current-menu-item > a[href*="/downloads/category/"] {
    color: var(--fm-ink);
    background: #fff;
    border-color: #fff;
  }
}
@media only screen and (max-width: 768px) {
  html body .main-navigation ul.menu > li > a[href*="/downloads/category/"] {
    font-family: var(--fm-font);
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
  }
}

/* 3. Search bar and category chips */
body #big-searchform {
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  border-radius: 16px;
  box-shadow: var(--fm-shadow);
  overflow: hidden;
  height: 64px;
}
body .big-search #big-search {
  font-size: 17px;
  background: transparent;
  color: var(--fm-text);
  padding-left: 22px;
}
body .big-search #big-search::placeholder { color: #9aa1ad; }
body .search-select-wrap { border-left: 1px solid var(--fm-line); background: transparent; }
body .big-search .search-select { color: var(--fm-text-2); font-size: 15px; }
body .big-search .submit,
body #big-searchform input[type="submit"] {
  background: var(--fm-ink);
  color: #fff;
  border-radius: 12px;
  height: calc(100% - 12px);
  margin: 6px 6px 6px 0;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 600;
}
body .big-search .submit:hover,
body #big-searchform input[type="submit"]:hover { background: var(--fm-accent); box-shadow: none; }
body .search-cats { font-size: 13px; margin-top: 18px; }
body .search-cat-text { color: var(--fm-muted); margin-right: 8px; }
body .search-cats a {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  color: var(--fm-text-2);
  font-weight: 500;
  margin-right: 6px;
}
body .search-cats a:hover { border-color: var(--fm-text); color: var(--fm-text); background: var(--fm-surface); }
@media only screen and (max-width: 600px) {
  body #big-searchform { height: 56px; border-radius: 14px; }
  body .big-search .submit, body #big-searchform input[type="submit"] { padding: 0 18px; border-radius: 10px; }
}

/* 4. Download cards (home grid, category archives) */
@media only screen and (min-width: 601px) {
  body .portfolio-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-bottom: 0;
  }
  body .portfolio-wrapper::before,
  body .portfolio-wrapper::after { display: none; }
  body .portfolio-wrapper > .column {
    width: auto;
    margin: 0;
    float: none;
    height: auto !important;
  }
}
@media only screen and (min-width: 601px) and (max-width: 960px) {
  body .portfolio-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
body .portfolio-wrapper .column {
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body .portfolio-wrapper .column:hover {
  transform: translateY(-4px);
  box-shadow: var(--fm-shadow-hover);
  border-color: #dcdfe5;
}
body .portfolio-wrapper .column .post-featured-image {
  display: block;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--fm-radius) - 1px) calc(var(--fm-radius) - 1px) 0 0;
}
body .portfolio-wrapper .column .post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
body .portfolio-wrapper .column:hover .post-featured-image img { transform: scale(1.035); }
body .portfolio-wrapper .column .entry-header,
body .portfolio-wrapper .column.edd-download .entry-header {
  padding: 22px 24px 76px;
}
body .portfolio-wrapper .column .entry-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
body .portfolio-wrapper .column .entry-title a { color: var(--fm-text); }
body .portfolio-wrapper .column .entry-title a:hover { color: var(--fm-accent); opacity: 1; }
body .portfolio-wrapper .column .entry-excerpt,
body .portfolio-wrapper .column .entry-excerpt p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fm-text-2);
}
body .portfolio-wrapper .column .entry-excerpt p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .portfolio-wrapper .download-meta {
  border-top: 1px solid var(--fm-line);
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body .portfolio-wrapper .download-meta-price-details span,
body .portfolio-wrapper .download-meta-price-details .edd_price {
  background: #e8f7ef;
  color: #0b7a44;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}
body .portfolio-wrapper .download-meta-price-details span.close-pricing { display: none; }
body #content .portfolio-wrapper .download-meta-name { float: none; padding-top: 0; margin-left: auto; }
body .portfolio-wrapper .download-meta-name a {
  color: var(--fm-text);
  font-weight: 600;
}
body .portfolio-wrapper .download-meta-name a::after {
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  transition: transform .2s ease;
}
body .portfolio-wrapper .column:hover .download-meta-name a { color: var(--fm-accent); }
body .portfolio-wrapper .column:hover .download-meta-name a::after { transform: translateX(3px); }
@media only screen and (max-width: 600px) {
  body .portfolio-wrapper .column { margin-bottom: 20px; }
  body .portfolio-wrapper .column .entry-header,
  body .portfolio-wrapper .column.edd-download .entry-header { padding: 18px 20px 72px; }
  body .portfolio-wrapper .download-meta { padding: 14px 20px; }
}

/* 5. Pagination */
body #content .page-navigation { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
body .page-numbers {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  color: var(--fm-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
body .page-numbers.current,
body .page-numbers:hover {
  background: var(--fm-ink);
  border-color: var(--fm-ink);
  color: #fff;
}
body .page-numbers.dots,
body .page-numbers.dots:hover { background: transparent; border-color: transparent; color: var(--fm-muted); }

/* 6. Single mockup page */
body .single-download .post,
body.single-download .post,
body.page .post,
body.single .post {
  border-radius: var(--fm-radius);
  border: 1px solid var(--fm-line);
  box-shadow: var(--fm-shadow);
  overflow: hidden;
}
body.single-download .post-featured-image img { display: block; width: 100%; }
body .post-text {
  color: var(--fm-text-2);
  font-size: 17px;
  line-height: 1.7;
}
body .post-text h2 { font-size: 30px; margin-top: 1.4em; }
body .post-text h3 { font-size: 22px; margin-top: 1.3em; }
body .post-text > :first-child { margin-top: 0; }
body .post-text a { color: var(--fm-accent); text-decoration: underline; text-decoration-color: rgba(10, 102, 232, .3); text-underline-offset: 3px; }
body .post-text a:hover { text-decoration-color: currentColor; }

/* Related downloads */
body #isa-related-downloads { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--fm-line); }
body #isa-related-downloads h3 { font-size: 20px; margin-bottom: 18px; }
body #isa-related-downloads ul,
body #content .post-content #isa-related-downloads ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body #isa-related-downloads li,
body #content .post-content #isa-related-downloads li { width: auto; margin: 0; padding: 0; float: none; list-style: none; text-align: left; }
body #isa-related-downloads li a {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--fm-text);
  text-decoration: none;
}
body #isa-related-downloads li a:hover { color: var(--fm-accent); }
body #isa-related-downloads li img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 0 8px;
  background: #eceef1;
  border: 1px solid var(--fm-line);
}
body #isa-related-downloads li br { display: none; }
@media only screen and (max-width: 600px) {
  body #content .post-content #isa-related-downloads ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* Purchase box (sidebar) */
body .purchase-box {
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow);
  overflow: hidden;
  text-align: left;
}
body .download-aside { padding: 26px 24px; border-bottom: 1px solid var(--fm-line); }
body .download-aside:last-child { border-bottom: none; }
body .purchase-price {
  font-family: var(--fm-font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fm-text);
  margin-bottom: 18px;
  text-align: center;
}
body #secondary .edd-submit.button,
body #purchase-box .edd-submit,
body #content .edd-submit.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--fm-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -8px rgba(10, 102, 232, .55);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
body #secondary .edd-submit.button::before,
body #purchase-box .edd-submit::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4v11M7 10l5 5 5-5M5 20h14%22/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 4v11M7 10l5 5 5-5M5 20h14%22/%3E%3C/svg%3E") center / contain no-repeat;
}
body #secondary .edd-submit.button:hover,
body #purchase-box .edd-submit:hover {
  background: var(--fm-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 28px -10px rgba(10, 102, 232, .7);
}
body #secondary .edd-submit.button:focus-visible,
body #purchase-box .edd-submit:focus-visible { outline: 3px solid #9cc1ff; outline-offset: 3px; border-radius: 14px; }
body #content .post-content .purchase-box ul,
body #purchase-box .download-details ul { font-size: 14px; }
body .download-details li { color: var(--fm-text-2); padding-left: 22px; margin-bottom: 10px; }
body .download-details ul li::before {
  content: "";
  font-family: inherit;
  width: 6px;
  height: 6px;
  top: 8px;
  left: 4px;
  border-radius: 50%;
  background: var(--fm-accent);
  opacity: .9;
}
body #secondary .download-features + .post-meta { border-top: 1px solid var(--fm-line); padding-top: 20px; margin-top: 20px; }
body #secondary .meta-cat,
body #secondary .meta-tag { font-size: 0; line-height: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
body #secondary .post-meta i { display: none; }
body #secondary .post-meta a {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f3f6;
  color: var(--fm-text-2);
  border: 1px solid transparent;
}
body #secondary .meta-cat a { background: var(--fm-accent-soft); color: var(--fm-accent-hover); font-weight: 600; }
body #secondary .post-meta a:hover { border-color: var(--fm-text-2); color: var(--fm-text); }
body .checkout-share { padding: 20px 24px; text-align: center; }
body .checkout-share .share-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--fm-muted); }
body .checkout-share a { color: #8a919e; }

/* Previous / next */
body .nav-previous,
body .nav-next {
  background: var(--fm-surface);
  border: 1px solid var(--fm-line);
  border-radius: var(--fm-radius-sm);
  box-shadow: var(--fm-shadow);
  padding: 20px 22px;
  transition: box-shadow .2s ease, transform .2s ease;
}
body .nav-previous:hover,
body .nav-next:hover { box-shadow: var(--fm-shadow-hover); transform: translateY(-2px); }
body .post-navigation h4 { font-size: 16px; font-weight: 600; color: var(--fm-text); }
body .post-navigation a span { font-size: 12px; letter-spacing: .08em; color: var(--fm-muted); font-weight: 600; }

/* 7. Static pages */
body.page:not(.home) .post-text { padding: 56px 72px 64px; }
body .post-text .wp-block-image { margin: 0 0 1.4em; }
body .post-text .wp-block-image img { border-radius: 14px; }
@media only screen and (max-width: 600px) {
  body.page:not(.home) .post-text { padding: 28px 22px 36px; }
  body .post-text { font-size: 16px; }
  body .post-text h2 { font-size: 24px; }
}
body.page .post-text p,
body.page .post-text li { color: #3f4552; }

/* 8. Footer */
body .site-footer {
  background: var(--fm-ink);
  color: #9aa1ad;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
body .site-footer-inside { max-width: 1320px; padding: 0 4%; }
body .footer-widget,
body .footer-widget:nth-child(3n) {
  border: none;
  padding: 64px 3% 40px 0;
  height: auto !important;
}
body .footer-widget .widget-title {
  font-family: var(--fm-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 18px;
}
body .footer-widget ul { list-style: none; margin: 0; padding: 0; }
body .site-footer .footer-widgets aside li { margin: 0 0 12px; padding: 0; border: none; }
body .site-footer a { color: #b9bfca; }
body .site-footer a:hover { color: #fff; }
body .site-footer a:focus-visible { outline-color: #fff; }
body .footer-copy {
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: #7d8492;
}
body .site-footer .copyright { width: 100%; }
@media only screen and (max-width: 960px) {
  body .footer-widget,
  body .footer-widget:nth-child(3n) { width: 50%; }
}
@media only screen and (max-width: 600px) {
  body .footer-widget,
  body .footer-widget:nth-child(3n) { width: 100%; float: none; padding: 32px 0 8px; }
  body .footer-widget:first-child { padding-top: 40px; }
  body .site-footer-inside { padding: 0 24px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body .portfolio-wrapper .column,
  body .portfolio-wrapper .column .post-featured-image img,
  body .nav-previous, body .nav-next,
  body #secondary .edd-submit.button { transition: none; }
  body .portfolio-wrapper .column:hover,
  body .portfolio-wrapper .column:hover .post-featured-image img { transform: none; }
}
/* === Free Mockups visual refresh 2026 END === */

li.current-cart { display: none !important; }

/* === Header category buttons (free-mockups.com) START === */
/* Hide the old "Free Mockups" parent item if it is ever re-published */
.main-navigation #menu-item-5 { display: none !important; }

/* Shared: device pictogram drawn with a CSS mask, colored by currentColor */
.main-navigation ul.menu > li > a[href*="/downloads/category/"]::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  font-family: inherit;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.main-navigation li > a[href*="/downloads/category/iphone-mockup/"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%227%22 y=%222.5%22 width=%2210%22 height=%2219%22 rx=%222.5%22/%3E%3Cpath d=%22M11 18.5h2%22/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%227%22 y=%222.5%22 width=%2210%22 height=%2219%22 rx=%222.5%22/%3E%3Cpath d=%22M11 18.5h2%22/%3E%3C/svg%3E");
}
.main-navigation li > a[href*="/downloads/category/ipad-mockup/"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224.5%22 y=%222.5%22 width=%2215%22 height=%2219%22 rx=%222%22/%3E%3Cpath d=%22M11 18.5h2%22/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224.5%22 y=%222.5%22 width=%2215%22 height=%2219%22 rx=%222%22/%3E%3Cpath d=%22M11 18.5h2%22/%3E%3C/svg%3E");
}
.main-navigation li > a[href*="/downloads/category/macbook-mockup/"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224.5%22 y=%225%22 width=%2215%22 height=%2210.5%22 rx=%221.5%22/%3E%3Cpath d=%22M2 19h20%22/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224.5%22 y=%225%22 width=%2215%22 height=%2210.5%22 rx=%221.5%22/%3E%3Cpath d=%22M2 19h20%22/%3E%3C/svg%3E");
}
.main-navigation li > a[href*="/downloads/category/imac-mockup/"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%223.5%22 width=%2219%22 height=%2213%22 rx=%221.5%22/%3E%3Cpath d=%22M12 16.5v4M8.5 20.5h7%22/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%223.5%22 width=%2219%22 height=%2213%22 rx=%221.5%22/%3E%3Cpath d=%22M12 16.5v4M8.5 20.5h7%22/%3E%3C/svg%3E");
}
.main-navigation li > a[href*="/downloads/category/apple-watch-mockup/"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%226.5%22 y=%226.5%22 width=%2211%22 height=%2211%22 rx=%223%22/%3E%3Cpath d=%22M9 6.5 9.6 3h4.8l.6 3.5M9 17.5l.6 3.5h4.8l.6-3.5%22/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%226.5%22 y=%226.5%22 width=%2211%22 height=%2211%22 rx=%223%22/%3E%3Cpath d=%22M9 6.5 9.6 3h4.8l.6 3.5M9 17.5l.6 3.5h4.8l.6-3.5%22/%3E%3C/svg%3E");
}

/* Desktop: pill buttons side by side */
@media only screen and (min-width: 769px) {
  .main-navigation ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    min-height: 56px;
  }
  .main-navigation ul.menu > li {
    display: block;
  }
  .main-navigation ul.menu > li > a[href*="/downloads/category/"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px 0 13px;
    line-height: 1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: none;
    white-space: nowrap;
    color: #d7dde2;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  }
  .main-navigation ul.menu > li > a[href*="/downloads/category/"]:hover,
  .main-navigation ul.menu > li > a[href*="/downloads/category/"]:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, .13);
    border-color: rgba(255, 255, 255, .45);
  }
  .main-navigation ul.menu > li > a[href*="/downloads/category/"]:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }
  .main-navigation ul.menu > li.current-menu-item > a[href*="/downloads/category/"] {
    color: #262a2e;
    background: #fff;
    border-color: #fff;
  }
}

/* Mobile and tablet (theme toggle at 768px): plain list, icon left of label */
@media only screen and (max-width: 768px) {
  .main-navigation ul.menu > li > a[href*="/downloads/category/"] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-transform: none;
  }
  .main-navigation ul.menu > li > a[href*="/downloads/category/"]::before {
    width: 20px;
    height: 20px;
  }
}
/* === Header category buttons END === */