@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=Rubik:wght@600;700;800;900&display=swap');

/* =====================================================================
   MODO — sports & fitness
   Ink + white with a neon "volt" accent and a flame accent for deals.
   Everything lives in this file (CSS only): preloader, sticky header,
   marquee notify bar, slider motion, scroll reveals.

    0. Tokens & base             9. Brands (scoreboard flip)
    1. Preloader (stopwatch)    10. Store features
    2. Section titles & links   11. Customer reviews
    3. Store-notify marquee     12. Footer
    4. Header                   13. Product page
    5. Side menu (all cats)     14. Cart page
    6. Page reveals             15. Floating bits
    7. Product cards            16. Responsive & reduced motion
    8. Categories (sprint)
   ===================================================================== */

/* ---------- 0. Tokens & base ---------- */
:root {
    --modo-ink: #0e1116;
    --modo-ink-2: #1a1f27;
    --modo-ink-3: #2a313c;
    --modo-steel: #687180;
    --modo-mist: #a7aebb;
    --modo-line: #e7e9ee;
    --modo-page: #f3f4f6;
    --modo-white: #ffffff;
    --modo-volt: #d4ff3a;
    --modo-volt-d: #a8d400;
    --modo-flame: #ff4b1f;
    --modo-flame-d: #e0360c;

    --modo-r-sm: 10px;
    --modo-r: 16px;
    --modo-r-lg: 24px;
    --modo-shadow: 0 14px 30px -20px rgba(14, 17, 22, .45);
    --modo-shadow-lg: 0 26px 50px -28px rgba(14, 17, 22, .6);
    --modo-snap: cubic-bezier(.83, 0, .17, 1);
    --modo-ease: cubic-bezier(.2, .8, .2, 1);
    --modo-kick: cubic-bezier(.68, -.35, .27, 1.35);
    --modo-head: 'Rubik', var(--font-main), 'Alexandria', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html body {
    background-color: var(--modo-page);
    color: var(--modo-ink);
    font-family: var(--font-main), 'Alexandria', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}
body ::selection { background: var(--modo-volt); color: var(--modo-ink); }

/* Angle's load-time animate.css is replaced by Modo's own motion */
body .angel_anime.animate__fadeInUp,
body .angel_anime.animate__fadeIn { animation-name: none; }

/* ---------- 1. Preloader: stopwatch sweep on a speed-striped ink screen ---------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    background:
        repeating-linear-gradient(115deg, rgba(212, 255, 58, .06) 0 2px, transparent 2px 46px),
        radial-gradient(circle at 50% 50%, #1b222c 0, var(--modo-ink) 70%);
    background-size: 200% 100%, 100% 100%;
    animation:
        modo-stripes 1.2s linear infinite,
        modo-pl-hide .5s var(--modo-ease) 1.15s forwards;
}
body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 78px;
    height: 78px;
    margin: -39px 0 0 -39px;
    z-index: 100001;
    pointer-events: none;
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--modo-ink) 0 52%, transparent 53%),
        conic-gradient(var(--modo-volt) 0 var(--modo-sweep, 0%), rgba(255, 255, 255, .1) 0);
    box-shadow: 0 0 0 6px rgba(212, 255, 58, .08), 0 0 40px rgba(212, 255, 58, .25);
    animation:
        modo-sweep 1.05s var(--modo-snap) forwards,
        modo-pl-pop .5s var(--modo-ease) 1.15s forwards;
}
@property --modo-sweep { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes modo-sweep { to { --modo-sweep: 100%; } }
@keyframes modo-stripes { to { background-position: -92px 0, 0 0; } }
@keyframes modo-pl-hide { to { opacity: 0; visibility: hidden; } }
@keyframes modo-pl-pop { to { opacity: 0; transform: scale(1.8); visibility: hidden; } }

/* ---------- 2. Section titles & links ---------- */
body .s-block__title h2,
body .s-slider-block__title h2,
body .s-block__title .da-cp {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto !important;
    font-family: var(--modo-head) !important;
    font-weight: 800 !important;
    font-size: clamp(20px, 2.3vw, 28px) !important;
    letter-spacing: -.01em;
    line-height: 1.25 !important;
    color: var(--modo-ink) !important;
}
/* skewed volt "speed" marks before every section title */
body .s-block__title h2::before,
body .s-slider-block__title h2::before {
    content: "";
    flex: none;
    width: 26px;
    height: 16px;
    background:
        linear-gradient(var(--modo-volt), var(--modo-volt)) 0 0 / 7px 100% no-repeat,
        linear-gradient(var(--modo-ink), var(--modo-ink)) 10px 0 / 7px 100% no-repeat,
        linear-gradient(var(--modo-flame), var(--modo-flame)) 20px 0 / 6px 100% no-repeat;
    transform: skewX(-20deg);
}
body .s-block__title { margin-bottom: 18px !important; }
body .s-slider-block__title { align-items: center !important; margin-bottom: 18px; gap: 12px; }
body .s-slider-block__title-right { flex: 1 1 auto; min-width: 0; width: auto !important; }
body .s-slider-block__title-left { flex: none; display: flex !important; align-items: center; gap: 10px; }

body .s-slider-block__display-all {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    border-radius: 999px;
    background: var(--modo-ink);
    color: #fff !important;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    text-decoration: none !important;
    border: 0 !important;
    transition: background-color .25s ease, color .2s ease, transform .35s var(--modo-ease);
}
body .s-slider-block__display-all::after { content: "←"; transition: transform .3s var(--modo-ease); }
html[dir="ltr"] body .s-slider-block__display-all::after { content: "→"; }
body .s-slider-block__display-all:hover { background: var(--modo-volt); color: var(--modo-ink) !important; }
body .s-slider-block__display-all:hover::after { transform: translateX(-4px); }
html[dir="ltr"] body .s-slider-block__display-all:hover::after { transform: translateX(4px); }

body .s-slider-block__title-nav { display: flex !important; gap: 8px; }
body .s-slider-block__title-nav .s-slider-nav-arrow,
body .s-slider-nav-arrow {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    background: #fff !important;
    border: 1px solid var(--modo-line) !important;
    color: var(--modo-ink) !important;
    display: grid !important;
    place-items: center;
    transition: background-color .2s ease, transform .3s var(--modo-ease), border-color .2s ease;
}
body .s-slider-nav-arrow svg { width: 22px; height: 22px; fill: currentColor; }
body .s-slider-block__title-nav .s-slider-nav-arrow:not(.swiper-button-disabled):hover,
body .s-slider-nav-arrow:not(.swiper-button-disabled):hover { background: var(--modo-ink) !important; color: var(--modo-volt) !important; border-color: var(--modo-ink) !important; transform: translateY(-2px); }
body .s-slider-nav-arrow.swiper-button-disabled { opacity: .35; }

/* banners */
body .s-block--fixed-banner .banner,
body .s-block--banners .banner { border-radius: var(--modo-r-lg) !important; overflow: hidden; }
body .s-block--fixed-banner .banner img,
body .s-block--banners .banner img { transition: transform 1s var(--modo-ease); }
body .s-block--fixed-banner .banner:hover img,
body .s-block--banners .banner:hover img { transform: scale(1.03); }

/* ---------- 3. Store-notify: live ticker marquee ---------- */
body .store-notify {
    position: relative;
    overflow: hidden;
    /* keeps the merchant's colour, adds sporty speed stripes on top */
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, .08) 0 12px, transparent 12px 28px) !important;
    background-size: 200% 100%;
    animation: modo-stripes 3s linear infinite;
}
body .store-notify > .container {
    position: relative;
    overflow: hidden;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
body .store-notify h2 {
    flex: none !important;
    white-space: nowrap;
    padding-inline-start: 100%;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: .01em;
    animation: modo-marquee-rtl 22s linear infinite;
    will-change: transform;
}
html[dir="ltr"] body .store-notify h2 { animation-name: modo-marquee-ltr; }
body .store-notify:hover h2 { animation-play-state: paused; }
body .store-notify h2 a { color: inherit !important; text-decoration: none; }
body .store-notify h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
body .store-notify h2 i { animation: modo-ring 2.4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes modo-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes modo-marquee-ltr { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes modo-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 85% { transform: rotate(-12deg); } 95% { transform: rotate(6deg); } }
body .store-notify .ad-close {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    padding: 0 !important;
    background: rgba(0, 0, 0, .22);
    color: inherit;
    font-size: 11px;
    transition: transform .3s var(--modo-ease), background-color .2s ease;
}
body .store-notify .ad-close:hover { transform: translateY(-50%) rotate(90deg); background: rgba(0, 0, 0, .4); }

/* more than one ad: each one gets its own style */
body .store-notify ~ .store-notify h2 { animation-direction: reverse; animation-duration: 26s; }
body .store-notify ~ .store-notify {
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.6px) !important;
    background-size: 12px 12px;
    animation: none;
}
body .store-notify ~ .store-notify ~ .store-notify {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .18), transparent 30%, transparent 70%, rgba(0, 0, 0, .18)) !important;
    background-size: auto;
}
body .store-notify ~ .store-notify ~ .store-notify h2 { animation: modo-ticker-pulse 3s ease-in-out infinite; padding-inline-start: 0; flex: 1 !important; white-space: normal; }
@keyframes modo-ticker-pulse { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .75; transform: scale(.98); } }

/* ---------- 4. Header ---------- */
body header.store-header {
    position: sticky !important;
    top: 0;
    z-index: 150;
    background: #fff;
}
/* scroll-linked: shadow appears once the page scrolls (no JS needed) */
@supports (animation-timeline: scroll()) {
    body header.store-header {
        animation: modo-header-shadow linear both;
        animation-timeline: scroll(root);
        animation-range: 0 140px;
    }
    body header.store-header .navbar-brand img {
        animation: modo-logo-shrink linear both;
        animation-timeline: scroll(root);
        animation-range: 0 140px;
    }
}
@keyframes modo-header-shadow { to { box-shadow: 0 14px 30px -22px rgba(14, 17, 22, .55); } }
@keyframes modo-logo-shrink { to { max-height: 48px; } }

body header.store-header #mainnav { box-shadow: none !important; }
body header.store-header #mainnav > .inner { background: #fff !important; }
body header.store-header #mainnav .container > .flex { min-height: 0 !important; padding: 6px 0; }
body header.store-header .navbar-brand { padding: 4px !important; display: inline-flex; }
body header.store-header .navbar-brand img {
    max-height: 68px;
    min-height: 40px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transition: transform .5s var(--modo-ease);
}
body header.store-header .navbar-brand:hover img { transform: scale(1.04) rotate(-2deg); }

/* icons: account, cart, search, burger, language */
body header.store-header #customerLogin,
body header.store-header .s-cart-summary-wrapper,
body header.store-header .search-btn,
body header.store-header .mburger {
    position: relative;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: inline-grid !important;
    place-items: center;
    padding: 0 !important;
    background: var(--modo-page) !important;
    border: 1px solid var(--modo-line) !important;
    color: var(--modo-ink) !important;
    transition: background-color .25s ease, color .2s ease, transform .35s var(--modo-ease), border-color .2s ease;
}
body header.store-header .s-cart-summary-wrapper { width: auto !important; min-width: 42px; padding: 0 12px !important; display: inline-flex !important; gap: 8px; align-items: center; }
body header.store-header #customerLogin:hover,
body header.store-header .s-cart-summary-wrapper:hover,
body header.store-header .search-btn:hover,
body header.store-header .mburger:hover {
    background: var(--modo-ink) !important;
    border-color: var(--modo-ink) !important;
    color: var(--modo-volt) !important;
    transform: translateY(-2px);
}
body header.store-header #customerLogin i,
body header.store-header .search-btn i,
body header.store-header .mburger i,
body header.store-header #s-cart-icon i { color: inherit !important; font-size: 18px !important; }
body header.store-header .s-cart-summary-wrapper:hover * { color: var(--modo-volt) !important; }
body header.store-header .s-cart-summary-count {
    top: -7px !important;
    inset-inline-end: -7px;
    left: auto;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 5px;
    border-radius: 999px !important;
    background: var(--modo-flame) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800;
    line-height: 20px !important;
    text-align: center;
    border: 2px solid #fff;
}
body header.store-header .s-cart-summary-content { margin: 0 !important; font-weight: 800; font-size: 13px; color: var(--modo-ink); }
body header.store-header .lang.btn {
    height: 40px;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid var(--modo-line) !important;
    background: #fff !important;
    font-weight: 700;
    color: var(--modo-ink) !important;
    transition: background-color .2s ease, color .2s ease;
}
body header.store-header .lang.btn:hover { background: var(--modo-ink) !important; color: #fff !important; }

/* nav row: ink bar with volt underline (fixed design colour, not the merchant nav colour) */
body header.store-header .inner.nav-header {
    background: var(--modo-ink) !important;
    position: relative;
}
body header.store-header .inner.nav-header::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--modo-volt) 0 34%, var(--modo-flame) 34% 40%, transparent 40%);
}
/* desktop: "All categories" bar + floating category panel (like a department menu) */
body header.store-header .inner.nav-header > .container { align-items: stretch !important; gap: 24px; }
body header.store-header .inner.nav-header > .container > div:first-child {
    position: relative;
    flex: none;
    width: 290px !important;
    min-height: 58px;
    display: block !important;
    z-index: 60;
}
/* the bar */
body header.store-header .inner.nav-header > .container > div:first-child::before {
    content: "جميع الأقسام";
    display: flex;
    align-items: center;
    height: 58px;
    padding-inline: 62px 20px;
    border-radius: 14px 14px 0 0;
    background: var(--modo-flame);
    color: #fff;
    font-family: var(--modo-head);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
}
html:not([lang="ar"]) body header.store-header .inner.nav-header > .container > div:first-child::before { content: "All categories"; }
/* list icon drawn on the start side of the bar */
body header.store-header .inner.nav-header > .container > div:first-child::after {
    content: "";
    position: absolute;
    top: 20px;
    inset-inline-start: 24px;
    width: 22px;
    height: 18px;
    background:
        radial-gradient(circle, #fff 0 2px, transparent 2.5px) 0 0 / 5px 6px repeat-y,
        linear-gradient(#fff, #fff) 8px 1px / 14px 2.5px no-repeat,
        linear-gradient(#fff, #fff) 8px 7.5px / 14px 2.5px no-repeat,
        linear-gradient(#fff, #fff) 8px 14px / 14px 2.5px no-repeat;
    pointer-events: none;
}
html[dir="rtl"] body header.store-header .inner.nav-header > .container > div:first-child::after { transform: scaleX(-1); }
/* the floating panel: the nav is the frame, the list inside it scrolls.
   Sub-menus anchor to the frame (not the scrolling list), so they fly out in front instead of being clipped. */
body header.store-header .inner.nav-header nav.mobile-menu {
    position: absolute !important;
    top: 58px;
    inset-inline-start: 0;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    background: #fff;
    border: 3px solid var(--modo-flame);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 26px 46px -24px rgba(14, 17, 22, .55);
}
body header.store-header .inner.nav-header .main-menu {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-height: min(430px, calc(100vh - 190px));
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--modo-flame) transparent;
    margin: 0;
    padding: 4px 0 !important;
    border-radius: 0 0 13px 13px;
    background: transparent;
}
/* inner pages: closed until the "All categories" bar is hovered, so it never covers the page */
body header.store-header .inner.nav-header nav.mobile-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .35s var(--modo-ease), visibility 0s linear .35s;
}
body header.store-header .inner.nav-header > .container > div:first-child:hover nav.mobile-menu,
body header.store-header .inner.nav-header > .container > div:first-child:focus-within nav.mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s ease, transform .3s var(--modo-ease), visibility 0s;
}
/* home page only (cart page also renders home blocks — excluded by its title banner):
   open by default, folds away as you scroll, the bar brings it back on hover */
body:has(.main-container-wrapper .s-block--fixed-banner):not(:has(.container > .nav-header.bg-gray-100, .cart-content)) header.store-header .inner.nav-header nav.mobile-menu { opacity: 1; visibility: visible; transform: none; }
@supports (animation-timeline: scroll()) {
    body:has(.main-container-wrapper .s-block--fixed-banner):not(:has(.container > .nav-header.bg-gray-100, .cart-content)) header.store-header .inner.nav-header nav.mobile-menu {
        animation: modo-panel-fold linear both;
        animation-timeline: scroll(root);
        animation-range: 40px 220px;
    }
    body:has(.main-container-wrapper .s-block--fixed-banner):not(:has(.container > .nav-header.bg-gray-100, .cart-content)) header.store-header .inner.nav-header > .container > div:first-child:hover nav.mobile-menu,
    body:has(.main-container-wrapper .s-block--fixed-banner):not(:has(.container > .nav-header.bg-gray-100, .cart-content)) header.store-header .inner.nav-header > .container > div:first-child:focus-within nav.mobile-menu { animation: none; }
}
@keyframes modo-panel-fold { to { opacity: 0; visibility: hidden; transform: translateY(10px); } }

body header.store-header .inner.nav-header .main-menu > li {
    display: block !important;
    position: static !important;
    width: 100%;
    border-bottom: 1px solid var(--modo-line);
}
body header.store-header .inner.nav-header .main-menu > li:last-child { border-bottom: 0; }
body header.store-header .inner.nav-header .main-menu > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    min-height: 44px;
    padding: 0 24px !important;
    color: #4b5260 !important;
    font-size: 14.5px;
    font-weight: 500;
    transition: color .2s ease, background-color .2s ease, padding .3s var(--modo-ease);
}
body header.store-header .inner.nav-header .main-menu > li > a * { color: inherit !important; }
body header.store-header .inner.nav-header .main-menu > li > a > div { flex: 1 1 auto; min-width: 0; }
body header.store-header .inner.nav-header .main-menu > li:has(> a span:empty),
body header.store-header .inner.nav-header .main-menu > li.mobile-menu-slider,
body header.store-header .inner.nav-header .main-menu > li.lg\:hidden,
body header.store-header .inner.nav-header .main-menu > li > a:empty,
body header.store-header .inner.nav-header .main-menu > li.menu-user-login,
body header.store-header .inner.nav-header .main-menu > li:has(.mburger, .search-btn, .s-user-menu-login-btn),
body header.store-header .inner.nav-header .main-menu > li:not(:has(span)) { display: none !important; }
body header.store-header .inner.nav-header .main-menu > li:hover > a {
    background: #fff5f2;
    color: var(--modo-flame) !important;
    padding-inline-start: 30px !important;
}
/* chevron on items with sub-categories */
body header.store-header .inner.nav-header .main-menu > li.has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border: 0 !important;
    border-top: 2px solid currentColor !important;
    border-right: 2px solid currentColor !important;
    transform: rotate(45deg);
    opacity: .5;
    flex: none;
    position: static !important;
    align-self: center !important;
    margin-inline-start: 10px;
    background: none !important;
    inset: auto !important;
}
html[dir="rtl"] body header.store-header .inner.nav-header .main-menu > li.has-children > a::after { transform: rotate(-135deg); }
/* sub-categories fly out beside the panel, level with their row */
body header.store-header .inner.nav-header .main-menu > li > .sub-menu {
    position: absolute !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    inset-inline-start: calc(100% + 6px) !important;
    margin: -45px 0 0 !important;
    width: 240px !important;
    transform: none !important;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--modo-line);
    border-inline-start: 4px solid var(--modo-volt);
    box-shadow: var(--modo-shadow-lg);
    overflow: visible !important;
    z-index: 5;
}
/* invisible bridge over the gap so the pointer can reach the flyout */
body header.store-header .inner.nav-header .sub-menu::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -12px;
    width: 12px;
}
/* keep the flyout level with its row even when the list is scrolled */
@supports (anchor-name: --a) {
    body header.store-header .inner.nav-header .main-menu > li:has(> .sub-menu) { anchor-name: --modo-row; }
    body header.store-header .inner.nav-header .main-menu > li > .sub-menu {
        position-anchor: --modo-row;
        top: anchor(top) !important;
        margin: 0 !important;
    }
}
body header.store-header .inner.nav-header .main-menu::-webkit-scrollbar { width: 6px; }
body header.store-header .inner.nav-header .main-menu::-webkit-scrollbar-thumb { background: var(--modo-flame); border-radius: 6px; }
body header.store-header .inner.nav-header .main-menu::-webkit-scrollbar-track { background: transparent; }
body header.store-header .inner.nav-header .sub-menu li { display: block !important; position: relative !important; border-bottom: 1px solid var(--modo-line); }
/* deeper levels fly out beside their row too */
body header.store-header .inner.nav-header .sub-menu .sub-menu {
    position: absolute !important;
    top: -1px !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    inset-inline-start: calc(100% + 6px) !important;
    width: 220px !important;
    margin: 0 !important;
    transform: none !important;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--modo-line) !important;
    border-inline-start: 4px solid var(--modo-flame) !important;
    box-shadow: var(--modo-shadow-lg) !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}
body header.store-header .inner.nav-header .sub-menu .sub-menu a { min-height: 38px; font-size: 13px; }
body header.store-header .inner.nav-header .sub-menu li.has-children > a { justify-content: space-between; }
body header.store-header .inner.nav-header .sub-menu li.has-children > a::after {
    content: "" !important;
    width: 6px;
    height: 6px;
    border: 0 !important;
    border-top: 2px solid currentColor !important;
    border-right: 2px solid currentColor !important;
    transform: rotate(45deg);
    opacity: .5;
    flex: none;
    position: static !important;
    align-self: center !important;
    margin-inline-start: 10px;
    background: none !important;
    inset: auto !important;
}
html[dir="rtl"] body header.store-header .inner.nav-header .sub-menu li.has-children > a::after { transform: rotate(-135deg); }
body header.store-header .inner.nav-header .sub-menu li:last-child { border-bottom: 0; }
body header.store-header .inner.nav-header .sub-menu a {
    display: flex !important;
    align-items: center;
    min-height: 42px;
    padding: 0 20px !important;
    color: #4b5260 !important;
    font-size: 14px;
    transition: color .2s ease, background-color .2s ease, padding .3s var(--modo-ease);
}
body header.store-header .inner.nav-header .sub-menu a * { color: inherit !important; }
body header.store-header .inner.nav-header .sub-menu a:hover { background: var(--modo-page); color: var(--modo-ink) !important; padding-inline-start: 26px !important; }

/* the search takes the rest of the row */
body header.store-header .inner.nav-header > .container > div:nth-child(2) { flex: 1 1 auto; justify-content: flex-start !important; gap: 10px; }
body header.store-header .inner.nav-header .s-search-container { flex: 1 1 auto; max-width: 760px; }
body header.store-header .inner.nav-header .s-search-input-wrapper,
body header.store-header .inner.nav-header .s-search-input { width: 100% !important; }

/* search pill in the nav row */
body header.store-header .s-search-input {
    height: 42px !important;
    border-radius: 999px !important;
    border: 2px solid transparent !important;
    background: var(--modo-ink-2) !important;
    color: #fff !important;
    font-size: 13.5px;
    height: 46px !important;
    padding-left: 42px !important;
    padding-right: 18px !important;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .3s ease;
}
html[dir="rtl"] body header.store-header .s-search-input { padding-left: 18px !important; padding-right: 42px !important; }
body header.store-header .s-search-input::placeholder { color: var(--modo-mist); }
body header.store-header .s-search-input:focus { outline: none; border-color: var(--modo-volt) !important; background: var(--modo-ink-3) !important; box-shadow: 0 0 0 4px rgba(212, 255, 58, .15); }
body header.store-header .s-search-icon { left: 15px !important; right: auto !important; color: var(--modo-volt) !important; z-index: 1; }
html[dir="rtl"] body header.store-header .s-search-icon { left: auto !important; right: 15px !important; }
body header.store-header .s-search-icon .icon-search { color: var(--modo-volt) !important; }
body header.store-header .camera-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    background: var(--modo-ink-2);
    color: var(--modo-volt) !important;
    transition: transform .35s var(--modo-ease), background-color .2s ease;
}
body header.store-header .camera-btn span { color: inherit !important; }
body header.store-header .camera-btn:hover { background: var(--modo-volt); color: var(--modo-ink) !important; transform: rotate(-10deg); }

/* ---------- 5. Side menu: "all categories" panel ---------- */
body .mm-ocd__content {
    background: #fff !important;
    border-inline-start: 0;
    box-shadow: 0 0 60px rgba(14, 17, 22, .35);
}
body .mm-ocd__backdrop { background: rgba(14, 17, 22, .55) !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
body #mobile-menu.mm-spn {
    --mm-spn-item-height: 54px;
    --mm-spn-item-indent: 24px;
    background: #fff !important;
    color: var(--modo-ink) !important;
    font-family: inherit;
}
/* title bar */
body #mobile-menu.mm-spn.mm-spn--navbar::after {
    opacity: 1 !important;
    height: 64px !important;
    line-height: 64px !important;
    background: var(--modo-flame);
    color: #fff;
    font-family: var(--modo-head);
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-align: start !important;
    padding-inline: 64px 56px !important;
    z-index: 3;
}
/* main level reads "All categories", like a category panel */
html[lang="ar"] body #mobile-menu.mm-spn.mm-spn--navbar.mm-spn--main::after { content: "جميع الأقسام"; }
html:not([lang="ar"]) body #mobile-menu.mm-spn.mm-spn--navbar.mm-spn--main::after { content: "All categories"; }
/* list icon in the title bar (main level) */
body #mobile-menu.mm-spn.mm-spn--navbar.mm-spn--main::before {
    content: "" !important;
    display: block !important;
    position: absolute;
    top: 23px !important;
    inset-inline-start: 24px;
    left: auto;
    width: 22px !important;
    height: 18px !important;
    margin: 0;
    border: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 4;
    background:
        radial-gradient(circle, #fff 0 2px, transparent 2.5px) 0 0 / 5px 6px repeat-y,
        linear-gradient(#fff, #fff) 8px 1px / 14px 2.5px no-repeat,
        linear-gradient(#fff, #fff) 8px 7.5px / 14px 2.5px no-repeat,
        linear-gradient(#fff, #fff) 8px 14px / 14px 2.5px no-repeat;
}
html[dir="rtl"] body #mobile-menu.mm-spn.mm-spn--navbar.mm-spn--main::before { transform: scaleX(-1) !important; }
/* back chevron in sub levels */
body #mobile-menu.mm-spn.mm-spn--navbar:not(.mm-spn--main)::before { color: #fff; opacity: 1 !important; top: 32px !important; z-index: 4; }
body #mobile-menu.mm-spn.mm-spn--navbar ul { top: 64px !important; }
body #mobile-menu.mm-spn.mm-spn--navbar ul::before { display: none !important; }
body #mobile-menu.mm-spn ul { background: #fff; border-inline: 3px solid var(--modo-flame); border-bottom: 3px solid var(--modo-flame); }
body #mobile-menu.mm-spn li { border-bottom: 1px solid var(--modo-line); }
body #mobile-menu.mm-spn li::after { display: none !important; }
body #mobile-menu.mm-spn li > a,
body #mobile-menu.mm-spn li > span {
    display: flex !important;
    align-items: center;
    min-height: 54px;
    padding: 0 28px !important;
    color: #4b5260 !important;
    font-size: 15.5px;
    font-weight: 500;
    transition: background-color .2s ease, color .2s ease, padding .3s var(--modo-ease);
}
body #mobile-menu.mm-spn li > a span { color: inherit !important; }
body #mobile-menu.mm-spn li:hover > a,
body #mobile-menu.mm-spn li > a:active { background: #fff5f2; color: var(--modo-flame) !important; padding-inline-start: 34px !important; }
body #mobile-menu.mm-spn li::before { opacity: .5 !important; color: var(--modo-flame); }
body #mobile-menu .currency { padding: 14px 24px; border-bottom: 0; }
body #mobile-menu .currency .lang.btn { border-radius: 999px !important; border: 1px solid var(--modo-line) !important; padding: 8px 16px !important; }
body #mobile-menu .close-mobile-menu {
    top: 14px !important;
    inset-inline-end: 14px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2) !important;
    color: #fff !important;
    display: grid;
    place-items: center;
    transition: transform .3s var(--modo-ease), background-color .2s ease;
}
body #mobile-menu .close-mobile-menu:hover { transform: rotate(90deg); background: rgba(255, 255, 255, .35) !important; }

/* ---------- 6. Page reveals ---------- */
@keyframes modo-rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes modo-rise-in { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }

/* first screen: a staggered entrance after the preloader */
body .main-container-wrapper > .container > .s-block:nth-child(-n+3) {
    animation: modo-rise .8s var(--modo-ease) both;
}
body .main-container-wrapper > .container > .s-block:nth-child(1) { animation-delay: 1.2s; }
body .main-container-wrapper > .container > .s-block:nth-child(2) { animation-delay: 1.32s; }
body .main-container-wrapper > .container > .s-block:nth-child(3) { animation-delay: 1.44s; }
body header.store-header #mainnav .container > .flex > * { animation: modo-fade-in .7s var(--modo-ease) both; }
@keyframes modo-fade-in { from { opacity: 0; } }
body header.store-header #mainnav .container > .flex > *:nth-child(1) { animation-delay: 1.15s; }
body header.store-header #mainnav .container > .flex > *:nth-child(2) { animation-delay: 1.25s; }
body header.store-header #mainnav .container > .flex > *:nth-child(3) { animation-delay: 1.35s; }

/* everything further down rises as it scrolls into view */
@supports (animation-timeline: view()) {
    body .main-container-wrapper > .container > .s-block:nth-child(n+4),
    body .store-footer .footer-container > div,
    body section.product-detail,
    body .products-container > .product-entry,
    body .main-content .cart-item {
        animation: modo-rise linear both !important;
        animation-timeline: view() !important;
        animation-range: entry 0% entry 55% !important;
    }
    body .products-container > .product-entry {
        animation-name: modo-rise-in !important;
    }
}

/* ---------- 7. Product cards ---------- */
body .product-entry.product-entry--vertical {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    background: #fff !important;
    border: 1px solid var(--modo-line) !important;
    border-radius: var(--modo-r) !important;
    overflow: hidden !important;
    position: relative;
    box-shadow: 0 4px 14px -12px rgba(14, 17, 22, .4);
    transition: transform .45s var(--modo-ease), box-shadow .4s ease, border-color .3s ease;
}
@media (hover: hover) {
    body .product-entry.product-entry--vertical:hover {
        transform: translateY(-6px);
        border-color: var(--modo-ink) !important;
        box-shadow: var(--modo-shadow-lg);
    }
}
/* image: true colours on white, gentle zoom */
body .product-entry.product-entry--vertical > a { display: block; position: relative; background: #fff; border-bottom: 1px solid var(--modo-line); }
body .product-entry.product-entry--vertical > a img {
    transition: transform .7s var(--modo-ease);
    background: #fff;
}
body .product-entry.product-entry--vertical:hover > a img { transform: scale(1.07); }
/* volt corner flash on hover */
body .product-entry.product-entry--vertical > a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    inset-inline-start: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--modo-volt), var(--modo-volt-d));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s var(--modo-ease);
    z-index: 2;
}
html[dir="ltr"] body .product-entry.product-entry--vertical > a::after { transform-origin: left; }
body .product-entry.product-entry--vertical:hover > a::after { transform: scaleX(1); }

/* badges */
body .product-entry .promo-title {
    top: 12px !important;
    inset-inline-start: 12px !important;
    left: auto;
    max-width: calc(100% - 24px) !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    background: var(--modo-flame) !important;
    color: #fff !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: skewX(-10deg);
    box-shadow: 0 6px 14px -8px rgba(255, 75, 31, .8);
}
body .product-entry .sticker.new {
    top: 12px !important;
    inset-inline-end: 12px;
    left: auto;
    z-index: 3;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    background: var(--modo-volt) !important;
    color: var(--modo-ink) !important;
    font-size: 11px !important;
    font-weight: 800;
    transform: skewX(-10deg);
}

/* text */
body .product-entry .donating-wrap { padding: 14px 14px 14px !important; gap: 6px; flex: 1; }
body .product-entry .title-wrapper { text-align: start !important; }
body .product-entry .product-entry__title { margin: 0; }
body .product-entry .product-entry__title a {
    color: var(--modo-ink) !important;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.45;
    transition: color .2s ease;
}
body .product-entry .product-entry__title a:hover { color: var(--modo-flame) !important; }
body .product-entry .s-product-card-content-subtitle { font-size: 12px; color: var(--modo-steel); margin: 2px 0 0; }
body .product-entry .s-product-card-content-subtitle:empty { display: none; }
body .product-entry .price-wrapper { margin: 2px 0 6px !important; }
body .product-entry .price-wrapper .on-sale { justify-content: flex-start !important; align-items: baseline !important; gap: 6px; }
body .product-entry .price-label,
body .product-entry .price.d-flex,
body .product-entry .final-price { color: var(--modo-ink) !important; font-weight: 800 !important; font-size: 17px; font-family: var(--modo-head); }
body .product-entry .special-price { color: var(--modo-flame) !important; font-weight: 800 !important; font-size: 17px; font-family: var(--modo-head); }
body .product-entry .regular-price { color: var(--modo-mist) !important; font-size: 12.5px; }

/* add to cart: ink bar that turns volt on hover */
body .product-entry .product-footer { margin-top: auto !important; }
body .product-entry .cart-wish-wrap,
body .product-entry .cart-wish-wrap form { width: 100%; display: block; }
body .product-entry .addToCart {
    height: 44px !important;
    width: 100%;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--modo-ink) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .3s ease, transform .3s var(--modo-ease), box-shadow .3s ease !important;
}
body .product-entry .addToCart::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--modo-volt);
    transform: translateX(101%) skewX(-18deg);
    transform-origin: right;
    transition: transform .45s var(--modo-ease);
}
html[dir="rtl"] body .product-entry .addToCart::before { transform: translateX(-101%) skewX(-18deg); }
body .product-entry .addToCart * { color: inherit !important; }
body .product-entry .addToCart i { transition: transform .4s var(--modo-ease); }
body .product-entry .addToCart:not([disabled]):hover { color: var(--modo-ink) !important; box-shadow: 0 10px 20px -12px rgba(168, 212, 0, .9); }
body .product-entry .addToCart:not([disabled]):hover::before { transform: translateX(0) skewX(0); width: 100%; }
html[dir="rtl"] body .product-entry .addToCart:not([disabled]):hover::before { transform: translateX(0) skewX(0); }
body .product-entry .addToCart:not([disabled]):hover i { transform: translateX(-3px) rotate(-12deg); }
body .product-entry .addToCart:not([disabled]):active { transform: scale(.97); }
body .product-entry .addToCart[disabled],
body .product-entry .addToCart.s-button-disabled {
    background: var(--modo-page) !important;
    color: var(--modo-mist) !important;
    cursor: not-allowed;
    opacity: 1 !important;
}
body .product-entry .addToCart[disabled]::before { display: none; }

/* product grids & sliders */
body .products-container.grid { gap: 18px !important; }
body .s-block--best-offers .swiper-slide,
body .mySwiper .slide--one-sixth { height: auto; padding-bottom: 10px; }

/* ---------- 8. Categories: "sprint" tiles ---------- */
/* categories = .mySwiper banner tiles WITHOUT the brand-only max--3 class */
body .s-block:has(.mySwiper .banner-square:not(.max--3)) .mySwiper { overflow: hidden; padding: 6px 2px 14px; }
body .s-block:has(.mySwiper .banner-square:not(.max--3)) .swiper-wrapper { transition-timing-function: var(--modo-snap) !important; }
body .mySwiper .banner-square:not(.max--3) {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: var(--modo-r-lg);
    overflow: hidden;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 22px),
        var(--modo-ink);
    isolation: isolate;
    transition: transform .5s var(--modo-ease), box-shadow .4s ease;
}
body .mySwiper .banner-square:not(.max--3) > a { position: absolute !important; inset: 0; display: block; z-index: 0; }
body .mySwiper .banner-square:not(.max--3) .box-img { width: 100%; height: 100%; border-radius: 0 !important; }
body .mySwiper .banner-square:not(.max--3) .box-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: none !important;
    transition: transform .9s var(--modo-ease);
}
/* name label: skewed volt chip on a dark fade */
body .mySwiper .banner-square:not(.max--3) > div.relative {
    position: absolute !important;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 46px 14px 14px !important;
    background: linear-gradient(transparent, rgba(14, 17, 22, .85));
    text-align: start !important;
    pointer-events: none;
}
body .mySwiper .banner-square:not(.max--3) h3 {
    display: inline-block;
    width: auto !important;
    max-width: 100%;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--modo-volt);
    color: var(--modo-ink) !important;
    font-family: var(--modo-head);
    font-weight: 800;
    font-size: 14px !important;
    line-height: 1.3;
    transform: skewX(-10deg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform .4s var(--modo-ease), background-color .25s ease;
}
/* tiles without an image become bold text tiles */
body .mySwiper .banner-square:not(.max--3):not(:has(img)) > div.relative {
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px !important;
    background: none;
    text-align: center !important;
}
body .mySwiper .banner-square:not(.max--3):not(:has(img)) h3 { font-size: 16px !important; white-space: normal; }
@media (hover: hover) {
    body .mySwiper .banner-square:not(.max--3):hover { transform: translateY(-6px) skewX(-2deg); box-shadow: var(--modo-shadow-lg); }
    body .mySwiper .banner-square:not(.max--3):hover .box-img img { transform: scale(1.1); }
    body .mySwiper .banner-square:not(.max--3):hover h3 { background: #fff; transform: skewX(-10deg) translateY(-4px); }
}
/* every autoplay step: a volt speed-streak sweeps across the lead tile */
body .mySwiper .banner-square:not(.max--3)::after {
    content: "";
    position: absolute;
    inset: -20% auto -20% 0;
    width: 40%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(212, 255, 58, .45), transparent);
    transform: translateX(-160%) skewX(-20deg);
}
body .mySwiper .banner-square:not(.max--3).swiper-slide-active::after { animation: modo-streak 1s var(--modo-ease) .15s; }
@keyframes modo-streak { from { transform: translateX(-160%) skewX(-20deg); } to { transform: translateX(360%) skewX(-20deg); } }

/* ---------- 9. Brands: "scoreboard" flip ---------- */
body .s-block:has(.banner-square.max--3) .mySwiper { overflow: hidden; padding: 10px 2px 16px; perspective: 900px; }
/* the slider winds back slightly, then kicks forward */
body .s-block:has(.banner-square.max--3) .swiper-wrapper { transition-timing-function: var(--modo-kick) !important; }
body .mySwiper .banner-square.max--3 {
    height: auto;
    padding: 12px;
    border-radius: var(--modo-r);
    background: #fff;
    border: 1px solid var(--modo-line);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .3s ease, box-shadow .35s ease, transform .45s var(--modo-ease);
}
body .mySwiper .banner-square.max--3 .box-img {
    aspect-ratio: 16 / 10;
    border-radius: var(--modo-r-sm) !important;
    background: var(--modo-page);
    display: grid;
    grid-template: 100% / 100%;
    place-items: center;
    padding: 10px;
    overflow: hidden;
}
body .mySwiper .banner-square.max--3 .box-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: grayscale(1) contrast(1.05) !important;
    opacity: .7;
    transition: filter .4s ease, opacity .4s ease, transform .5s var(--modo-ease);
}
body .mySwiper .banner-square.max--3 > div.relative { padding: 0 !important; }
body .mySwiper .banner-square.max--3 h3 {
    font-weight: 700;
    font-size: 13px !important;
    color: var(--modo-steel) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .25s ease;
}
/* a logo that fails to load becomes a name tile (img::before only renders for broken images) */
body .mySwiper .banner-square.max--3 .box-img img { color: transparent; font-size: 0; position: relative; display: block; min-width: 100%; min-height: 100%; }
body .mySwiper .banner-square.max--3 .box-img img::before {
    content: attr(alt);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 8px;
    border-radius: 8px;
    background: var(--modo-ink);
    color: var(--modo-volt);
    font-family: var(--modo-head);
    font-weight: 900;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
}
/* the slides in play light up in full colour */
body .mySwiper .banner-square.max--3.swiper-slide-active .box-img img,
body .mySwiper .banner-square.max--3.swiper-slide-next .box-img img,
body .mySwiper .banner-square.max--3:hover .box-img img { filter: none !important; opacity: 1; }
body .mySwiper .banner-square.max--3.swiper-slide-active { border-color: var(--modo-ink); box-shadow: inset 0 -4px 0 var(--modo-volt); }
body .mySwiper .banner-square.max--3.swiper-slide-active h3 { color: var(--modo-ink) !important; }
/* every step: the lead logo flips in like a scoreboard card */
body .mySwiper .banner-square.max--3.swiper-slide-active .box-img { animation: modo-flip .8s var(--modo-ease); }
@keyframes modo-flip { 0% { transform: rotateX(-90deg); } 60% { transform: rotateX(12deg); } 100% { transform: rotateX(0); } }
@media (hover: hover) {
    body .mySwiper .banner-square.max--3:hover { transform: translateY(-5px); border-color: var(--modo-ink); box-shadow: var(--modo-shadow); }
    body .mySwiper .banner-square.max--3:hover .box-img img { transform: scale(1.06); }
    body .mySwiper .banner-square.max--3:hover h3 { color: var(--modo-ink) !important; }
}

/* ---------- 10. Store features: jersey-number tiles ---------- */
body .myStoreSwiper { overflow: hidden; padding: 4px 2px 10px !important; counter-reset: modo-feature; }
body .myStoreSwiper .swiper-wrapper { transition-timing-function: var(--modo-snap) !important; }
body .myStoreSwiper .swiper-slide { height: auto; margin-top: 0 !important; counter-increment: modo-feature; }
body .myStoreSwiper .s-block--features__item {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    text-align: start !important;
    gap: 6px;
    padding: 26px 24px 24px !important;
    border-radius: var(--modo-r-lg) !important;
    background: var(--modo-ink) !important;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    box-shadow: none !important;
    transition: transform .45s var(--modo-ease), box-shadow .35s ease;
}
/* big outlined number, like a jersey */
body .myStoreSwiper .s-block--features__item::before {
    content: counter(modo-feature, decimal-leading-zero);
    position: absolute;
    top: -14px;
    inset-inline-end: 14px;
    z-index: -1;
    font-family: 'Rubik', sans-serif;
    font-weight: 900;
    font-size: 104px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .1);
    transition: -webkit-text-stroke-color .35s ease, transform .5s var(--modo-ease);
}
/* volt finish line along the bottom */
body .myStoreSwiper .s-block--features__item::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    height: 4px;
    width: 34%;
    background: var(--modo-volt);
    transition: width .6s var(--modo-ease);
}
body .myStoreSwiper .feature-icon {
    width: 58px !important;
    height: 58px !important;
    margin: 0 0 8px !important;
    border-radius: 16px !important;
    display: grid !important;
    place-items: center;
    background: var(--modo-volt) !important;
    color: var(--modo-ink) !important;
    transform: skewX(-8deg);
    transition: transform .45s var(--modo-ease), background-color .25s ease;
}
body .myStoreSwiper .feature-icon i { color: inherit !important; font-size: 26px !important; transform: skewX(8deg); }
body .myStoreSwiper .s-block--features__item h2 {
    margin: 0 !important;
    font-family: var(--modo-head);
    font-weight: 800 !important;
    font-size: 17.5px !important;
    line-height: 1.4 !important;
    color: #fff !important;
    text-align: start !important;
}
body .myStoreSwiper .s-block--features__item p {
    margin: 2px 0 0 !important;
    font-size: 13.5px !important;
    line-height: 1.75 !important;
    color: var(--modo-mist) !important;
    text-align: start !important;
}
@media (hover: hover) {
    body .myStoreSwiper .s-block--features__item:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(14, 17, 22, .9) !important; }
    body .myStoreSwiper .s-block--features__item:hover::before { -webkit-text-stroke-color: rgba(212, 255, 58, .45); transform: translateY(6px); }
    body .myStoreSwiper .s-block--features__item:hover::after { width: 100%; }
    body .myStoreSwiper .s-block--features__item:hover .feature-icon { transform: skewX(-8deg) rotate(-8deg) scale(1.06); background: #fff !important; }
}
/* alternate tile: white with ink type for rhythm */
body .myStoreSwiper .swiper-slide:nth-child(2n) .s-block--features__item { background: #fff !important; color: var(--modo-ink); border: 1px solid var(--modo-line); }
body .myStoreSwiper .swiper-slide:nth-child(2n) .s-block--features__item h2 { color: var(--modo-ink) !important; }
body .myStoreSwiper .swiper-slide:nth-child(2n) .s-block--features__item p { color: var(--modo-steel) !important; }
body .myStoreSwiper .swiper-slide:nth-child(2n) .s-block--features__item::before { -webkit-text-stroke-color: rgba(14, 17, 22, .08); }
body .myStoreSwiper .swiper-slide:nth-child(2n) .feature-icon { background: var(--modo-ink) !important; color: var(--modo-volt) !important; }
body .myStoreSwiper .swiper-slide:nth-child(2n) .s-block--features__item::after { background: var(--modo-flame); }

/* ---------- 11. Customer reviews ---------- */
body .myReviewSwiper { overflow: hidden; padding: 4px 2px 10px !important; }
body .myReviewSwiper .swiper-wrapper { transition-timing-function: var(--modo-ease) !important; }
body .myReviewSwiper .swiper-slide { height: auto; margin-top: 46px !important; }
body .myReviewSwiper .swiper-slide > div {
    height: 100%;
    border-radius: var(--modo-r-lg) !important;
    background: #fff !important;
    border: 1px solid var(--modo-line);
    position: relative;
    overflow: visible;
    box-shadow: none !important;
    transition: transform .45s var(--modo-ease), box-shadow .35s ease, border-color .3s ease;
}
/* quote mark */
body .myReviewSwiper .swiper-slide > div::before {
    content: "”";
    position: absolute;
    top: 10px;
    inset-inline-end: 18px;
    font-family: Georgia, serif;
    font-size: 70px;
    line-height: 1;
    font-weight: 700;
    color: var(--modo-volt);
    -webkit-text-stroke: 1.5px var(--modo-ink);
}
body .myReviewSwiper .testimonial__icon { display: none; }
body .myReviewSwiper .testimonial__avatar {
    width: 76px !important;
    height: 76px !important;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--modo-ink), 0 10px 20px -12px rgba(14, 17, 22, .6) !important;
    background: var(--modo-volt);
    transition: transform .5s var(--modo-ease);
}
body .myReviewSwiper .s-testimonials--slider--img > p {
    font-family: var(--modo-head);
    font-weight: 800;
    font-size: 16px !important;
    color: var(--modo-ink) !important;
}
body .myReviewSwiper .s-rating-stars-wrapper i { font-size: 15px; }
body .myReviewSwiper .s-rating-stars-wrapper i[style*="255, 215, 0"] { color: var(--modo-flame) !important; }
body .myReviewSwiper .swiper-slide > div > div > p {
    margin-top: 10px !important;
    padding-top: 12px;
    border-top: 2px dashed var(--modo-line);
    font-size: 14.5px !important;
    line-height: 1.8 !important;
    color: #3c4350 !important;
}
/* verified-style tag under the stars */
body .myReviewSwiper .testimonial__rating::after {
    content: "✔";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-inline-start: 6px;
    border-radius: 50%;
    background: var(--modo-volt);
    color: var(--modo-ink);
    font-size: 10px;
    vertical-align: middle;
}
body .myReviewSwiper .testimonial__rating { display: inline-flex; align-items: center; }
@media (hover: hover) {
    body .myReviewSwiper .swiper-slide > div:hover { transform: translateY(-6px); border-color: var(--modo-ink); box-shadow: var(--modo-shadow-lg) !important; }
    body .myReviewSwiper .swiper-slide > div:hover .testimonial__avatar { transform: rotate(-6deg) scale(1.05); }
}
body .myReviewSwiper .swiper-slide-active > div { border-color: var(--modo-ink); box-shadow: inset 0 -4px 0 var(--modo-volt) !important; }

/* ---------- 12. Footer ---------- */
body .store-footer { position: relative; margin-top: 60px; }
body .store-footer .store-footer__inner {
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 40px),
        var(--modo-ink) !important;
    color: #c4c9d2;
    position: relative;
    overflow: hidden;
}
/* volt + flame race line on top */
body .store-footer .store-footer__inner::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--modo-volt) 0 60%, var(--modo-flame) 60% 70%, var(--modo-volt) 70%);
}
body .store-footer .to-top { padding-top: 22px; }
body .store-footer .to-top a {
    padding: 9px 18px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff !important;
    transition: background-color .2s ease, color .2s ease, transform .35s var(--modo-ease);
}
body .store-footer .to-top a * { color: inherit !important; }
body .store-footer .to-top a:hover { background: var(--modo-volt); color: var(--modo-ink) !important; transform: translateY(-3px); }
body .store-footer .footer-container { border-color: rgba(255, 255, 255, .08) !important; padding: 34px 0 20px !important; }
body .store-footer .logo-footer {
    padding: 12px 16px;
    border-radius: var(--modo-r);
    background: #fff;
    width: max-content;
    margin-inline: auto;
    transition: transform .5s var(--modo-ease);
}
body .store-footer .logo-footer:hover { transform: rotate(-3deg) scale(1.03); }
body .store-footer .logo-footer img { max-height: 60px; width: auto; }
body .store-footer p,
body .store-footer .da-tm { color: #aeb5c1 !important; }
body .store-footer h3 {
    position: relative;
    font-family: var(--modo-head);
    font-weight: 800 !important;
    font-size: 17px !important;
    color: #fff !important;
    padding-bottom: 12px;
    margin-bottom: 14px !important;
}
body .store-footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 34px;
    height: 4px;
    background: var(--modo-volt);
    transform: skewX(-20deg);
}
body .store-footer h3.text-center::after { inset-inline-start: 50%; translate: 50% 0; }
html[dir="ltr"] body .store-footer h3.text-center::after { translate: -50% 0; }
body .store-footer .footer-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4c9d2 !important;
    line-height: 2.1;
    transition: color .2s ease, transform .3s var(--modo-ease);
}
body .store-footer .footer-list a::before {
    content: "";
    width: 10px;
    height: 3px;
    background: var(--modo-volt);
    transform: scaleX(0) skewX(-20deg);
    transform-origin: right;
    transition: transform .3s var(--modo-ease);
}
body .store-footer .footer-list a:hover { color: #fff !important; transform: translateX(-4px); }
html[dir="ltr"] body .store-footer .footer-list a:hover { transform: translateX(4px); }
body .store-footer .footer-list a:hover::before { transform: scaleX(1) skewX(-20deg); }
/* socials */
body .store-footer .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-grid !important;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    transition: background-color .2s ease, transform .35s var(--modo-ease);
}
body .store-footer .social-links a img,
body .store-footer .social-links a svg { filter: brightness(0) invert(1); max-height: 16px; }
body .store-footer .social-links a:hover { background: var(--modo-volt); transform: translateY(-4px) rotate(-6deg); }
body .store-footer .social-links a:hover img,
body .store-footer .social-links a:hover svg { filter: brightness(0); }
/* support buttons */
body .store-footer .contact-links a {
    min-width: 64px;
    padding: 12px 10px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff !important;
    transition: background-color .2s ease, color .2s ease, transform .35s var(--modo-ease);
}
body .store-footer .contact-links a * { color: inherit !important; }
body .store-footer .contact-links a:hover { background: var(--modo-volt) !important; color: var(--modo-ink) !important; transform: translateY(-4px); }
/* certificates */
body .store-footer .footer-vat { align-items: center; }
body .store-footer .footer-vat > a:first-child img { border-radius: 8px; background: #fff; padding: 3px; }
body .store-footer .vat-num,
body .store-footer .vat-num * { color: #c4c9d2 !important; }
/* bottom bar */
body .store-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px !important; }
body .store-footer .footer-bottom .pay-mada { border-radius: 8px !important; transition: transform .35s var(--modo-ease); }
body .store-footer .footer-bottom .pay-mada:hover { transform: translateY(-3px); }
body .store-footer .copyrights p { color: #8a919d !important; }

/* ---------- 13. Product page ---------- */
body section.product-detail { color: var(--modo-ink); }
body section.product-detail .sidebar { top: 140px !important; }
body section.product-detail .product-hero-image {
    position: relative;
    border-radius: var(--modo-r-lg) !important;
    background: #fff !important;
    border: 1px solid var(--modo-line);
    overflow: hidden;
    padding: 14px;
}
body section.product-detail .product-hero-image::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    z-index: 2;
    background: linear-gradient(90deg, var(--modo-volt) 0 70%, var(--modo-flame) 70%);
}
body section.product-detail .product-hero-image img { border-radius: var(--modo-r) !important; transition: transform .8s var(--modo-ease); }
@media (hover: hover) { body section.product-detail .product-hero-image:hover img { transform: scale(1.04); } }
body section.product-detail .discountPercentage {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    z-index: 3;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    background: var(--modo-flame) !important;
    color: #fff !important;
    font-weight: 800;
    font-size: 13px !important;
    transform: skewX(-10deg);
}
body section.product-detail .thumb-frame,
body section.product-detail .gallery-thumb,
body section.product-detail [class*="thumbnails"] img {
    border-radius: var(--modo-r-sm) !important;
    border: 2px solid var(--modo-line) !important;
    background: #fff;
    transition: border-color .2s ease, transform .3s var(--modo-ease);
}
body section.product-detail .thumb-frame.active,
body section.product-detail .gallery-thumb.active { border-color: var(--modo-ink) !important; box-shadow: inset 0 -3px 0 var(--modo-volt); }
body section.product-detail .swiper-button-next,
body section.product-detail .swiper-button-prev {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px;
    background: var(--modo-ink);
    color: var(--modo-volt) !important;
    transition: transform .3s var(--modo-ease);
}
body section.product-detail .swiper-button-next::after,
body section.product-detail .swiper-button-prev::after { font-size: 16px !important; font-weight: 900; }
body section.product-detail .swiper-button-next:hover,
body section.product-detail .swiper-button-prev:hover { transform: scale(1.08); }

body section.product-detail h1 {
    font-family: var(--modo-head);
    font-weight: 800 !important;
    font-size: clamp(22px, 2.4vw, 30px) !important;
    line-height: 1.3 !important;
    color: var(--modo-ink);
}
body section.product-detail .s-rating-stars-wrapper i { color: var(--modo-flame) !important; }
body section.product-detail .price { margin-top: 18px !important; }
body section.product-detail .productDetails { gap: 12px !important; align-items: baseline !important; }
body section.product-detail .special-price,
body section.product-detail .price-label,
body section.product-detail .final-price { font-family: var(--modo-head); font-weight: 900 !important; font-size: 28px !important; color: var(--modo-ink) !important; }
body section.product-detail .regular-price ~ .special-price { color: var(--modo-flame) !important; }
body section.product-detail .regular-price { color: var(--modo-mist) !important; font-size: 16px !important; }

/* spec rows: a compact stat strip */
body section.product-detail section.details {
    background: #fff !important;
    border: 1px solid var(--modo-line) !important;
    border-radius: var(--modo-r-sm) !important;
    margin: 0 0 8px !important;
    border-inline-start: 4px solid var(--modo-volt) !important;
    transition: border-color .25s ease, transform .3s var(--modo-ease);
}
body section.product-detail section.details:hover { transform: translateX(-3px); border-inline-start-color: var(--modo-flame) !important; }
html[dir="ltr"] body section.product-detail section.details:hover { transform: translateX(3px); }
body section.product-detail .details__title { color: var(--modo-steel) !important; font-weight: 600; }
body section.product-detail .details__action span { font-weight: 800; color: var(--modo-ink); }
body section.product-detail .product-metadata.weight { color: var(--modo-steel); font-size: 13px; margin: 10px 0; }

/* buy bar */
body section.product-detail .sticky-product-bar {
    border-radius: var(--modo-r) !important;
    background: #fff !important;
    border: 1px solid var(--modo-line);
    box-shadow: var(--modo-shadow) !important;
}
body .s-quantity-input-container {
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--modo-page) !important;
    padding: 3px;
    overflow: hidden;
}
body .s-quantity-input-button {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--modo-ink) !important;
    font-weight: 900;
    transition: background-color .2s ease, color .2s ease, transform .25s var(--modo-ease);
}
body .s-quantity-input-button:hover { background: var(--modo-ink) !important; color: var(--modo-volt) !important; }
body .s-quantity-input-button:active { transform: scale(.9); }
body .s-quantity-input-input { background: transparent !important; font-weight: 800 !important; color: var(--modo-ink) !important; border: 0 !important; }
body section.product-detail .sticky-product-bar button[type="submit"] {
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--modo-ink) !important;
    color: #fff !important;
    font-weight: 800 !important;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .3s ease, transform .3s var(--modo-ease), box-shadow .3s ease !important;
}
body section.product-detail .sticky-product-bar button[type="submit"] * { color: inherit !important; }
body section.product-detail .sticky-product-bar button[type="submit"]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--modo-volt);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--modo-ease);
}
body section.product-detail .sticky-product-bar button[type="submit"]:hover { color: var(--modo-ink) !important; box-shadow: 0 14px 24px -14px rgba(168, 212, 0, .95); }
body section.product-detail .sticky-product-bar button[type="submit"]:hover::before { transform: scaleX(1); }
body section.product-detail .sticky-product-bar button[type="submit"]:active { transform: scale(.98); }
body section.product-detail .s-quick-buy-button {
    border-radius: 12px !important;
    border: 2px solid var(--modo-ink) !important;
    background: #fff !important;
    color: var(--modo-ink) !important;
    font-weight: 800 !important;
    min-height: 48px;
    transition: background-color .25s ease, color .2s ease, transform .3s var(--modo-ease);
}
body section.product-detail .s-quick-buy-button * { color: inherit !important; }
body section.product-detail .s-quick-buy-button:hover { background: var(--modo-flame) !important; border-color: var(--modo-flame) !important; color: #fff !important; transform: translateY(-2px); }

/* tabs (offers / reviews) */
body section.product-detail .s-product-tabs .nav-tabs { gap: 8px; border: 0 !important; }
body section.product-detail .s-product-tabs .nav-link {
    border-radius: 10px !important;
    background: #fff !important;
    border: 1px solid var(--modo-line) !important;
    color: var(--modo-steel) !important;
    font-weight: 700;
    padding: 8px 16px !important;
    transition: background-color .2s ease, color .2s ease;
}
body section.product-detail .s-product-tabs .nav-link.active,
body section.product-detail .s-product-tabs .nav-link:hover { background: var(--modo-ink) !important; color: var(--modo-volt) !important; border-color: var(--modo-ink) !important; }
body section.product-detail .s-product-tabs .tab-content {
    margin-top: 12px;
    border-radius: var(--modo-r) !important;
    border: 1px solid var(--modo-line);
}
body section.product-detail .s-comment-form-content textarea,
body section.product-detail .s-comment-form-input {
    border-radius: 12px !important;
    border: 2px solid var(--modo-line) !important;
    background: var(--modo-page) !important;
}
body section.product-detail .s-comment-form-content textarea:focus { border-color: var(--modo-ink) !important; outline: none; }
body section.product-detail .comment { border-radius: 12px; background: var(--modo-page) !important; padding: 12px; }
body section.product-detail #load-more,
body section.product-detail .s-comment-form-content button { border-radius: 10px !important; background: var(--modo-ink) !important; border: 0 !important; color: #fff !important; }

/* ---------- 14. Cart page ---------- */
body .container > .nav-header.bg-gray-100 {
    margin-top: 18px;
    border-radius: var(--modo-r-lg);
    padding: 30px 28px !important;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 30px),
        var(--modo-ink) !important;
    color: #fff;
    position: relative;
    overflow: hidden;
}
body .container > .nav-header.bg-gray-100::after {
    content: "";
    position: absolute;
    inset-inline-end: -40px;
    top: 50%;
    width: 220px;
    height: 220px;
    margin-top: -110px;
    border: 26px solid var(--modo-volt);
    border-radius: 50%;
    opacity: .14;
}
body .container > .nav-header.bg-gray-100 h1 { font-family: var(--modo-head); font-weight: 900 !important; font-size: clamp(22px, 2.6vw, 32px) !important; color: #fff !important; }
body .container > .nav-header.bg-gray-100 a,
body .container > .nav-header.bg-gray-100 span,
body .container > .nav-header.bg-gray-100 li,
body .container > .nav-header.bg-gray-100 i { color: var(--modo-mist) !important; }

/* tier progress */
body .s-conditional-offer-progress-container,
body .s-conditional-offer-container { border-radius: var(--modo-r) !important; }
body .s-conditional-offer-progress-line-container { height: 8px !important; border-radius: 999px; background: var(--modo-line) !important; overflow: hidden; }
body .s-conditional-offer-progress-line-active {
    border-radius: 999px;
    background: repeating-linear-gradient(115deg, var(--modo-volt) 0 10px, var(--modo-volt-d) 10px 20px) !important;
    background-size: 28px 100% !important;
    animation: modo-stripes 1.2s linear infinite;
}
body .s-conditional-offer-checkpoint { background: #fff !important; border: 2px solid var(--modo-ink) !important; font-weight: 800; }
body .s-conditional-offer-title { font-family: var(--modo-head); font-weight: 800; }

/* items */
body .main-content .cart-item {
    border-radius: var(--modo-r) !important;
    border: 1px solid var(--modo-line);
    border-inline-start: 5px solid var(--modo-ink);
    box-shadow: none !important;
    padding: 16px !important;
    transition: border-color .25s ease, box-shadow .3s ease, transform .35s var(--modo-ease);
}
body .main-content .cart-item:hover { border-inline-start-color: var(--modo-volt); box-shadow: var(--modo-shadow) !important; }
body .main-content .cart-item img { border-radius: var(--modo-r-sm) !important; border: 1px solid var(--modo-line) !important; background: #fff; }
body .main-content .cart-item a { color: var(--modo-ink); font-weight: 700; }
body .main-content .cart-item .btn--delete {
    border-radius: 8px !important;
    background: #fff1ed !important;
    color: var(--modo-flame) !important;
    border: 0 !important;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}
body .main-content .cart-item .btn--delete * { color: inherit !important; }
body .main-content .cart-item .btn--delete:hover { background: var(--modo-flame) !important; color: #fff !important; }
body .main-content .cart-item .btn--wishlist { border-radius: 8px !important; }

/* summary */
body .main-content ~ .sticky.top-20 { top: 150px !important; }
body .main-content ~ .sticky.top-20 > div,
body .main-content ~ .sticky.top-20 .shadow-default {
    border-radius: var(--modo-r) !important;
    border: 1px solid var(--modo-line);
    box-shadow: none !important;
}
body .main-content ~ .sticky.top-20 .s-loyalty-widget .s-list-tile-item { background: var(--modo-ink); border-radius: var(--modo-r); padding: 14px; color: #fff; }
body .main-content ~ .sticky.top-20 .s-loyalty-widget * { color: inherit; }
body .main-content ~ .sticky.top-20 .s-list-tile-item-icon { background: var(--modo-volt) !important; color: var(--modo-ink) !important; border-radius: 12px !important; }
body .main-content ~ .sticky.top-20 input.form-input,
body .main-content ~ .sticky.top-20 input.s-form-control,
body .main-content ~ .sticky.top-20 input[type="text"] {
    height: 46px;
    border-radius: 12px !important;
    border: 2px solid var(--modo-line) !important;
    background: var(--modo-page) !important;
    transition: border-color .2s ease;
}
body .main-content ~ .sticky.top-20 input:focus { border-color: var(--modo-ink) !important; outline: none; }
body .main-content ~ .sticky.top-20 .btn--coupon { border-radius: 10px !important; background: var(--modo-ink) !important; color: var(--modo-volt) !important; border: 0 !important; }
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary,
body .main-content ~ .sticky.top-20 .cart-submit-wrap a,
body .main-content ~ .sticky.top-20 .cart-submit-wrap button {
    width: 100%;
    min-height: 52px;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--modo-ink) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .3s ease, box-shadow .3s ease, transform .3s var(--modo-ease) !important;
}
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary *,
body .main-content ~ .sticky.top-20 .cart-submit-wrap a * { color: inherit !important; background: none !important; }
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary::before,
body .main-content ~ .sticky.top-20 .cart-submit-wrap > a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--modo-volt);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--modo-ease);
}
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary:hover,
body .main-content ~ .sticky.top-20 .cart-submit-wrap > a:hover { color: var(--modo-ink) !important; box-shadow: 0 14px 24px -14px rgba(168, 212, 0, .95); }
body .main-content ~ .sticky.top-20 .cart-submit-wrap .s-button-primary:hover::before,
body .main-content ~ .sticky.top-20 .cart-submit-wrap > a:hover::before { transform: scaleX(1); }
body .main-content ~ .sticky.top-20 .text-primary { color: var(--modo-ink) !important; font-weight: 800; }

/* ---------- 15. Floating bits ---------- */
body .floating-social .floating-btn { transition: transform .35s var(--modo-ease) !important; }
body .floating-social .floating-btn:hover { transform: translateY(-3px) rotate(-8deg) scale(1.06) !important; }
body .s-block--best-offers,
body .s-block { scroll-margin-top: 140px; }
body :focus-visible { outline: 3px solid var(--modo-volt) !important; outline-offset: 2px; }

/* ---------- 16. Responsive & reduced motion ---------- */
@media (max-width: 1023px) {
    body header.store-header .navbar-brand img { max-height: 46px; }
    body header.store-header #mainnav .container > .flex { padding: 4px 0; }
    body section.product-detail .sidebar { top: 90px !important; }
    body .main-content ~ .sticky.top-20 { position: static !important; }
}
@media (max-width: 767px) {
    body .s-slider-block__title-nav { display: none !important; }
    /* phones: only the WhatsApp bubble floats (all networks are in the footer) */
    body .floating-social:has(.whatsapp) .floating-btn:not(.whatsapp) { display: none !important; }
    body .floating-social:not(:has(.whatsapp)) .floating-btn:not(:first-child) { display: none !important; }
    body .floating-social .floating-btn { width: 46px !important; height: 46px !important; }
    body .store-notify h2 { font-size: 12.5px !important; animation-duration: 16s; }
    body header.store-header #customerLogin,
    body header.store-header .s-cart-summary-wrapper,
    body header.store-header .search-btn,
    body header.store-header .mburger { width: 38px !important; height: 38px !important; border-radius: 10px !important; }
    body header.store-header .s-cart-summary-wrapper { width: auto !important; padding: 0 9px !important; }
    body .product-entry .donating-wrap { padding: 10px !important; }
    body .product-entry .product-entry__title a { font-size: 13px; }
    body .product-entry .price-label,
    body .product-entry .price.d-flex,
    body .product-entry .special-price { font-size: 15px; }
    body .product-entry .addToCart { height: 40px !important; font-size: 12.5px !important; border-radius: 10px !important; }
    body .products-container.grid { gap: 10px !important; }
    body .mySwiper .banner-square:not(.max--3) { border-radius: var(--modo-r); }
    body .mySwiper .banner-square:not(.max--3) h3 { font-size: 12.5px !important; padding: 5px 9px; }
    body .myStoreSwiper .s-block--features__item { padding: 22px 18px 20px !important; }
    body .myStoreSwiper .s-block--features__item::before { font-size: 84px; }
    body .container > .nav-header.bg-gray-100 { padding: 22px 18px !important; }
    body .store-footer .footer-container { text-align: center; }
    body .store-footer h3::after { inset-inline-start: 50%; translate: 50% 0; }
    html[dir="ltr"] body .store-footer h3::after { translate: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
    body::before, body::after { display: none !important; }
    body .store-notify h2 { animation: none !important; padding-inline-start: 0 !important; white-space: normal; flex: 1 !important; }
    body *, body *::before, body *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
    }
}

/* desktop: the floating category panel replaces the top menu toggle */
@media (min-width: 1024px) {
    body header.store-header .mburger,
    body header.store-header .search-btn.lg\:hidden { display: none !important; }
}

/* ---------- gaps between category / brand tiles ----------
   swiper runs with no spaceBetween, so each tile gets a transparent side border:
   the slide width (and swiper's math) stays the same, the visible card shrinks. */
body .mySwiper .banner-square {
    --modo-gap: 8px;
    border-inline: var(--modo-gap) solid transparent !important;
    background-clip: padding-box !important;
}
body .mySwiper .banner-square:not(.max--3) {
    border-radius: calc(var(--modo-r-lg) + var(--modo-gap)) / var(--modo-r-lg);
}
body .mySwiper .banner-square.max--3 {
    border-block: 0 !important;
    border-radius: calc(var(--modo-r) + var(--modo-gap)) / var(--modo-r);
    box-shadow: inset 0 0 0 1px var(--modo-line);
}
body .mySwiper .banner-square.max--3.swiper-slide-active { box-shadow: inset 0 0 0 1.5px var(--modo-ink), inset 0 -4px 0 var(--modo-volt); }
@media (hover: hover) {
    /* shadows follow the visible card, not the transparent gap */
    body .mySwiper .banner-square:not(.max--3):hover { box-shadow: none; filter: drop-shadow(0 18px 22px rgba(14, 17, 22, .28)); }
    body .mySwiper .banner-square.max--3:hover { box-shadow: inset 0 0 0 1.5px var(--modo-ink); filter: drop-shadow(0 10px 16px rgba(14, 17, 22, .14)); }
}
@media (max-width: 767px) {
    body .mySwiper .banner-square { --modo-gap: 5px; }
}

/* wallet balance badge (logged in): riyal symbol in white */
body header.store-header .s-wallet-summary-count,
body header.store-header .s-wallet-summary-count * { color: #fff !important; }
body header.store-header .s-wallet-summary-count img,
body header.store-header .s-wallet-summary-count img.sar-icon { filter: brightness(0) invert(1) !important; }
body header.store-header .s-wallet-summary-count [class*="sar"]::before { color: #fff !important; }
/* search placeholder: white on the dark search pill */
body header.store-header .s-search-input::placeholder { color: rgba(255, 255, 255, .85) !important; opacity: 1 !important; }
body header.store-header .s-search-input::-webkit-input-placeholder { color: rgba(255, 255, 255, .85) !important; opacity: 1 !important; }
/* account dropdown (logged in) opens over the dark nav row, not behind it */
body header.store-header #mainnav { position: relative; z-index: 70; }

/* phones: the account menu (profile, orders, wishlist, logout) is a bottom sheet
   above the floating chat / WhatsApp buttons */
@media (max-width: 767px) {
    body header.store-header:has(.s-user-menu-trigger-slot.active) { z-index: 10050 !important; }
    body header.store-header .s-user-menu-toggler.opened::before { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; background: rgba(14, 17, 22, .55) !important; }
    body header.store-header .s-user-menu-dropdown {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        z-index: 10051 !important;
        border: 0 !important;
        border-radius: 20px 20px 0 0 !important;
        background: #fff !important;
        box-shadow: 0 -20px 50px rgba(0, 0, 0, .3) !important;
        padding-bottom: env(safe-area-inset-bottom);
    }
    body header.store-header .s-user-menu-dropdown-header { display: flex !important; align-items: center; padding: 16px 20px !important; border-bottom: 1px solid var(--modo-line) !important; }
    body header.store-header .s-user-menu-dropdown-header-content p { color: var(--modo-ink) !important; font-weight: 800; }
    body header.store-header .s-user-menu-dropdown-header-close { top: 50% !important; transform: translateY(-50%); }
    body header.store-header .s-user-menu-dropdown-list { padding: 6px 0 12px !important; }
    body header.store-header .s-user-menu-dropdown-item a { padding: 14px 22px !important; font-size: 15px !important; color: var(--modo-ink) !important; border-bottom: 1px solid var(--modo-line); }
    body header.store-header .s-user-menu-dropdown-item:last-child a { border-bottom: 0; }
    body header.store-header .s-user-menu-dropdown-item-logout a,
    body header.store-header .s-user-menu-dropdown-item-logout a i { color: var(--modo-flame) !important; }
}

/* phones: logged-in header (wallet + cart + account) was wider than its third and ran into the logo */
@media (max-width: 767px) {
    body header.store-header #mainnav .container > .flex { gap: 6px; }
    body header.store-header #mainnav .container > .flex > div:first-child,
    body header.store-header #mainnav .container > .flex > div:last-child { flex: 1 1 0%; width: auto !important; min-width: 0; gap: 6px; }
    body header.store-header #mainnav .container > .flex > div:nth-child(2) { flex: none; }
    body header.store-header .navbar-brand img { max-height: 40px !important; max-width: 92px; }
    /* the money total stays on the cart page; the badge still shows the count */
    body header.store-header .s-cart-summary-total,
    body header.store-header .s-cart-summary-content { display: none !important; }
    body header.store-header .s-cart-summary-wrapper { width: 36px !important; min-width: 36px; padding: 0 !important; justify-content: center; }
    body header.store-header #customerLogin,
    body header.store-header .s-cart-summary-wrapper,
    body header.store-header .search-btn,
    body header.store-header .mburger,
    body header.store-header .s-user-menu-trigger-slot { width: 36px !important; height: 36px !important; flex: none; }
    body header.store-header .s-user-menu-wrapper { padding: 0 !important; margin: 0 !important; }
    body header.store-header .s-wallet-summary-count { top: -6px !important; inset-inline-end: -6px; font-size: 10px !important; padding: 0 4px !important; }
}
/* tablets: the footer's four fixed-width columns overflowed — lay them out 2 × 2 */
@media (min-width: 768px) and (max-width: 1023px) {
    body .store-footer .footer-container { display: grid !important; grid-template-columns: 1fr 1fr; gap: 32px 28px !important; align-items: start; }
    body .store-footer .footer-container > div { width: auto !important; max-width: none !important; min-width: 0; }
}
html, body { overflow-x: clip; }
/* account button (logged in) gets the same rounded frame as the other header buttons */
body header.store-header .s-user-menu-trigger-slot {
    display: inline-grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--modo-page);
    border: 1px solid var(--modo-line);
    color: var(--modo-ink);
    cursor: pointer;
}
body header.store-header .s-user-menu-trigger-slot i { font-size: 18px; color: inherit !important; }
@media (max-width: 767px) {
    body header.store-header .s-user-menu-trigger-slot { width: 36px !important; height: 36px !important; border-radius: 10px; }
    /* wallet button: icon only on phones (balance stays in the badge) */
    body header.store-header twsaa-cart-summary:has(.s-wallet-summary-count) .s-cart-summary-wrapper { width: 36px !important; }
}
@media (max-width: 374px) {
    body header.store-header #mainnav .container > .flex > div:first-child,
    body header.store-header #mainnav .container > .flex > div:last-child { gap: 4px; }
    body header.store-header :is(#customerLogin, .s-cart-summary-wrapper, .search-btn, .mburger, .s-user-menu-trigger-slot) { width: 32px !important; height: 32px !important; }
    body header.store-header .navbar-brand img { max-width: 76px; }
}


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

/* footer columns fade in without moving: a leftover transform on a column made it the frame
   of the certificate windows inside it (position: fixed), which then opened down the page */
@keyframes modo-footer-fade { from { opacity: 0; } to { opacity: 1; } }
@supports (animation-timeline: view()) {
    body .store-footer .footer-container > div { animation-name: modo-footer-fade !important; }
}
/* while a certificate window is open, the footer (and the column holding it) sits above the sticky header */
body .store-footer:has(.s-modal-container:not(.s-hidden)),
body .store-footer .footer-container > div:has(.s-modal-container:not(.s-hidden)) { position: relative; z-index: 100000 !important; }
/* …and its scroll fade is paused, so the window never fades with the column */
body .store-footer .footer-container > div:has(.s-modal-container:not(.s-hidden)) { animation: none !important; opacity: 1 !important; }
