.shop-mega-menu[hidden] {
  display: none;
}

/* Chevron inside the "Sklep" link (the link is inline-flex with a gap, see menu.css). */
.mega-menu-trigger__icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.is-mega-menu-open > .mega-menu-trigger .mega-menu-trigger__icon {
  transform: translateY(2px) rotate(225deg);
}

.shop-mega-menu {
  position: fixed;
  z-index: 99;
  top: var(--header-bottom, 112px);
  right: 0;
  left: 0;
  padding: 22px max(24px, calc((100vw - 1680px) / 2));
  border-top: 1px solid rgba(147, 109, 53, .18);
  background: var(--paper);
  box-shadow: 0 24px 54px rgba(49, 38, 31, .18);
  color: #302a26;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .22s ease, transform .28s ease, visibility .28s;
}

.shop-mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.shop-mega-menu__mobile-head {
  display: none;
}

.shop-mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  max-height: calc(100vh - var(--header-bottom, 112px) - 44px);
  overflow: auto;
  /* border: 1px solid rgba(147, 109, 53, .15);
  border-radius: 8px;
  background: #fbf8f3; */
}

.shop-mega-menu__column {
  min-width: 0;
  padding: 22px;
}

.shop-mega-menu__column + .shop-mega-menu__column {
  border-left: 1px solid rgba(147, 109, 53, .15);
}

.shop-mega-menu__cards,
.shop-mega-menu__links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-mega-menu__card,
.shop-mega-menu__audience,
.shop-mega-menu__category,
.shop-mega-menu__feature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(147, 109, 53, .13);
  border-radius: 7px;
  background: #f4efe7;
}

.shop-mega-menu__card > a,
.shop-mega-menu__audience > a,
.shop-mega-menu__category > a,
.shop-mega-menu__collection,
.shop-mega-menu__feature-link {
  color: inherit;
  text-decoration: none;
}

.shop-mega-menu__card > a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 104px;
  position: relative;
  isolation: isolate;
  padding: 18px 42% 18px 18px;
}

/* Photo on the right half, kept in proportion and faded into the card on the left. */
.shop-mega-menu__card > a[style]::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 58%;
  background: var(--mega-image) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  transition: transform .4s ease;
}

.shop-mega-menu__card > a[style]:hover::before {
  transform: scale(1.04);
}

.shop-mega-menu__card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #936d35;
}

.shop-mega-menu__card-icon :is(svg, img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-mega-menu__card-icon svg:not([fill]) {
  fill: currentColor;
}

.shop-mega-menu__card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.shop-mega-menu__card-copy strong,
.shop-mega-menu__feature strong {
  color: #936d35;
  font-size: 16px;

}

.shop-mega-menu__card-copy strong {
  font-weight: 600;
}

.shop-mega-menu__feature strong  {
  font-weight: 500;
}

.shop-mega-menu__card-arrow {
  display: inline-flex;
  margin-top: 10px;
  margin-left: auto;
}

.shop-mega-menu__card-arrow svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.shop-mega-menu__card > a:hover .shop-mega-menu__card-arrow svg {
  transform: translateX(4px);
}

.shop-mega-menu__card strong,
.shop-mega-menu__feature strong,
.shop-mega-menu__heading,
.shop-mega-menu__audience strong,
.shop-mega-menu__category strong,
.shop-mega-menu__collection {
  text-transform: uppercase;
}

.shop-mega-menu__heading,
.shop-mega-menu__audience strong,
.shop-mega-menu__category strong,
.shop-mega-menu__collection {
  font-size: 14px;
  font-weight: 600;
}

.shop-mega-menu__heading {
  color: var(--inc);
}

.shop-mega-menu__card span,
.shop-mega-menu__feature p,
.shop-mega-menu__category small {
  font-size: 14px;
  max-width: 280px;
  margin-top: 6px;
}

.shop-mega-menu__audience > a {
  display: grid;
  grid-template-columns: 34px 68px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 82px;
  padding: 8px 14px 8px 8px;
  gap: 10px;
}

.shop-mega-menu__audience-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #936d35;
}

.shop-mega-menu__audience-icon :is(svg, img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-mega-menu__audience-icon svg:not([fill]) {
  fill: currentColor;
}

.shop-mega-menu__audience-photo {
  display: block;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 50%;
}

.shop-mega-menu__audience-photo img {
  width: 68px;
  height: 68px;
  object-fit: cover;
}

.shop-mega-menu__arrow {
  display: inline-flex;
}

.shop-mega-menu :is(.shop-mega-menu__arrow, .shop-mega-menu__collection, .shop-mega-menu__feature-link) svg,
.primary-nav__mega-promo-copy > span > svg {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.shop-mega-menu :is(.shop-mega-menu__collection, .shop-mega-menu__feature-link):hover svg,
.primary-nav__mega-promo:hover .primary-nav__mega-promo-copy > span > svg {
  transform: translateX(4px);
}

.shop-mega-menu__category > a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  gap: 12px;
}

.shop-mega-menu__category-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #936d35;
}

.shop-mega-menu__category-icon :is(svg, img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  stroke-width: 1.5;
}

.shop-mega-menu__badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eadbc5;
  color: #936d35;
  font: 600 14px/1 Montserrat, Arial, sans-serif;
}

.shop-mega-menu__collection {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  gap: 10px;
}

.shop-mega-menu__feature {
  height: 100%;
  background: #f4efe7;
}

.shop-mega-menu__feature-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shop-mega-menu__feature-copy {
  padding: 22px;
}

.shop-mega-menu__feature-heading,
.primary-nav__mega-promo-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-mega-menu__feature-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #936d35;
}

.shop-mega-menu__feature-icon :is(svg, img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.shop-mega-menu__feature-icon svg:not([fill]) {
  fill: currentColor;
}

.shop-mega-menu__feature-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.primary-nav__mobile-sections {
  display: none;
}

@media (max-width: 1000px) {
  .primary-nav__mobile-sections {
    display: block;
    margin-bottom: 18px;
  }

  .primary-nav__mobile-promos,
  .primary-nav__mobile-audiences {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .primary-nav__mobile-promos {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(147, 109, 53, .16);
  }

  .primary-nav__mobile-audiences {
    padding-block: 10px;
    border-bottom: 1px solid rgba(147, 109, 53, .16);
  }

  .primary-nav__mobile-item {
    border: 0 !important;
  }

  .primary-nav__mobile-item > a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    align-items: center;
    min-height: 48px;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 5px;
    color: inherit;
  }

  .primary-nav__mobile-item.is-featured > a {
    background: #f4efe7;
  }

  .primary-nav__mobile-item > a:hover,
  .primary-nav__mobile-item > a:focus-visible {
    background: #f4efe7;
    color: #936d35;
  }

  .primary-nav__mobile-item strong,
  .primary-nav__subpanel-item strong,
  .primary-nav__subpanel-head strong  {
    font: 600 14px/1.35 Montserrat, Arial, sans-serif;
    text-transform: uppercase;
  }

  .primary-nav__mobile-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    /* color: #936d35; */
  }

  .primary-nav__mobile-icon :is(svg, img) {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .primary-nav__mobile-icon svg:not([fill]) {
    fill: currentColor;
  }

  .primary-nav__mobile-chevron {
    display: block;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .primary-nav .menu > li {
    min-height: 60px;
  }

  .primary-nav .menu > li > a,
  .primary-nav .menu > .menu-item-atelier > a {
    min-height: 60px;
    margin: 0;
    padding: 20px 12px;
    background: transparent;
    color: inherit;
  }

  /* .primary-nav .menu-item-atelier > a::after {
    display: none;
  } */

  .primary-nav .menu > li > a:hover,
  .primary-nav .menu > li.menu-item-has-children:hover > a,
  .primary-nav .menu > li.menu-item-has-children:hover > .submenu-toggle,
  .primary-nav .menu > li.menu-item-has-children:focus-within > a,
  .primary-nav .menu > li.menu-item-has-children:focus-within > .submenu-toggle {
    background: transparent;
    color: #936d35;
  }

  .primary-nav .menu > li > .submenu-toggle {
    top: 0;
    height: 60px;
    min-height: 60px;
  }

  /* Phone drawer: "Sklep" is a plain row with the same chevron as the others. */
  .primary-nav .mega-menu-trigger__icon {
    display: none;
  }

  /* Atelier is already the first card above, so skip it in the link list. */
  .primary-nav:has(.primary-nav__mobile-sections) .menu > li.menu-item-atelier {
    display: none;
  }

  .shop-mega-menu {
    z-index: 110;
    top: var(--header-bottom, 112px);
    height: calc(100dvh - var(--header-bottom, 112px));
    padding: 0;
    overflow: auto;
    border: 0;
    background: #fbf8f3;
    box-shadow: none;
    opacity: 1;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.22, .8, .3, 1), visibility .32s;
  }

  .shop-mega-menu.is-open {
    transform: translateX(0);
  }

  .shop-mega-menu__mobile-head {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(147, 109, 53, .15);
    background: #fbf8f3;
  }

  .shop-mega-menu__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    border: 0;
    background: none;
    color: inherit;
    font: 600 12px/1 Montserrat, Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .shop-mega-menu__back svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
  }

  .shop-mega-menu__back:hover svg,
  .shop-mega-menu__back:focus-visible svg {
    transform: translateX(-3px);
  }

  .shop-mega-menu__grid {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .shop-mega-menu__column {
    padding: 20px;
  }

  .shop-mega-menu__column + .shop-mega-menu__column {
    border-top: 1px solid rgba(147, 109, 53, .15);
    border-left: 0;
  }

  .shop-mega-menu__card > a {
    min-height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-mega-menu,
  .shop-mega-menu__back svg,
  .shop-mega-menu__card > a::before {
    transition: none;
  }
}

/* Optional per-item icons from Wygląd → Menu. */
.primary-nav__item-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  place-items: center;
  color: currentColor;
}

.primary-nav__item-icon :is(svg, img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav__item-icon svg:not([fill]) {
  fill: currentColor;
}

.primary-nav a:has(.primary-nav__item-icon) {
  gap: 10px;
}

/* Mobile drawer: compact rows matching the approved mockup. */
@media (max-width: 1000px) {
  .primary-nav__mobile-promos {
    padding-top: 0;
  }

  .primary-nav__mobile-item > a {
    min-height: 44px;
    padding: 8px 12px;
  }
/* 
  .primary-nav__mobile-icon {
    width: 22px;
    height: 22px;
  } */

  .primary-nav__mobile-icon svg {
    stroke-width: 1.8;
  }

  .primary-nav .menu {
    padding-top: 6px;
  }

  .primary-nav .menu > li {
    min-height: 0;
    border-bottom: 0;
  }

  .primary-nav .menu > li > a,
  .primary-nav .menu > .menu-item-atelier > a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 14px;
  }

  .primary-nav .menu > li:not(.menu-item-has-children) > a::after {
    content: '';
    display: block !important;
    position: relative;
    left: 10px;
    width: 30px;
    height: 30px;
    margin-left: auto;
    flex: 0 0 auto;
    background: currentColor;
    clip-path: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .primary-nav .menu > li > a:hover,
  .primary-nav .menu > li > a:focus-visible {
    background: #f4efe7;
  }

  .primary-nav .menu > li > .submenu-toggle {
    height: 44px;
    min-height: 44px;
  }
}

.shop-mega-menu__card-note {
  color: #b5793d;
}


/* Mobile audience subpanel (Kobieta / Mężczyzna / Dziecko → kategorie). */
.primary-nav__subpanel {
  display: none;
}

@media (max-width: 1000px) {
  .primary-nav.has-open-subpanel {
    overflow: hidden;
  }

  .primary-nav__subpanel {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: block;
    overflow: auto;
    padding: 6px 20px 32px;
    background: var(--paper, #fbf8f3);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.22, .8, .3, 1);
  }

  .primary-nav__subpanel[hidden] {
    display: none;
  }

  .primary-nav__subpanel.is-open {
    transform: none;
  }

  .primary-nav__subpanel-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 52px;
    margin-bottom: 8px;
  }
  .primary-nav__subpanel-head strong {
    text-align: center;
  }
  .primary-nav__subpanel-button {
    position: relative;
    left: -10px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    place-items: center;
  }

  .primary-nav__subpanel-button svg,
  .primary-nav__subpanel-arrow,
  .primary-nav__subpanel-collection svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .primary-nav__subpanel-list {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .primary-nav__subpanel-list li {
    border: 0 !important;
  }

  .primary-nav__subpanel-item > a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 42px;
    padding: 6px !important;
    color: inherit;
  }

  .primary-nav__subpanel-item .primary-nav__mobile-icon {
    color: #302a26;
  }

  .primary-nav__subpanel-item > a:hover,
  .primary-nav__subpanel-item > a:focus-visible,
  .primary-nav__subpanel-item > a:hover .primary-nav__mobile-icon {
    color: #b58b3d;
  }

  .primary-nav__subpanel-feature {
    margin-top: 14px;
  }

  .primary-nav__subpanel-feature > a {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 10px 16px 10px 10px !important;
    border-radius: 8px;
    background: #f4efe7;
    color: inherit;
  }

  .primary-nav__subpanel-media {
    position: relative;
    display: grid;
    align-self: stretch;
    width: 104px;
    min-height: 92px;
    overflow: hidden;
    border-radius: 6px;
    place-items: center;
    color: #936d35;
  }

  .primary-nav .primary-nav__subpanel-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }

  .primary-nav__subpanel-media svg {
    width: 44px;
    height: 44px;
  }

  .primary-nav__subpanel-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  /* .primary-nav__subpanel-title strong {
    font: 600 14px/1.3 Montserrat, Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
  } */

  .primary-nav__subpanel-text {
    display: block;
    margin-top: 6px;
    letter-spacing: 0;
    text-transform: none;
    font: 400 14px/1.45 Montserrat, Arial, sans-serif;
  }

  .primary-nav__subpanel-arrow {
    color: #b58b3d;
  }

  .primary-nav .primary-nav__subpanel-collection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    text-transform: uppercase;
    /* letter-spacing: .12em; */
    /* font-size: 18px; */
    font: 600 14px / 1.35 Montserrat, Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    /* padding: 12px !important;
    color: inherit;
    font: 600 12px/1.3 Montserrat, Arial, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase; */
  }
}

@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .primary-nav__subpanel {
    transition: none;
  }
}

/* Mobile product card (e.g. Zestawy) opened from the featured category box. */
@media (max-width: 1000px) {
  .primary-nav__card {
    display: grid;
    gap: 18px;
  }

  .primary-nav__card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: #f4efe7;
  }

  .primary-nav .primary-nav__card-media img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
  }

  .primary-nav__card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #c99a72;
    color: #fff;
    font: 600 14px/1 Montserrat, Arial, sans-serif;
    place-items: center;
  }

  .primary-nav__card-text {
    margin: 0;
    color: #302a26;
    font: 500 18px/1.4 Montserrat, Arial, sans-serif;
  }

  .primary-nav .primary-nav__card-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--forest);
  }
  .primary-nav .primary-nav__card-button:hover {
    background: var(--brick);
  }

  .primary-nav__card-button svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* Desktop audience rows (Kobieta / Mężczyzna / Dziecko): no card, a soft circle behind the
   icon, an uncropped half-body photo, and a pill that grows to full width on hover. */
@media (min-width: 1001px) {
  .shop-mega-menu .shop-mega-menu__links:has(.shop-mega-menu__audience) {
    gap: 14px;
  }

  .shop-mega-menu .shop-mega-menu__audience {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .shop-mega-menu .shop-mega-menu__audience > a {
    --audience-circle: 112px;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 54px 96px minmax(0, 1fr) auto;
    align-items: center;
    min-height: 116px;
    gap: 0;
    padding: 0 14px 0 0;
  }

  .shop-mega-menu .shop-mega-menu__audience > a::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 0;
    width: var(--audience-circle);
    height: calc(var(--audience-circle) * .86);
    border-radius: 999px;
    background: #f1ebe2;
    transform: translateY(-50%);
    transition: width .3s ease, background-color .3s ease;
  }

  .shop-mega-menu .shop-mega-menu__audience > a:is(:hover, :focus-visible)::before {
    width: 100%;
    background: #eee5d8;
  }

  .shop-mega-menu .shop-mega-menu__audience-icon {
    justify-self: center;
    width: 34px;
    height: 34px;
    margin-left: 6px;
    color: #302a26;
  }

  .shop-mega-menu .shop-mega-menu__audience-photo {
    align-self: end;
    width: 88px;
    height: 116px;
    overflow: hidden;
    border-radius: 0;
  }

  .shop-mega-menu .shop-mega-menu__audience-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    mix-blend-mode: multiply;
  }

  .shop-mega-menu .shop-mega-menu__audience strong {
    padding-left: 14px;
    padding-right: 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .shop-mega-menu .shop-mega-menu__audience .shop-mega-menu__arrow svg {
    transition: transform .2s ease;
  }

  .shop-mega-menu .shop-mega-menu__audience > a:hover .shop-mega-menu__arrow svg {
    transform: translateX(4px);
  }
}

@media (min-width: 1001px) and (max-width: 1599.98px) {
  .shop-mega-menu .shop-mega-menu__audience > a {
    --audience-circle: 92px;
    grid-template-columns: 50px 80px minmax(0, 1fr) auto;
    min-height: 96px;
    padding-right: 12px;
  }

  .shop-mega-menu .shop-mega-menu__audience-icon {
    width: 28px;
    height: 28px;
    margin-left: 4px;
  }

  .shop-mega-menu .shop-mega-menu__audience-photo,
  .shop-mega-menu .shop-mega-menu__audience-photo img {
    width: 80px;
    height: 96px;
  }

  .shop-mega-menu .shop-mega-menu__audience strong {
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-mega-menu .shop-mega-menu__audience > a::before {
    transition: none;
  }
}

/* Desktop category column: plain rows, one featured box (e.g. Zestawy), centred collection link. */
@media (min-width: 1001px) {
  .shop-mega-menu [data-mega-categories] .shop-mega-menu__links {
    gap: 4px;
  }

  .shop-mega-menu .shop-mega-menu__category {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .shop-mega-menu .shop-mega-menu__category > a {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 6px 4px;
    transition: color .2s ease;
  }

  .shop-mega-menu .shop-mega-menu__category > a:is(:hover, :focus-visible) {
    color: #b58b3d;
  }

  .shop-mega-menu .shop-mega-menu__category-icon {
    width: 32px;
    height: 32px;
    color: #302a26;
  }

  .shop-mega-menu .shop-mega-menu__category > a:is(:hover, :focus-visible) .shop-mega-menu__category-icon {
    color: #b58b3d;
  }


  .shop-mega-menu__category-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured {
    margin-top: 14px;
    border: 1px solid rgba(147, 109, 53, .13);
    border-radius: 8px;
    background: #f4efe7;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured > a {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 20px 46px 20px 18px;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured .shop-mega-menu__category-icon {
    width: 60px;
    height: 60px;
    color: #936d35;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured strong {
    font-size: 17px;
    letter-spacing: .06em;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured .shop-mega-menu__badge {
    padding: 5px 10px;
    font-size: 14px;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured small {
    display: block;
    /* margin-top: 8px;
    font-size: 13px;
    line-height: 1.5; */
  }

  .shop-mega-menu__category-arrow {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    color: #b58b3d;
  }

  .shop-mega-menu__category-arrow svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured > a:hover .shop-mega-menu__category-arrow svg {
    transform: translateX(4px);
  }

  .shop-mega-menu [data-mega-categories] .shop-mega-menu__collection {
    display: flex;
    justify-content: center;
    margin-top: 22px;
  }
}

@media (min-width: 1001px) and (max-width: 1599.98px) {
  .shop-mega-menu .shop-mega-menu__category > a {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    min-height: 44px;
  }

  .shop-mega-menu .shop-mega-menu__category-icon {
    width: 26px;
    height: 26px;
  }



  .shop-mega-menu .shop-mega-menu__category.is-featured > a {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 40px 16px 14px;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured .shop-mega-menu__category-icon {
    width: 44px;
    height: 44px;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured strong {
    font-size: 15px;
  }

  .shop-mega-menu .shop-mega-menu__category.is-featured small {
    /* font-size: 12px; */
  }
}

/* Audience photos: transparent cut-outs (PNG/WebP) standing on the circle, as in the mockup. */
@media (min-width: 1001px) {
  .shop-mega-menu .shop-mega-menu__audience-photo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 96px;
    height: 116px;
  }

  .shop-mega-menu .shop-mega-menu__audience-photo img {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    mix-blend-mode: normal;
  }
}

@media (min-width: 1001px) and (max-width: 1599.98px) {
  .shop-mega-menu .shop-mega-menu__audience-photo {
    width: 80px;
    height: 96px;
  }
}

/* 1001–1399px: 2 × 2 grid (karty | odbiorcy / kategorie | Świadoma moda); the featured card stays a normal column. */
@media (min-width: 1001px) and (max-width: 1399.98px) {
  .shop-mega-menu__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-mega-menu__column:nth-child(n + 3) {
    border-top: 1px solid rgba(147, 109, 53, .15);
  }

  .shop-mega-menu__column:nth-child(odd) {
    border-left: 0;
  }

  .shop-mega-menu__column:last-child {
    grid-column: auto;
    padding-top: 18px;
    border-left: 1px solid rgba(147, 109, 53, .15);
  }

  .shop-mega-menu__feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
  }

  .shop-mega-menu__feature-image {
    height: auto;
    max-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .shop-mega-menu__feature-copy {
    padding: 18px 20px;
  }
}

/* Featured card „Świadoma moda” (desktop): photo on top, leaf icon in its own column, copy beside it. */
@media (min-width: 1001px) {
  .shop-mega-menu .shop-mega-menu__feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    border-radius: 8px;
  }

  .shop-mega-menu .shop-mega-menu__feature-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  .shop-mega-menu .shop-mega-menu__feature-copy {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
    padding: 26px 28px 30px;
  }

  /* Icon and title live in the copy grid directly. */
  .shop-mega-menu .shop-mega-menu__feature-heading {
    display: contents;
  }

  .shop-mega-menu .shop-mega-menu__feature-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 44px;
    height: 44px;
    margin-top: 2px;
    color: #936d35;
  }

  .shop-mega-menu .shop-mega-menu__feature-copy > :not(.shop-mega-menu__feature-heading),
  .shop-mega-menu .shop-mega-menu__feature-heading strong {
    grid-column: 2;
  }

  .shop-mega-menu .shop-mega-menu__feature-heading strong {
    grid-row: 1;
    color: #936d35;
    font: 600 16px/1.3 Montserrat, Arial, sans-serif;
    letter-spacing: .06em;
  }

  .shop-mega-menu .shop-mega-menu__feature p {
    margin: 10px 0 0;
  }

  .shop-mega-menu .shop-mega-menu__feature-link {
    justify-self: start;
    margin-top: 20px;
    font-size: 12px;
    letter-spacing: .1em;
  }
}

/* 2 × 2 layout: the card is wider, so keep the photo from getting too tall. */
@media (min-width: 1001px) and (max-width: 1399.98px) {
  .shop-mega-menu .shop-mega-menu__feature-image {
    max-height: 260px;
  }
}

/* Audience rows, refined to the mockup: the background spans the row height (circle when idle,
   rounded panel when active/hovered) and the cut-out stands on its bottom edge, rising above it. */
@media (min-width: 1001px) {
  .shop-mega-menu .shop-mega-menu__links:has(.shop-mega-menu__audience) {
    gap: 38px;
    padding-top: 40px;
  }

  .shop-mega-menu .shop-mega-menu__audience > a {
    --audience-circle: 92px;
    min-height: var(--audience-circle);
    grid-template-columns: 56px 100px minmax(0, 1fr) auto;
  }

  .shop-mega-menu .shop-mega-menu__audience > a::before {
    top: 0;
    bottom: 0;
    height: auto;
    border-radius: calc(var(--audience-circle) / 2);
    background: #f1ebe2;
    transform: none;
    transition: width .3s ease, border-radius .3s ease, background-color .3s ease;
  }

  /* Highlight only while hovered / focused (no default highlight on the first row). */
  .shop-mega-menu .shop-mega-menu__audience > a:is(:hover, :focus-visible)::before {
    width: 100%;
    border-radius: calc(var(--audience-circle) / 2) 10px 10px calc(var(--audience-circle) / 2);
    background: #eee6da;
  }

  .shop-mega-menu .shop-mega-menu__audience-photo {
    align-self: end;
    width: 100px;
    height: calc(var(--audience-circle) + 26px);
    margin: -26px 0 0;
  }

  .shop-mega-menu .shop-mega-menu__audience .shop-mega-menu__arrow {
    /* color: #6f6357; */
  }
}

@media (min-width: 1001px) and (max-width: 1599.98px) {
  .shop-mega-menu .shop-mega-menu__links:has(.shop-mega-menu__audience) {
    gap: 32px;
    padding-top: 34px;
  }

  .shop-mega-menu .shop-mega-menu__audience > a {
    --audience-circle: 80px;
    grid-template-columns: 50px 86px minmax(0, 1fr) auto;
  }

  .shop-mega-menu .shop-mega-menu__audience-photo {
    width: 86px;
    height: calc(var(--audience-circle) + 22px);
    margin: -22px 0 0;
  }
}

/* Promo cards (Atelier / Unikaty / Szyte dla Ciebie), desktop — as in the mockup: copy takes ~60%,
   the photo ~40% on the right fading softly into the card, arrow at the end of the copy. */
@media (min-width: 1001px) {
  .shop-mega-menu .shop-mega-menu__cards {
    gap: 14px;
  }

  .shop-mega-menu .shop-mega-menu__card > a {
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    min-height: 150px;
    padding: 26px 32% 24px 24px;
  }

  .shop-mega-menu .shop-mega-menu__card > a[style]::before {
    width: 42%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 28%, #000 62%);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 28%, #000 62%);
  }

  .shop-mega-menu .shop-mega-menu__card-icon {
    width: 42px;
    height: 42px;
    margin-top: 2px;
    color: #4a3a2c;
  }

  .shop-mega-menu .shop-mega-menu__card-copy {
    position: static;
    padding-right: 10px;
  }

  .shop-mega-menu .shop-mega-menu__card-copy > span:not(.shop-mega-menu__card-arrow) {
    margin-top: 10px;
  }

  .shop-mega-menu .shop-mega-menu__card-copy > .shop-mega-menu__card-note {
    margin-top: 12px;
    color: #b5793d;
  }

  /* Arrow at the bottom right of the copy area, just before the photo. */
  .shop-mega-menu .shop-mega-menu__card-arrow {
    position: absolute;
    right: calc(32% - 4px);
    bottom: 22px;
    margin: 0;
    color: #4a3a2c;
  }

  .shop-mega-menu .shop-mega-menu__card-arrow svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.4;
  }
}

/* Narrower desktop columns (2 × 2 grid and the 4-column layout up to 1599px). */
@media (min-width: 1001px) and (max-width: 1599.98px) {
  .shop-mega-menu .shop-mega-menu__card > a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    min-height: 130px;
    padding: 22px 32% 20px 20px;
  }

  .shop-mega-menu .shop-mega-menu__card-icon {
    width: 36px;
    height: 36px;
  }

  .shop-mega-menu .shop-mega-menu__card-arrow {
    right: calc(32% - 4px);
    bottom: 18px;
  }
}

/* 4-column mega menu (from 1400px): the promo column is the widest, as in the mockup. */
@media (min-width: 1400px) {
  .shop-mega-menu__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

/* Mobile featured box (Zestawy) — as in the mockup: the whole product image on the left blending into
   the box (transparent PNGs look best), copy beside it, arrow at the bottom right. */
@media (max-width: 1000px) {
  .primary-nav .primary-nav__subpanel-feature > a {
    position: relative;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    min-height: 120px;
    padding: 10px 18px 10px 8px !important;
  }

  .primary-nav .primary-nav__subpanel-media {
    display: block;
    width: 104px;
    min-height: 0;
    height: 100px;
    border-radius: 0;
    overflow: hidden;
  }

  .primary-nav .primary-nav__subpanel-media img {
    position: static;
    display: block;
    width: 120px;
    max-width: 100%;
    height: 100px;
    object-fit: cover;
    mix-blend-mode: multiply;
  }

  .primary-nav .primary-nav__subpanel-copy {
    padding-right: 26px;
  }

  .primary-nav .primary-nav__subpanel-feature .primary-nav__subpanel-arrow {
    position: absolute;
    right: 16px;
    bottom: 18px;
  }
}

@media (max-width: 1000px) {
  .primary-nav .primary-nav__subpanel-feature .primary-nav__subpanel-title {
    flex-wrap: nowrap;
  }

  .primary-nav .primary-nav__subpanel-feature .shop-mega-menu__badge {
    flex: 0 0 auto;
  }
}

/* 2 × 2 layout order: karty | kategorie / wybierz kategorię | Świadoma moda. */
@media (min-width: 1001px) and (max-width: 1399.98px) {
  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(1) { order: 1; }
  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(3) { order: 2; }
  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(2) { order: 3; }
  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(4) { order: 4; }

  /* Dividers follow the visual position, not the source order. */
  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(1) {
    border-top: 0;
    border-left: 0;
  }

  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(3) {
    border-top: 0;
    border-left: 1px solid rgba(147, 109, 53, .15);
  }

  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(2) {
    border-top: 1px solid rgba(147, 109, 53, .15);
    border-left: 0;
  }

  .shop-mega-menu__grid > .shop-mega-menu__column:nth-child(4) {
    border-top: 1px solid rgba(147, 109, 53, .15);
    border-left: 1px solid rgba(147, 109, 53, .15);
  }
}

/* 4 columns on narrower desktops (1400–1599px): tighter audience rows and featured card. */
@media (min-width: 1400px) and (max-width: 1599.98px) {
  .shop-mega-menu__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  .shop-mega-menu .shop-mega-menu__audience > a {
    --audience-circle: 76px;
    grid-template-columns: 42px 70px minmax(0, 1fr) auto;
    padding-right: 8px;
  }

  .shop-mega-menu .shop-mega-menu__audience-icon {
    width: 24px;
    height: 24px;
  }

  .shop-mega-menu .shop-mega-menu__audience-photo {
    width: 70px;
    height: calc(var(--audience-circle) + 20px);
    margin: -20px 0 0;
  }

  .shop-mega-menu .shop-mega-menu__audience strong {
    padding: 0 6px 0 10px;
    font-size: 12px;
    letter-spacing: .04em;
  }

  .shop-mega-menu .shop-mega-menu__feature-copy {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    padding: 20px 18px 22px;
  }

  .shop-mega-menu .shop-mega-menu__feature-icon {
    width: 30px;
    height: 30px;
  }

  .shop-mega-menu .shop-mega-menu__feature-heading strong {
    font-size: 14px;
  }

  .shop-mega-menu .shop-mega-menu__feature p {
    font-size: 13px;
  }

  .shop-mega-menu .shop-mega-menu__card-copy {
    padding-right: 32px;
  }
}

/* MacBook-size screens (1400–1599px, 4 columns): more room for the promo card copy. */
@media (min-width: 1400px) and (max-width: 1599.98px) {
  .shop-mega-menu__grid {
    grid-template-columns: 1.5fr 1fr 1fr .95fr;
  }

  .shop-mega-menu .shop-mega-menu__card > a {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 26% 18px 18px;
  }

  .shop-mega-menu .shop-mega-menu__card > a[style]::before {
    width: 36%;
  }

  .shop-mega-menu .shop-mega-menu__card-icon {
    width: 32px;
    height: 32px;
  }

  .shop-mega-menu .shop-mega-menu__card-copy {
    padding-right: 26px;
  }

  .shop-mega-menu .shop-mega-menu__card-arrow {
    right: calc(27% - 6px);
    bottom: 16px;
  }
}

/* Mobile drawer: WordPress sub-menu toggle (e.g. „Świadoma moda”) — a plain chevron like the other rows,
   pointing down when closed and up when open; no box around it after a tap. */
@media (max-width: 1000px) {
  .primary-nav .menu > li > .submenu-toggle {
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: inherit;
  }

  .primary-nav .menu > li > .submenu-toggle .submenu-toggle__icon {
    position: static;
    width: 22px;
    height: 22px;
    margin: 0;
    transform: rotate(90deg);
  }

  .primary-nav .menu > li > .submenu-toggle[aria-expanded="true"] .submenu-toggle__icon {
    transform: rotate(-90deg);
  }

  .primary-nav .menu > li > .submenu-toggle:focus:not(:focus-visible) {
    outline: none;
  }

  .primary-nav .menu > li > .submenu-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -8px;
  }

  .primary-nav .menu > li.is-submenu-open > a,
  .primary-nav .menu > li.is-submenu-open > .submenu-toggle {
    color: #936d35;
  }

  .primary-nav .sub-menu {
    padding: 0 0 8px 12px;
  }

  .primary-nav .sub-menu a {
    display: block;
    margin: 0;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 11px;
    letter-spacing: .1em;
  }

  .primary-nav .sub-menu a:hover,
  .primary-nav .sub-menu a:focus-visible {
    background: #f4efe7;
    color: #936d35;
  }
}

/* Mobile drawer: sub-menu open/close animation (heights are driven from app.js). */
@media (max-width: 1000px) {
  .primary-nav .menu > li > .sub-menu {
    overflow: hidden;
    transition: max-height .34s cubic-bezier(.22, .61, .36, 1), opacity .26s ease;
  }

  /* Bottom spacing lives on the last item so the list can collapse fully to 0. */
  .primary-nav .menu > li > .sub-menu {
    padding-bottom: 0;
  }

  .primary-nav .menu > li > .sub-menu > li:last-child {
    padding-bottom: 8px;
  }

  /* Keep the list rendered while it slides closed. */
  .primary-nav li.is-submenu-closing > .sub-menu {
    display: block;
  }

  .primary-nav .menu > li > .submenu-toggle .submenu-toggle__icon {
    transition: transform .3s cubic-bezier(.22, .61, .36, 1);
  }
}

@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  .primary-nav .menu > li > .sub-menu,
  .primary-nav .menu > li > .submenu-toggle .submenu-toggle__icon {
    transition: none;
  }
}

/* Sub-menu toggle icon is an inline SVG chevron (app.js) — drop the old mask/background icon styles. */
svg.submenu-toggle__icon {
  display: block;
  flex: 0 0 auto;
  background: none;
  -webkit-mask: none;
  mask: none;
  clip-path: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile drawer: an open WordPress sub-menu row looks like the other active rows (soft background, gold text);
   focus is shown the same way instead of a box outline. */
@media (max-width: 1000px) {
  .primary-nav .menu > li > .submenu-toggle,
  .primary-nav .menu > li > .submenu-toggle:focus,
  .primary-nav .menu > li > .submenu-toggle:focus-visible {
    outline: none;
  }

  .primary-nav .menu > li.menu-item-has-children > a {
    border-radius: 5px 0 0 5px;
  }

  .primary-nav .menu > li.menu-item-has-children > .submenu-toggle {
    margin-left: -1px;
    border-radius: 0 5px 5px 0;
  }

  /* Specific enough to beat menu.css' ":focus-within" reset to a transparent background. */
  .primary-nav .menu > li.menu-item-has-children.is-submenu-open > a,
  .primary-nav .menu > li.menu-item-has-children.is-submenu-open > .submenu-toggle,
  .primary-nav .menu > li.menu-item-has-children:focus-within > .submenu-toggle:focus-visible,
  .primary-nav .menu > li.menu-item-has-children:has(> .submenu-toggle:focus-visible) > a {
    background: #f4efe7;
    color: #936d35;
  }

  .primary-nav .menu > li > .submenu-toggle svg.submenu-toggle__icon {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 1001px) {
  /* Desktop: the same chevron as next to „Sklep” (.mega-menu-trigger__icon ≈ 10px wide, 1.5px line). */
  .primary-nav .menu > li > .submenu-toggle svg.submenu-toggle__icon {
    width: 20px;
    height: 20px;
    margin: 0;
    stroke-width: 1.8;
    transform: rotate(90deg);
    transition: transform .2s ease;
  }

  .primary-nav .menu > li > .submenu-toggle[aria-expanded="true"] svg.submenu-toggle__icon {
    transform: rotate(-90deg);
  }
}

/* Phone drawer: WordPress sub-menus open as a subpanel (built in mega-menu.js), styled like the audience
   panels but without icons. The inline sub-menu and its toggle are not used here. */
@media (max-width: 1000px) {
  .primary-nav .menu > li.has-mobile-subpanel > .sub-menu,
  .primary-nav .menu > li.has-mobile-subpanel > .submenu-toggle {
    display: none !important;
  }

  .primary-nav .menu > li.has-mobile-subpanel > a {
    border-radius: 5px;
    padding-right: 0;
  }

  .primary-nav .menu > li.has-mobile-subpanel > a::after {
    content: '';
    display: block !important;
    width: 30px;
    height: 30px;
    margin-left: auto;
    flex: 0 0 auto;
    background: currentColor;
    clip-path: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* Plain list (no icon column). */
  .primary-nav .primary-nav__subpanel--plain .primary-nav__subpanel-item > a {
    grid-template-columns: minmax(0, 1fr);
    min-height: 46px;
    padding: 8px 6px !important;
  }

  .primary-nav .primary-nav__subpanel--plain .primary-nav__subpanel-list {
    gap: 4px;
    border-top: 1px solid rgba(147, 109, 53, .14);
    padding-top: 8px;
  }
}

@media (min-width: 1001px) {
  .primary-nav__subpanel--plain {
    display: none !important;
  }
}
