/* =========================================================
   Buyonix – Design system & homepage styles
   ========================================================= */
:root {
  --brand: #F7931E;
  --brand-2: #EF4123;
  --grad: linear-gradient(135deg, #FFA53A 0%, #F7931E 35%, #EF4123 100%);
  --ink: #0A0A0E;
  --ink-2: #131319;
  --ink-3: #1D1D26;
  --bg: #F4F4F7;
  --surface: #FFFFFF;
  --text: #15151C;
  --muted: #6C6C7A;
  --line: #E6E6EC;
  --green: #12A150;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16,16,24,.05), 0 2px 8px rgba(16,16,24,.04);
  --shadow: 0 10px 30px -10px rgba(16,16,24,.18);
  --shadow-lg: 0 30px 60px -20px rgba(16,16,24,.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --header-h: 128px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }
ul { list-style: none; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; }

:root { --gutter: clamp(16px, 3.2vw, 64px); --maxw: 1840px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; margin-top: 40px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hide-sm { }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(239,65,35,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(239,65,35,.75); }
.btn--ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--outline { border: 1.5px solid var(--text); }
.btn--outline:hover { background: var(--text); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1ebe5b; }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; font-style: normal; border: 2px solid var(--ink); }
.badge-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- Announcement ---------- */
.announce { background: #000; color: #c9c9d3; font-size: 13px; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; overflow: hidden; }
.announce__track { display: flex; gap: 36px; }
.announce__track span, .announce__phone { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.announce svg { width: 16px; height: 16px; color: var(--brand); }
.announce__phone { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,14,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.06); transition: box-shadow .3s; }
.header.is-stuck { box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.header__main { display: flex; align-items: center; gap: 28px; height: 76px; }
.header__burger { display: none; }
.logo img { height: 54px; width: auto; margin: -6px 0 -6px -10px; }
.search { position: relative; flex: 1; max-width: 640px; display: flex; align-items: center; height: 48px; background: #fff; border-radius: 999px; padding: 4px; margin: 0 auto; }
.search__cat { height: 100%; padding: 0 30px 0 16px; color: var(--text); font-weight: 600; font-size: 14px; border-right: 1px solid var(--line); appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315151C' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; cursor: pointer; outline: none; }
.search input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; color: var(--text); outline: none; font-size: 15px; }
.search input::placeholder { color: #9a9aa6; }
.search__btn { width: 44px; height: 40px; border-radius: 999px; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: filter .2s; }
.search__btn:hover { filter: brightness(1.08); }
.search__results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); max-height: 420px; overflow: auto; }
.search__results.is-open { opacity: 1; visibility: visible; transform: none; }
.sr { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; font-size: 14px; }
.sr:hover { background: var(--bg); }
.sr img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.sr span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr b { color: var(--brand-2); white-space: nowrap; }
.sr-empty { padding: 16px; color: var(--muted); font-size: 14px; }

.header__actions { display: flex; align-items: center; gap: 4px; }
.cart-btn { width: auto; padding: 0 10px 0 10px; gap: 10px; display: inline-flex; }
.cart-btn .badge { right: auto; left: 20px; top: 2px; }
.cart-btn__label { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.cart-btn__label small { font-size: 11px; color: #9a9aa6; }
.cart-btn__label b { font-size: 14px; }

.nav { border-top: 1px solid rgba(255,255,255,.06); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 50px; }
.nav__all { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; border-radius: 10px; background: rgba(255,255,255,.07); font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav__all svg { width: 18px; height: 18px; color: var(--brand); }
.nav__links { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: #cfcfd8; white-space: nowrap; transition: color .2s, background .2s; }
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__links a.hot { color: var(--brand); font-weight: 600; }
.nav__wa { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #25D366; white-space: nowrap; }

/* ---------- Drawers ---------- */
.overlay { position: fixed; inset: 0; background: rgba(5,5,10,.55); backdrop-filter: blur(3px); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; z-index: 100; display: flex; flex-direction: column; transition: transform .4s var(--ease), visibility .4s; visibility: hidden; }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 20px; }
.drawer__head h3 span { color: var(--muted); font-weight: 500; }
.drawer__head .icon-btn { color: var(--text); background: var(--bg); }
.drawer--left .drawer__head { background: var(--ink); border: 0; }
.drawer--left .drawer__head .icon-btn { color: #fff; background: rgba(255,255,255,.08); }
.drawer__logo { height: 34px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.mnav a { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav a > span { width: 40px; height: 40px; border-radius: 12px; background: var(--tone); display: grid; place-items: center; }
.mnav a > span svg { width: 22px; height: 22px; }
.mnav .chev { margin-left: auto; width: 16px; color: var(--muted); }
.mnav--plain a { font-weight: 500; color: var(--muted); }
.drawer__wa { margin: 16px 20px 20px; }

/* Cart */
.free-ship { padding: 0 20px; }
.free-ship p { font-size: 14px; padding-top: 14px; }
.free-ship .bar { height: 6px; background: var(--bg); border-radius: 99px; margin: 10px 0 4px; overflow: hidden; }
.free-ship .bar i { display: block; height: 100%; background: var(--grad); border-radius: inherit; transition: width .5s var(--ease); }
.ci { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 84px; height: 84px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.ci__info p { font-size: 14px; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci__info > b { display: block; margin: 4px 0 8px; }
.ci__row { display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; height: 36px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; }
.qty button svg { width: 15px; height: 15px; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.ci__rm { color: var(--muted); padding: 6px; }
.ci__rm:hover { color: var(--brand-2); }
.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart-foot__row { display: flex; justify-content: space-between; font-size: 17px; }
.cart-foot__note { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.empty { text-align: center; padding: 60px 10px; }
.empty > span { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.empty > span svg { width: 36px; height: 36px; color: var(--muted); }
.empty h4 { font-size: 18px; margin-bottom: 6px; }
.empty p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); padding: 24px 0 36px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; left: -300px; top: -400px; background: radial-gradient(circle, rgba(247,147,30,.16), transparent 60%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; position: relative; }
.slider { position: relative; border-radius: 26px; overflow: hidden; min-height: 520px; background: #000; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: scale(1.08); transition: transform 7s ease-out; }
.slide.is-active .slide__img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 45%, transparent 70%); }
.slide__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 56px; max-width: 600px; color: #fff; }
.slide__content > * { opacity: 0; transform: translateY(18px); transition: .7s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .1s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .2s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .3s; }
.slide h1, .slide h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; margin: 18px 0 16px; }
.slide p { font-size: 18px; color: #c8c8d2; max-width: 460px; }
.slide p b { color: #fff; }
.slide__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--brand); background: rgba(247,147,30,.12); border: 1px solid rgba(247,147,30,.3); }
.eyebrow svg { width: 14px; height: 14px; }
.slider__controls { position: absolute; z-index: 3; left: 56px; bottom: 32px; display: flex; align-items: center; gap: 14px; }
.slider__arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); transition: background .2s; }
.slider__arrow:hover { background: rgba(255,255,255,.22); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots button { width: 28px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; transition: width .4s var(--ease); }
.slider__dots button.is-active { width: 56px; }
.slider__dots button i { display: block; height: 100%; width: 0; background: var(--grad); }
.slider__dots button.is-active i { animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }

.hero__side { display: grid; gap: 20px; }
.promo { position: relative; border-radius: 22px; padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; color: #fff; transition: transform .35s var(--ease); isolation: isolate; }
.promo:hover { transform: translateY(-4px); }
.promo--a { background: radial-gradient(120% 120% at 100% 100%, #EF4123 0%, #F7931E 45%, #FFB347 100%); }
.promo--b { background: linear-gradient(160deg, #23232e 0%, #15151c 100%); border: 1px solid rgba(255,255,255,.08); }
.promo > div { position: relative; z-index: 2; max-width: 62%; }
.promo h3 { font-size: 24px; font-weight: 700; margin: 10px 0 8px; }
.promo__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.promo__price { font-size: 14px; opacity: .9; }
.promo__price b { font-size: 18px; }
.promo img { position: absolute; right: -14px; bottom: -10px; width: 58%; max-height: 80%; object-fit: contain; z-index: -1; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.promo--b img { mix-blend-mode: normal; border-radius: 16px; width: 36%; max-height: none; aspect-ratio: 1; object-fit: cover; right: 18px; bottom: 50%; transform: translateY(50%) rotate(4deg); z-index: 1; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.promo--b:hover img { transform: translateY(50%) rotate(0) scale(1.05); }
.promo:hover img { transform: scale(1.06) rotate(-2deg); }

/* ---------- Trust ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon { width: 50px; height: 50px; border-radius: 14px; background: #FFF2E5; color: var(--brand-2); display: grid; place-items: center; flex-shrink: 0; }
.trust__icon svg { width: 26px; height: 26px; }
.trust__item b { display: block; font-size: 15px; }
.trust__item small { color: var(--muted); font-size: 13px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 24px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand-2); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat { background: var(--surface); border-radius: var(--radius); padding: 22px 14px 18px; text-align: center; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.cat__icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 22px; background: var(--tone); display: grid; place-items: center; color: var(--ink); transition: transform .4s var(--ease), background .3s, color .3s; }
.cat__icon svg { width: 36px; height: 36px; }
.cat:hover .cat__icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cat b { display: block; font-size: 15px; font-weight: 600; }
.cat small { color: var(--muted); font-size: 13px; }

/* ---------- Deals ---------- */
.deals { padding-top: 0; }
.deals__box { position: relative; background: var(--ink); border-radius: 28px; padding: 36px; overflow: hidden; }
.deals__box::before { content: ""; position: absolute; right: -200px; top: -250px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(239,65,35,.28), transparent 65%); pointer-events: none; }
.section__head--light { color: #fff; position: relative; align-items: center; }
.deals__title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.deals__title p { color: #9a9aa6; font-size: 14px; }
.deals__bolt { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(239,65,35,.7); animation: pulse 2s infinite; }
.deals__bolt svg { width: 26px; height: 26px; color: #fff; }
@keyframes pulse { 50% { box-shadow: 0 10px 40px 0 rgba(239,65,35,.9); } }
.countdown { display: flex; align-items: center; gap: 6px; margin-left: 12px; }
.countdown div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 6px 10px; min-width: 56px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-size: 22px; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: #9a9aa6; }
.countdown i { font-style: normal; font-weight: 700; color: var(--brand); }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.12); transition: background .2s; }
.rail-btn:hover { background: var(--brand-2); border-color: var(--brand-2); }
.rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-flow: row; gap: 18px; overflow: visible !important; padding-bottom: 0; }
.rail.is-in .card { animation: cardIn .45s var(--ease) both; }
.rail.is-in .card:nth-child(2) { animation-delay: .04s; }
.rail.is-in .card:nth-child(3) { animation-delay: .08s; }
.rail.is-in .card:nth-child(4) { animation-delay: .12s; }
.rail.is-in .card:nth-child(5) { animation-delay: .16s; }
.rail.is-in .card:nth-child(n+6) { animation-delay: .2s; }

/* ---------- Product card ---------- */
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid.is-in .card { animation: cardIn .5s var(--ease) both; }
.grid.is-in .card:nth-child(2) { animation-delay: .04s; } .grid.is-in .card:nth-child(3) { animation-delay: .08s; }
.grid.is-in .card:nth-child(4) { animation-delay: .12s; } .grid.is-in .card:nth-child(5) { animation-delay: .16s; }
.grid.is-in .card:nth-child(n+6) { animation-delay: .2s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__off { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--brand-2); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; }
.tag { position: absolute; z-index: 2; top: 42px; left: 12px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: var(--ink); color: #fff; letter-spacing: .02em; }
.tag--new { background: #2563EB; }
.tag--hot { background: #F7931E; }
.tag--deal { background: var(--green); }
.card__wish { position: absolute; z-index: 2; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--text); transition: transform .2s, color .2s; }
.card__wish svg { width: 18px; height: 18px; }
.card__wish:hover { transform: scale(1.1); }
.card__wish.is-on { color: var(--brand-2); }
.card__wish.is-on svg path { fill: currentColor; }
.card__quick { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; transform: translateY(140%); transition: transform .35s var(--ease), background .2s; }
.card__quick svg { width: 18px; height: 18px; }
.card__quick:hover { background: var(--brand-2); }
.card:hover .card__quick { transform: none; }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--line); }
.card__specs { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.card__title { font-family: var(--font); font-size: 14.5px; font-weight: 500; line-height: 1.4; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.card__title a:hover { color: var(--brand-2); }
.card__meta { display: flex; align-items: center; gap: 6px; margin: 8px 0 10px; }
.card__meta small { color: var(--muted); font-size: 12px; }
.stars { display: inline-flex; gap: 2px; color: #FFB400; }
.stars svg { width: 16px; height: 16px; }
.stars--sm { align-items: center; gap: 4px; font-size: 13px; color: var(--text); }
.stars--sm svg { width: 14px; height: 14px; color: #FFB400; }
.card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price b { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--text); }
.price s { color: #a0a0ac; font-size: 13px; }
.card__add { width: 40px; height: 40px; border-radius: 12px; background: #FFF2E5; color: var(--brand-2); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; flex-shrink: 0; }
.card__add:hover { background: var(--grad); color: #fff; transform: scale(1.05); }
.card--rail { border: 0; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: .25s var(--ease); }
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--ink); color: #fff; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.bento__card { position: relative; border-radius: 24px; overflow: hidden; min-height: 280px; padding: 30px; display: flex; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.bento__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.bento__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 60%; }
.bento__text h3 { font-size: 30px; font-weight: 800; margin-bottom: 4px; }
.bento__text p { font-size: 14px; opacity: .8; margin-bottom: 8px; }
.bento__text .btn { margin-top: auto; }
.bento__card img { position: absolute; right: 0; bottom: 0; width: 55%; height: 100%; object-fit: contain; object-position: bottom right; z-index: 1; transition: transform .6s var(--ease); }
.bento__card:hover img { transform: scale(1.06); }
.bento__card--kb { background: #000 url('../assets/hero-gaming.jpg') no-repeat 85% 60% / cover; color: #fff; }
.bento__card--kb::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.75), transparent 70%); }
.bento__card--kb img { display: none; }
.bento__card--pb { background: #FFE9D6; }
.bento__card--ear { background: #E6ECF7; }
.bento__card--pb img, .bento__card--ear img { mix-blend-mode: multiply; width: 60%; height: 80%; }

/* ---------- Feature ---------- */
.feature { position: relative; overflow: hidden; border-radius: 30px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; padding: 64px; isolation: isolate; }
.feature__glow { position: absolute; z-index: -1; width: 700px; height: 700px; right: -150px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(247,147,30,.35) 0%, rgba(239,65,35,.12) 40%, transparent 65%); }
.feature h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; margin: 18px 0 14px; }
.feature p { color: #b8b8c4; font-size: 17px; max-width: 520px; }
.feature__list { display: flex; gap: 14px; margin: 28px 0 32px; flex-wrap: wrap; }
.feature__list li { padding: 14px 20px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.feature__list b { display: block; font-family: var(--display); font-size: 24px; }
.feature__list span { font-size: 13px; color: #9a9aa6; }
.feature__img { display: grid; place-items: center; }
.feature__img img { width: 100%; max-width: 480px; border-radius: 24px; background: #fff; padding: 16px; transform: rotate(3deg); box-shadow: 0 40px 80px -20px rgba(239,65,35,.45); transition: transform .6s var(--ease); }
.feature:hover .feature__img img { transform: rotate(0) scale(1.02); }

/* ---------- Brands ---------- */
.brands { padding: 30px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 70px; width: max-content; animation: marquee 35s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--display); font-size: 28px; font-weight: 800; color: #c4c4ce; letter-spacing: -.02em; white-space: nowrap; transition: color .2s; }
.marquee__track span:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reviews ---------- */
.rating-sum { display: flex; align-items: center; gap: 12px; }
.rating-sum > b { font-family: var(--display); font-size: 44px; font-weight: 800; }
.rating-sum small { display: block; color: var(--muted); font-size: 13px; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review blockquote { font-size: 15px; color: #33333d; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; }
.review figcaption b { display: block; font-size: 14px; }
.review figcaption small { color: var(--muted); font-size: 12px; }
.review figcaption em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; background: var(--bg); padding: 4px 8px; border-radius: 6px; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { border-radius: 28px; padding: 48px 56px; background: var(--grad); color: #fff; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; position: relative; overflow: hidden; }
.newsletter::after { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.1); }
.newsletter h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 8px; }
.newsletter p { opacity: .9; }
.newsletter__form { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 12px 28px -8px rgba(0,0,0,.22); }
.newsletter__form input { flex: 1; min-width: 0; height: 44px; padding: 0 18px; color: #111118; background: transparent; border: 0; outline: none; font-size: 14.5px; }
.newsletter__form input::placeholder { color: #71717a; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a6a6b2; padding-top: 72px; margin-top: 48px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { height: 56px; margin-left: -12px; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; max-width: 360px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--grad); transform: translateY(-3px); }
.footer__col summary { list-style: none; color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; margin-bottom: 18px; cursor: default; }
.footer__col summary::-webkit-details-marker { display: none; }
.footer__col li { margin-bottom: 11px; font-size: 14px; }
.footer__col a:hover { color: var(--brand); }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--brand); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 12px; font-weight: 600; color: #d6d6de; }

/* ---------- Floating / toast / bottom nav ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37,211,102,.6); transition: transform .25s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; visibility: hidden; background: var(--ink); color: #fff; padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; max-width: calc(100vw - 32px); transition: .35s var(--ease); }
.toast.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; padding: 3px; }
.toast span b { display: block; color: var(--brand); }

.bottom-nav { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .rail { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { grid-template-columns: 1fr 290px; }
  .nav__wa { display: none; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { grid-template-columns: 1fr 1fr; }
  .promo { min-height: 200px; }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .grid, .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--kb { grid-column: 1 / -1; }
  .feature { grid-template-columns: 1fr; padding: 48px; }
  .feature__img img { max-width: 380px; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: minmax(0, 1fr); }
  .newsletter > * { min-width: 0; width: 100%; max-width: 100%; }
}

@media (max-width: 860px) {
  :root { --header-h: 112px; }
  .announce__phone { display: none; }
  .announce__inner { justify-content: space-between; gap: 8px; }
  .announce__track { min-width: 0; flex: 1; overflow: hidden; }
  .announce__track span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .announce__track span:not(:first-child) { display: none; }
  .header__main { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 12px; gap: 8px 6px; }
  .header__burger { display: inline-grid; margin-left: -8px; }
  .logo { margin-right: auto; }
  .logo img { height: 46px; margin: -6px 0 -6px -8px; }
  .hide-sm { display: none !important; }
  .cart-btn { width: 44px; padding: 0; }
  .cart-btn .badge { left: auto; right: 2px; }
  .search { order: 5; flex-basis: 100%; max-width: none; height: 46px; }
  .search__cat { display: none; }
  .search input { padding-left: 16px; }
  .nav { display: none; }

  .bottom-nav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; font-size: 11px; font-weight: 600; color: var(--muted); }
  .bottom-nav a svg { width: 22px; height: 22px; }
  .bottom-nav a.is-active { color: var(--brand-2); }
  .bottom-nav .badge { top: 0; right: calc(50% - 22px); border-color: #fff; }
  body { padding-bottom: 68px; }
  .wa-float { bottom: 84px; right: 16px; width: 52px; height: 52px; }
  .toast { bottom: 90px; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section--tight { padding: 16px 0; }
  .section__head { margin-bottom: 22px; }

  .hero { padding: 14px 0 22px; }
  .slider { min-height: 0; aspect-ratio: auto; height: 540px; border-radius: 22px; }
  .slide__img { object-position: 72% center; }
  .slide::after { background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.75) 42%, rgba(0,0,0,.05) 75%); }
  .slide__content { justify-content: flex-end; padding: 24px 22px 84px; }
  .slide h1, .slide h2 { font-size: 34px; margin: 14px 0 10px; }
  .slide p { font-size: 15px; }
  .slide__ctas { margin-top: 20px; }
  .slide__ctas .btn--lg { height: 48px; padding: 0 20px; font-size: 15px; }
  .slider__controls { left: 22px; right: 22px; bottom: 22px; justify-content: space-between; }
  .slider__arrow { display: none; }

  .hero__side { gap: 12px; }
  .promo { min-height: 170px; padding: 18px; border-radius: 18px; }
  .promo > div { max-width: 100%; }
  .promo h3 { font-size: 17px; }
  .promo img { width: 48%; opacity: .95; }
  .promo__price { font-size: 12px; }
  .promo__price b { font-size: 14px; }
  .promo__tag { font-size: 10px; }
  .promo img { width: 55%; }
  .promo--b img { width: 30%; right: 12px; top: 14px; bottom: auto; transform: rotate(4deg); border-radius: 12px; }
  .promo--b:hover img { transform: rotate(4deg); }
  .section__head:has(.link-arrow) { flex-wrap: nowrap; }
  .link-arrow { font-size: 13px; white-space: nowrap; }

  .trust__item { padding: 16px 12px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .trust__icon { width: 40px; height: 40px; border-radius: 12px; }
  .trust__icon svg { width: 22px; height: 22px; }
  .trust__item b { font-size: 13px; }
  .trust__item small { font-size: 11px; }

  .cats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 96px; grid-template-rows: repeat(2, auto); overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { padding: 14px 6px 12px; border-radius: 16px; scroll-snap-align: start; }
  .cat__icon { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 8px; }
  .cat__icon svg { width: 28px; height: 28px; }
  .cat b { font-size: 12.5px; }
  .cat small { font-size: 11px; }

  .deals__box { padding: 22px 0 22px; border-radius: 22px; margin: 0 -4px; }
  .deals .section__head { padding: 0 18px; }
  .deals__title { gap: 12px; }
  .deals__bolt { width: 44px; height: 44px; border-radius: 14px; }
  .deals__title h2 { font-size: 22px; }
  .countdown { margin-left: 0; width: 100%; }
  .countdown div { min-width: 50px; padding: 4px 8px; }
  .countdown b { font-size: 18px; }
  .rail-nav { display: none; }
  .rail { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 18px; overflow: visible !important; }

  .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { border-radius: 14px; }
  .card__media img { padding: 10px; }
  .card__body { padding: 10px 12px 12px; }
  .card__title { font-size: 13px; }
  .card__meta { margin: 6px 0 8px; }
  .price b { font-size: 15px; }
  .price s { font-size: 11.5px; }
  .card__add { width: 36px; height: 36px; border-radius: 10px; }
  .card__quick { display: none; }
  .card__wish { width: 32px; height: 32px; top: 8px; right: 8px; }
  .card__off { top: 8px; left: 8px; font-size: 11px; padding: 3px 7px; }
  .tag { top: 34px; left: 8px; font-size: 10px; }
  .card:hover { transform: none; }

  .tabs { width: 100%; }
  .tab { padding: 8px 14px; flex: 1; }

  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento__card { min-height: 200px; padding: 22px; border-radius: 20px; }
  .bento__text h3 { font-size: 24px; }

  .feature { padding: 32px 22px; border-radius: 22px; gap: 24px; }
  .feature p { font-size: 15px; }
  .feature__list { gap: 8px; margin: 22px 0 24px; }
  .feature__list li { padding: 10px 14px; flex: 1; }
  .feature__list b { font-size: 19px; }
  .feature .btn { width: 100%; }

  .marquee__track { gap: 44px; }
  .marquee__track span { font-size: 22px; }

  .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: center; }
  .rating-sum > b { font-size: 34px; }

  .newsletter { grid-template-columns: minmax(0, 1fr); padding: 24px 16px; border-radius: 20px; text-align: center; gap: 16px; }
  .newsletter > * { min-width: 0; width: 100%; max-width: 100%; }
  .newsletter h2 { font-size: 22px; line-height: 1.18; margin-bottom: 6px; }
  .newsletter p { font-size: 13px; line-height: 1.45; max-width: 100%; margin: 0 auto; }
  .newsletter__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; background: #fff; padding: 4px 4px 4px 14px; border-radius: 999px; gap: 6px; width: 100%; max-width: 100%; box-sizing: border-box; }
  .newsletter__form input { width: 100%; min-width: 0; height: 40px; padding: 0; font-size: 13px; color: #111118; background: transparent; border-radius: 999px; }
  .newsletter__form .btn { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; flex-shrink: 0; white-space: nowrap; }

  .footer { padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 8px; }
  .footer__brand { margin-bottom: 18px; }
  .footer__col { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0 4px; }
  .footer__col summary { cursor: pointer; display: flex; justify-content: space-between; margin-bottom: 12px; }
  .footer__col summary::after { content: "+"; font-size: 20px; color: var(--brand); line-height: 1; }
  .footer__col[open] summary::after { content: "–"; }
  .footer__bottom { flex-direction: column; text-align: center; padding: 20px 16px; }
  .pay { justify-content: center; }
}

@media (min-width: 641px) {
  .footer__col summary { pointer-events: none; }
}
