/* ============================================================================================================
   OPTIMUS PRIME STOREFRONT v3 (2026-10-10) - loaded after shopfront.css + shop_chrome.css, on the storefront only.
   EliteSub's structure (slideshow hero with arrows, promise cards, clean product cards) with RexoPrime's energy
   (a night-blue hero with a gradient headline, a glowing flash-sale card with big countdown boxes, a category
   sidebar with logos and counts, a live status dot on every card). The hero is deliberately night-blue in both
   themes; everything else follows the shop's light/dark tokens.
   ============================================================================================================ */

:root {
    --hot: 343 85% 55%;
    --gold: 43 96% 56%;
    --night-1: 226 56% 9%;
    --night-2: 232 47% 15%;
    --tg: 200 79% 55%;
    --r-xl: 28px;
}

/* the custom-emoji renderer drops an img / video / lottie into <tg-emoji>; the box around it sets the size */
.sf3 tg-emoji:not(.ae) { display: grid; place-items: center; width: 100%; height: 100%; }
.sf3 tg-emoji:not(.ae) > img, .sf3 tg-emoji:not(.ae) > video, .sf3 tg-emoji:not(.ae) > .tge-emoji-lottie {
    width: 100% !important; height: 100% !important; object-fit: contain; vertical-align: 0 !important;
}
.sf3 .glyph { font-size: 1em; line-height: 1; }

/* ---------------------------------------------------------------- hero slideshow ---------------------------- */
.hero3 {
    position: relative; margin-top: 22px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
    padding: 46px 52px 26px; color: #fff;
    background:
        radial-gradient(60% 80% at 82% 18%, hsl(262 83% 58% / .38), transparent 62%),
        radial-gradient(55% 75% at 96% 92%, hsl(330 85% 58% / .30), transparent 60%),
        radial-gradient(70% 90% at 8% 100%, hsl(221 83% 53% / .40), transparent 62%),
        linear-gradient(135deg, hsl(var(--night-1)), hsl(var(--night-2)));
    box-shadow: 0 24px 60px -18px hsl(226 60% 12% / .55), inset 0 0 0 1px hsl(0 0% 100% / .07);
}
.hero3-glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: radial-gradient(hsl(0 0% 100% / .14) 1px, transparent 1.4px);
    background-size: 26px 26px;
    mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(80% 70% at 70% 40%, #000 20%, transparent 75%);
}
.slides { display: grid; }
.slide {
    grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center;
    opacity: 0; visibility: hidden; transform: translateX(28px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .55s;
}
[dir="rtl"] .slide { transform: translateX(-28px); }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.slide-copy { min-width: 0; padding-block: 6px 4px; }

.eyebrow3 {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
    background: hsl(0 0% 100% / .09); border: 1px solid hsl(0 0% 100% / .16); color: hsl(0 0% 100% / .92);
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.eyebrow3 b { padding: 2px 8px; border-radius: 999px; background: #fff; color: hsl(var(--hot)); letter-spacing: 0; }
.eb-hot { background: hsl(var(--hot) / .22); border-color: hsl(var(--hot) / .5); }
.eb-gold { background: hsl(var(--gold) / .16); border-color: hsl(var(--gold) / .45); color: hsl(45 100% 82%); }
.hero3 h1, .slide-h {
    font-family: var(--display); font-weight: 700; letter-spacing: -.035em; color: #fff; text-wrap: balance;
    margin: 18px 0 14px;
}
.hero3 h1 { font-size: clamp(34px, 4.5vw, 58px); line-height: 1.03; }
.slide-h { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.06; }
.grad {
    background: linear-gradient(92deg, #8AB0FF 0%, #B79BFF 46%, #FF7DB5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.lead { margin: 0 0 22px; max-width: 52ch; font-size: 16.5px; line-height: 1.6; color: hsl(0 0% 100% / .74); }
.lead b { color: #fff; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.bchip {
    display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px 0 5px; border-radius: 999px;
    background: hsl(0 0% 100% / .08); border: 1px solid hsl(0 0% 100% / .14); font-size: 13px; font-weight: 600;
    color: hsl(0 0% 100% / .92);
}
.bchip-ico { width: 24px; height: 24px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 3px; flex: none; font-size: 14px; }
.bchip-more { padding: 0 13px; color: hsl(0 0% 100% / .6); background: transparent; border-style: dashed; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn3 {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 26px;
    border-radius: 14px; font-weight: 700; font-size: 15.5px; border: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn3 svg { width: 18px; height: 18px; flex: none; }
.btn3:hover { transform: translateY(-2px); }
.btn3:focus-visible, .arrow:focus-visible, .dot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn3-primary { background: linear-gradient(135deg, hsl(221 83% 58%), hsl(245 80% 60%)); color: #fff; box-shadow: 0 12px 30px -8px hsl(221 83% 53% / .75); }
.btn3-hot { background: linear-gradient(135deg, hsl(var(--hot)), hsl(18 95% 56%)); color: #fff; box-shadow: 0 12px 30px -8px hsl(var(--hot) / .8); }
.btn3-tg { background: hsl(var(--tg)); color: #fff; box-shadow: 0 12px 30px -8px hsl(var(--tg) / .8); }
.safe3 { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: hsl(0 0% 100% / .72); }
.safe3 svg { width: 18px; height: 18px; color: hsl(142 69% 58%); flex: none; }

.big-price { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 18px; }
.big-price .now { font-family: var(--display); font-size: clamp(36px, 4vw, 50px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.big-price .now small { font-size: 15px; font-weight: 600; margin-left: 6px; color: hsl(0 0% 100% / .6); letter-spacing: 0; }
.big-price .was { font-size: 19px; color: hsl(0 0% 100% / .5); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.meta3 { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px 0 16px; }
.meta3 > span {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
    background: hsl(0 0% 100% / .08); border: 1px solid hsl(0 0% 100% / .12); font-size: 13px; font-weight: 600;
}
.meta3 .s { color: hsl(var(--gold)); letter-spacing: -1px; }

/* the art column */
.slide-art { position: relative; aspect-ratio: 6 / 5; width: min(100%, 520px); justify-self: center; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid hsl(0 0% 100% / .12); pointer-events: none; }
.ring.r1 { width: 96%; aspect-ratio: 1; border-color: hsl(0 0% 100% / .07); }
.ring.r2 { width: 70%; aspect-ratio: 1; border-style: dashed; border-color: hsl(0 0% 100% / .13); animation: spin 60s linear infinite; }
.ring.r3 { width: 42%; aspect-ratio: 1; background: radial-gradient(circle, hsl(250 90% 70% / .35), transparent 70%); border: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.otile {
    position: absolute; display: grid; place-items: center; background: #fff; border-radius: 26%;
    box-shadow: 0 18px 38px -12px hsl(230 60% 4% / .7), inset 0 0 0 1px hsl(0 0% 100% / .6);
    animation: float 7s ease-in-out infinite; font-size: 30px; padding: 12%;
}
/* a tile is a fixed box (width + aspect-ratio); the logo is pinned inside it, so the media can never stretch the tile */
.otile, .spot-tile { min-height: 0; min-width: 0; padding: 0 !important; overflow: hidden; }
.otile > tg-emoji, .otile > .glyph, .spot-tile > tg-emoji, .spot-tile > .glyph {
    position: absolute; inset: 16%; width: auto !important; height: auto !important; display: grid; place-items: center;
}
.spot-tile > tg-emoji, .spot-tile > .glyph { inset: 17%; }
.otile > .glyph { font-size: clamp(22px, 3vw, 40px); }
.spot-tile > .glyph { font-size: clamp(40px, 6vw, 84px); }
.art-orbit .o1 { width: 31%; aspect-ratio: 1; left: 34.5%; top: 31%; animation-duration: 8s; padding: 13%; z-index: 2; box-shadow: 0 30px 60px -16px hsl(250 80% 30% / .9), 0 0 0 10px hsl(0 0% 100% / .06); }
.art-orbit .o2 { width: 17%; aspect-ratio: 1; left: 9%; top: 14%; animation-delay: -1.2s; }
.art-orbit .o3 { width: 15%; aspect-ratio: 1; left: 72%; top: 9%; animation-delay: -2.6s; }
.art-orbit .o4 { width: 18%; aspect-ratio: 1; left: 77%; top: 52%; animation-delay: -3.4s; }
.art-orbit .o5 { width: 15%; aspect-ratio: 1; left: 52%; top: 77%; animation-delay: -4.1s; }
.art-orbit .o6 { width: 16%; aspect-ratio: 1; left: 13%; top: 63%; animation-delay: -5.2s; }
.art-orbit .o7 { width: 12%; aspect-ratio: 1; left: 40%; top: 4%; animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-2deg); } }
.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px hsl(260 100% 80% / .7); animation: twinkle 3.4s ease-in-out infinite; }
.spark.s1 { left: 30%; top: 22%; }
.spark.s2 { left: 68%; top: 34%; width: 5px; height: 5px; animation-delay: -1s; }
.spark.s3 { left: 24%; top: 82%; width: 6px; height: 6px; animation-delay: -2s; }
.spark.s4 { left: 88%; top: 80%; width: 5px; height: 5px; animation-delay: -2.6s; box-shadow: 0 0 14px 4px hsl(330 100% 75% / .7); }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }

.art-spot::before {
    content: ""; position: absolute; inset: 6% 8%; border-radius: 50%;
    background: radial-gradient(circle, hsl(250 95% 70% / .45), hsl(330 90% 60% / .18) 45%, transparent 70%); filter: blur(6px);
}
.slide-flash .art-spot::before { background: radial-gradient(circle, hsl(var(--hot) / .5), hsl(25 95% 55% / .2) 45%, transparent 70%); }
.art-spot { display: grid; place-items: center; }
.spot-tile {
    position: relative; width: 44%; aspect-ratio: 1;
    background: #fff; border-radius: 28%; display: grid; place-items: center; padding: 11%; font-size: 64px;
    box-shadow: 0 36px 70px -18px hsl(230 70% 5% / .85), 0 0 0 12px hsl(0 0% 100% / .07), 0 0 0 26px hsl(0 0% 100% / .035);
    animation: float 8s ease-in-out infinite;
}
.sticker {
    position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 14px;
    font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; white-space: nowrap;
    background: hsl(0 0% 100% / .1); border: 1px solid hsl(0 0% 100% / .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 16px 34px -14px hsl(230 70% 5% / .8); animation: float 7s ease-in-out infinite;
}
.st-off { right: 10%; top: 12%; background: linear-gradient(135deg, hsl(var(--hot)), hsl(18 95% 56%)); border: none; font-size: 22px; transform: rotate(6deg); animation-delay: -2s; }
.st-sold { right: 4%; top: 16%; animation-delay: -2s; }
.st-now { left: 4%; bottom: 14%; animation-delay: -4s; }

.art-pay { display: grid; place-items: center; }
.pay-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(100%, 470px); }
.pay-wall li {
    display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 14px; border-radius: 16px; background: #fff;
    color: hsl(222 47% 11%); font-size: 13.5px; font-weight: 700; box-shadow: 0 16px 32px -14px hsl(230 70% 5% / .75);
    animation: float 8s ease-in-out infinite; min-width: 0;
}
.pay-wall li:nth-child(3n+2) { animation-delay: -2.5s; }
.pay-wall li:nth-child(3n) { animation-delay: -5s; }
.pay-wall img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.pay-wall li.wide img { width: 52px; height: 18px; }
.pay-wall li.wide span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pay-wall li.wide { justify-content: center; }
.pay-wall span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.art-tg .tg-core {
    position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
    background: linear-gradient(160deg, hsl(199 89% 62%), hsl(205 80% 46%)); color: #fff; display: grid; place-items: center;
    box-shadow: 0 30px 70px -16px hsl(var(--tg) / .9), 0 0 0 14px hsl(var(--tg) / .14), 0 0 0 30px hsl(var(--tg) / .06);
}
.art-tg .tg-core svg { width: 46%; height: 46%; margin-left: -6%; }
.art-tg .otile { width: 15%; aspect-ratio: 1; }
.art-tg .t1 { left: 12%; top: 12%; }
.art-tg .t2 { left: 74%; top: 10%; animation-delay: -2s; }
.art-tg .t3 { left: 76%; top: 68%; animation-delay: -3.5s; }
.art-tg .t4 { left: 10%; top: 70%; animation-delay: -5s; }

/* nav: progress dots left, arrows right (EliteSub) */
.hero3-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.dots { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; padding: 0; border: none; border-radius: 999px; background: hsl(0 0% 100% / .28); cursor: pointer; overflow: hidden; position: relative; transition: width .3s ease, background .3s; }
.dot.on { width: 42px; background: hsl(0 0% 100% / .22); }
.dot i { position: absolute; inset: 0; width: 0; background: #fff; border-radius: inherit; }
.dot.on i { width: 100%; }
.hero3.ticking .dot.on i { animation: fill 6.5s linear both; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.arrows { display: flex; gap: 10px; }
.arrow {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
    background: hsl(0 0% 100% / .1); border: 1px solid hsl(0 0% 100% / .18); transition: background .15s, transform .15s;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.arrow:hover { background: #fff; color: hsl(var(--night-1)); transform: scale(1.06); }
.arrow svg { width: 19px; height: 19px; }
[dir="rtl"] .arrow svg { transform: scaleX(-1); }

/* ---------------------------------------------------------------- promises ---------------------------------- */
.promises3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.promise3 {
    display: flex; gap: 14px; padding: 20px; border-radius: 18px; background: hsl(var(--card));
    border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.promise3:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.promise3 .tile { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.promise3 .tile svg { width: 22px; height: 22px; }
.promise3 b { display: block; font-family: var(--display); font-size: 15.5px; }
.promise3 > span > span { font-size: 13.5px; color: hsl(var(--muted-foreground)); line-height: 1.5; }

/* ---------------------------------------------------------------- countdown --------------------------------- */
.countdown { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.countdown .cd-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; opacity: .8; }
.countdown b {
    min-width: 46px; padding: 9px 8px; border-radius: 11px; text-align: center; font-family: var(--display); font-size: 21px; font-weight: 700;
    font-variant-numeric: tabular-nums; background: hsl(222 47% 9%); color: #fff;
}
.countdown i { font-style: normal; font-weight: 800; opacity: .55; }
.hero3 .countdown { margin: 0 0 22px; color: #fff; }
.hero3 .countdown b { background: hsl(0 0% 100% / .1); border: 1px solid hsl(0 0% 100% / .18); }
html[data-theme="dark"] .flash3 .countdown b { background: linear-gradient(160deg, hsl(var(--hot)), hsl(12 90% 50%)); }

/* ---------------------------------------------------------------- flash deals (RexoPrime card) -------------- */
.flash3 {
    margin-top: 40px; padding: 26px; border-radius: 24px; position: relative;
    background:
        radial-gradient(60% 120% at 0% 0%, hsl(var(--hot) / .12), transparent 60%),
        radial-gradient(50% 120% at 100% 0%, hsl(25 95% 55% / .10), transparent 55%),
        hsl(var(--card));
    border: 1px solid hsl(var(--hot) / .38);
    box-shadow: 0 0 0 5px hsl(var(--hot) / .06), 0 24px 50px -24px hsl(var(--hot) / .5);
}
.flash3-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.flash3-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex: none;
              background: linear-gradient(135deg, hsl(var(--hot)), hsl(25 95% 55%)); box-shadow: 0 10px 24px -8px hsl(var(--hot) / .8); }
.flash3-ico svg { width: 24px; height: 24px; }
.flash3-head h2 { font-size: 26px; text-transform: uppercase; letter-spacing: -.01em; }
.flash3-head p { margin: 2px 0 0; color: hsl(var(--muted-foreground)); font-size: 14px; }
.flash3-head .countdown { margin-left: auto; color: hsl(var(--foreground)); }
[dir="rtl"] .flash3-head .countdown { margin-left: 0; margin-right: auto; }

/* ---------------------------------------------------------------- catalogue: sidebar + grid ----------------- */
.catalog3 { margin-top: 48px; }
.section-head3 { margin-bottom: 20px; }
.section-head3 .kicker { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--hot)); }
.section-head3 h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 4px; }
.section-head3 p { margin: 4px 0 0; color: hsl(var(--muted-foreground)); font-size: 14.5px; }
.catalog3-body { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 26px; align-items: start; }
.cat-side { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; padding: 2px; margin: -2px; }
.sf3 .pills { display: flex; flex-direction: column; gap: 6px; overflow: visible; padding: 0; }
.sf3 .pill {
    width: 100%; height: 48px; padding: 0 12px 0 8px; border-radius: 13px; justify-content: flex-start; gap: 10px;
    background: hsl(var(--card)); border: 1px solid hsl(var(--border)); color: hsl(var(--foreground));
    font-size: 14px; font-weight: 600; text-align: left;
}
[dir="rtl"] .sf3 .pill { text-align: right; padding: 0 8px 0 12px; }
.sf3 .pill:hover { border-color: hsl(var(--primary) / .6); background: hsl(var(--primary) / .04); }
.sf3 .pill.active { background: hsl(var(--primary)); border-color: transparent; color: hsl(var(--primary-foreground)); box-shadow: 0 10px 24px -10px hsl(var(--primary) / .7); }
.pill-ico { width: 32px; height: 32px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 4px; flex: none; font-size: 17px;
            box-shadow: inset 0 0 0 1px hsl(var(--border)); }
.pill-all { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); box-shadow: none; }
.pill-all svg { width: 18px; height: 18px; }
.sf3 .pill.active .pill-all { background: hsl(0 0% 100% / .2); color: #fff; }
.pill-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-n { flex: none; min-width: 28px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center;
          font-size: 11.5px; font-weight: 700; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.sf3 .pill.active .pill-n { background: hsl(0 0% 100% / .22); color: #fff; }

.toolbar3 { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar3 .field { flex: 1 1 280px; }
.sort3 { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: hsl(var(--muted-foreground)); }
.sort3 select {
    height: 48px; padding: 0 38px 0 14px; border-radius: var(--radius); border: 1px solid hsl(var(--input)); background-color: hsl(var(--card));
    color: hsl(var(--foreground)); font: 600 14px var(--sans); cursor: pointer; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
}
[dir="rtl"] .sort3 select { padding: 0 14px 0 38px; background-position: left 13px center; }
.sort3 select:focus { outline: none; border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / .16); }

/* ---------------------------------------------------------------- product cards ----------------------------- */
.sf3 .products { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 20px; }
.sf3 .product {
    display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: hsl(var(--card));
    border: 1px solid hsl(var(--border)); box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sf3 .product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: hsl(var(--primary) / .45); }
.sf3 .product-media {
    position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid hsl(var(--border));
    background:
        radial-gradient(90% 80% at 50% 45%, hsl(0 0% 100% / .75), transparent 62%),
        linear-gradient(140deg, hsl(var(--h) 85% 93%), hsl(calc(var(--h) + 50) 80% 90%));
}
html[data-theme="dark"] .sf3 .product-media {
    background:
        radial-gradient(90% 80% at 50% 45%, hsl(var(--h) 70% 40% / .35), transparent 62%),
        linear-gradient(140deg, hsl(var(--h) 45% 17%), hsl(calc(var(--h) + 50) 45% 11%));
}
.logo-tile {
    width: 84px; height: 84px; border-radius: 24px; background: #fff; display: grid; place-items: center; padding: 14px; font-size: 40px;
    box-shadow: 0 14px 28px -12px hsl(var(--h) 60% 25% / .55), inset 0 0 0 1px hsl(222 47% 11% / .05);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.sf3 .product:hover .logo-tile { transform: scale(1.07) rotate(-3deg); }
.sf3 .logo-tile tg-emoji:not(.ae) { width: 100% !important; height: 100% !important; }
.sf3 .product-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sf3 .badge { position: absolute; top: 10px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.sf3 .badge-off { left: 10px; background: hsl(var(--hot)); color: #fff; box-shadow: 0 6px 14px -4px hsl(var(--hot) / .7); }
.sf3 .badge-feat { top: auto; bottom: 10px; left: 10px; background: hsl(222 47% 11% / .85); color: #fff; font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase; }
.sf3 .badge-now { right: 10px; background: hsl(var(--success)); color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.sf3 .badge-man { right: 10px; background: hsl(var(--warning)); color: #1c1200; display: inline-flex; align-items: center; gap: 4px; }
.sf3 .badge-oos { right: 10px; background: hsl(var(--destructive)); color: #fff; }
[dir="rtl"] .sf3 .badge-off, [dir="rtl"] .sf3 .badge-feat { left: auto; right: 10px; }
[dir="rtl"] .sf3 .badge-now, [dir="rtl"] .sf3 .badge-man, [dir="rtl"] .sf3 .badge-oos { right: auto; left: 10px; }
.sf3 .product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-cat { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.sf3 .product-title {
    font-family: var(--display); font-weight: 600; font-size: 15.5px; line-height: 1.3; min-height: 2.6em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sf3 .product-title:hover { color: hsl(var(--primary)); }
.sf3 .stars { display: flex; align-items: center; gap: 6px; font-size: 12px; color: hsl(var(--muted-foreground)); }
.sf3 .stars .s { color: hsl(var(--gold)); letter-spacing: -1px; font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: hsl(var(--success)); font-variant-numeric: tabular-nums; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px hsl(var(--success) / .18); flex: none; }
.status.oos { color: hsl(var(--destructive)); }
.status.oos i { box-shadow: 0 0 0 3px hsl(var(--destructive) / .16); }
.sf3 .warranty { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: hsl(var(--muted-foreground)); }
.sf3 .warranty svg { width: 14px; height: 14px; color: hsl(var(--primary)); flex: none; }
.sf3 .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; }
.sf3 .price { font-family: var(--display); font-size: 23px; font-weight: 700; color: hsl(var(--foreground)); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sf3 .price small { font-size: 11.5px; font-weight: 700; color: hsl(var(--muted-foreground)); margin-left: 4px; letter-spacing: .02em; }
.sf3 .strike { font-size: 13px; color: hsl(var(--muted-foreground)); text-decoration: line-through; }
.sf3 .view-btn {
    width: 100%; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px;
    border-radius: 12px; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); font-weight: 700; font-size: 14px;
    transition: box-shadow .15s, filter .15s;
}
.sf3 .view-btn svg { width: 16px; height: 16px; transition: transform .15s; }
.sf3 .view-btn:hover { box-shadow: 0 10px 22px -8px hsl(var(--primary) / .7); }
.sf3 .view-btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .sf3 .view-btn svg { transform: scaleX(-1); }
.sf3 .view-btn:focus-visible, .sf3 .product-title:focus-visible, .sf3 .pill:focus-visible { outline: 3px solid hsl(var(--primary)); outline-offset: 2px; }
.sf3 .product.is-oos .product-media { filter: grayscale(.85); opacity: .6; }
.sf3 .product.is-oos .price { color: hsl(var(--muted-foreground)); }
.sf3 .product.is-oos .view-btn { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); box-shadow: none; }
.sf3 .nothing { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: hsl(var(--muted-foreground)); }

/* ---------------------------------------------------------------- responsive -------------------------------- */
@media (max-width: 1240px) { .catalog3-body { grid-template-columns: 236px minmax(0, 1fr); } }
@media (max-width: 1100px) {
    .hero3 { padding: 30px 30px 22px; }
    .slide { grid-template-columns: 1fr; gap: 12px; align-items: start; align-content: start; }
    .slide-art { order: -1; width: min(70%, 330px); }
    .art-pay { width: 100%; aspect-ratio: auto; padding-block: 6px; }
    .promises3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog3-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .cat-side { position: static; max-height: none; overflow: visible; margin: 0; padding: 0; }
    .sf3 .pills { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; margin: 0 -2px; scroll-snap-type: x proximity; }
    .sf3 .pills::-webkit-scrollbar { display: none; }
    .sf3 .pill { width: auto; flex: none; height: 44px; scroll-snap-align: start; }
    .pill-ico { width: 28px; height: 28px; }
    .pill-name { flex: none; }
}
@media (max-width: 760px) {
    .sf3 .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sf3 .product-body { padding: 12px; gap: 6px; }
    .sf3 .product-title { font-size: 14px; }
    .sf3 .price { font-size: 19px; }
    .logo-tile { width: 66px; height: 66px; border-radius: 19px; padding: 11px; }
    .sf3 .view-btn { height: 40px; font-size: 13px; }
    .flash3 { padding: 18px; }
    .flash3-head .countdown { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
    .hero3 { padding: 22px 18px 18px; border-radius: 22px; }
    .slide-art { width: min(64%, 230px); }
    .art-pay { width: 100%; }
    .sticker { font-size: 12px; padding: 6px 10px; border-radius: 11px; }
    .st-off { font-size: 16px; }
    .st-sold { right: -4%; top: 4%; }
    .st-now { left: -4%; bottom: 6%; }
    .brand-chips .bchip:nth-child(n+5):not(.bchip-more) { display: none; }
    .hero3 h1, .slide-h { margin: 12px 0 10px; }
    .big-price { margin-bottom: 14px; }
    .arrows { display: none; }
    .hero3-nav { justify-content: center; margin-top: 16px; }
    .hero3 h1 { font-size: 32px; }
    .slide-h { font-size: 27px; }
    .lead { font-size: 15px; margin-bottom: 18px; }
    .brand-chips { margin-bottom: 20px; }
    .bchip { height: 30px; font-size: 12px; }
    .bchip-ico { width: 21px; height: 21px; }
    .btn3 { height: 48px; padding: 0 20px; font-size: 15px; width: 100%; }
    .cta-row { gap: 12px; }
    .safe3 { font-size: 13px; }
    .promises3 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .promise3 { padding: 15px; }
    .pay-wall { gap: 8px; }
    .pay-wall li { height: 48px; padding: 0 10px; font-size: 12px; gap: 7px; }
    .pay-wall img { width: 22px; height: 22px; }
    .countdown b { min-width: 40px; font-size: 18px; padding: 7px 6px; }
    .sort3 { width: 100%; }
    .sort3 select { flex: 1; }
    .sf3 .badge { font-size: 10px; padding: 4px 8px; }
}
@media (max-width: 380px) {
    .sf3 .products { gap: 10px; }
    .sf3 .product-body { padding: 10px; }
    .logo-tile { width: 58px; height: 58px; }
}

/* ---------------------------------------------------------------- motion off -------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .slide { transition: none; transform: none; }
    .otile, .spot-tile, .sticker, .pay-wall li, .spark, .ring.r2 { animation: none; }
    .hero3.ticking .dot.on i { animation: none; }
    .sf3 .product, .logo-tile, .btn3 { transition: none; }
}
