/* ==========================================================================
   SORA — Jewelry & luxury theme for TWSAA
   Loaded after app.min.css (layouts/master + master-top).

   Identity: warm ivory canvas, champagne-gold hairlines, arched category
   frames, Cormorant Garamond / El Messiri display type, deep espresso
   footer, slow and quiet motion.

   Sections
    1. Tokens & base            7. Categories (coverflow arches)
    2. Preloader                8. Brands (marquee)
    3. Page entrance & reveal   9. Product cards
    4. Header                  10. Footer
    5. Search & dropdowns      11. Back to top
    6. Section titles/sliders  12. Responsive & reduced motion

   Notes:
   - Accents that merchants control stay on --color-primary / --text-btn
     (set per channel in the master layout). Gold is decorative only.
   - 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 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=Cormorant+Garamond:wght@500;600&family=El+Messiri:wght@400;500;600&display=swap");

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

:root {
    --sora-ivory: #fbf8f3;
    --sora-pearl: #f5f0e7;
    --sora-surface: #ffffff;
    --sora-line: #ebe3d6;
    --sora-line-strong: #dccfbb;
    --sora-ink: #1f1b16;
    --sora-ink-soft: #4b443b;
    --sora-muted: #8b8276;
    --sora-gold: var(--tw-accent, #b08d57);
    --sora-gold-deep: var(--tw-accent-dark, #8c6a3b);
    --sora-gold-soft: var(--tw-accent-light, #e3d2b3);
    --sora-gold-grad: linear-gradient(135deg, var(--sora-gold-deep) 0%, var(--tw-accent-light, #d9bf8e) 42%, var(--tw-accent, #a8854f) 68%, var(--tw-accent-soft, #e8d6b1) 100%);
    --sora-night: #16130f;
    --sora-night-2: #221d17;
    --sora-night-text: #cfc5b6;
    --sora-sale: #9b2c2c;

    --sora-radius: 4px;
    --sora-radius-lg: 10px;

    --sora-shadow-sm: 0 1px 2px rgba(31, 27, 22, 0.05);
    --sora-shadow: 0 26px 44px -30px rgba(31, 27, 22, 0.45);
    --sora-ease: cubic-bezier(0.22, 0.61, 0.24, 1);
    --sora-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --sora-font-display: "Cormorant Garamond", "El Messiri", var(--font-main), Georgia, serif;
    --sora-dir: 1;
}

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

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

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

::selection {
    background: var(--sora-gold-soft);
    color: var(--sora-ink);
}

:focus-visible {
    outline: 2px solid var(--sora-gold);
    outline-offset: 2px;
}

/* slim, warm scrollbar (desktop) */
@media (hover: hover) and (pointer: fine) {
    html {
        scrollbar-color: var(--sora-gold-soft) var(--sora-ivory);
        scrollbar-width: thin;
    }

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

    ::-webkit-scrollbar-track {
        background: var(--sora-ivory);
    }

    ::-webkit-scrollbar-thumb {
        background: var(--sora-gold-soft);
        border: 3px solid var(--sora-ivory);
        border-radius: 99px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--sora-gold);
    }
}

/* ==========================================================================
   2. Preloader — logo inside a gold halo that draws itself, a small gem
      orbiting the ring, and a light sweep across the mark.
   ========================================================================== */

.sora-preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 45%, #ffffff 0%, var(--sora-ivory) 55%, var(--sora-pearl) 100%);
    transition: opacity 0.7s var(--sora-ease), visibility 0.7s;
}

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

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

.sora-preloader.is-hidden .sora-preloader__stage {
    transform: scale(1.08);
}

.sora-preloader__halo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sora-preloader__halo circle {
    fill: none;
    stroke-width: 1;
}

.sora-preloader__track {
    stroke: var(--sora-line);
}

.sora-preloader__ring {
    stroke: var(--sora-gold);
    stroke-linecap: round;
    stroke-dasharray: 358.2;
    stroke-dashoffset: 358.2;
    animation: sora-halo-draw 2.4s var(--sora-ease) infinite;
}

.sora-preloader__orbit {
    position: absolute;
    inset: 0;
    animation: sora-spin 3.2s linear infinite;
}

.sora-preloader__gem {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 9px;
    height: 9px;
    margin-left: -4.5px;
    background: var(--sora-gold-grad);
    transform: rotate(45deg);
    box-shadow: 0 0 12px rgba(var(--tw-accent-rgb, 176, 141, 87), 0.65);
}

.sora-preloader__mark {
    position: relative;
    max-width: 112px;
    overflow: hidden;
    animation: sora-rise 0.9s var(--sora-ease-out) both;
}

/* light sweep across the logo */
.sora-preloader__mark::after {
    content: "";
    position: absolute;
    inset: -20% auto -20% 0;
    width: 40%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
    transform: translateX(-160%) skewX(-18deg);
    animation: sora-sweep 2.4s var(--sora-ease) 0.4s infinite;
}

.sora-preloader__logo {
    display: block;
    max-width: 112px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sora-preloader__name {
    display: block;
    font-family: var(--sora-font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--sora-ink);
    text-align: center;
    line-height: 1.3;
}

@keyframes sora-halo-draw {
    0% { stroke-dashoffset: 358.2; }
    55% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -358.2; }
}

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

@keyframes sora-sweep {
    0% { transform: translateX(-160%) skewX(-18deg); }
    60%, 100% { transform: translateX(360%) skewX(-18deg); }
}

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

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

/* header settles in as the preloader lifts (html.sora-loaded) */
.sora-loaded header.store-header .main-nav-container {
    animation: sora-header-in 0.9s var(--sora-ease-out) both;
}

.sora-loaded header.store-header .nav-header {
    animation: sora-fade 0.9s var(--sora-ease) 0.15s both;
}

@keyframes sora-header-in {
    from { opacity: 0; transform: translateY(-14px); }
    to { opacity: 1; transform: none; }
}

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

/* sora.js adds .sora-reveal, then .sora-in once visible */
.sora-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.9s var(--sora-ease),
        transform 0.9s var(--sora-ease-out);
}

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

/* ==========================================================================
   4. Header — sticky, gold top rule, centred logo, round hairline actions
      z-index stays below modals (200) and the mobile drawer (9999).
   ========================================================================== */

body header.store-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: transparent;
    transition: box-shadow 0.35s var(--sora-ease);
}

/* transparent by default — a frosted-glass layer fades in on scroll.
   Kept 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(251, 248, 243, 0.84);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    opacity: 0;
    transition: opacity 0.35s var(--sora-ease);
    pointer-events: none;
}

header.store-header.is-scrolled::after {
    opacity: 1;
}

/* hairline under the header while it is see-through on a plain page */
html:not(.sora-hero-header) header.store-header:not(.is-scrolled) {
    box-shadow: inset 0 -1px 0 var(--sora-line);
}

/* float over a full-width hero (sora.js sets the class and the pull) */
html.sora-hero-header body header.store-header {
    margin-bottom: calc(-1 * var(--sora-hero-pull, 0px));
}

/* signature: thin gold rule on top */
header.store-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--sora-gold-grad);
    z-index: 2;
    pointer-events: none;
}

header.store-header .main-nav-container {
    box-shadow: none !important;
    transition: box-shadow 0.35s var(--sora-ease);
}

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

header.store-header .main-nav-container .container > .flex {
    min-height: 80px;
    transition: min-height 0.35s var(--sora-ease);
}

header.store-header.is-scrolled {
    box-shadow: 0 14px 30px -24px rgba(31, 27, 22, 0.45);
}

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

/* 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: 58px;
    max-width: 200px;
    object-fit: contain;
    transition: max-height 0.35s var(--sora-ease), transform 0.5s var(--sora-ease);
}

header.store-header .navbar-brand:hover img {
    transform: scale(1.03);
}

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

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

/* round hairline action buttons */
header.store-header .header-btn,
header.store-header .s-user-menu-trigger-slot .top-links-icon,
header.store-header .mburger {
    width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sora-line);
    border-radius: 999px;
    background: transparent;
    color: var(--sora-ink);
    opacity: 1;
    transition:
        border-color 0.3s var(--sora-ease),
        background-color 0.3s var(--sora-ease),
        transform 0.3s var(--sora-ease);
}

/* the burger keeps its own display (lg:hidden) */
header.store-header .s-user-menu-trigger-slot .top-links-icon {
    display: inline-flex;
}

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 {
    border-color: var(--sora-gold);
    background: var(--sora-pearl);
    transform: translateY(-1px);
    opacity: 1;
}

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

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

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

header.store-header .mburger {
    margin-inline-end: 0 !important;
}

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

header.store-header .header-buttons .lang:hover {
    border-color: var(--sora-gold);
    background: var(--sora-pearl);
}

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

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

header.store-header .s-cart-summary-wrapper:hover {
    border-color: var(--sora-gold);
    background: var(--sora-pearl);
    transform: translateY(-1px);
}

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: 32px;
    height: 32px;
    border: 0;
    background: var(--sora-pearl);
    transform: none;
}

header.store-header .s-cart-summary-wrapper:hover .header-btn {
    background: var(--sora-surface);
}

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(--sora-ink);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 18px;
    border: 2px solid var(--sora-ivory);
    border-radius: 999px;
    box-sizing: content-box;
    z-index: 1;
}

/* 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(--sora-ink);
    white-space: nowrap;
}

/* wallet balance reads as text inside its pill, not a floating badge */
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;
}

/* ---------- Over a hero image (top of page, before scrolling) ----------
   A soft dark scrim keeps light icons and menu text readable on any image. */

html.sora-hero-header header.store-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(14, 11, 8, 0.55) 0%, rgba(14, 11, 8, 0.18) 70%, rgba(14, 11, 8, 0) 100%);
}

header.store-header .header-btn i,
header.store-header .top-links-icon i,
header.store-header .mburger i,
header.store-header .header-buttons .lang,
header.store-header .s-cart-summary-total,
header.store-header .navbar-brand h2,
header.store-header .nav-header .main-menu > li > a {
    transition: color 0.35s var(--sora-ease), border-color 0.35s var(--sora-ease), background-color 0.35s var(--sora-ease);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .header-btn,
html.sora-hero-header header.store-header:not(.is-scrolled) .s-user-menu-trigger-slot .top-links-icon,
html.sora-hero-header header.store-header:not(.is-scrolled) .mburger,
html.sora-hero-header header.store-header:not(.is-scrolled) .header-buttons .lang,
html.sora-hero-header header.store-header:not(.is-scrolled) .s-cart-summary-wrapper {
    border-color: rgba(255, 255, 255, 0.45);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .s-cart-summary-wrapper .header-btn {
    background: rgba(255, 255, 255, 0.16);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .s-wallet-summary-count {
    color: #fff;
}

html.sora-hero-header header.store-header:not(.is-scrolled) .header-btn i,
html.sora-hero-header header.store-header:not(.is-scrolled) .top-links-icon i,
html.sora-hero-header header.store-header:not(.is-scrolled) .mburger i,
html.sora-hero-header header.store-header:not(.is-scrolled) .header-buttons .lang,
html.sora-hero-header header.store-header:not(.is-scrolled) .header-buttons .lang *,
html.sora-hero-header header.store-header:not(.is-scrolled) .s-cart-summary-total,
html.sora-hero-header header.store-header:not(.is-scrolled) .s-cart-summary-total *,
html.sora-hero-header header.store-header:not(.is-scrolled) .navbar-brand h2,
html.sora-hero-header header.store-header:not(.is-scrolled) .camera-btn,
html.sora-hero-header header.store-header:not(.is-scrolled) .nav-header .s-search-icon,
html.sora-hero-header header.store-header:not(.is-scrolled) .nav-header .main-menu > li > a {
    color: #fff !important;
}

html.sora-hero-header header.store-header:not(.is-scrolled) .header-btn:hover,
html.sora-hero-header header.store-header:not(.is-scrolled) .s-user-menu-trigger-slot:hover .top-links-icon,
html.sora-hero-header header.store-header:not(.is-scrolled) .mburger:hover,
html.sora-hero-header header.store-header:not(.is-scrolled) .s-cart-summary-wrapper:hover .header-btn,
html.sora-hero-header header.store-header:not(.is-scrolled) .header-buttons .lang:hover,
html.sora-hero-header header.store-header:not(.is-scrolled) .camera-btn:hover {
    border-color: var(--sora-gold-soft);
    background: rgba(255, 255, 255, 0.14);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .nav-header .main-menu > li > a::before {
    background: var(--sora-gold-soft);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .inner.nav-header .container {
    border-top-color: rgba(255, 255, 255, 0.22) !important;
}

html.sora-hero-header header.store-header:not(.is-scrolled) .inner.nav-header .container > div:last-child {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .inner.nav-header .container > div:last-child:focus-within {
    background: var(--sora-surface);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .nav-header .s-search-input {
    color: #fff;
}

html.sora-hero-header header.store-header:not(.is-scrolled) .camera-btn {
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .nav-header .s-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .nav-header .s-search-input:focus {
    color: var(--sora-ink);
}

html.sora-hero-header header.store-header:not(.is-scrolled) .s-cart-summary-count {
    background: #fff;
    color: var(--sora-ink);
    border-color: transparent;
}

html.sora-hero-header header.store-header:not(.is-scrolled) .navbar-brand img {
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
}

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

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

/* menu takes the free space and wraps into compact rows; search stays compact */
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 7px !important;
    color: var(--sora-ink-soft);
    font-size: 0.87rem;
    white-space: nowrap;
    transition: color 0.3s var(--sora-ease);
}

html[dir="ltr"] header.store-header .nav-header .main-menu > li > a {
    letter-spacing: 0.04em;
}

/* gold underline grows from the centre (::before — ::after holds the arrow) */
header.store-header .nav-header .main-menu > li > a::before {
    content: "";
    position: absolute;
    inset-inline: 7px;
    bottom: 6px;
    height: 1px;
    background: var(--sora-gold);
    transform: scaleX(0);
    transition: transform 0.4s var(--sora-ease-out);
}

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

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

/* ---------- Menu arrows ----------
   Thin CSS chevrons replace the icon-font glyphs from app.min.css:
   parents point down (up while open); nested parents point toward the
   side their flyout opens — 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.3px solid currentColor;
    border-bottom: 1.3px 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.35s var(--sora-ease-out), opacity 0.3s var(--sora-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 .sub-menu .has-children:hover > a::after {
    opacity: 1;
}

/* drop empty trailing <li></li> */
header.store-header .nav-header .main-menu > li:empty {
    display: none !important;
}

/* sub-menus */
header.store-header .nav-header .sub-menu {
    background: var(--sora-surface) !important;
    border: 1px solid var(--sora-line);
    border-top: 2px solid var(--sora-gold);
    border-radius: 0 0 var(--sora-radius) var(--sora-radius);
    box-shadow: var(--sora-shadow);
    padding: 6px 0;
    animation: sora-menu-in 0.28s var(--sora-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 18px;
    color: var(--sora-ink-soft);
    font-size: 0.87rem;
    transition: color 0.25s var(--sora-ease), background-color 0.25s var(--sora-ease), padding 0.3s var(--sora-ease);
}

header.store-header .nav-header .sub-menu li > a:hover {
    color: var(--sora-ink);
    background: var(--sora-pearl);
    padding-inline-start: 24px;
}

@keyframes sora-menu-in {
    from { opacity: 0; transform: translateY(8px); }
    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: 40px;
    padding: 3px;
    border: 1px solid var(--sora-line);
    border-radius: 999px;
    background: var(--sora-ivory);
    box-sizing: border-box;
    transition: border-color 0.3s var(--sora-ease), box-shadow 0.3s var(--sora-ease), background-color 0.3s var(--sora-ease);
}

header.store-header .inner.nav-header .container > div:last-child:focus-within {
    border-color: var(--sora-gold);
    background: var(--sora-surface);
    box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 176, 141, 87), 0.14);
}

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(--sora-muted);
    pointer-events: none;
    z-index: 1;
}

header.store-header .nav-header .s-search-input {
    height: 32px !important;
    width: 180px;
    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(--sora-ink);
    font-size: 0.85rem;
    transition: width 0.4s var(--sora-ease);
}

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

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

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

header.store-header .camera-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--sora-surface);
    box-shadow: inset 0 0 0 1px var(--sora-line);
    color: var(--sora-ink-soft);
    font-size: 15px;
    transition: box-shadow 0.3s var(--sora-ease), background-color 0.3s var(--sora-ease), color 0.3s var(--sora-ease);
}

header.store-header .camera-btn:hover {
    background: var(--sora-pearl);
    box-shadow: inset 0 0 0 1px var(--sora-gold);
    color: var(--sora-ink);
}

/* search modal (mobile) */
.s-search-modal .s-modal-body {
    border-radius: 0 0 var(--sora-radius-lg) var(--sora-radius-lg) !important;
    border-top: 2px solid var(--sora-gold);
}

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

.s-search-modal .s-modal-wrapper .s-modal-body .s-search-container .s-search-input:focus {
    border-color: var(--sora-gold);
    box-shadow: 0 0 0 4px rgba(var(--tw-accent-rgb, 176, 141, 87), 0.14);
    outline: none;
}

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

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

header.store-header .s-user-menu-dropdown-item a:hover {
    background: var(--sora-pearl);
    color: var(--sora-ink);
}

/* ==========================================================================
   6. Section titles & product-slider chrome
   ========================================================================== */

/* centred titles with a gold line–diamond–line ornament */
.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(--sora-font-display);
    font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--sora-ink);
}

.main-container-wrapper .s-block__title h2::after,
.main-container-wrapper .s-slider-block__title h2::after {
    content: "";
    display: block;
    width: 86px;
    height: 10px;
    margin: 12px auto 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 10'%3E%3Cpath d='M0 5h34M52 5h34' stroke='%23b08d57' stroke-width='1'/%3E%3Cpath d='M43 0.8 47.2 5 43 9.2 38.8 5z' fill='%23b08d57'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* product sliders: title at the start, nav at the end */
.main-container-wrapper .s-slider-block__title h2::after {
    margin-inline: 0 auto;
}

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

/* "view all" — understated text link with a sliding underline */
.s-slider-block__display-all {
    position: relative;
    color: var(--sora-ink-soft) !important;
    font-size: 0.85rem;
    padding-bottom: 2px;
    background: linear-gradient(var(--sora-gold), var(--sora-gold)) no-repeat 0 100% / 0 1px;
    transition: background-size 0.4s var(--sora-ease-out), color 0.3s var(--sora-ease);
}

html[dir="rtl"] .s-slider-block__display-all {
    background-position: 100% 100%;
}

.s-slider-block__display-all:hover {
    color: var(--sora-ink) !important;
    background-size: 100% 1px;
}

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

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

.s-slider-block__title .s-slider-nav-arrow:hover:not(:disabled),
.sora-arrow:hover {
    background: var(--sora-ink);
    border-color: var(--sora-ink);
    color: #fff;
}

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

.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;
}

/* ==========================================================================
   7. Categories — arched frames in a 3D coverflow (sora.js).
      The centred arch comes forward in full colour; neighbours recede.
   ========================================================================== */

.main-container-wrapper .sora-cat-swiper {
    padding: 8px 0 4px;
}

/* swiper CSS loads after this file — extra class wins */
.sora-cat-swiper.swiper .swiper-wrapper {
    align-items: stretch;
}

.sora-cat-swiper.swiper .swiper-slide {
    width: 44%;
    max-width: 260px;
    flex-shrink: 0;
    text-align: center;
}

.sora-cat-swiper .banner-square > a {
    display: block;
}

.sora-cat-swiper .box-img {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px var(--sora-radius) var(--sora-radius) !important;
    background: radial-gradient(circle at 50% 30%, #ffffff 0%, var(--sora-pearl) 100%);
    box-shadow: var(--sora-shadow-sm);
    isolation: isolate;
}

.sora-cat-swiper .box-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    filter: none !important;
    transition: transform 1.2s var(--sora-ease-out), opacity 0.6s var(--sora-ease) !important;
}

/* inner gold arch outline */
.sora-cat-swiper .box-img::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px 999px 2px 2px;
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.6s var(--sora-ease), inset 0.6s var(--sora-ease-out);
}

.sora-cat-swiper .banner-square h3 {
    margin-top: 14px !important;
    font-family: var(--sora-font-display);
    font-size: 1.05rem !important;
    font-weight: 600;
    color: var(--sora-ink);
    transition: color 0.4s var(--sora-ease);
}

/* depth cues — only once swiper has taken over */
.sora-cat-swiper.swiper-initialized .swiper-slide {
    opacity: 0.55;
    transition-property: transform, opacity;
}

.sora-cat-swiper.swiper-initialized .swiper-slide-active,
.sora-cat-swiper.swiper-initialized .swiper-slide:hover {
    opacity: 1;
}

.sora-cat-swiper .swiper-slide-active .box-img {
    box-shadow: 0 30px 46px -30px rgba(31, 27, 22, 0.55);
}

.sora-cat-swiper .swiper-slide-active .box-img::after {
    border-color: var(--sora-gold-soft);
}

.sora-cat-swiper .swiper-slide:hover .box-img img,
.sora-cat-swiper .zoomed-img:hover .box-img img {
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: scale(1.07) !important;
}

.sora-cat-swiper .swiper-slide:hover .box-img::after {
    inset: 12px;
    border-color: var(--sora-gold);
}

.sora-cat-swiper .swiper-slide:hover h3 {
    color: var(--sora-gold-deep);
}

/* arrows + "03 / 12" counter under the arches */
.sora-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 22px;
}

.sora-cat-swiper .sora-slider-pagination {
    position: static;
    width: auto;
    min-width: 64px;
    font-family: var(--sora-font-display);
    font-size: 1rem;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--sora-muted);
    text-align: center;
    direction: ltr;
    unicode-bidi: isolate;
}

.sora-cat-swiper .sora-slider-pagination .swiper-pagination-current {
    color: var(--sora-ink);
    font-weight: 600;
}

.sora-cat-swiper[dir="rtl"] .sora-arrow svg {
    transform: scaleX(-1);
}

/* before swiper runs (or without JS) arrows are just decoration */
.sora-cat-swiper:not(.swiper-initialized) .sora-slider-nav {
    visibility: hidden;
}

/* ==========================================================================
   8. Brands — endless marquee of logo plaques (sora.js clones the set,
      CSS slides it). Pauses on hover/focus; fades at the edges.
   ========================================================================== */

.main-container-wrapper .sora-brand-swiper {
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.sora-brand-swiper.swiper .swiper-wrapper {
    width: max-content;
    transform: none;
}

.sora-brand-swiper.swiper .swiper-slide {
    position: relative;
    width: 180px;
    flex-shrink: 0;
    padding-inline: 14px;
    text-align: center;
}

/* small gold diamond between plaques */
.sora-brand-swiper .swiper-slide::after {
    content: "";
    position: absolute;
    top: 48px;
    inset-inline-end: -3px;
    width: 6px;
    height: 6px;
    background: var(--sora-gold-soft);
    transform: rotate(45deg);
}

.sora-brand-swiper .box-img {
    height: 100px;
    padding: 18px;
    border: 1px solid var(--sora-line);
    border-radius: var(--sora-radius) !important;
    background: var(--sora-surface);
    transition: border-color 0.4s var(--sora-ease), box-shadow 0.4s var(--sora-ease), transform 0.4s var(--sora-ease);
}

.sora-brand-swiper .box-img img {
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter 0.5s var(--sora-ease), opacity 0.5s var(--sora-ease), transform 0.5s var(--sora-ease) !important;
}

.sora-brand-swiper .swiper-slide:hover .box-img,
.sora-brand-swiper .swiper-slide:focus-within .box-img {
    border-color: var(--sora-gold);
    box-shadow: 0 18px 30px -24px rgba(var(--tw-accent-dark-rgb, 140, 106, 59), 0.6);
    transform: translateY(-3px);
}

.sora-brand-swiper .swiper-slide:hover .box-img img,
.sora-brand-swiper .swiper-slide:focus-within .box-img img {
    filter: none;
    opacity: 1;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    transform: scale(1.04) !important;
}

.sora-brand-swiper .banner-square h3 {
    margin-top: 10px !important;
    font-size: 0.8rem !important;
    color: var(--sora-muted);
    transition: color 0.3s var(--sora-ease);
}

html[dir="ltr"] .sora-brand-swiper .banner-square h3 {
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sora-brand-swiper .swiper-slide:hover h3 {
    color: var(--sora-ink);
}

/* the marquee itself */
.sora-brand-swiper.is-running .swiper-wrapper {
    animation: sora-marquee var(--sora-marquee-duration, 40s) linear infinite;
    will-change: transform;
}

.sora-brand-swiper[dir="rtl"].is-running .swiper-wrapper {
    animation-name: sora-marquee-rtl;
}

.sora-brand-swiper.is-running:hover .swiper-wrapper,
.sora-brand-swiper.is-paused .swiper-wrapper,
.sora-brand-swiper.is-offscreen .swiper-wrapper {
    animation-play-state: paused;
}

@keyframes sora-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes sora-marquee-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

/* reduced motion: a swipeable row instead */
.sora-brand-swiper.sora-marquee--static {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
    mask-image: none;
}

.sora-brand-swiper.sora-marquee--static .swiper-slide {
    scroll-snap-align: start;
}

/* ==========================================================================
   9. Product cards — white plaque, hairline frame, slow lift, light sweep
      across the image, fill-sweep add-to-cart.
   ========================================================================== */

body .product-entry {
    position: relative;
    background: var(--sora-surface);
    border: 1px solid var(--sora-line) !important;
    border-radius: var(--sora-radius) !important;
    box-shadow: var(--sora-shadow-sm);
    transition:
        transform 0.55s var(--sora-ease-out),
        box-shadow 0.55s var(--sora-ease),
        border-color 0.4s var(--sora-ease),
        opacity 0.9s var(--sora-ease);
}

/* image stage */
body .product-entry > a > .relative {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #faf7f2 100%);
}

body .product-entry > a > .relative img {
    width: 100%;
    transition: transform 1.1s var(--sora-ease-out), opacity 0.6s var(--sora-ease);
}

/* light sweep — reads like a glint on metal */
body .product-entry > a > .relative::after {
    content: "";
    position: absolute;
    top: -10%;
    bottom: -10%;
    left: 0;
    width: 45%;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: translateX(-180%) skewX(-16deg);
    pointer-events: none;
    z-index: 1;
}

/* badges */
body .product-entry .sticker {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 3;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.3;
}

body .product-entry .sticker.new {
    background: var(--sora-gold-grad);
    color: var(--sora-ink);
}

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

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

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

/* content */
body .product-entry .donating-wrap {
    padding: 16px 14px 16px !important;
    gap: 6px;
    border-top: 1px solid var(--sora-line);
}

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

body .product-entry .product-entry__title a {
    margin-top: 0;
    font-family: var(--sora-font-display);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--sora-ink);
    transition: color 0.3s var(--sora-ease);
}

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

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

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

/* price */
body .product-entry .price-wrapper {
    margin-bottom: 10px !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: 0.98rem;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    color: var(--sora-ink);
    margin: 0;
}

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

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

/* add to cart: outline that fills from the inline start on hover */
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 {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--sora-ink) !important;
    border-radius: var(--sora-radius) !important;
    background:
        linear-gradient(var(--color-primary), var(--color-primary)) no-repeat 0 0 / 0% 100%,
        transparent !important;
    color: var(--sora-ink) !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition:
        background-size 0.5s var(--sora-ease-out),
        color 0.35s var(--sora-ease),
        border-color 0.35s var(--sora-ease),
        transform 0.2s var(--sora-ease) !important;
}

html[dir="rtl"] body .product-entry .addToCart.s-button-element {
    background-position: 100% 0, 0 0 !important;
}

html[dir="ltr"] body .product-entry .addToCart.s-button-element {
    letter-spacing: 0.05em;
}

body .product-entry .addToCart.s-button-element .icon-cart {
    transition: transform 0.4s var(--sora-ease-out);
}

body .product-entry .addToCart.s-button-element:not(:disabled):hover {
    background-size: 100% 100%, auto !important;
    border-color: var(--color-primary) !important;
    color: var(--text-btn) !important;
}

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

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

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

/* hover — pointer devices only, so taps don't leave cards "lifted" */
@media (hover: hover) and (pointer: fine) {
    body .product-entry:hover {
        transform: translateY(-6px);
        border-color: var(--sora-gold-soft) !important;
        box-shadow: var(--sora-shadow);
    }

    body .product-entry:hover > a > .relative img {
        transform: scale(1.06);
    }

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

/* reveal transition on cards must keep the hover transition too */
body .product-entry.sora-reveal {
    transition:
        opacity 0.9s var(--sora-ease),
        transform 0.9s var(--sora-ease-out),
        box-shadow 0.55s var(--sora-ease),
        border-color 0.4s var(--sora-ease);
}

body .product-entry.sora-reveal.sora-in {
    transition:
        transform 0.55s var(--sora-ease-out),
        box-shadow 0.55s var(--sora-ease),
        border-color 0.4s var(--sora-ease),
        opacity 0.9s var(--sora-ease);
}

/* ==========================================================================
   10. Footer — deep espresso, gold hairlines, ivory type
   ========================================================================== */

body .store-footer {
    margin-top: 5rem;
    color: var(--sora-night-text);
}

body .store-footer .store-footer__inner {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(var(--tw-accent-rgb, 176, 141, 87), 0.14) 0%, transparent 60%),
        var(--sora-night) !important;
    color: var(--sora-night-text);
}

/* gold rule with a centred diamond */
body .store-footer .store-footer__inner::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sora-gold) 20%, var(--sora-gold) 80%, transparent);
}

body .store-footer .store-footer__inner::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    background: var(--sora-gold-grad);
    transform: rotate(45deg);
}

body .store-footer a {
    color: var(--sora-night-text);
}

body .store-footer a:hover {
    color: var(--sora-gold-soft) !important;
}

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

/* hard-coded black strokes on some social icons */
body .store-footer svg[stroke="black"] {
    stroke: currentColor;
}

/* back-to-top link */
body .store-footer .to-top a {
    padding-top: 28px !important;
    color: var(--sora-muted);
    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: 1px solid rgba(var(--tw-accent-rgb, 176, 141, 87), 0.5);
    border-radius: 999px;
    font-size: 0.75rem;
}

/* columns */
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(--sora-font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: #f4ede1;
    text-align: start;
}

body .store-footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 28px;
    height: 1px;
    background: var(--sora-gold);
}

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

/* logo on an ivory 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(--sora-ivory);
    box-shadow: 0 0 0 1px rgba(var(--tw-accent-rgb, 176, 141, 87), 0.4), 0 0 0 6px rgba(var(--tw-accent-rgb, 176, 141, 87), 0.08);
}

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: var(--sora-night-text);
    font-size: 0.88rem;
    line-height: 1.8 !important;
    text-align: center;
}

/* link list */
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 {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.3s var(--sora-ease), transform 0.35s var(--sora-ease-out);
}

body .store-footer .footer-container .footer-list a:hover {
    transform: translateX(calc(5px * var(--sora-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: 1px solid rgba(var(--tw-accent-rgb, 176, 141, 87), 0.45);
    border-radius: 999px;
    color: #f4ede1 !important;
    transition:
        background-color 0.35s var(--sora-ease),
        border-color 0.35s var(--sora-ease),
        color 0.35s var(--sora-ease),
        transform 0.35s var(--sora-ease-out);
}

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(--sora-gold);
    border-color: var(--sora-gold);
    color: var(--tw-accent-text, var(--sora-night)) !important;
    transform: translateY(-3px);
}

body .store-footer .social-icon .bubble {
    background: var(--sora-ivory);
    color: var(--sora-ink);
}

/* contact tiles */
body .store-footer .contact-links a {
    min-width: 76px;
    padding: 12px 10px;
    border: 1px solid rgba(var(--tw-accent-rgb, 176, 141, 87), 0.25);
    border-radius: var(--sora-radius);
    background: rgba(255, 255, 255, 0.03);
    color: var(--sora-night-text);
    transition:
        background-color 0.35s var(--sora-ease),
        border-color 0.35s var(--sora-ease),
        transform 0.35s var(--sora-ease-out);
}

body .store-footer .contact-links a i {
    font-size: 1.15rem;
    color: var(--sora-gold-soft);
}

body .store-footer .contact-links a:hover {
    border-color: var(--sora-gold);
    background: rgba(var(--tw-accent-rgb, 176, 141, 87), 0.12);
    transform: translateY(-3px);
}

/* certificates */
body .store-footer .footer-vat .vat-num p,
body .store-footer .footer-vat .vat-num span {
    color: var(--sora-night-text) !important;
}

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

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

body .store-footer .footer-bottom .copyrights p {
    color: var(--sora-muted) !important;
    font-size: 0.8rem;
}

body .store-footer .footer-bottom li {
    transition: transform 0.3s var(--sora-ease-out), box-shadow 0.3s var(--sora-ease);
}

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

/* optional config copyright line under the footer */
#app > .footer {
    padding: 12px 16px;
    background: var(--sora-night);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--sora-muted);
    font-size: 0.8rem;
}

/* ==========================================================================
   11. Back to top — gold progress ring (sora.js). Sits on the inline-start
       side; the floating social buttons use the inline end.
   ========================================================================== */

.sora-top {
    position: fixed;
    bottom: 24px;
    inset-inline-start: 20px;
    z-index: 50;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--sora-surface);
    color: var(--sora-ink);
    box-shadow: 0 12px 26px -14px rgba(31, 27, 22, 0.5);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition:
        opacity 0.4s var(--sora-ease),
        visibility 0.4s,
        transform 0.4s var(--sora-ease-out),
        background-color 0.3s var(--sora-ease),
        color 0.3s var(--sora-ease);
}

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

.sora-top:hover {
    background: var(--sora-ink);
    color: #fff;
}

.sora-top__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sora-top__ring circle {
    fill: none;
    stroke-width: 1.5;
}

.sora-top__track {
    stroke: var(--sora-line);
}

.sora-top__progress {
    stroke: var(--sora-gold);
    stroke-linecap: round;
}

.sora-top__arrow {
    position: relative;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.35s var(--sora-ease-out);
}

.sora-top:hover .sora-top__arrow {
    transform: translateY(-2px);
}

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

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

@media (min-width: 640px) {
    .sora-cat-swiper.swiper .swiper-slide {
        width: 31%;
    }
}

@media (min-width: 1024px) {
    .sora-cat-swiper.swiper .swiper-slide {
        width: 21%;
    }

    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: 62px;
    }

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

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

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

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

    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;
    }
}

/* 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: 56px;
    }

    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 .header-btn,
    header.store-header .s-user-menu-trigger-slot .top-links-icon,
    header.store-header .mburger {
        width: 36px;
        height: 36px;
    }

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

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

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

    header.store-header .s-cart-summary-wrapper .header-btn,
    header.store-header .s-cart-summary-wrapper:hover .header-btn {
        width: 36px;
        height: 36px;
        border: 1px solid var(--sora-line);
        background: transparent;
    }

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

    /* balance tag hangs centred under the wallet disc */
    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(--sora-ivory);
        border-radius: 999px;
        background: var(--sora-gold-grad) !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: 70px;
    }

    .sora-slider-nav {
        margin-top: 16px;
    }

    .sora-arrow,
    .s-slider-block__title .s-slider-nav-arrow {
        width: 36px;
        height: 36px;
    }

    .sora-brand-swiper.swiper .swiper-slide {
        width: 138px;
        padding-inline: 10px;
    }

    .sora-brand-swiper .box-img {
        height: 80px;
        padding: 14px;
    }

    .sora-brand-swiper .swiper-slide::after {
        top: 38px;
    }

    .main-container-wrapper .sora-brand-swiper {
        -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%);
    }

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

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

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

    body .product-entry .sticker,
    body .product-entry .promo-title {
        top: 8px !important;
    }

    body .product-entry .sticker {
        inset-inline-start: 8px;
    }

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

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

    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);
    }

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

@media (prefers-reduced-motion: reduce) {
    .sora-preloader__ring,
    .sora-preloader__orbit,
    .sora-preloader__mark,
    .sora-preloader__mark::after,
    .sora-loaded header.store-header .main-nav-container,
    .sora-loaded header.store-header .nav-header,
    header.store-header .nav-header .sub-menu {
        animation: none !important;
    }

    .sora-preloader__ring {
        stroke-dashoffset: 0;
    }

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

    body .product-entry,
    body .product-entry > a > .relative img,
    .sora-cat-swiper .box-img img,
    .sora-brand-swiper .box-img,
    .sora-brand-swiper .box-img img {
        transition-duration: 0.01ms !important;
    }

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


/* ==========================================================================
   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-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; }

/* 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; }
