/* ==========================================================================
   NEXA — Beauty & cosmetics theme for TWSAA
   Loaded after app.min.css (layouts/master + master-top).

   Identity: warm cream canvas, blush and petal surfaces, a rose → orchid
   gradient, soft serif display type (Fraunces; Arabic falls back to the
   store font), organic "swatch" shapes, plum footer with a wave edge.
   Motion is soft and springy, never busy.

   Sections
    1. Tokens & base            9. Product cards
    2. Preloader               10. Features & FAQ
    3. Page entrance & reveal  11. Footer
    4. Header                  12. Cart drawer
    5. Search & dropdowns      13. Product page
    6. Section titles/arrows   14. Cart page
    7. Categories (swatches)   15. Back to top
    8. Brands (flip wall)      16. Responsive & reduced motion
       + Reviews (8b)

   Notes:
   - Logical properties (inline-start/end) keep LTR and RTL correct.
     Letter-spacing is LTR-only — it breaks Arabic letter joining.
   - Master's inline <style> and swiper CSS load after this file, so some
     rules use a `body` prefix or an extra class to win the cascade.
   - Checkout uses no-nav-master, which does not load this file.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

/* ==========================================================================
   1. Tokens & base
   ========================================================================== */

:root {
    --nx-cream: #fffaf7;
    --nx-blush: #fcefec;
    --nx-petal: #f7dcd9;
    --nx-surface: #ffffff;
    --nx-line: #f1e1dd;
    --nx-line-strong: #e6cbc6;
    --nx-rose: var(--tw-accent, #d6707e);
    --nx-rose-deep: var(--tw-accent-dark, #b24d5d);
    --nx-orchid: #b67bb3;
    --nx-plum: #2c1a25;
    --nx-plum-2: #3b2432;
    --nx-ink: #2c1a25;
    --nx-ink-soft: #5c4753;
    --nx-muted: #9a8690;
    --nx-gold: #e2b77c;
    --nx-sale: #c23b52;
    --nx-grad: linear-gradient(120deg, var(--tw-accent-light, #f2a7a9) 0%, var(--nx-rose) 45%, var(--tw-accent-dark, #b67bb3) 100%);
    --nx-grad-soft: linear-gradient(135deg, #fde8e6 0%, #f6dbe7 100%);

    --nx-radius-sm: 10px;
    --nx-radius: 16px;
    --nx-radius-lg: 24px;

    --nx-shadow-sm: 0 2px 6px -2px rgba(44, 26, 37, 0.08);
    --nx-shadow: 0 24px 44px -26px rgba(122, 52, 72, 0.38);
    --nx-shadow-lg: 0 32px 60px -30px rgba(122, 52, 72, 0.5);
    --nx-ease: cubic-bezier(0.22, 0.61, 0.24, 1);
    --nx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --nx-spring: cubic-bezier(0.34, 1.4, 0.5, 1);

    --nx-font-display: "Fraunces", var(--font-main), Georgia, serif;
    --nx-dir: 1;
}

html[dir="rtl"] {
    --nx-dir: -1;
}

/* anchor jumps (e.g. #product-tabs) land below the sticky header */
html {
    scroll-padding-top: calc(var(--nexa-header-h, 120px) + 1rem);
}

body {
    background-color: var(--nx-cream);
    color: var(--nx-ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--nx-petal);
    color: var(--nx-plum);
}

:focus-visible {
    outline: 2px solid var(--nx-rose);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    html {
        scrollbar-color: var(--nx-petal) var(--nx-cream);
        scrollbar-width: thin;
    }

    ::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }

    ::-webkit-scrollbar-track {
        background: var(--nx-cream);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--nx-petal);
        border: 3px solid var(--nx-cream);
        border-radius: 99px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--nx-rose);
    }
}

/* the store price icon is coloured with --color-primary by the base css */
body .icon-sar {
    color: currentColor;
}

/* ==========================================================================
   2. Preloader — the logo sits on a morphing blush "swatch" with floating
      bubbles, and a lipstick swipe draws underneath.
   ========================================================================== */

.nexa-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    background: radial-gradient(circle at 50% 42%, #ffffff 0%, var(--nx-cream) 50%, var(--nx-blush) 100%);
    transition: opacity 0.7s var(--nx-ease), visibility 0.7s;
}

.nexa-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nexa-preloader__stage {
    position: relative;
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s var(--nx-ease-out);
}

.nexa-preloader.is-hidden .nexa-preloader__stage {
    transform: scale(0.92);
}

.nexa-preloader__blob {
    position: absolute;
    inset: 12px;
    background: var(--nx-grad-soft);
    border-radius: 42% 58% 62% 38% / 45% 42% 58% 55%;
    box-shadow: inset 0 0 0 1px rgba(var(--tw-accent-rgb, 214, 112, 126), 0.12), 0 30px 50px -30px rgba(182, 77, 93, 0.45);
    animation: nexa-morph 5s ease-in-out infinite, nexa-spin 18s linear infinite;
}

.nexa-preloader__blob--2 {
    inset: 0;
    background: none;
    box-shadow: none;
    border: 1.5px solid transparent;
    background: linear-gradient(var(--nx-cream), var(--nx-cream)) padding-box, var(--nx-grad) border-box;
    opacity: 0.55;
    animation: nexa-morph 5s ease-in-out -2.5s infinite, nexa-spin 24s linear infinite reverse;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}

.nexa-preloader__bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, rgba(255, 255, 255, 0.6) 25%, rgba(var(--tw-accent-rgb, 214, 112, 126), 0.35) 100%);
    box-shadow: 0 6px 14px -6px rgba(182, 77, 93, 0.5);
    animation: nexa-float 2.6s ease-in-out infinite;
}

.nexa-preloader__bubble--1 { width: 16px; height: 16px; top: 10px; inset-inline-end: 22px; }
.nexa-preloader__bubble--2 { width: 10px; height: 10px; bottom: 20px; inset-inline-start: 16px; animation-delay: -0.9s; }
.nexa-preloader__bubble--3 { width: 7px; height: 7px; top: 46px; inset-inline-start: 4px; animation-delay: -1.7s; }

.nexa-preloader__mark {
    position: relative;
    max-width: 118px;
    animation: nexa-pop 0.9s var(--nx-spring) both;
}

.nexa-preloader__logo {
    display: block;
    max-width: 118px;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.nexa-preloader__name {
    display: block;
    font-family: var(--nx-font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--nx-plum);
    text-align: center;
    line-height: 1.25;
}

/* lipstick swipe: a rounded stroke that paints across, then lifts */
.nexa-preloader__swipe {
    position: relative;
    width: 120px;
    height: 6px;
    border-radius: 99px;
    background: var(--nx-petal);
    overflow: hidden;
}

.nexa-preloader__swipe::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--nx-grad);
    transform-origin: left center;
    animation: nexa-swipe 1.6s var(--nx-ease) infinite;
}

html[dir="rtl"] .nexa-preloader__swipe::after {
    transform-origin: right center;
}

@keyframes nexa-morph {
    0%, 100% { border-radius: 42% 58% 62% 38% / 45% 42% 58% 55%; }
    33% { border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; }
    66% { border-radius: 50% 50% 55% 45% / 38% 55% 45% 62%; }
}

@keyframes nexa-spin {
    to { transform: rotate(360deg); }
}

@keyframes nexa-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes nexa-pop {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: none; }
}

@keyframes nexa-swipe {
    0% { transform: scaleX(0); opacity: 1; }
    55% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
}

/* ==========================================================================
   3. Page entrance & reveal on scroll
   ========================================================================== */

/* "backwards", not "both": a transform/opacity kept after the animation would make the
   logo bar the containing block of the phone account sheet (it opened off-screen) and
   lift the menu row above the account dropdown (it covered the first items) */
.nexa-loaded header.store-header .main-nav-container {
    animation: nexa-drop 0.9s var(--nx-ease-out) backwards;
}

.nexa-loaded header.store-header .nav-header {
    animation: nexa-fade 0.9s var(--nx-ease) 0.15s backwards;
}

/* the logo bar (account dropdown, cart) always sits above the menu / search row */
body header.store-header .main-nav-container {
    position: relative;
    z-index: 3;
}

body header.store-header .inner.nav-header {
    position: relative;
    z-index: 1;
}

@keyframes nexa-drop {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: none; }
}

@keyframes nexa-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* nexa.js adds .nexa-reveal, then .nexa-in once visible */
.nexa-reveal {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    transition:
        opacity 0.85s var(--nx-ease),
        transform 0.95s var(--nx-ease-out);
}

.nexa-reveal.nexa-in {
    opacity: 1;
    transform: none;
}

/* the old wow-style entrance classes would double-animate */
body .angel_anime.nexa-reveal {
    animation: none !important;
}

/* ==========================================================================
   4. Header — sticky; a frosted layer fades in on scroll and turns into a
      floating capsule. z-index stays below modals (200), the drawer and
      the mobile menu (9999).
   ========================================================================== */

body header.store-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: transparent;
}

/* glass layer on a pseudo-element: backdrop-filter on the header itself
   would trap the fixed search modal that lives inside it */
header.store-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 250, 247, 0.92);
    border-bottom: 1px solid var(--nx-line);
    border-radius: 0;
    transition:
        inset 0.5s var(--nx-ease-out),
        border-radius 0.5s var(--nx-ease-out),
        background-color 0.4s var(--nx-ease),
        box-shadow 0.4s var(--nx-ease),
        border-color 0.4s var(--nx-ease);
    pointer-events: none;
}

header.store-header.is-scrolled::after {
    inset: 8px 12px;
    border-radius: 26px;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 250, 247, 0.78);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
    box-shadow: 0 18px 40px -24px rgba(122, 52, 72, 0.45), inset 0 0 0 1px var(--nx-line);
}

/* signature: a slowly travelling rose → orchid ribbon on top */
header.store-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 2;
    background: linear-gradient(90deg, #f2a7a9, var(--nx-rose), #b67bb3, #f2a7a9) 0 0 / 300% 100%;
    animation: nexa-ribbon 12s linear infinite;
    transition: opacity 0.4s var(--nx-ease);
    pointer-events: none;
}

header.store-header.is-scrolled::before {
    opacity: 0;
}

@keyframes nexa-ribbon {
    to { background-position: 300% 0; }
}

header.store-header .main-nav-container {
    box-shadow: none !important;
}

header.store-header .main-nav-container > .inner,
body header.store-header .inner.nav-header {
    background: transparent !important;
}

header.store-header .main-nav-container .container > .flex {
    min-height: 82px;
    transition: min-height 0.45s var(--nx-ease-out);
}

header.store-header.is-scrolled .main-nav-container .container > .flex {
    min-height: 70px;
}

/* logo */
header.store-header .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

header.store-header .navbar-brand img {
    width: auto !important;
    height: auto !important;
    max-height: 72px;
    max-width: 210px;
    object-fit: contain;
    transition: max-height 0.45s var(--nx-ease-out), transform 0.6s var(--nx-spring);
}

header.store-header .navbar-brand:hover img {
    transform: scale(1.04) rotate(-1deg);
}

header.store-header.is-scrolled .navbar-brand img {
    max-height: 54px;
}

header.store-header .navbar-brand h2 {
    font-family: var(--nx-font-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--nx-plum);
    margin: 0;
}

/* round soft action buttons */
header.store-header .header-btn,
header.store-header .s-user-menu-trigger-slot .top-links-icon,
header.store-header .mburger {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--nx-blush);
    color: var(--nx-ink);
    opacity: 1;
    transition:
        background-color 0.3s var(--nx-ease),
        transform 0.4s var(--nx-spring),
        box-shadow 0.3s var(--nx-ease);
}

header.store-header .s-user-menu-trigger-slot .top-links-icon {
    display: inline-flex;
}

/* the base sets the burger to display:block — keep its icon centred */
header.store-header .mburger {
    display: inline-flex !important;
    margin-inline-end: 0 !important;
}

@media (min-width: 1024px) {
    header.store-header .mburger {
        display: none !important;
    }
}

header.store-header .header-btn:hover,
header.store-header .s-user-menu-trigger-slot:hover .top-links-icon,
header.store-header .mburger:hover,
header.store-header .s-cart-summary-wrapper:hover .header-btn {
    background: var(--nx-petal);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 18px -12px rgba(182, 77, 93, 0.7);
    opacity: 1;
}

header.store-header .header-btn:active,
header.store-header .mburger:active {
    transform: scale(0.94);
}

header.store-header .header-btn i,
header.store-header .top-links-icon i,
header.store-header .mburger i {
    color: var(--nx-ink) !important;
    font-size: 1.05rem !important;
    line-height: 1;
}

header.store-header .s-user-menu-wrapper {
    padding: 0 !important;
    cursor: pointer;
}

header.store-header .main-nav-container .container > .flex > .w-1\/3 {
    gap: 8px;
}

/* language / currency pill */
header.store-header .header-buttons .lang {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding-inline: 16px !important;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--nx-ink-soft);
    font-size: 0.8rem;
    transition: border-color 0.3s var(--nx-ease), background-color 0.3s var(--nx-ease);
}

header.store-header .header-buttons .lang:hover {
    border-color: var(--nx-rose);
    background: var(--nx-blush);
}

/* cart & wallet: pill with icon disc + amount; count badge on the disc */
header.store-header twsaa-cart-summary {
    display: flex;
}

header.store-header .s-cart-summary-wrapper {
    height: 42px;
    gap: 8px;
    padding: 3px;
    padding-inline-end: 14px;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    color: var(--nx-ink);
    box-sizing: border-box;
    transition: border-color 0.3s var(--nx-ease), background-color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

header.store-header .s-cart-summary-wrapper:hover {
    border-color: var(--nx-rose);
    background: var(--nx-surface);
    transform: translateY(-2px);
}

header.store-header .s-cart-summary-wrapper #s-cart-icon {
    display: flex;
}

header.store-header .s-cart-summary-wrapper .header-btn,
header.store-header .s-cart-summary-wrapper:hover .header-btn {
    width: 34px;
    height: 34px;
    transform: none;
    box-shadow: none;
}

header.store-header .s-cart-summary-wrapper .header-btn i {
    font-size: 0.95rem !important;
}

header.store-header .s-cart-summary-count {
    top: -6px !important;
    min-width: 18px;
    width: auto;
    height: 18px;
    padding: 0 4px;
    background: var(--nx-grad);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    border: 2px solid var(--nx-cream);
    border-radius: 999px;
    box-sizing: content-box;
    z-index: 1;
}

/* the count pops when it changes (nexa adds the class via the drawer) */
html.nexa-drawer-open header.store-header .s-cart-summary-count {
    animation: nexa-pop 0.5s var(--nx-spring);
}

/* app.min.css pins the badge with !important physical offsets per direction */
html[dir="rtl"] header.store-header .s-cart-summary-count {
    right: -5px !important;
    left: auto !important;
}

html[dir="ltr"] header.store-header .s-cart-summary-count {
    left: -5px !important;
    right: auto !important;
}

header.store-header .s-cart-summary-content {
    line-height: 1 !important;
    margin: 0;
}

header.store-header .s-cart-summary-total,
header.store-header .s-wallet-summary-count {
    font-size: 0.82rem;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--nx-ink);
    white-space: nowrap;
}

header.store-header .s-wallet-summary-count {
    position: static !important;
    inset: auto !important;
    width: auto;
    height: auto;
    padding: 0 !important;
    background: none !important;
    border-radius: 0;
    line-height: 1;
}

/* ---------- Category menu bar (desktop) ---------- */

header.store-header .inner.nav-header .container {
    border-top: 1px solid var(--nx-line) !important;
    align-items: center !important;
    gap: 16px;
    padding-block: 4px;
}

header.store-header .inner.nav-header .container > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
}

header.store-header .inner.nav-header .container > div:last-child {
    flex: 0 0 auto;
    gap: 0;
}

header.store-header .nav-header .main-menu {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0;
}

header.store-header .nav-header .main-menu > li > a {
    position: relative;
    display: block;
    padding: 12px 9px !important;
    color: var(--nx-ink-soft);
    font-size: 0.88rem;
    white-space: nowrap;
    transition: color 0.3s var(--nx-ease);
}

/* soft blush bubble grows behind the hovered item (::before; ::after = arrow) */
header.store-header .nav-header .main-menu > li > a::before {
    content: "";
    position: absolute;
    inset: 6px 2px;
    z-index: -1;
    border-radius: 999px;
    background: var(--nx-blush);
    transform: scale(0.6);
    opacity: 0;
    transition: transform 0.45s var(--nx-spring), opacity 0.3s var(--nx-ease);
}

header.store-header .nav-header .main-menu > li > a {
    z-index: 0;
}

header.store-header .nav-header .main-menu > li:hover > a,
header.store-header .nav-header .main-menu > li > a:focus-visible {
    color: var(--nx-rose-deep);
}

header.store-header .nav-header .main-menu > li:hover > a::before,
header.store-header .nav-header .main-menu > li > a:focus-visible::before {
    transform: none;
    opacity: 1;
}

/* menu arrows: thin CSS chevrons — top level points down (up while open);
   nested parents point toward their flyout (left in RTL, right in LTR) */
header.store-header .nav-header .main-menu > li.has-children > a {
    display: flex;
    align-items: center;
    gap: 7px;
}

header.store-header .nav-header .main-menu .has-children > a::after {
    content: "" !important;
    display: inline-block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin: 0 !important;
    border-right: 1.4px solid currentColor;
    border-bottom: 1.4px solid currentColor;
    font-family: inherit;
    font-size: 0;
    line-height: 0;
    opacity: 0.55;
    align-self: center;
    transform: translateY(-2px) rotate(45deg) !important;
    transition: transform 0.4s var(--nx-spring), opacity 0.3s var(--nx-ease);
}

header.store-header .nav-header .main-menu > li.has-children:hover > a::after {
    opacity: 1;
    transform: translateY(1px) rotate(225deg) !important;
}

html[dir="rtl"] header.store-header .nav-header .sub-menu .has-children > a::after {
    transform: rotate(135deg) !important;
}

html[dir="ltr"] header.store-header .nav-header .sub-menu .has-children > a::after {
    transform: rotate(-45deg) !important;
}

header.store-header .nav-header .main-menu > li:empty {
    display: none !important;
}

/* sub-menus */
header.store-header .nav-header .sub-menu {
    background: var(--nx-surface) !important;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-shadow);
    padding: 8px;
    animation: nexa-menu-in 0.35s var(--nx-ease-out) both;
}

header.store-header .nav-header .sub-menu li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border-radius: var(--nx-radius-sm);
    color: var(--nx-ink-soft);
    font-size: 0.87rem;
    transition: color 0.25s var(--nx-ease), background-color 0.25s var(--nx-ease), padding 0.35s var(--nx-ease-out);
}

header.store-header .nav-header .sub-menu li > a:hover {
    color: var(--nx-rose-deep);
    background: var(--nx-blush);
    padding-inline-start: 20px;
}

@keyframes nexa-menu-in {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

/* ==========================================================================
   5. Search & dropdowns
   ========================================================================== */

/* inline search: one pill — icon, field, camera button */
header.store-header .inner.nav-header .container > div:last-child {
    position: relative;
    height: 42px;
    padding: 4px;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    background: var(--nx-surface);
    box-sizing: border-box;
    transition: border-color 0.3s var(--nx-ease), box-shadow 0.3s var(--nx-ease);
}

header.store-header .inner.nav-header .container > div:last-child:focus-within {
    border-color: var(--nx-rose);
    box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 214, 112, 126), 0.15);
}

header.store-header .nav-header .s-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

header.store-header .nav-header .s-search-icon {
    position: absolute;
    top: 50% !important;
    left: auto !important;
    right: auto !important;
    inset-inline-start: 12px;
    transform: translateY(-50%) !important;
    display: flex;
    align-items: center;
    font-size: 15px;
    line-height: 1;
    color: var(--nx-rose);
    pointer-events: none;
    z-index: 1;
}

header.store-header .nav-header .s-search-input {
    height: 32px !important;
    width: 190px;
    min-width: 0;
    padding: 0 8px !important;
    padding-inline-start: 36px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--nx-ink);
    font-size: 0.85rem;
    transition: width 0.45s var(--nx-ease-out);
}

header.store-header .nav-header .s-search-input::placeholder,
header.store-header .nav-header .s-search-input::-webkit-input-placeholder {
    color: var(--nx-muted) !important;
    -webkit-text-fill-color: var(--nx-muted);
    opacity: 1 !important;
}

header.store-header .nav-header .s-search-input:focus {
    width: 250px;
    outline: none;
}

header.store-header .camera-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--nx-blush);
    color: var(--nx-rose-deep);
    font-size: 15px;
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

header.store-header .camera-btn:hover {
    background: var(--nx-rose);
    color: var(--tw-accent-text, #fff);
    transform: rotate(-8deg) scale(1.05);
}

/* search modal (mobile) */
body .s-search-modal .s-modal-body {
    border-radius: 0 0 var(--nx-radius-lg) var(--nx-radius-lg) !important;
    box-shadow: var(--nx-shadow-lg);
}

body .s-search-modal .s-modal-wrapper .s-modal-body .s-search-container .s-search-input {
    height: 50px !important;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    font-size: 0.95rem;
}

body .s-search-modal .s-modal-wrapper .s-modal-body .s-search-container .s-search-input:focus {
    border-color: var(--nx-rose);
    box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 214, 112, 126), 0.15);
    outline: none;
}

/* close button sits in its own row above the field, never on top of it */
body #searchProductModal .s-modal-header {
    position: static;
    display: flex;
    justify-content: flex-end;
    height: auto;
    margin: 0 0 8px;
}

body #searchProductModal .s-modal-close {
    position: static;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--nx-blush);
    transition: background-color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

body #searchProductModal .s-modal-close span,
body #searchProductModal .s-modal-close i {
    color: var(--nx-plum) !important;
    font-size: 0.9rem;
}

body #searchProductModal .s-modal-close:hover {
    background: var(--nx-rose);
    transform: rotate(90deg);
}

body #searchProductModal .s-modal-close:hover span,
body #searchProductModal .s-modal-close:hover i {
    color: #fff !important;
}

/* customer dropdown */
header.store-header .s-user-menu-dropdown {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
    box-shadow: var(--nx-shadow);
    overflow: hidden;
}

header.store-header .s-user-menu-dropdown-header {
    background: var(--nx-grad-soft);
}

header.store-header .s-user-menu-dropdown-item a {
    transition: background-color 0.25s var(--nx-ease), color 0.25s var(--nx-ease);
}

header.store-header .s-user-menu-dropdown-item a:hover {
    background: var(--nx-blush);
    color: var(--nx-rose-deep);
}

/* ==========================================================================
   6. Section titles & slider arrows
   ========================================================================== */

.main-container-wrapper .s-block__title {
    justify-content: center;
    text-align: center;
}

.main-container-wrapper .s-block__title h2,
.main-container-wrapper .s-slider-block__title h2 {
    font-family: var(--nx-font-display);
    font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.15rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--nx-plum);
}

/* signature: a hand-drawn blush brush stroke under the title */
.main-container-wrapper .s-block__title h2::after,
.main-container-wrapper .s-slider-block__title h2::after {
    content: "";
    display: block;
    width: 92px;
    height: 12px;
    margin: 10px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 12'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23f2a7a9'/%3E%3Cstop offset='.5' stop-color='%23d6707e'/%3E%3Cstop offset='1' stop-color='%23b67bb3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 8.5C20 3 40 2.5 58 5.2s24 2.3 31-1.2' fill='none' stroke='url(%23g)' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    transform-origin: center;
}

.main-container-wrapper .nexa-in h2::after,
.main-container-wrapper .nexa-in.s-block__title h2::after {
    animation: nexa-brush 0.9s var(--nx-ease-out) 0.25s both;
}

@keyframes nexa-brush {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
}

html[dir="rtl"] .main-container-wrapper .nexa-in h2::after {
    animation-name: nexa-brush-rtl;
}

@keyframes nexa-brush-rtl {
    from { clip-path: inset(0 0 0 100%); }
    to { clip-path: inset(0 0 0 0); }
}

.main-container-wrapper .s-slider-block__title h2::after {
    margin-inline: 0 auto;
}

.main-container-wrapper .s-block__title p {
    color: var(--nx-muted) !important;
}

/* "view all": pill that fills with blush */
body .s-slider-block__display-all {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-shrink: 0;
    white-space: nowrap;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    color: var(--nx-ink-soft) !important;
    font-size: 0.82rem;
    transition: background-color 0.3s var(--nx-ease), border-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease);
}

body .s-slider-block__display-all::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 1.4px solid currentColor;
    border-right: 1.4px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.35s var(--nx-spring);
}

/* chevron points forward: right in LTR, left in RTL */
html[dir="rtl"] body .s-slider-block__display-all::after {
    transform: rotate(-135deg);
}

body .s-slider-block__display-all:hover {
    background: var(--nx-blush);
    border-color: var(--nx-rose);
    color: var(--nx-rose-deep) !important;
}

body .s-slider-block__display-all:hover::after {
    transform: translateX(3px) rotate(45deg);
}

html[dir="rtl"] body .s-slider-block__display-all:hover::after {
    transform: translateX(-3px) rotate(-135deg);
}

/* arrows (product sliders + Nexa sliders) */
.s-slider-block__title .s-slider-nav-arrow,
.nexa-arrow {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    background: var(--nx-surface);
    color: var(--nx-ink);
    cursor: pointer;
    transition:
        background-color 0.3s var(--nx-ease),
        border-color 0.3s var(--nx-ease),
        color 0.3s var(--nx-ease),
        transform 0.4s var(--nx-spring);
}

.s-slider-block__title .s-slider-nav-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nexa-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html[dir="rtl"] .nexa-arrow svg {
    transform: scaleX(-1);
}

.s-slider-block__title .s-slider-nav-arrow:hover:not(:disabled),
.nexa-arrow:hover {
    background: var(--nx-plum);
    border-color: var(--nx-plum);
    color: #fff;
    transform: scale(1.06);
}

.s-slider-block__title .s-slider-nav-arrow:active:not(:disabled),
.nexa-arrow:active {
    transform: scale(0.92);
}

.s-slider-block__title .s-slider-nav-arrow:disabled,
.s-slider-block__title .s-slider-nav-arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* nav row: arrows around stretching pill dots */
.nexa-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
}

.nexa-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nexa-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: var(--nx-line-strong);
    overflow: hidden;
    cursor: pointer;
    transition: width 0.5s var(--nx-spring), background-color 0.3s var(--nx-ease);
}

.nexa-dot:hover {
    background: var(--nx-petal);
}

.nexa-dot.is-active {
    width: 28px;
    background: var(--nx-rose);
}

/* review dots: the active pill fills with the autoplay timer */
.nexa-reviews .nexa-dot.is-active {
    background: var(--nx-petal);
}

.nexa-dot span {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--nx-grad);
    transform: scaleX(0);
    transform-origin: left center;
}

html[dir="rtl"] .nexa-dot span {
    transform-origin: right center;
}

.nexa-reviews .nexa-dot.is-active span {
    transform: scaleX(var(--nexa-autoplay, 0));
}

/* before swiper takes over (or without JS) the nav is just decoration */
.nexa-cats:not(:has(.swiper-initialized)) .nexa-slider-nav,
.nexa-reviews:not(:has(.swiper-initialized)) .nexa-slider-nav,
.nexa-reviews.is-single .nexa-slider-nav {
    visibility: hidden;
}

/* ==========================================================================
   7. Categories — organic swatches on a looping track (nexa.js).
      Images drift against the motion (parallax); hovering morphs the
      swatch and spins a gradient halo around it.
   ========================================================================== */

.main-container-wrapper .nexa-cats {
    position: relative;
    margin-inline: -8px;
}

.nexa-cat-swiper.swiper {
    padding: 14px 0 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

/* springy settle on every move (swiper sets the duration, we set the curve) */
.nexa-cat-swiper.swiper .swiper-wrapper {
    transition-timing-function: cubic-bezier(0.3, 1.25, 0.5, 1);
}

/* without swiper: a swipeable row */
.nexa-cat-swiper:not(.swiper-initialized) .swiper-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.nexa-cat-swiper.swiper .swiper-slide.nexa-cat {
    width: 176px;
    flex-shrink: 0;
    padding-inline: 14px;
    box-sizing: border-box;
    scroll-snap-align: start;
}

.nexa-cat__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    color: var(--nx-ink);
}

.nexa-cat__swatch {
    --nexa-shape: 46% 54% 58% 42% / 44% 46% 54% 56%;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--nexa-shape);
    background: var(--nx-grad-soft);
    box-shadow: 0 18px 30px -22px rgba(122, 52, 72, 0.55);
    isolation: isolate;
    transition: border-radius 0.9s var(--nx-ease), transform 0.5s var(--nx-spring), box-shadow 0.5s var(--nx-ease);
}

/* each swatch gets its own organic shape */
.nexa-cat:nth-child(6n+2) .nexa-cat__swatch { --nexa-shape: 58% 42% 40% 60% / 52% 58% 42% 48%; }
.nexa-cat:nth-child(6n+3) .nexa-cat__swatch { --nexa-shape: 50% 50% 62% 38% / 40% 52% 48% 60%; }
.nexa-cat:nth-child(6n+4) .nexa-cat__swatch { --nexa-shape: 40% 60% 52% 48% / 58% 42% 58% 42%; }
.nexa-cat:nth-child(6n+5) .nexa-cat__swatch { --nexa-shape: 62% 38% 46% 54% / 48% 60% 40% 52%; }
.nexa-cat:nth-child(6n+6) .nexa-cat__swatch { --nexa-shape: 44% 56% 38% 62% / 60% 44% 56% 40%; }

.nexa-cat__swatch {
    overflow: hidden;
}

.nexa-cat__img,
.nexa-cat__monogram {
    position: absolute;
    inset: 0;
}

/* the image is wider than the swatch so it can drift (parallax) */
.nexa-cat__swatch > img.nexa-cat__img {
    width: 124% !important;
    max-width: none;
    height: 100% !important;
    left: -12%;
    object-fit: cover;
    transform: translateX(var(--nexa-px, 0%));
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.3, 1.25, 0.5, 1);
}

.nexa-cat__monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--nx-font-display);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--nx-rose-deep);
}

.nexa-cat__name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--nx-ink);
    transition: color 0.3s var(--nx-ease);
}

/* gradient halo ring around the swatch (on the link — the swatch clips) */
.nexa-cat__link {
    position: relative;
}

.nexa-cat__link::before {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    right: -7px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #f2a7a9, var(--nx-rose), #b67bb3, #e2b77c, #f2a7a9);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
    opacity: 0;
    transform: scale(0.9) rotate(-90deg);
    transition: opacity 0.4s var(--nx-ease), transform 0.7s var(--nx-spring);
    pointer-events: none;
}

/* hover: the organic shape relaxes into a circle, lifts, halo spins in */
@media (hover: hover) and (pointer: fine) {
    .nexa-cat__link:hover .nexa-cat__swatch {
        border-radius: 50%;
        transform: translateY(-6px);
        box-shadow: 0 26px 36px -22px rgba(122, 52, 72, 0.6);
    }

    .nexa-cat__link:hover::before {
        opacity: 1;
        transform: translateY(-6px) scale(1) rotate(0deg);
    }

    .nexa-cat__link:hover .nexa-cat__name {
        color: var(--nx-rose-deep);
    }
}

/* ==========================================================================
   8. Brands — a wall of tiles (one row on desktop, two on phones). Tiles flip in 3D to reveal the
      next brands (nexa.js); logos bloom from grey to colour on hover.
   ========================================================================== */

.nexa-brand-wall {
    --nexa-brand-cols: 6;
    --nexa-brand-rows: 1;
    --nexa-brand-gap: 16px;
}

.nexa-brand-wall__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--nexa-brand-gap);
    margin: 0;
    padding: 6px 0;
    list-style: none;
}

.nexa-brand {
    width: calc((100% - (var(--nexa-brand-cols) - 1) * var(--nexa-brand-gap)) / var(--nexa-brand-cols));
    perspective: 900px;
}

.nexa-brand[hidden] {
    display: none !important;
}

.nexa-brand__card {
    position: relative;
    display: block;
    aspect-ratio: 5 / 4;
    transform-style: preserve-3d;
    transition: transform 0.9s var(--nx-spring);
}

.nexa-brand.is-flipped .nexa-brand__card {
    transform: rotateY(180deg);
}

.nexa-brand__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 14px 12px;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg);
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow-sm);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: border-color 0.4s var(--nx-ease), box-shadow 0.4s var(--nx-ease), background-color 0.4s var(--nx-ease);
}

.nexa-brand__face--back {
    transform: rotateY(180deg);
}

.nexa-brand__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
}

.nexa-brand__logo img {
    max-width: 82%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 0.5s var(--nx-ease), opacity 0.5s var(--nx-ease), transform 0.6s var(--nx-spring);
}

.nexa-brand__logo img:not([src]),
.nexa-brand__logo img[src=""] {
    visibility: hidden;
}

.nexa-brand__logo.is-missing img {
    display: none;
}

.nexa-brand__logo.is-missing::before {
    content: attr(data-letter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%;
    background: var(--nx-grad-soft);
    font-family: var(--nx-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nx-rose-deep);
}

.nexa-brand__name {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.76rem;
    color: var(--nx-muted);
    transition: color 0.3s var(--nx-ease);
}

html[dir="ltr"] .nexa-brand__name {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nexa-brand__card:hover .nexa-brand__face,
.nexa-brand__card:focus-visible .nexa-brand__face {
    border-color: var(--nx-petal);
    background: linear-gradient(180deg, #ffffff 0%, var(--nx-blush) 100%);
    box-shadow: var(--nx-shadow);
}

.nexa-brand__card:hover img,
.nexa-brand__card:focus-visible img {
    filter: none;
    opacity: 1;
    transform: scale(1.06);
}

.nexa-brand__card:hover .nexa-brand__name {
    color: var(--nx-rose-deep);
}

/* ==========================================================================
   8b. Reviews — floating cards on a centred loop; neighbours recede.
   ========================================================================== */

.main-container-wrapper .nexa-reviews {
    position: relative;
    padding: 34px 0 10px;
}

/* soft blush backdrop band behind the carousel */
.main-container-wrapper .nexa-reviews::before {
    content: "";
    position: absolute;
    inset: 0 -100vmax;
    z-index: -1;
    background:
        radial-gradient(40% 70% at 15% 30%, rgba(242, 167, 169, 0.22), transparent 70%),
        radial-gradient(40% 70% at 85% 70%, rgba(182, 123, 179, 0.16), transparent 70%),
        var(--nx-blush);
    pointer-events: none;
}

.main-container-wrapper .nexa-reviews {
    isolation: isolate;
}

.nexa-reviews .s-slider-block__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.nexa-review-swiper.swiper {
    padding: 14px 4px 24px;
    overflow: hidden;
}

.nexa-review-swiper .swiper-slide {
    height: auto;
    transition-property: transform, opacity;
}

.nexa-review-swiper.swiper-initialized .swiper-slide {
    opacity: 0.55;
    transform: scale(0.92);
    transition: opacity 0.6s var(--nx-ease), transform 0.7s var(--nx-spring);
}

.nexa-review-swiper.swiper-initialized .swiper-slide-active,
.nexa-review-swiper.swiper-initialized .swiper-slide:hover {
    opacity: 1;
    transform: none;
}

/* the swiper default transform on slides is none — our scale is safe */
.nexa-review {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 230px;
    margin: 0;
    padding: 28px 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--nx-radius-lg);
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow);
    box-sizing: border-box;
    overflow: hidden;
}

.nexa-review::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: var(--nx-grad);
    transform: scaleX(0);
    transition: transform 0.8s var(--nx-ease-out);
}

.swiper-slide-active .nexa-review::after {
    transform: scaleX(1);
}

.nexa-review__quote {
    position: absolute;
    top: 18px;
    inset-inline-end: 20px;
    width: 46px;
    height: 46px;
    fill: var(--nx-petal);
}

html[dir="rtl"] .nexa-review__quote {
    transform: scaleX(-1);
}

.nexa-review__stars {
    display: flex;
    gap: 3px;
}

.nexa-review__stars svg {
    width: 17px;
    height: 17px;
    fill: var(--nx-line-strong);
}

.nexa-review__stars svg.is-on {
    fill: var(--nx-gold);
}

.swiper-slide-active .nexa-review__stars svg.is-on {
    animation: nexa-star 0.5s var(--nx-spring) both;
}

.swiper-slide-active .nexa-review__stars svg:nth-child(2) { animation-delay: 0.06s; }
.swiper-slide-active .nexa-review__stars svg:nth-child(3) { animation-delay: 0.12s; }
.swiper-slide-active .nexa-review__stars svg:nth-child(4) { animation-delay: 0.18s; }
.swiper-slide-active .nexa-review__stars svg:nth-child(5) { animation-delay: 0.24s; }

@keyframes nexa-star {
    from { transform: scale(0.4) rotate(-30deg); opacity: 0.3; }
    to { transform: none; opacity: 1; }
}

.nexa-review__text {
    flex: 1 1 auto;
    margin: 16px 0 20px;
    padding: 0;
    border: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--nx-ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nexa-review__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px dashed var(--nx-line-strong);
}

.nexa-review__avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 2px;
    border-radius: 50%;
    background: var(--nx-grad);
}

.nexa-review__avatar img {
    width: 100%;
    height: 100%;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: var(--nx-blush);
}

.nexa-review__who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nexa-review__name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--nx-plum);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nexa-review__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    color: #3f8f6b;
}

.nexa-review__badge svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================================================
   9. Product cards — rounded white card with a blush image stage, glow
      that follows the pointer, rose ring on hover, pill add-to-cart with
      a light sweep.
   ========================================================================== */

body .product-entry {
    position: relative;
    padding: 8px;
    background: var(--nx-surface);
    border: 1px solid var(--nx-line) !important;
    border-radius: 22px !important;
    box-shadow: var(--nx-shadow-sm);
    isolation: isolate;
    transition:
        transform 0.55s var(--nx-spring),
        box-shadow 0.5s var(--nx-ease),
        border-color 0.4s var(--nx-ease),
        opacity 0.85s var(--nx-ease);
}

/* pointer glow (nexa.js sets --nexa-mx / --nexa-my) */
body .product-entry::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(260px circle at var(--nexa-mx, 50%) var(--nexa-my, 0%), rgba(242, 167, 169, 0.28), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s var(--nx-ease);
    pointer-events: none;
}

/* image stage */
body .product-entry > a > .relative {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: radial-gradient(circle at 50% 35%, #ffffff 0%, var(--nx-blush) 100%);
}

body .product-entry > a > .relative img {
    width: 100%;
    mix-blend-mode: multiply;
    transition: transform 1s var(--nx-ease-out), opacity 0.6s var(--nx-ease);
}

/* light sweep — a glossy highlight across the product */
body .product-entry > a > .relative::after {
    content: "";
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: 0;
    width: 40%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    transform: translateX(-200%) skewX(-16deg);
    pointer-events: none;
    z-index: 1;
}

/* badges */
body .product-entry .sticker {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    z-index: 3;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.35;
    box-shadow: 0 6px 14px -8px rgba(122, 52, 72, 0.6);
}

body .product-entry .sticker.new {
    background: var(--nx-grad);
    color: #fff;
}

html[dir="ltr"] body .product-entry .sticker {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body .product-entry .sticker.sale {
    background: var(--nx-sale);
    color: #fff;
}

body .product-entry .promo-title {
    top: 10px !important;
    inset-inline-start: auto !important;
    inset-inline-end: 10px;
    max-width: 62%;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: var(--nx-plum) !important;
    color: #fff !important;
    font-size: 0.7rem !important;
    opacity: 1 !important;
    z-index: 3;
}

/* content */
body .product-entry .donating-wrap {
    padding: 14px 8px 6px !important;
    gap: 4px;
}

body .product-entry .product-entry__title {
    min-height: 3em;
}

body .product-entry .product-entry__title a {
    margin-top: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--nx-ink);
    transition: color 0.3s var(--nx-ease);
}

body .product-entry .product-entry__title a:hover {
    color: var(--nx-rose-deep);
}

body .product-entry .s-product-card-content-subtitle {
    font-size: 0.78rem;
    color: var(--nx-muted);
}

body .product-entry .s-product-card-content-subtitle:empty {
    display: none;
}

body .product-entry .price-wrapper {
    margin-bottom: 12px !important;
}

body .product-entry .price-wrapper .on-sale {
    gap: 8px;
}

body .product-entry .price-wrapper .on-sale .price,
body .product-entry .price-wrapper .on-sale .special-price {
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--nx-plum);
    margin: 0;
}

body .product-entry .price-wrapper .on-sale .special-price {
    color: var(--nx-sale);
}

body .product-entry .price-wrapper .on-sale .regular-price {
    font-size: 0.8rem;
    color: var(--nx-muted);
}

/* add to cart: blush pill → plum on hover, with a gloss sweep */
body .product-entry .product-footer {
    justify-content: stretch !important;
}

body .product-entry .cart-wish-wrap,
body .product-entry .cart-wish-wrap form {
    display: block;
    width: 100%;
}

body .product-entry .addToCart.s-button-element {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 44px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--nx-blush) !important;
    color: var(--nx-plum) !important;
    font-size: 0.85rem;
    font-weight: 700;
    transition:
        background-color 0.35s var(--nx-ease),
        color 0.35s var(--nx-ease),
        box-shadow 0.35s var(--nx-ease),
        transform 0.3s var(--nx-spring) !important;
}

body .product-entry .addToCart.s-button-element::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-160%) skewX(-18deg);
    pointer-events: none;
}

body .product-entry .addToCart.s-button-element .icon-cart {
    display: inline-block;
    transition: transform 0.45s var(--nx-spring);
}

body .product-entry .addToCart.s-button-element:not(:disabled):hover {
    background: var(--nx-plum) !important;
    color: #fff !important;
    box-shadow: 0 12px 22px -14px rgba(44, 26, 37, 0.8);
}

body .product-entry .addToCart.s-button-element:not(:disabled):hover::after {
    transform: translateX(330%) skewX(-18deg);
    transition: transform 0.8s var(--nx-ease);
}

body .product-entry .addToCart.s-button-element:not(:disabled):hover .icon-cart {
    transform: translateY(-2px) rotate(-12deg) scale(1.1);
}

body .product-entry .addToCart.s-button-element:not(:disabled):active {
    transform: scale(0.96);
}

body .product-entry .addToCart.s-button-element:disabled,
body .product-entry .addToCart.s-button-disabled {
    background: transparent !important;
    border: 1px dashed var(--nx-line-strong) !important;
    color: var(--nx-muted) !important;
    cursor: not-allowed;
}

@media (hover: hover) and (pointer: fine) {
    body .product-entry:hover {
        transform: translateY(-8px);
        border-color: var(--nx-petal) !important;
        box-shadow: var(--nx-shadow-lg);
    }

    body .product-entry:hover::before {
        opacity: 1;
    }

    body .product-entry:hover > a > .relative img {
        transform: scale(1.07) rotate(-1deg);
    }

    body .product-entry:hover > a > .relative::after {
        transform: translateX(360%) skewX(-16deg);
        transition: transform 1.1s var(--nx-ease);
    }
}

/* the reveal transition must keep the hover transitions too */
body .product-entry.nexa-reveal {
    transition:
        opacity 0.85s var(--nx-ease),
        transform 0.95s var(--nx-ease-out),
        box-shadow 0.5s var(--nx-ease),
        border-color 0.4s var(--nx-ease);
}

body .product-entry.nexa-reveal.nexa-in {
    transition:
        transform 0.55s var(--nx-spring),
        box-shadow 0.5s var(--nx-ease),
        border-color 0.4s var(--nx-ease),
        opacity 0.85s var(--nx-ease);
}

/* ==========================================================================
   10. Features & FAQ
   ========================================================================== */

body .s-block--features__item {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg) !important;
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow-sm);
    transition: transform 0.5s var(--nx-spring), box-shadow 0.4s var(--nx-ease), border-color 0.4s var(--nx-ease);
}

body .s-block--features__item:hover {
    transform: translateY(-6px);
    border-color: var(--nx-petal);
    box-shadow: var(--nx-shadow);
}

body .s-block--features__item .feature-icon,
body .s-block--features__item i {
    color: var(--nx-rose-deep);
}

body .s-block--features__item .feature-icon {
    background: var(--nx-blush) !important;
    border-radius: 42% 58% 55% 45% / 48% 44% 56% 52%;
    transition: border-radius 0.8s var(--nx-ease), transform 0.5s var(--nx-spring);
}

body .s-block--features__item:hover .feature-icon {
    border-radius: 50%;
    transform: rotate(-8deg) scale(1.06);
}

/* FAQ: one soft card per question; a round "+" turns into "–" */
body .accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 920px;
    margin-inline: auto;
}

body .accordion-item {
    margin: 0;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg);
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow-sm);
    transition: border-color 0.35s var(--nx-ease), box-shadow 0.35s var(--nx-ease), background-color 0.35s var(--nx-ease);
}

body .accordion-item:hover {
    border-color: var(--nx-petal);
}

body .accordion-item.active {
    border-color: var(--nx-petal);
    background: linear-gradient(180deg, #ffffff 0%, var(--nx-cream) 100%);
    box-shadow: var(--nx-shadow);
}

body .accordion-header {
    gap: 16px;
    padding: 18px 22px;
    background: transparent;
    color: var(--nx-plum);
    font-size: 1rem;
    font-weight: 600;
    text-align: start;
}

body .accordion-header:hover {
    background: transparent;
    color: var(--nx-rose-deep);
}

body .accordion-icon {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--nx-blush);
    font-size: 0;
    color: var(--nx-rose-deep);
    transition: background-color 0.35s var(--nx-ease), transform 0.5s var(--nx-spring), color 0.35s var(--nx-ease);
}

body .accordion-icon::before,
body .accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.8px;
    margin: -0.9px 0 0 -6px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.45s var(--nx-spring);
}

body .accordion-icon::after {
    transform: rotate(90deg);
}

body .accordion-item.active .accordion-icon {
    background: var(--nx-grad);
    color: #fff;
    transform: rotate(180deg);
}

body .accordion-item.active .accordion-icon::after {
    transform: rotate(0deg);
}

body .accordion-content {
    padding: 0 22px;
    transition: max-height 0.5s var(--nx-ease-out);
}

body .accordion-content p {
    padding: 0 0 20px;
    color: var(--nx-ink-soft);
    line-height: 1.8;
}

body .accordion-item.active .accordion-content {
    max-height: 600px;
}

/* ==========================================================================
   11. Footer — deep plum with a soft wave edge, blush highlights
   ========================================================================== */

body .store-footer {
    position: relative;
    margin-top: 6.5rem;
    color: #e8d7dc;
}

body .store-footer .store-footer__inner {
    position: relative;
    background:
        radial-gradient(50% 80% at 12% 0%, rgba(var(--tw-accent-rgb, 214, 112, 126), 0.22) 0%, transparent 70%),
        radial-gradient(45% 70% at 92% 100%, rgba(182, 123, 179, 0.18) 0%, transparent 70%),
        var(--nx-plum) !important;
    color: #e8d7dc;
}

/* wave edge above the footer */
body .store-footer .store-footer__inner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 46px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 46V24C120 6 240 0 360 8s240 30 360 30 240-24 360-30 240 4 360 18v20Z' fill='%232c1a25'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    pointer-events: none;
}

body .store-footer a {
    color: #e8d7dc;
}

body .store-footer a:hover {
    color: #f7c6c7 !important;
}

body .store-footer .da-tm,
body .store-footer p,
body .store-footer span {
    color: inherit;
}

body .store-footer svg[stroke="black"] {
    stroke: currentColor;
}

/* back-to-top link at the top of the footer */
body .store-footer .to-top a {
    padding-top: 26px !important;
    color: #bfa8b2;
    font-size: 0.8rem;
}

body .store-footer .to-top a .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    transition: background-color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

body .store-footer .to-top a:hover .icon {
    background: var(--nx-rose);
    transform: translateY(-3px);
}

body .store-footer .footer-middle {
    padding-block: 40px 44px;
    gap: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body .store-footer h3 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 12px;
    font-family: var(--nx-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    text-align: start;
}

body .store-footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background: var(--nx-grad);
}

body .store-footer h3.text-center::after {
    inset-inline-start: 50%;
    margin-inline-start: -15px;
}

/* logo on a soft cream plaque so dark logos stay legible */
body .store-footer .logo-footer {
    align-self: center;
    padding: 12px 22px;
    margin-bottom: 14px !important;
    border-radius: 999px;
    background: var(--nx-cream);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06);
}

body .store-footer .logo-footer img {
    width: auto !important;
    height: auto !important;
    max-height: 48px;
    max-width: 170px;
    object-fit: contain;
}

body .store-footer .footer-middle p.leading-6 {
    color: #d9c4cc;
    font-size: 0.88rem;
    line-height: 1.85 !important;
    text-align: center;
}

body .store-footer .footer-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    list-style: none;
}

body .store-footer .footer-container .footer-list a {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

body .store-footer .footer-container .footer-list a:hover {
    transform: translateX(calc(6px * var(--nx-dir)));
}

/* social */
body .store-footer .social-links {
    gap: 10px !important;
}

body .store-footer .social-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff !important;
    transition: background-color 0.35s var(--nx-ease), transform 0.45s var(--nx-spring), box-shadow 0.35s var(--nx-ease);
}

body .store-footer .social-icon i,
body .store-footer .social-icon svg {
    font-size: 1rem;
    width: 17px;
    height: 17px;
}

body .store-footer .social-icon:hover {
    background: var(--nx-rose);
    color: var(--tw-accent-text, #fff) !important;
    transform: translateY(-4px) rotate(-6deg);
    box-shadow: 0 12px 20px -12px rgba(var(--tw-accent-rgb, 214, 112, 126), 0.9);
}

body .store-footer .social-icon .bubble {
    background: var(--nx-cream);
    color: var(--nx-plum);
}

/* contact tiles */
body .store-footer .contact-links a {
    min-width: 76px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--nx-radius);
    background: rgba(255, 255, 255, 0.04);
    color: #e8d7dc;
    transition: background-color 0.35s var(--nx-ease), border-color 0.35s var(--nx-ease), transform 0.45s var(--nx-spring);
}

body .store-footer .contact-links a i {
    font-size: 1.15rem;
    color: #f7c6c7;
}

body .store-footer .contact-links a:hover {
    border-color: var(--nx-rose);
    background: rgba(var(--tw-accent-rgb, 214, 112, 126), 0.15);
    transform: translateY(-4px);
}

body .store-footer .footer-vat .vat-num p,
body .store-footer .footer-vat .vat-num span {
    color: #e8d7dc !important;
}

body .store-footer .footer-vat img {
    padding: 4px;
    border-radius: var(--nx-radius-sm);
    background: #fff;
}

/* bottom bar */
body .store-footer .footer-bottom {
    gap: 14px;
    padding-block: 22px !important;
}

body .store-footer .footer-bottom .copyrights p {
    color: #bfa8b2 !important;
    font-size: 0.8rem;
}

body .store-footer .footer-bottom li {
    border-radius: 8px;
    transition: transform 0.4s var(--nx-spring), box-shadow 0.3s var(--nx-ease);
}

body .store-footer .footer-bottom li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.6);
}

#app > .footer {
    padding: 12px 16px;
    background: var(--nx-plum);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #bfa8b2;
    font-size: 0.8rem;
}

/* ==========================================================================
   12. Cart drawer (layouts/cart-drawer + nexa.js)
   ========================================================================== */

.nexa-drawer {
    position: fixed;
    inset: 0;
    z-index: 10050;
    visibility: hidden;
    pointer-events: none;
}

.nexa-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

html.nexa-drawer-open,
html.nexa-drawer-open body {
    overflow: hidden;
}

.nexa-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 37, 0.42);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.45s var(--nx-ease);
}

.nexa-drawer.is-open .nexa-drawer__overlay {
    opacity: 1;
}

.nexa-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-end: 0;
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--nx-cream);
    box-shadow: 0 0 60px -10px rgba(44, 26, 37, 0.35);
    outline: none;
    transform: translateX(calc(105% * var(--nx-dir)));
    transition: transform 0.55s var(--nx-ease-out);
    overflow: hidden;
}

.nexa-drawer.is-open .nexa-drawer__panel {
    transform: none;
}

/* rounded inner edge on wider screens */
@media (min-width: 480px) {
    html[dir="ltr"] .nexa-drawer__panel {
        border-radius: 28px 0 0 28px;
    }

    html[dir="rtl"] .nexa-drawer__panel {
        border-radius: 0 28px 28px 0;
    }
}

.nexa-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 22px 18px;
    background: var(--nx-grad-soft);
}

.nexa-drawer__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--nx-font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--nx-plum);
}

.nexa-drawer__title svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--nx-rose-deep);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexa-drawer__count {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--nx-plum);
    color: #fff;
    font-family: var(--font-main), sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    box-sizing: border-box;
}

.nexa-drawer__close {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--nx-plum);
    cursor: pointer;
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), transform 0.45s var(--nx-spring);
}

.nexa-drawer__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.nexa-drawer__close:hover {
    background: var(--nx-plum);
    color: #fff;
    transform: rotate(90deg);
}

/* "added" confirmation */
.nexa-drawer__added {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 18px 0;
    padding: 11px 14px;
    border-radius: var(--nx-radius);
    background: #eaf6ef;
    color: #2f7353;
    font-size: 0.88rem;
    font-weight: 600;
}

.nexa-drawer__added[hidden] {
    display: none;
}

.nexa-drawer.is-open .nexa-drawer__added:not([hidden]) {
    animation: nexa-rise 0.6s var(--nx-spring) 0.2s both;
}

.nexa-drawer__added-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3f8f6b;
}

.nexa-drawer__added-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
}

.nexa-drawer.is-open .nexa-drawer__added-icon svg {
    animation: nexa-check 0.5s var(--nx-ease-out) 0.45s forwards;
}

@keyframes nexa-check {
    to { stroke-dashoffset: 0; }
}

@keyframes nexa-rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.nexa-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 18px;
}

.nexa-drawer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nexa-drawer__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    padding-inline-end: 46px;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
    background: var(--nx-surface);
    transition: border-color 0.3s var(--nx-ease), box-shadow 0.3s var(--nx-ease);
}

.nexa-drawer__item:hover {
    border-color: var(--nx-petal);
    box-shadow: var(--nx-shadow-sm);
}

/* items cascade in as the drawer opens */
.nexa-drawer.is-open .nexa-drawer__item {
    animation: nexa-rise 0.55s var(--nx-ease-out) both;
}

.nexa-drawer.is-open .nexa-drawer__item:nth-child(2) { animation-delay: 0.05s; }
.nexa-drawer.is-open .nexa-drawer__item:nth-child(3) { animation-delay: 0.1s; }
.nexa-drawer.is-open .nexa-drawer__item:nth-child(4) { animation-delay: 0.15s; }
.nexa-drawer.is-open .nexa-drawer__item:nth-child(n+5) { animation-delay: 0.2s; }

.nexa-drawer__item.is-new {
    border-color: var(--nx-rose);
    box-shadow: 0 0 0 3px rgba(var(--tw-accent-rgb, 214, 112, 126), 0.15);
}

.nexa-drawer__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: var(--nx-blush);
    overflow: hidden;
}

.nexa-drawer__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.nexa-drawer__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.nexa-drawer__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--nx-plum);
    transition: color 0.25s var(--nx-ease);
}

.nexa-drawer__name:hover {
    color: var(--nx-rose-deep);
}

.nexa-drawer__meta {
    font-size: 0.78rem;
    color: var(--nx-muted);
}

.nexa-drawer__price {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--nx-rose-deep);
    font-variant-numeric: lining-nums tabular-nums;
}

.nexa-drawer__remove {
    position: absolute;
    top: 50%;
    inset-inline-end: 10px;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--nx-muted);
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

.nexa-drawer__remove svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexa-drawer__remove:hover {
    background: #fdecee;
    color: var(--nx-sale);
    transform: scale(1.08);
}

/* empty state */
.nexa-drawer__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 48px 12px;
    text-align: center;
}

.nexa-drawer__empty[hidden] {
    display: none;
}

.nexa-drawer__empty-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%;
    background: var(--nx-grad-soft);
    animation: nexa-morph 6s ease-in-out infinite;
}

.nexa-drawer__empty-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: var(--nx-rose-deep);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexa-drawer__empty-title {
    font-weight: 700;
    color: var(--nx-plum);
}

.nexa-drawer__empty-sub {
    font-size: 0.85rem;
    color: var(--nx-muted);
}

/* footer: subtotal + actions */
.nexa-drawer__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--nx-line);
    background: var(--nx-surface);
}

.nexa-drawer__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--nx-ink-soft);
}

.nexa-drawer__total {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--nx-plum);
    font-variant-numeric: lining-nums tabular-nums;
}

.nexa-drawer__note {
    margin: 0;
    font-size: 0.76rem;
    color: var(--nx-muted);
}

.nexa-drawer__cta {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    margin-top: 4px;
    border-radius: 999px;
    background: var(--nx-plum);
    color: #fff !important;
    font-size: 0.98rem;
    font-weight: 700;
    box-shadow: 0 14px 26px -16px rgba(44, 26, 37, 0.9);
    transition: background-color 0.35s var(--nx-ease), transform 0.35s var(--nx-spring), box-shadow 0.35s var(--nx-ease);
}

.nexa-drawer__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--nx-grad);
    opacity: 0;
    transition: opacity 0.4s var(--nx-ease);
}

.nexa-drawer__cta > * ,
.nexa-drawer__cta {
    isolation: isolate;
}

.nexa-drawer__cta svg {
    position: relative;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s var(--nx-spring);
}

html[dir="rtl"] .nexa-drawer__cta svg {
    transform: scaleX(-1);
}

.nexa-drawer__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -16px rgba(182, 77, 93, 0.85);
}

.nexa-drawer__cta:hover::before {
    opacity: 1;
}

.nexa-drawer__cta:hover svg {
    transform: translateX(4px);
}

html[dir="rtl"] .nexa-drawer__cta:hover svg {
    transform: scaleX(-1) translateX(4px);
}

/* text above the gradient layer */
.nexa-drawer__cta {
    z-index: 0;
}

.nexa-drawer__cta::before {
    z-index: -1;
}

.nexa-drawer__ghost {
    min-height: 44px;
    font-family: inherit;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--nx-ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s var(--nx-ease), border-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease);
}

.nexa-drawer__ghost:hover {
    background: var(--nx-blush);
    border-color: var(--nx-rose);
    color: var(--nx-rose-deep);
}

/* ==========================================================================
   13. Product page (products/view.blade.php)
   ========================================================================== */

/* breadcrumbs */
body .breadcrumbs ol,
body .breadcrumbs ul {
    gap: 4px;
}

body .breadcrumbs a {
    color: var(--nx-muted);
    transition: color 0.25s var(--nx-ease);
}

body .breadcrumbs a:hover {
    color: var(--nx-rose-deep);
}

/* gallery sits below the sticky header */
.product-detail .sidebar.md\:sticky {
    top: calc(var(--nexa-header-h, 120px) + 16px) !important;
}

.product-detail .product-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--nx-radius-lg);
    background: radial-gradient(circle at 50% 35%, #ffffff 0%, var(--nx-blush) 100%);
    box-shadow: var(--nx-shadow);
}

.product-detail .product-hero-image img {
    mix-blend-mode: multiply;
    transition: transform 1.2s var(--nx-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .product-detail .product-hero-image:hover img {
        transform: scale(1.05);
    }
}

.product-detail .product-gallery-slider .swiper-button-next,
.product-detail .product-gallery-slider .swiper-button-prev {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--nx-shadow-sm);
    color: var(--nx-plum);
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

.product-detail .product-gallery-slider .swiper-button-next::after,
.product-detail .product-gallery-slider .swiper-button-prev::after {
    font-size: 15px;
    font-weight: 700;
    color: currentColor;
}

.product-detail .product-gallery-slider .swiper-button-next:hover,
.product-detail .product-gallery-slider .swiper-button-prev:hover {
    background: var(--nx-plum);
    color: #fff;
    transform: scale(1.06);
}

.product-detail .thumb-frame {
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: var(--nx-radius-sm);
    background: var(--nx-blush);
    opacity: 0.7;
    cursor: pointer;
    transition: border-color 0.3s var(--nx-ease), opacity 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

.product-detail .thumb-frame:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.product-detail .thumb-frame.active {
    border-color: var(--nx-rose);
    opacity: 1;
}

.product-detail .wish-share {
    opacity: 1 !important;
}

.product-detail .wish-share .s-button-element {
    width: 44px;
    height: 44px;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--nx-rose-deep) !important;
    box-shadow: var(--nx-shadow-sm);
    transition: transform 0.45s var(--nx-spring), background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease);
}

.product-detail .wish-share .s-button-element:hover {
    transform: scale(1.12);
    background: var(--nx-rose) !important;
    color: var(--tw-accent-text, #fff) !important;
}

.product-detail .wish-share .is-added,
.product-detail .wish-share .is-added i {
    color: var(--nx-sale) !important;
}

/* discount badge on the gallery */
.product-detail .discountPercentage {
    border-radius: 999px !important;
    background: var(--nx-sale) !important;
    color: #fff !important;
    font-weight: 700;
}

/* title + description */
.product-detail .main-content h1 {
    font-family: var(--nx-font-display);
    font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem) !important;
    font-weight: 600;
    line-height: 1.3 !important;
    color: var(--nx-plum);
}

.product-detail .short__description {
    color: var(--nx-ink-soft);
    line-height: 1.85;
}

/* price */
.product-detail .main-content .price {
    margin-top: 1.25rem !important;
}

.product-detail .productDetails {
    flex-wrap: wrap;
}

.product-detail .productDetails .price,
.product-detail .productDetails .special-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--nx-plum);
    font-variant-numeric: lining-nums tabular-nums;
}

.product-detail .productDetails .special-price {
    color: var(--nx-sale);
}

.product-detail .productDetails .regular-price {
    font-size: 1rem;
    color: var(--nx-muted);
}

/* spec rows (SKU, barcode, sales, weight…) */
.product-detail .main-content section.details {
    margin-bottom: 10px;
    border: 1px solid var(--nx-line) !important;
    border-radius: var(--nx-radius) !important;
    background: var(--nx-surface) !important;
    box-shadow: none;
    transition: border-color 0.3s var(--nx-ease), transform 0.4s var(--nx-spring);
}

.product-detail .main-content section.details:hover {
    border-color: var(--nx-petal) !important;
    transform: translateX(calc(-3px * var(--nx-dir)));
}

.product-detail .details__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nx-ink-soft);
}

.product-detail .details__title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--nx-blush);
    color: var(--nx-rose-deep);
}

.product-detail .details__action {
    font-weight: 700;
    color: var(--nx-plum);
}

/* buy bar: quantity pill + buttons */
.product-detail .sticky-product-bar {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg) !important;
    background: var(--nx-surface) !important;
    box-shadow: var(--nx-shadow-sm);
}

.product-detail .s-quantity-input-container {
    height: 50px;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    background: var(--nx-cream);
}

.product-detail .s-quantity-input-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--nx-surface);
    color: var(--nx-plum);
    box-shadow: var(--nx-shadow-sm);
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), transform 0.35s var(--nx-spring);
}

.product-detail .s-quantity-input-button:hover {
    background: var(--nx-plum);
    color: #fff;
}

.product-detail .s-quantity-input-button:active {
    transform: scale(0.88);
}

.product-detail .s-quantity-input-input {
    width: 2.75rem;
    border: 0 !important;
    background: transparent;
    font-size: 1rem;
    color: var(--nx-plum);
}

.product-detail .cartButtons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    flex: 1 1 auto;
}

.product-detail .cartButtons:has(.buynow) {
    grid-template-columns: 1.4fr 1fr;
}

.product-detail .cartButtons .s-button-element,
.product-detail .cartButtons .btn {
    min-height: 52px;
    border-radius: 999px !important;
    font-size: 0.95rem;
    font-weight: 700;
}

.product-detail .cartButtons button[type="submit"] {
    position: relative;
    overflow: hidden;
    border: 0 !important;
    background: var(--nx-plum) !important;
    color: #fff !important;
    box-shadow: 0 14px 26px -16px rgba(44, 26, 37, 0.9);
    isolation: isolate;
    transition: transform 0.35s var(--nx-spring), box-shadow 0.35s var(--nx-ease);
}

.product-detail .cartButtons button[type="submit"]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--nx-grad);
    opacity: 0;
    transition: opacity 0.4s var(--nx-ease);
}

.product-detail .cartButtons button[type="submit"]::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-180%) skewX(-18deg);
    pointer-events: none;
}

.product-detail .cartButtons button[type="submit"]:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -16px rgba(182, 77, 93, 0.85);
}

.product-detail .cartButtons button[type="submit"]:not(:disabled):hover::before {
    opacity: 1;
}

.product-detail .cartButtons button[type="submit"]:not(:disabled):hover::after {
    transform: translateX(360%) skewX(-18deg);
    transition: transform 0.9s var(--nx-ease);
}

.product-detail .cartButtons .buynow {
    border: 1.5px solid var(--nx-plum) !important;
    background: transparent !important;
    color: var(--nx-plum) !important;
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), transform 0.35s var(--nx-spring);
}

.product-detail .cartButtons .buynow:hover {
    background: var(--nx-blush) !important;
    color: var(--nx-rose-deep) !important;
    border-color: var(--nx-rose) !important;
}

.product-detail .cartButtons .s-button-element:active {
    transform: scale(0.97);
}

/* tabs as pills */
.product-detail .s-product-tabs .nav-tabs {
    gap: 8px;
    padding: 6px;
    border: 0 !important;
    border-radius: 999px;
    background: var(--nx-blush);
    width: max-content;
    max-width: 100%;
}

.product-detail .s-product-tabs .nav-link {
    padding: 9px 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--nx-ink-soft) !important;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), box-shadow 0.3s var(--nx-ease);
}

.product-detail .s-product-tabs .nav-link:hover {
    color: var(--nx-rose-deep) !important;
}

.product-detail .s-product-tabs .nav-link.active {
    background: var(--nx-surface) !important;
    color: var(--nx-plum) !important;
    box-shadow: var(--nx-shadow-sm);
}

.product-detail .s-product-tabs .tab-content {
    margin-top: 14px;
    border: 1px solid var(--nx-line) !important;
    border-radius: var(--nx-radius-lg) !important;
    background: var(--nx-surface) !important;
}

/* review form + list */
.product-detail .s-comment-form-input,
.product-detail textarea {
    border: 1px solid var(--nx-line-strong) !important;
    border-radius: var(--nx-radius) !important;
    background: var(--nx-cream) !important;
    transition: border-color 0.3s var(--nx-ease), box-shadow 0.3s var(--nx-ease);
}

.product-detail .s-comment-form-input:focus,
.product-detail textarea:focus {
    border-color: var(--nx-rose) !important;
    box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 214, 112, 126), 0.15) !important;
    outline: none;
}

.product-detail #ask_button,
.product-detail .s-infinite-scroll-btn {
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--nx-plum) !important;
    color: #fff !important;
    padding-inline: 20px !important;
    transition: background-color 0.3s var(--nx-ease), transform 0.35s var(--nx-spring);
}

.product-detail #ask_button:hover,
.product-detail .s-infinite-scroll-btn:hover {
    background: var(--nx-rose-deep) !important;
    transform: translateY(-1px);
}

.product-detail .comment .flex-1.rounded-xl {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius) !important;
    background: var(--nx-cream) !important;
    box-shadow: none !important;
}

.product-detail .comment .icon-star2.text-amber-400,
.product-detail .s-rating-stars-selected i {
    color: var(--nx-gold) !important;
}

/* brand "original" strip */
.product-detail .main-content > .flex.items-center.gap-4.border {
    border-color: var(--nx-line) !important;
    border-radius: var(--nx-radius) !important;
    background: var(--nx-surface);
}

/* ==========================================================================
   14. Cart page (checkout/cart/index.blade.php)
   ========================================================================== */

.main-container-wrapper .nav-title h1,
.main-container-wrapper .nav-title h2 {
    font-family: var(--nx-font-display);
    font-weight: 600;
    color: var(--nx-plum);
}

/* free-gift / offer progress card */
.main-container-wrapper .s-conditional-offer-progress-container {
    border-radius: var(--nx-radius-lg) !important;
}

.main-container-wrapper .s-conditional-offer-progress-line-active {
    background: var(--nx-grad) !important;
}

/* item cards */
.main-container-wrapper .cart-item {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg) !important;
    padding: 16px !important;
    background: var(--nx-surface) !important;
    box-shadow: var(--nx-shadow-sm);
    transition: border-color 0.35s var(--nx-ease), box-shadow 0.35s var(--nx-ease);
}

.main-container-wrapper .cart-item:hover {
    border-color: var(--nx-petal);
    box-shadow: var(--nx-shadow);
}

.main-container-wrapper .cart-item img {
    width: 96px !important;
    height: 96px !important;
    border: 0 !important;
    border-radius: var(--nx-radius) !important;
    background: var(--nx-blush);
    object-fit: cover;
}

.main-container-wrapper .cart-item h4 a {
    font-weight: 700;
    color: var(--nx-plum);
    transition: color 0.25s var(--nx-ease);
}

.main-container-wrapper .cart-item h4 a:hover {
    color: var(--nx-rose-deep);
}

.main-container-wrapper .cart-item .item-price {
    color: var(--nx-rose-deep);
    font-weight: 700;
}

.main-container-wrapper .cart-item .border-t {
    border-color: var(--nx-line) !important;
}

/* the cart nests one quantity box inside another — flatten the outer one */
.main-container-wrapper .cart-item .s-quantity-input-container:has(.s-quantity-input-container) {
    height: auto;
    padding: 0;
    border: 0;
    background: none;
}

.main-container-wrapper .cart-item .s-quantity-input-container:not(:has(.s-quantity-input-container)) {
    height: 44px;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--nx-line-strong);
    border-radius: 999px;
    background: var(--nx-cream);
}

.main-container-wrapper .cart-item .s-quantity-input-button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--nx-surface);
    color: var(--nx-plum);
    font-size: 1rem;
    box-shadow: var(--nx-shadow-sm);
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), transform 0.35s var(--nx-spring);
}

.main-container-wrapper .cart-item .s-quantity-input-button:hover {
    background: var(--nx-plum);
    color: #fff;
}

.main-container-wrapper .cart-item .s-quantity-input-button:active {
    transform: scale(0.88);
}

.main-container-wrapper .cart-item .s-quantity-input-input {
    width: 2.5rem;
    border: 0 !important;
    background: transparent;
    color: var(--nx-plum);
}

/* wishlist + remove pills */
.main-container-wrapper .cart-item .btn--wishlist,
.main-container-wrapper .cart-item .btn--delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background-color 0.3s var(--nx-ease), color 0.3s var(--nx-ease), border-color 0.3s var(--nx-ease), transform 0.35s var(--nx-spring);
}

.main-container-wrapper .cart-item .btn--wishlist {
    border: 1px solid var(--nx-line-strong) !important;
    background: transparent !important;
    color: var(--nx-ink-soft) !important;
}

.main-container-wrapper .cart-item .btn--wishlist:hover {
    border-color: var(--nx-rose) !important;
    background: var(--nx-blush) !important;
    color: var(--nx-rose-deep) !important;
}

.main-container-wrapper .cart-item .btn--delete {
    border: 1px solid #f4cfd5 !important;
    background: #fff5f6 !important;
    color: var(--nx-sale) !important;
}

.main-container-wrapper .cart-item .btn--delete:hover {
    background: var(--nx-sale) !important;
    border-color: var(--nx-sale) !important;
    color: #fff !important;
}

.main-container-wrapper .cart-item .btn--delete i,
.main-container-wrapper .cart-item .btn--wishlist i {
    color: currentColor !important;
}

.main-container-wrapper .cart-item .btn--wishlist:active,
.main-container-wrapper .cart-item .btn--delete:active {
    transform: scale(0.95);
}

/* summary column */
.main-container-wrapper .nexa-cart-summary {
    top: calc(var(--nexa-header-h, 120px) + 16px) !important;
}

.main-container-wrapper .nexa-cart-summary > .shadow-default,
.main-container-wrapper .nexa-cart-summary > form > .shadow-default {
    position: relative;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius-lg) !important;
    background: var(--nx-surface) !important;
    box-shadow: var(--nx-shadow-sm) !important;
}

/* the totals card gets a gradient top edge */
.main-container-wrapper .nexa-cart-summary > .shadow-default:last-of-type {
    overflow: hidden;
    box-shadow: var(--nx-shadow) !important;
}

.main-container-wrapper .nexa-cart-summary > .shadow-default:last-of-type::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--nx-grad);
}

/* nested card inside the summary partial */
.main-container-wrapper .nexa-cart-summary .shadow-default .shadow-default {
    border: 0;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.main-container-wrapper .nexa-cart-summary h4,
.main-container-wrapper .nexa-cart-summary h3 {
    font-family: var(--nx-font-display);
    font-weight: 600;
    color: var(--nx-plum);
}

.main-container-wrapper .nexa-cart-summary .text-lg b,
.main-container-wrapper .nexa-cart-summary .text-xl b {
    font-size: 1.3rem;
    color: var(--nx-plum);
}

.main-container-wrapper .nexa-cart-summary .s-loyalty-widget-icon {
    background: var(--nx-grad) !important;
    color: #fff !important;
}

.main-container-wrapper .nexa-cart-summary .s-loyalty-widget-icon i {
    color: #fff !important;
}

/* amounts use .text-primary (the merchant colour) — keep them readable
   whatever that colour is */
.main-container-wrapper .nexa-cart-summary .text-primary,
.main-container-wrapper .cart-item .text-primary {
    color: var(--nx-plum) !important;
    font-weight: 700;
}

.main-container-wrapper .nexa-cart-summary #total-discount .text-primary {
    color: var(--nx-sale) !important;
}

.main-container-wrapper .nexa-cart-summary .s-button-primary-link,
.main-container-wrapper .nexa-cart-summary .s-button-primary-link .s-button-text {
    color: var(--nx-rose-deep) !important;
    font-weight: 700;
}

/* checkout buttons (logged in + login-first) */
.main-container-wrapper .cart-submit-wrap {
    margin-top: 16px;
}

.main-container-wrapper .cart-submit-wrap > a {
    display: block;
}

.main-container-wrapper .cart-submit-wrap .btn.btn-primary,
.main-container-wrapper .cart-submit-wrap .s-button-element {
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--nx-plum) !important;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 14px 26px -16px rgba(44, 26, 37, 0.9);
    isolation: isolate;
    transition: transform 0.35s var(--nx-spring), box-shadow 0.35s var(--nx-ease);
}

.main-container-wrapper .cart-submit-wrap .btn.btn-primary::before,
.main-container-wrapper .cart-submit-wrap .s-button-element::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--nx-grad);
    opacity: 0;
    transition: opacity 0.4s var(--nx-ease);
}

.main-container-wrapper .cart-submit-wrap .btn.btn-primary:hover,
.main-container-wrapper .cart-submit-wrap .s-button-element:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -16px rgba(182, 77, 93, 0.85);
}

.main-container-wrapper .cart-submit-wrap .btn.btn-primary:hover::before,
.main-container-wrapper .cart-submit-wrap .s-button-element:hover::before {
    opacity: 1;
}

/* coupon field */
.main-container-wrapper .nexa-cart-summary input[type="text"],
.main-container-wrapper .nexa-cart-summary .s-form-control {
    border-color: var(--nx-line-strong) !important;
    border-radius: 999px !important;
}

.main-container-wrapper .nexa-cart-summary input[type="text"]:focus {
    border-color: var(--nx-rose) !important;
    box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 214, 112, 126), 0.15) !important;
}

/* ==========================================================================
   15. Back to top — a pill that fills with the gradient as you scroll
   ========================================================================== */

.nexa-top {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 20px;
    z-index: 50;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: var(--nx-surface);
    color: var(--nx-plum);
    box-shadow: 0 12px 26px -14px rgba(122, 52, 72, 0.55), inset 0 0 0 1px var(--nx-line);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    isolation: isolate;
    transition:
        opacity 0.4s var(--nx-ease),
        visibility 0.4s,
        transform 0.5s var(--nx-spring),
        color 0.3s var(--nx-ease);
}

.nexa-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nexa-top__fill {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--nx-grad);
    opacity: 0.35;
    transform: translateY(calc((1 - var(--nexa-progress, 0)) * 100%));
    transition: opacity 0.3s var(--nx-ease);
}

.nexa-top svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.4s var(--nx-spring);
}

.nexa-top:hover {
    color: #fff;
}

.nexa-top:hover .nexa-top__fill {
    opacity: 1;
    transform: none;
}

.nexa-top:hover svg {
    transform: translateY(-3px);
}

/* ==========================================================================
   16. Responsive & reduced motion
   ========================================================================== */

/* other sticky elements sit below the sticky header */
.main-container-wrapper .sticky:not(.nexa-cart-summary),
.main-container-wrapper .md\:sticky,
.main-container-wrapper .lg\:sticky {
    top: calc(var(--nexa-header-h, 120px) + 1rem) !important;
}

@media (min-width: 1024px) {
    /* a long menu wraps into rows — the search pill lines up with the first */
    header.store-header .inner.nav-header .container {
        align-items: flex-start !important;
    }

    header.store-header .inner.nav-header .container > div:last-child {
        margin-top: 4px;
    }

    body .store-footer .footer-middle {
        justify-content: space-between;
        gap: 48px;
    }

    body .store-footer .footer-middle > .flex:first-child {
        max-width: 22rem;
    }

    body .store-footer .logo-footer {
        align-self: flex-start;
    }

    body .store-footer .footer-middle p.leading-6 {
        text-align: start;
        margin-inline: 0;
        padding-inline: 0;
    }

    body .store-footer .footer-social {
        justify-content: flex-start;
    }
}

/* tablet */
@media (max-width: 1023.98px) {
    header.store-header .main-nav-container .container > .flex {
        min-height: 72px;
    }

    header.store-header.is-scrolled .main-nav-container .container > .flex {
        min-height: 64px;
    }

    header.store-header .navbar-brand img {
        max-height: 50px;
        max-width: 160px;
    }

    header.store-header.is-scrolled .navbar-brand img {
        max-height: 40px;
    }

    header.store-header.is-scrolled::after {
        inset: 6px 8px;
        border-radius: 22px;
    }

    .nexa-brand-wall {
        --nexa-brand-cols: 4;
        --nexa-brand-gap: 12px;
    }

    body .store-footer h3,
    body .store-footer h3::after {
        text-align: center;
    }

    body .store-footer h3::after {
        inset-inline-start: 50%;
        margin-inline-start: -15px;
    }

    body .store-footer .footer-middle > .flex {
        align-items: center;
    }

    body .store-footer .footer-list {
        align-items: center;
    }

    body .store-footer .footer-middle .contact-links {
        justify-content: center;
        max-width: none;
    }

    .product-detail .s-product-tabs .nav-tabs {
        width: 100%;
        overflow-x: auto;
    }
}

/* phones */
@media (max-width: 767.98px) {
    header.store-header .main-nav-container .container > .flex {
        min-height: 64px;
    }

    header.store-header.is-scrolled .main-nav-container .container > .flex {
        min-height: 58px;
    }

    header.store-header .navbar-brand img {
        max-height: 40px;
        max-width: 120px;
    }

    header.store-header.is-scrolled .navbar-brand img {
        max-height: 34px;
    }

    header.store-header.is-scrolled::after {
        inset: 4px 6px;
        border-radius: 20px;
    }

    header.store-header .header-btn,
    header.store-header .s-user-menu-trigger-slot .top-links-icon,
    header.store-header .mburger {
        width: 38px;
        height: 38px;
    }

    header.store-header .main-nav-container .container > .flex > .w-1\/3 {
        gap: 6px;
    }

    /* pills collapse to single discs */
    header.store-header .s-cart-summary-content {
        display: none;
    }

    header.store-header .s-cart-summary-wrapper {
        height: 38px;
        padding: 0;
        border: 0;
        gap: 0;
    }

    header.store-header .s-cart-summary-wrapper:hover {
        background: transparent;
    }

    header.store-header .s-cart-summary-wrapper .header-btn,
    header.store-header .s-cart-summary-wrapper:hover .header-btn {
        width: 38px;
        height: 38px;
    }

    header.store-header .s-wallet-summary-count {
        position: absolute !important;
        top: auto !important;
        bottom: -7px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        height: 16px;
        padding: 0 5px !important;
        border: 2px solid var(--nx-cream);
        border-radius: 999px;
        background: var(--nx-grad) !important;
        color: #fff !important;
        font-size: 0.6rem;
        line-height: 16px;
    }

    .main-container-wrapper .s-block__title h2::after,
    .main-container-wrapper .s-slider-block__title h2::after {
        margin-top: 8px;
        width: 74px;
    }

    .nexa-slider-nav {
        margin-top: 16px;
        gap: 12px;
    }

    .nexa-arrow,
    .s-slider-block__title .s-slider-nav-arrow {
        width: 38px;
        height: 38px;
    }

    .nexa-cat-swiper.swiper .swiper-slide.nexa-cat {
        width: 124px;
        padding-inline: 9px;
    }

    .nexa-cat__name {
        font-size: 0.82rem;
    }

    .nexa-cat__monogram {
        font-size: 2rem;
    }

    .nexa-brand-wall {
        --nexa-brand-cols: 3;
        --nexa-brand-rows: 2;
        --nexa-brand-gap: 10px;
    }

    .nexa-brand__face {
        padding: 10px 8px 8px;
        border-radius: var(--nx-radius);
    }

    .nexa-brand__name {
        font-size: 0.68rem;
    }

    .main-container-wrapper .nexa-reviews {
        padding-top: 26px;
    }

    .nexa-review {
        min-height: 210px;
        padding: 22px 20px 18px;
    }

    .nexa-review__quote {
        width: 38px;
        height: 38px;
    }

    .nexa-reviews .s-slider-block__title {
        flex-wrap: wrap;
    }

    body .product-entry {
        padding: 6px;
        border-radius: 18px !important;
    }

    body .product-entry > a > .relative {
        border-radius: 13px;
    }

    body .product-entry .donating-wrap {
        padding: 10px 4px 4px !important;
    }

    body .product-entry .product-entry__title a {
        font-size: 0.86rem;
    }

    body .product-entry .addToCart.s-button-element {
        min-height: 40px;
        font-size: 0.78rem;
    }

    body .product-entry .sticker {
        top: 12px;
        inset-inline-start: 12px;
        padding: 3px 9px;
    }

    body .product-entry .promo-title {
        top: 8px !important;
        inset-inline-end: 8px;
    }

    body .accordion-header {
        padding: 15px 16px;
        font-size: 0.93rem;
    }

    body .accordion-content {
        padding: 0 16px;
    }

    body .accordion-icon {
        width: 28px;
        height: 28px;
    }

    body .store-footer {
        margin-top: 5rem;
    }

    body .store-footer .store-footer__inner::before {
        height: 28px;
    }

    body .store-footer .footer-middle {
        padding-block: 28px 32px;
        gap: 30px;
    }

    body .store-footer .footer-middle > .flex + .flex {
        padding-top: 26px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* product page */
    .product-detail .product-hero-image {
        border-radius: 0 0 var(--nx-radius-lg) var(--nx-radius-lg);
    }

    .product-detail .sticky-product-bar {
        border-radius: var(--nx-radius) !important;
    }

    .product-detail .product-bar-mob {
        flex-wrap: wrap;
    }

    .product-detail .product-bar-mob > .cartButtons {
        flex-basis: 100%;
    }

    .product-detail .cartButtons:has(.buynow) {
        grid-template-columns: 1fr;
    }

    .product-detail .productDetails .price,
    .product-detail .productDetails .special-price {
        font-size: 1.4rem;
    }

    /* cart page */
    .main-container-wrapper .cart-item {
        padding: 12px !important;
    }

    .main-container-wrapper .cart-item img {
        width: 76px !important;
        height: 76px !important;
    }

    .nexa-top {
        bottom: 84px;
        inset-inline-start: 12px;
        width: 44px;
        height: 44px;
    }

    .nexa-drawer__head {
        padding: 18px 16px 14px;
    }

    .nexa-drawer__body {
        padding: 12px 14px;
    }

    .nexa-drawer__foot {
        padding-inline: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nexa-preloader__blob,
    .nexa-preloader__bubble,
    .nexa-preloader__mark,
    .nexa-preloader__swipe::after,
    .nexa-loaded header.store-header .main-nav-container,
    .nexa-loaded header.store-header .nav-header,
    header.store-header::before,
    header.store-header .nav-header .sub-menu,
    .main-container-wrapper .nexa-in h2::after,
    .nexa-drawer__empty-icon,
    .nexa-drawer.is-open .nexa-drawer__item,
    .nexa-drawer.is-open .nexa-drawer__added:not([hidden]),
    .swiper-slide-active .nexa-review__stars svg.is-on {
        animation: none !important;
    }

    .nexa-reveal {
        opacity: 1;
        transform: none;
    }

    body .product-entry,
    body .product-entry > a > .relative img,
    .nexa-cat__swatch,
    .nexa-brand__card,
    .nexa-drawer__panel,
    header.store-header::after {
        transition-duration: 0.01ms !important;
    }

    body .product-entry:hover,
    body .product-entry:hover > a > .relative img {
        transform: none !important;
    }
}

/* ---------- Cart drawer: quantity stepper (−/+) ---------- */
.nexa-qty {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 4px;
    padding: 2px;
    border-radius: 999px;
    background: var(--nx-blush);
    border: 1px solid var(--nx-line);
}
.nexa-qty__btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--nx-rose-deep);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(44, 26, 37, .08);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.nexa-qty__btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.nexa-qty__btn:not([disabled]):hover { background: var(--nx-rose); color: var(--tw-accent-text, #fff); }
.nexa-qty__btn:not([disabled]):active { transform: scale(.88); }
.nexa-qty__btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.nexa-qty__value {
    min-width: 32px;
    text-align: center;
    font-weight: 700;
    font-size: .88rem;
    color: var(--nx-plum);
    font-variant-numeric: lining-nums tabular-nums;
}
.nexa-qty__value.is-bump { animation: nexa-qty-bump .35s ease; }
@keyframes nexa-qty-bump { 40% { transform: scale(1.3); color: var(--nx-rose-deep); } }
/* while the cart updates: dim the list, keep the steppers from double-sending */
.nexa-drawer.is-loading .nexa-drawer__list { opacity: .6; pointer-events: none; transition: opacity .2s ease; }

/* account menu open: lift the header (and its bottom sheet on phones) above the
   floating social / chat buttons (z 9999); it drops back when the menu closes */
body header.store-header:has(.s-user-menu-trigger-slot.active),
body header.store-header:has(.s-user-menu-toggler.opened:not(.hidden)) {
    z-index: 10050;
}


/* ==========================================================================
   Certificate windows (footer: VAT, commercial register, freelance, SBC) —
   fit the screen; the close button stays pinned at the top while the certificate scrolls
   ========================================================================== */
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal).s-modal-container { z-index: 2147483000 !important; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 16px;
}
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-spacer { display: none !important; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-body {
    position: relative;
    width: min(640px, 100%) !important;
    max-width: 100% !important;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: 0 auto !important;
    padding: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    border-radius: 18px;
    background: #fff;
}
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-header {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 !important;
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #ececec;
}
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-close {
    position: static !important;
    order: 2;
    margin-inline-start: auto;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    background: #222 !important;
    color: #fff !important;
    transform: none !important;
    transition: transform .3s ease;
}
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-close * { color: inherit !important; font-size: 13px; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-close:hover { transform: rotate(90deg) !important; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-header-inner { flex: 1 1 auto; width: auto !important; order: 1; margin: 0 !important; min-width: 0; text-align: start; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-header-inner > slot-fb { display: none; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-title { margin: 0 !important; font-size: 16px !important; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-sub-title { margin: 0 !important; font-size: 12.5px; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-body > .flex { padding: 12px; }
:is(#taxCertificateModal, #CrCertificateModal, #FcCertificateModal, #sbcCertificateModal) .s-modal-body img { width: 100%; height: auto; border-radius: 10px; }

/* certificate rows (VAT, CR, freelance, SBC): one aligned column — same icon width, start-aligned */
.store-footer .footer-vat:has([data-target$="CertificateModal"], img[alt="certificate"]) {
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    padding-inline: 16px !important;
    text-align: start !important;
}
.store-footer .footer-vat:has([data-target$="CertificateModal"], img[alt="certificate"]) > a { flex: none; width: 54px; display: grid; place-items: center; }
.store-footer .footer-vat:has([data-target$="CertificateModal"], img[alt="certificate"]) > a img { width: 50px !important; height: auto !important; max-height: 50px; object-fit: contain; }
.store-footer .footer-vat:has([data-target$="CertificateModal"], img[alt="certificate"]) .vat-num { text-align: start !important; }

/* product page: the image-zoom layer (ezPlus .zoomContainer, z-index 999 inline) covers the photo and sat above
   the header (60), so the menu's dropdowns closed wherever they overlapped the photo — keep it under the header */
body .zoomContainer { z-index: 50 !important; }
