/**
 * Nymphaea navigation experience — 1.2.8.
 * Compact mobile header, premium drawer and reliable desktop categories.
 */

@media (max-width: 959px) {
  .site-header {
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
    width: 100%;
    max-width: 100%;
  }

  body.admin-bar .site-header { top: 46px; }

  .site-header .nym-mobile-header {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid rgba(38, 29, 24, .075);
    background: rgba(255, 255, 255, .975);
    box-shadow: 0 8px 28px rgba(37, 28, 23, .05);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
  }

  .site-header .nym-mobile-header__announcement {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #3c312b;
    background: linear-gradient(90deg, #f8e8e6 0%, #f5eeea 52%, #f8e8e6 100%);
    border-bottom: 1px solid rgba(76, 57, 47, .055);
  }

  .site-header .nym-mobile-header__announcement p {
    width: 100%;
    margin: 0;
    overflow: hidden;
    font-size: 10px;
    font-weight: 650;
    line-height: 30px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .nym-mobile-header__main {
    position: relative;
    display: grid;
    min-height: 66px;
    grid-template-columns: 88px minmax(94px, 1fr) 88px;
    grid-template-rows: 66px;
    align-items: center;
    column-gap: 6px;
    padding-inline-start: max(12px, env(safe-area-inset-left));
    padding-inline-end: max(12px, env(safe-area-inset-right));
    overflow: visible;
  }

  .site-header .nym-mobile-header__start,
  .site-header .nym-mobile-header__brand,
  .site-header .nym-mobile-header__end {
    min-width: 0;
    grid-row: 1;
  }

  .site-header .nym-mobile-header__start,
  .site-header .nym-mobile-header__end {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .site-header .nym-mobile-header__start {
    grid-column: 1;
    justify-content: flex-start;
  }

  .site-header .nym-mobile-header__brand {
    display: grid;
    grid-column: 2;
    place-items: center;
  }

  .site-header .nym-mobile-header__end {
    grid-column: 3;
    justify-content: flex-end;
  }

  body.rtl .site-header .nym-mobile-header__start {
    grid-column: 3;
    justify-content: flex-end;
  }

  body.rtl .site-header .nym-mobile-header__end {
    grid-column: 1;
    justify-content: flex-start;
  }

  .site-header .nym-mobile-header__brand #logo,
  .site-header .nym-mobile-header__brand .uk-navbar-item,
  .site-header .nym-mobile-header__brand .uk-logo {
    display: grid;
    width: auto;
    min-height: 0;
    place-items: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .nym-mobile-header__brand #logo > a,
  .site-header .nym-mobile-header__brand .uk-logo > a,
  .site-header .nym-mobile-header__brand a {
    display: inline-flex;
    width: auto !important;
    max-width: 122px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  .site-header .nym-mobile-header__brand img {
    display: block;
    width: auto;
    max-width: 118px;
    max-height: 43px;
    object-fit: contain;
  }

  .site-header .nym-mobile-header__icon,
  .site-header .nym-mobile-header__end .header-cart-icon a {
    position: relative;
    display: inline-grid;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    place-items: center;
    margin: 0;
    padding: 0 !important;
    border: 1px solid rgba(38, 29, 24, .055);
    border-radius: 50%;
    color: #191512;
    background: #f7f5f3;
    box-shadow: 0 4px 14px rgba(42, 31, 25, .035);
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
  }

  .site-header .nym-mobile-header__icon--menu { background: #f4eae4; }
  .site-header .nym-mobile-header__icon--search { background: #f7f5f3; }

  .site-header .nym-mobile-header__icon:hover,
  .site-header .nym-mobile-header__icon:focus-visible,
  .site-header .nym-mobile-header__end .header-cart-icon a:hover,
  .site-header .nym-mobile-header__end .header-cart-icon a:focus-visible {
    color: #171310;
    background: #eee2da;
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(42, 31, 25, .065);
  }

  .site-header .nym-mobile-header__svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .site-header .nym-mobile-header__end .uk-navbar-item,
  .site-header .nym-mobile-header__end .header-cart-icon {
    display: grid;
    min-height: 0;
    place-items: center;
    margin: 0;
    padding: 0 !important;
  }

  .site-header .nym-mobile-header__end .header-cart-icon i { font-size: 21px !important; }

  .site-header .nym-mobile-header__end .header-cart-count,
  .site-header .nym-mobile-header__end .cart-count {
    top: -2px;
    right: -2px;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 8px;
    line-height: 13px;
  }

  body.rtl .site-header .nym-mobile-header__end .header-cart-count,
  body.rtl .site-header .nym-mobile-header__end .cart-count {
    right: auto;
    left: -2px;
  }

  .site-header .nym-mobile-search-backdrop {
    position: fixed;
    z-index: 1005;
    inset: 0;
    background: rgba(22, 18, 15, .42);
    opacity: 0;
    transition: opacity .22s ease;
  }

  .site-header .nym-mobile-search-backdrop.is-open { opacity: 1; }

  .site-header .nym-mobile-search-panel {
    position: fixed;
    z-index: 1010;
    top: 8px;
    right: 10px;
    left: 10px;
    max-height: min(72vh, 600px);
    padding: 8px 16px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(35, 28, 23, .09);
    border-radius: 0 0 22px 22px;
    background: rgba(255, 255, 255, .995);
    box-shadow: 0 26px 70px rgba(25, 19, 15, .22);
    opacity: 0;
    transform: translate3d(0, -14px, 0) scale(.987);
    transform-origin: center top;
    transition: opacity .22s ease, transform .24s cubic-bezier(.2,.75,.25,1);
  }

  .site-header .nym-mobile-search-panel.is-open {
    opacity: 1;
    transform: none;
  }

  .site-header .nym-mobile-search-panel__grabber {
    width: 34px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 999px;
    background: #ddd2ca;
  }

  .site-header .nym-mobile-search-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
  }

  .site-header .nym-mobile-search-panel__heading span,
  .site-header .nym-mobile-search-panel__heading strong { display: block; }

  .site-header .nym-mobile-search-panel__heading span {
    margin-bottom: 3px;
    color: #8b7e75;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .site-header .nym-mobile-search-panel__heading strong {
    color: #191512;
    font-size: 18px;
    line-height: 1.35;
  }

  .site-header .nym-mobile-search-panel__close {
    display: grid;
    width: 38px;
    min-width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #1a1613;
    background: #f3ece7;
  }

  .site-header .nym-mobile-search-panel__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .site-header .nym-mobile-search-panel__form .woocommerce-search,
  .site-header .nym-mobile-search-panel__form .px-search-form,
  .site-header .nym-mobile-search-panel__form form {
    width: 100%;
    margin: 0;
  }

  .site-header .nym-mobile-search-panel__form .uk-grid { gap: 8px; }

  .site-header .nym-mobile-search-panel__form .uk-input,
  .site-header .nym-mobile-search-panel__form .uk-select,
  .site-header .nym-mobile-search-panel__form input[type="search"],
  .site-header .nym-mobile-search-panel__form input[name="s"] {
    min-height: 48px;
    border: 1px solid rgba(31, 24, 20, .12);
    border-radius: 14px;
    background: #faf7f4;
    box-shadow: none;
    font-size: 14px;
  }

  .site-header .nym-mobile-search-panel__form button,
  .site-header .nym-mobile-search-panel__form input[type="submit"] {
    min-height: 48px;
    border-radius: 14px;
  }

  .site-header .nym-mobile-search-panel .search-output {
    max-height: min(42vh, 340px);
    overflow-y: auto;
  }

  .site-header .nym-mobile-search-panel__utilities {
    display: grid;
    gap: 10px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(31, 24, 20, .08);
  }

  .site-header .nym-mobile-search-panel__currency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #70655d;
    font-size: 11px;
  }

  .site-header .nym-mobile-search-panel__currency .woocommerce-multi-currency { max-width: 132px; }

  .site-header .nym-mobile-search-panel__languages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .site-header .nym-mobile-search-panel__languages a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid rgba(31, 24, 20, .1);
    border-radius: 999px;
    color: #342d28;
    background: #fff;
    font-size: 11px;
    text-decoration: none;
  }

  .site-header .nym-mobile-search-panel__languages a[aria-current="page"] {
    border-color: #1b1714;
    color: #fff;
    background: #1b1714;
  }

  .site-header .wc-categories-mob { display: none !important; }
  body.nym-mobile-search-open { overflow: hidden; }

  /* Currency is intentionally consolidated inside search and menu on mobile. */
  .woocommerce-multi-currency.wmc-sidebar { display: none !important; }

  /* Premium mobile drawer. */
  .nym-mobile-drawer { z-index: 1100 !important; }

  .nym-mobile-drawer .nym-mobile-drawer__bar {
    width: min(91vw, 410px);
    max-width: 410px;
    padding: 0;
    color: #221c18 !important;
    background: #fbf8f5 !important;
    box-shadow: 0 0 70px rgba(20, 15, 12, .24);
  }

  .nym-mobile-drawer .nym-mobile-drawer__bar,
  .nym-mobile-drawer .nym-mobile-drawer__bar a,
  .nym-mobile-drawer .nym-mobile-drawer__bar button,
  .nym-mobile-drawer .nym-mobile-drawer__bar h1,
  .nym-mobile-drawer .nym-mobile-drawer__bar h2,
  .nym-mobile-drawer .nym-mobile-drawer__bar h3,
  .nym-mobile-drawer .nym-mobile-drawer__bar strong,
  .nym-mobile-drawer .nym-mobile-drawer__bar span,
  .nym-mobile-drawer .nym-mobile-drawer__bar small {
    color: inherit !important;
  }

  .nym-mobile-drawer__top {
    position: sticky;
    z-index: 4;
    top: 0;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: max(14px, env(safe-area-inset-top)) 18px 12px;
    border-bottom: 1px solid rgba(37, 28, 23, .075);
    background: rgba(251, 248, 245, .97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nym-mobile-drawer__brand {
    display: inline-flex;
    max-width: 145px;
    align-items: center;
    text-decoration: none;
  }

  .nym-mobile-drawer__brand img {
    display: block;
    width: auto;
    max-width: 136px;
    max-height: 48px;
    object-fit: contain;
  }

  .nym-mobile-drawer__brand span {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .nym-mobile-drawer .nym-mobile-drawer__close {
    position: static;
    display: grid;
    width: 40px;
    min-width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(36, 27, 22, .07);
    border-radius: 50%;
    background: #f1e8e2;
    opacity: 1;
  }

  .nym-mobile-drawer__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #1e1916;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .nym-mobile-drawer__account {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    margin: 16px 16px 12px;
    padding: 14px;
    border: 1px solid rgba(44, 33, 27, .075);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff, #f4ebe5);
    box-shadow: 0 12px 30px rgba(43, 32, 26, .055);
    text-decoration: none !important;
  }

  .nym-mobile-drawer__account-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: #181411;
  }

  .nym-mobile-drawer__account-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .nym-mobile-drawer__account-copy {
    display: block;
    min-width: 0;
  }

  .nym-mobile-drawer__account-copy strong,
  .nym-mobile-drawer__account-copy small {
    display: block;
  }

  .nym-mobile-drawer__account-copy strong {
    overflow: hidden;
    margin-bottom: 3px;
    font-size: 14px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nym-mobile-drawer__account-copy small {
    color: #85776e !important;
    font-size: 10px;
    line-height: 1.55;
  }

  .nym-mobile-drawer__chevron {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #776a62;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.rtl .nym-mobile-drawer__chevron { transform: scaleX(-1); }

  .nym-mobile-drawer__utilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 16px 20px;
  }

  .nym-mobile-drawer__utility {
    display: flex;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 9px 11px;
    border: 1px solid rgba(43, 32, 26, .075);
    border-radius: 14px;
    background: #fff;
  }

  .nym-mobile-drawer__utility > span {
    color: #8a7b72 !important;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .nym-mobile-drawer__currency .woocommerce-multi-currency,
  .nym-mobile-drawer__currency .wmc-currency-wrapper { width: 100%; }

  .nym-mobile-drawer__currency .wmc-current-currency {
    min-height: 28px;
    padding: 0 !important;
    color: #211b17 !important;
    background: transparent !important;
  }

  .nym-mobile-drawer__languages > div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .nym-mobile-drawer__languages a {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    color: #352d28 !important;
    background: #f3ece7;
    font-size: 9px;
    text-decoration: none !important;
  }

  .nym-mobile-drawer__languages a[aria-current="page"] {
    color: #fff !important;
    background: #1d1815;
  }

  .nym-mobile-drawer__section {
    padding: 18px 16px;
    border-top: 1px solid rgba(43, 32, 26, .075);
  }

  .nym-mobile-drawer__section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }

  .nym-mobile-drawer__section-heading > span {
    font-size: 12px;
    font-weight: 800;
  }

  .nym-mobile-drawer__section-heading > a {
    color: #8b7163 !important;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none !important;
  }

  .nym-mobile-drawer__links,
  .nym-mobile-drawer__links ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .nym-mobile-drawer__links > li {
    position: relative;
    border-bottom: 1px solid rgba(43, 32, 26, .065);
  }

  .nym-mobile-drawer__links > li:last-child { border-bottom: 0; }

  .nym-mobile-drawer__links > li > a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 2px;
    color: #211b17 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
  }

  .nym-mobile-drawer__links .menu-item-arrow { display: none; }

  .nym-mobile-drawer__links .sub-menu {
    display: grid;
    gap: 2px;
    padding: 0 12px 10px;
  }

  .nym-mobile-drawer__links .sub-menu a {
    display: block;
    padding: 7px 0;
    color: #766960 !important;
    font-size: 11px;
    text-decoration: none !important;
  }

  .nym-mobile-drawer__categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nym-mobile-drawer__category {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 7px;
    border: 1px solid rgba(43, 32, 26, .07);
    border-radius: 14px;
    background: #fff;
    text-decoration: none !important;
  }

  .nym-mobile-drawer__category-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background: #eee8e3;
  }

  .nym-mobile-drawer__category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .35s ease;
  }

  .nym-mobile-drawer__category:hover .nym-mobile-drawer__category-image img { transform: scale(1.035); }

  .nym-mobile-drawer__category > span:last-child {
    overflow: hidden;
    padding: 0 3px 2px;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nym-mobile-drawer__footer {
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    background: #171310;
  }

  .nym-mobile-drawer__footer a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none !important;
  }

  .nym-mobile-drawer__footer svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body.rtl .nym-mobile-drawer__footer svg { transform: scaleX(-1); }
}

@media (max-width: 390px) {
  .site-header .nym-mobile-header__main {
    min-height: 62px;
    grid-template-columns: 82px minmax(88px, 1fr) 82px;
    grid-template-rows: 62px;
    padding-inline-start: max(9px, env(safe-area-inset-left));
    padding-inline-end: max(9px, env(safe-area-inset-right));
  }

  .site-header .nym-mobile-header__brand #logo > a,
  .site-header .nym-mobile-header__brand .uk-logo > a,
  .site-header .nym-mobile-header__brand a { max-width: 104px; }

  .site-header .nym-mobile-header__brand img {
    max-width: 101px;
    max-height: 39px;
  }

  .site-header .nym-mobile-header__start,
  .site-header .nym-mobile-header__end { gap: 4px; }

  .site-header .nym-mobile-header__icon,
  .site-header .nym-mobile-header__end .header-cart-icon a {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    flex-basis: 38px;
  }
}

@media (max-width: 340px) {
  .site-header .nym-mobile-header__main {
    grid-template-columns: 76px minmax(82px, 1fr) 76px;
    padding-inline-start: max(7px, env(safe-area-inset-left));
    padding-inline-end: max(7px, env(safe-area-inset-right));
  }

  .site-header .nym-mobile-header__brand img { max-width: 90px; }

  .site-header .nym-mobile-header__icon,
  .site-header .nym-mobile-header__end .header-cart-icon a {
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    flex-basis: 36px;
  }
}

@media (min-width: 960px) {
  .nym-mobile-header,
  .nym-mobile-search-panel,
  .nym-mobile-search-backdrop,
  .nym-mobile-drawer { display: none !important; }

  .primary-menu > .nym-desktop-categories {
    position: relative;
  }

  .primary-menu > .nym-desktop-categories > a {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .primary-menu > .nym-desktop-categories > a svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
  }

  .primary-menu > .nym-desktop-categories:hover > a svg,
  .primary-menu > .nym-desktop-categories:focus-within > a svg { transform: rotate(180deg); }

  .nym-desktop-category-panel {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 1px);
    inset-inline-end: 50%;
    width: min(760px, calc(100vw - 44px));
    max-height: calc(100vh - 118px);
    max-height: calc(100dvh - 118px);
    padding: 22px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(43, 32, 26, .085);
    border-radius: 0 0 20px 20px;
    color: #211b17;
    background: rgba(255, 252, 249, .99);
    box-shadow: 0 26px 70px rgba(28, 20, 16, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateX(50%) translateY(9px);
    transition: opacity .18s ease, transform .22s cubic-bezier(.2,.72,.2,1);
  }

  html[dir="ltr"] .nym-desktop-category-panel {
    inset-inline-end: auto;
    left: 50%;
    transform: translateX(-50%) translateY(9px);
  }

  .nym-desktop-categories:hover .nym-desktop-category-panel,
  .nym-desktop-categories:focus-within .nym-desktop-category-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(50%) translateY(0);
  }

  html[dir="ltr"] .nym-desktop-categories:hover .nym-desktop-category-panel,
  html[dir="ltr"] .nym-desktop-categories:focus-within .nym-desktop-category-panel {
    transform: translateX(-50%) translateY(0);
  }

  .nym-desktop-category-panel__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(43, 32, 26, .075);
  }

  .nym-desktop-category-panel__heading small,
  .nym-desktop-category-panel__heading strong { display: block; }

  .nym-desktop-category-panel__heading small {
    margin-bottom: 3px;
    color: #9a877b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .nym-desktop-category-panel__heading strong {
    color: #1e1916;
    font-size: 20px;
    line-height: 1.3;
  }

  .nym-desktop-category-panel__heading > a {
    color: #7b675b !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
  }

  .nym-desktop-category-panel__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .nym-desktop-category-card {
    display: grid;
    min-width: 0;
    gap: 7px;
    padding: 8px;
    border: 1px solid rgba(43, 32, 26, .065);
    border-radius: 14px;
    color: #211b17 !important;
    background: #fff;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }

  .nym-desktop-category-card:hover,
  .nym-desktop-category-card:focus-visible {
    border-color: rgba(43, 32, 26, .14);
    box-shadow: 0 12px 28px rgba(43, 32, 26, .08);
    outline: none;
    transform: translateY(-2px);
  }

  .nym-desktop-category-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background: #eee8e3;
  }

  .nym-desktop-category-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .35s ease;
  }

  .nym-desktop-category-card:hover .nym-desktop-category-card__image img { transform: scale(1.04); }

  .nym-desktop-category-card__name {
    overflow: hidden;
    color: #211b17 !important;
    font-size: 12px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nym-desktop-category-card small {
    color: #95847a !important;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nym-mobile-drawer__category-image img,
  .nym-desktop-category-card,
  .nym-desktop-category-card__image img,
  .nym-desktop-category-panel,
  .site-header .nym-mobile-header__icon,
  .site-header .nym-mobile-search-panel { transition: none !important; }
}

/* ========================================================================
   Nymphaea 1.2.8 — viewport-centred desktop mega menu
   Fixed positioning prevents RTL/LTR menu-item coordinates from pushing the
   panel outside the screen. JavaScript supplies the live navigation bottom.
   ======================================================================== */
@media (min-width: 960px) {
  .primary-menu > .nym-desktop-categories {
    position: static !important;
  }

  .nym-desktop-category-panel {
    position: fixed !important;
    z-index: 99998 !important;
    top: var(--nym-desktop-menu-top, 180px) !important;
    right: auto !important;
    left: 50% !important;
    inset-inline: auto !important;
    width: min(1040px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
    max-height: calc(100vh - var(--nym-desktop-menu-top, 180px) - 22px) !important;
    max-height: calc(100dvh - var(--nym-desktop-menu-top, 180px) - 22px) !important;
    margin: 0 !important;
    padding: clamp(20px, 2vw, 28px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border-radius: 0 0 22px 22px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px) !important;
    transform-origin: top center;
  }

  .nym-desktop-categories:hover .nym-desktop-category-panel,
  .nym-desktop-categories:focus-within .nym-desktop-category-panel,
  .nym-desktop-categories.is-nym-open .nym-desktop-category-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0) !important;
  }

  html[dir="rtl"] .nym-desktop-category-panel,
  html[dir="ltr"] .nym-desktop-category-panel,
  html[dir="rtl"] .nym-desktop-categories:hover .nym-desktop-category-panel,
  html[dir="ltr"] .nym-desktop-categories:hover .nym-desktop-category-panel,
  html[dir="rtl"] .nym-desktop-categories:focus-within .nym-desktop-category-panel,
  html[dir="ltr"] .nym-desktop-categories:focus-within .nym-desktop-category-panel {
    right: auto !important;
    left: 50% !important;
    transform: translate(-50%, 0) !important;
  }

  .nym-desktop-category-panel__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(12px, 1.2vw, 18px) !important;
  }

  .nym-desktop-category-card {
    min-width: 0 !important;
  }

  .nym-desktop-category-card__image {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 960px) and (max-width: 1180px) {
  .nym-desktop-category-panel {
    width: min(900px, calc(100vw - 36px)) !important;
    max-width: calc(100vw - 36px) !important;
  }

  .nym-desktop-category-panel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
