:root {
  --g1: #4fe3c8; --g2: #5aa2ff; --g3: #a678ff; --g4: #ff78c0;
  --grad: linear-gradient(120deg, var(--g1), var(--g2) 45%, var(--g3) 75%, var(--g4));
  --hot: linear-gradient(120deg, var(--g4), #ff9a5a);
  --r: 18px;
  font-family: 'Anek Bangla', 'Noto Sans Bengali', 'Nirmala UI', system-ui, sans-serif;
  font-size: 16px;
}
[data-theme='dark'] {
  color-scheme: dark;
  --bg: #070c1c; --surface: #0f1730; --raised: #172142; --line: #243056; --ink: #eaf0ff; --muted: #9aa8cc;
  --accent: #7fd4ff; --glow: #5aa2ff55; --shadow: 0 18px 50px #01030d99; --glass: #0a1124cc;
}
[data-theme='light'] {
  color-scheme: light;
  --bg: #f1f4fc; --surface: #ffffff; --raised: #eef2fb; --line: #d9e0f0; --ink: #111a33; --muted: #58647f;
  --accent: #2f63d8; --glow: #5aa2ff33; --shadow: 0 14px 40px #23386a1f; --glass: #ffffffd9;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; background: var(--bg); color: var(--ink); line-height: 1.55; transition: background .4s, color .4s; overflow-x: hidden; }
body.locked { overflow: hidden; }
h1, h2, h3, p, ul, ol, figure, blockquote, fieldset { margin: 0; padding: 0; border: 0; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #7fd4ff; outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; transform: translateY(-200%); padding: 10px 14px; border-radius: 10px; background: var(--surface); }
.skip-link:focus { transform: none; }
.ic, .tool svg, .search svg, .tabbar svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
#snow { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, .site-foot { position: relative; z-index: 1; }
main { min-height: 60vh; }
main.enter { animation: page .45s cubic-bezier(.2, .8, .2, 1) both; }
main:focus { outline: none; }
@keyframes page { from { opacity: 0; transform: translateY(14px); } }
.reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* announcement + header */
.announce { position: relative; z-index: 3; overflow: hidden; background: var(--grad); background-size: 200% 100%; color: #06102a; font-weight: 600; font-size: 14.5px; animation: shift 9s linear infinite alternate; }
.announce-track { display: flex; width: max-content; animation: slide 26s linear infinite; }
.announce-track span { padding: 7px 40px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
@keyframes shift { to { background-position: 100% 0; } }
.site-head { position: sticky; top: 0; z-index: 20; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.scrolled .site-head { border-color: var(--line); box-shadow: 0 10px 30px #0003; }
.head-row { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #06102a; font: 800 20px Syne, sans-serif; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.08); }
.logo-word { font: 800 21px Syne, sans-serif; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { position: relative; padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; white-space: nowrap; transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.main-nav a:hover, .main-nav a.on { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.on::after { transform: scaleX(1); }
.search { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 120px; max-width: 340px; margin-left: auto; height: 42px; padding: 0 14px; border-radius: 40px; border: 1px solid var(--line); background: var(--raised); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); }
.head-tools { display: flex; gap: 6px; }
.tool { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--raised); color: var(--ink); transition: transform .2s, border-color .2s; }
.tool:hover { transform: translateY(-2px); border-color: var(--accent); }
.tool b { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: var(--hot); color: #2a0a1c; font-size: 12px; line-height: 20px; text-align: center; }
.tool b.bump { animation: bump .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 50% { transform: scale(1.5); } }
[data-theme='dark'] .moon, [data-theme='light'] .sun { display: none; }
#theme-toggle svg { animation: spin-in .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes spin-in { from { transform: rotate(-90deg) scale(.4); opacity: 0; } }
.tabbar { display: none; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 20px; border: 1px solid var(--line); border-radius: 40px; background: var(--surface); color: var(--ink); font-weight: 700; overflow: hidden; transition: transform .2s, box-shadow .3s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { border: 0; background: var(--grad); background-size: 180% 100%; color: #06102a; box-shadow: 0 8px 24px var(--glow); }
.btn-hot { border: 0; background: var(--hot); color: #2a0a1c; box-shadow: 0 8px 24px #ff78c044; }
.btn-primary::after, .btn-hot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #fff8 50%, transparent 70%); transform: translateX(-120%); }
.btn-primary:hover::after, .btn-hot:hover::after { transform: translateX(120%); transition: transform .7s; }
.btn-primary:hover { background-position: 100% 0; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }
.grow { flex: 1; }
.link-btn { border: 0; background: none; color: var(--muted); padding: 4px; }
.link-btn:hover { color: #ff7a8a; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.aurora { position: absolute; inset: -20% -10% 0; filter: blur(70px); opacity: .55; pointer-events: none; }
[data-theme='light'] .aurora { opacity: .35; }
.aurora i { position: absolute; border-radius: 50%; animation: drift 16s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: 0; top: 10%; width: 46%; height: 60%; background: var(--g1); }
.aurora i:nth-child(2) { left: 32%; top: 0; width: 44%; height: 70%; background: var(--g2); animation-delay: -5s; }
.aurora i:nth-child(3) { right: 0; top: 24%; width: 40%; height: 56%; background: var(--g4); animation-delay: -10s; }
@keyframes drift { to { transform: translate(8%, 12%) scale(1.25) rotate(18deg); } }
.hero > .wrap { position: relative; }
.hero h1, .hero-sub { max-width: 22em; } .hero-sub { max-width: 52ch; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(-30px); transition: opacity .7s, transform .7s cubic-bezier(.2, .8, .2, 1), visibility .7s; padding-bottom: 46px; }
.slide.on { opacity: 1; visibility: visible; transform: none; }
.slide.on > * { animation: lift .8s cubic-bezier(.2, .8, .2, 1) both; }
.slide.on > :nth-child(2) { animation-delay: .08s; } .slide.on > :nth-child(3) { animation-delay: .16s; } .slide.on > :nth-child(4) { animation-delay: .24s; }
@keyframes lift { from { opacity: 0; transform: translateY(26px); } }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 40px; border: 1px solid var(--line); background: var(--glass); font-weight: 600; font-size: 14.5px; color: hsl(var(--h) 90% 72%); }
[data-theme='light'] .hero-kicker { color: hsl(var(--h) 70% 40%); }
.hero h1 { margin: 18px 0 14px; font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; background: linear-gradient(120deg, var(--ink) 30%, hsl(var(--h) 90% 70%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dots { position: absolute; left: 0; bottom: 8px; display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 12px; background: var(--line); transition: width .4s, background .4s; }
.dots button.on { width: 38px; background: var(--grad); }
@keyframes pulse { from { transform: scale(.3); opacity: .6; } to { transform: scale(1.4); opacity: 0; } }

/* home sections */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.perk { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: transform .3s, border-color .3s; }
.perk:hover { transform: translateY(-4px); border-color: var(--accent); }
.perk .ic { width: 30px; height: 30px; color: var(--accent); }
.perk strong, .perk span { display: block; } .perk span { color: var(--muted); font-size: 14px; }
.section { margin-top: 64px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2, .flash h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 4px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); }
.more .ic { transition: transform .3s; } .more:hover .ic { transform: translateX(5px); }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat { position: relative; display: grid; gap: 4px; justify-items: center; padding: 22px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-align: center; overflow: hidden; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), border-color .3s; }
.cat::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; }
.cat > * { position: relative; }
.cat:hover { transform: translateY(-6px); border-color: transparent; }
.cat:hover::before { opacity: .16; }
.cat-icon { font-size: 40px; line-height: 1.2; transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.cat:hover .cat-icon { transform: scale(1.25) rotate(-8deg); }
.cat small { color: var(--muted); }
.flash { position: relative; padding: 26px; border-radius: 28px; background: linear-gradient(140deg, #ff78c022, #a678ff1c 50%, #5aa2ff22); border: 1px solid var(--line); overflow: hidden; }
.flash::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; pointer-events: none; }
.flash-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.flash-head p { color: var(--muted); } .flash-head .more { margin-left: auto; }
.countdown { display: flex; gap: 8px; }
.countdown span { display: grid; justify-items: center; min-width: 62px; padding: 7px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.countdown b { font-size: 24px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.countdown span:last-child b { animation: tick 1s steps(1) infinite; color: #ff78c0; }
@keyframes tick { 50% { opacity: .55; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 240px); gap: 16px; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }

/* product card */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: opacity .7s, transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .3s; }
.card.in:hover { transform: translateY(-8px); box-shadow: 0 22px 50px var(--glow); border-color: var(--accent); }
.card-pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--raised); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-pic img { transform: scale(1.1) rotate(1.5deg); }
.tag { position: absolute; left: 10px; top: 10px; padding: 2px 10px; border-radius: 30px; font-size: 13px; font-weight: 700; }
.tag.sale { background: var(--hot); color: #2a0a1c; }
.tag.out { top: auto; bottom: 10px; background: #000a; color: #fff; }
.wish { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--glass); color: var(--ink); backdrop-filter: blur(6px); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1), color .2s; }
.wish:hover { transform: scale(1.15); }
.wish.on, .wish-big.on { color: #ff5e8a; } .wish.on .ic, .wish-big.on .ic { fill: currentColor; animation: bump .45s cubic-bezier(.3, 1.8, .5, 1); }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 13px 14px 14px; }
.card-name { font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-name:hover { color: var(--accent); }
.card-meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.prices strong { font-size: 19px; font-weight: 800; } .prices s { margin-left: 6px; color: var(--muted); font-size: 14px; }
.add { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--grad); color: #06102a; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1), box-shadow .3s; }
.add:hover { transform: scale(1.15) rotate(-8deg); box-shadow: 0 8px 20px var(--glow); }
.stars { position: relative; display: inline-block; color: var(--line); letter-spacing: 1px; font-size: 14px; line-height: 1; white-space: nowrap; }
.stars span { position: absolute; left: 0; top: 0; overflow: hidden; color: #ffc24d; }
.fly { position: fixed; z-index: 90; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 16px #5aa2ff; pointer-events: none; }

/* steps, quotes, faq, newsletter */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; counter-reset: step; }
.step { position: relative; padding: 22px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); counter-increment: step; }
.step::after { content: counter(step, bengali); position: absolute; right: 16px; top: 8px; font-size: 46px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .5; }
.step-icon { display: block; font-size: 34px; margin-bottom: 8px; }
.step h3 { font-size: 18px; margin-bottom: 4px; } .step p { color: var(--muted); font-size: 15px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; padding: 6px 0; animation: slide 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.quote { width: 320px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.quote blockquote { margin: 8px 0 12px; } .quote figcaption span { display: block; color: var(--muted); font-size: 13.5px; }
.faq-list { display: grid; gap: 10px; } .faq-list.narrow { margin: 0; }
.faq { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: opacity .7s, transform .7s, border-color .3s; }
.faq[open] { border-color: var(--accent); box-shadow: 0 10px 30px var(--glow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .35s; } .faq[open] summary .ic { transform: rotate(180deg); }
.faq-body { padding: 0 18px 16px; animation: lift .4s both; } .faq-body p { color: var(--muted); max-width: 68ch; }
.listen { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 30px; background: var(--raised); font-weight: 600; transition: border-color .2s; }
.listen:hover { border-color: var(--accent); } .listen.on { border-color: transparent; background: var(--grad); color: #06102a; }
.eq { display: none; gap: 2px; align-items: end; height: 14px; } .listen.on .eq { display: inline-flex; }
.eq b { width: 3px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq .8s ease-in-out infinite alternate; }
.eq b:nth-child(2) { animation-delay: -.3s; } .eq b:nth-child(3) { animation-delay: -.55s; } .eq b:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { transform: scaleY(.25); } }
.voice-bar { display: flex; gap: 12px; align-items: center; }
.voice-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px; border-radius: 40px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.voice-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.voice-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--ink); }
.mic { position: relative; display: grid; place-items: center; width: 54px; height: 54px; flex: none; border: 0; border-radius: 50%; background: var(--grad); color: #06102a; transition: transform .2s; }
.mic:hover { transform: scale(1.07); } .mic .ic { width: 24px; height: 24px; }
.mic .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ff78c0; opacity: 0; }
.mic.on { background: var(--hot); } .mic.on .ring { animation: pulse 1.2s ease-out infinite; }
.voice-status { min-height: 24px; margin: 8px 4px 14px; color: var(--muted); font-size: 14.5px; }
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 34px; border-radius: 28px; background: var(--grad); background-size: 200% 200%; color: #06102a; animation: shift 10s ease-in-out infinite alternate; }
.news h2 { font-size: clamp(22px, 2.6vw, 30px); } .news p { opacity: .8; margin-top: 6px; }
.news-form { display: flex; gap: 8px; flex-wrap: wrap; }
.news-form input { flex: 1; min-width: 180px; height: 50px; padding: 0 18px; border: 0; border-radius: 40px; background: #ffffffd9; color: #06102a; }
.news-form .btn { background: #06102a; color: #fff; box-shadow: none; min-height: 50px; }

/* inner pages */
.page { padding: 26px 0 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }
.page-head { margin-bottom: 22px; } .page-head h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; } .page-head p { color: var(--muted); margin-top: 4px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 30px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; white-space: nowrap; transition: border-color .2s, transform .2s; }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); } .chip.on { border-color: transparent; background: var(--grad); color: #06102a; } .chip .ic { width: 15px; height: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 0 20px; }
.check { display: inline-flex; align-items: center; gap: 8px; } .check input { width: 18px; height: 18px; accent-color: #7c8cff; }
.sort { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); }
select, .field input, .field textarea, .coupon input { min-height: 46px; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.sort select { width: auto; }
select:focus, .field input:focus, .field textarea:focus, .coupon input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.panel { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.panel > h2 { font-size: 20px; margin-bottom: 14px; }
.stack { display: grid; gap: 18px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.two-col.even { grid-template-columns: 1.2fr 1fr; }
.summary { position: sticky; top: 88px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 5px; margin-bottom: 14px; } .field > span { font-weight: 600; font-size: 14.5px; color: var(--muted); }
.field textarea { resize: vertical; }
.choice { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; } .choice.col { flex-direction: column; margin-bottom: 14px; }
.choice legend { font-weight: 600; font-size: 14.5px; color: var(--muted); margin-bottom: 6px; }
.option { flex: 1; min-width: 150px; display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line); background: var(--raised); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.option:hover { transform: translateY(-2px); }
.option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.option input { margin-top: 5px; accent-color: #7c8cff; } .option strong, .option small { display: block; } .option small { color: var(--muted); }
.form-error { color: #ff7a8a; font-weight: 600; margin: 8px 0; } .form-error:empty { display: none; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 10px; } .fine a, .prose a, .empty a:not(.btn) { color: var(--accent); text-decoration: underline; }
.sum-row, .sum-item { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-item { color: var(--muted); font-size: 15px; } .sum-row.good { color: #35c995; }
.sum-row.total { margin-top: 6px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 20px; }
.coupon { display: flex; gap: 8px; margin: 14px 0 4px; } .coupon .btn { flex: none; min-height: 46px; padding-inline: 16px; }
.ship-hint { margin: 8px 0; } .ship-hint p { font-size: 14px; color: var(--muted); margin-top: 5px; }
.ship-bar { height: 8px; border-radius: 8px; background: var(--raised); overflow: hidden; } .ship-bar span { display: block; height: 100%; border-radius: 8px; background: var(--grad); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: lift .4s both; }
.line:last-child { border: 0; }
.line-pic img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; }
.line-info { display: grid; gap: 4px; min-width: 0; } .line-info a { font-weight: 700; } .line-info .price { color: var(--muted); }
.line-end { display: grid; justify-items: end; gap: 6px; }
.qty { display: inline-flex; align-items: center; width: max-content; border: 1px solid var(--line); border-radius: 30px; background: var(--raised); }
.qty button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: none; border-radius: 50%; } .qty button:hover { color: var(--accent); }
.qty .ic { width: 16px; height: 16px; } .qty output { min-width: 26px; text-align: center; font-weight: 700; }
.qty.big button { width: 50px; height: 50px; } .qty.big input { width: 46px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 17px; -moz-appearance: textfield; appearance: textfield; }
.qty.big input::-webkit-inner-spin-button { display: none; }
.empty { display: grid; justify-items: center; gap: 12px; padding: 44px 16px; text-align: center; color: var(--muted); }
.empty .ic { width: 46px; height: 46px; opacity: .6; } .empty h1 { color: var(--ink); font-size: 28px; } .empty.tall { padding: 90px 16px; }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.gallery { position: sticky; top: 88px; }
.gallery-main { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--raised); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); animation: page .5s both; }
.gallery-main:hover img { transform: scale(1.12); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { width: 72px; height: 72px; flex: none; padding: 0; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: none; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; border-color: var(--accent); } .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; }
.buy-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 10px 0 16px; color: var(--muted); font-size: 15px; } .buy-meta a { text-decoration: underline; }
.origin { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 30px; border: 1px solid var(--line); background: var(--raised); } .origin .ic { width: 16px; height: 16px; }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.buy-price strong { font-size: 40px; font-weight: 800; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.buy-price s { color: var(--muted); font-size: 19px; } .save { padding: 2px 12px; border-radius: 30px; background: var(--hot); color: #2a0a1c; font-weight: 700; font-size: 14px; }
.stock { margin: 8px 0 18px; font-weight: 600; } .stock.in { color: #35c995; } .stock.none { color: #ff7a8a; }
.stock::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: currentColor; animation: tick 1.6s infinite; }
.variants { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; } .variants legend { font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: block; padding: 9px 18px; border-radius: 30px; border: 1px solid var(--line); background: var(--raised); font-weight: 600; cursor: pointer; transition: transform .2s, border-color .2s; }
.variant span:hover { transform: translateY(-2px); } .variant input:checked + span { border-color: transparent; background: var(--grad); color: #06102a; }
.variant input:focus-visible + span { outline: 2px solid #7fd4ff; outline-offset: 3px; } .variant.off span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.buy-row { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.assure { list-style: none; display: grid; gap: 8px; margin: 18px 0 8px; padding: 16px; border-radius: 16px; background: var(--raised); color: var(--muted); font-size: 15px; }
.assure li { display: flex; gap: 10px; align-items: center; } .assure .ic { color: var(--accent); }
.tabs-block { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; align-items: start; }
.prose { max-width: 70ch; } .prose p + p { margin-top: 12px; } .prose p { color: var(--muted); }
.sku { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.reviews { display: grid; gap: 14px; margin-bottom: 20px; } .review { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.review header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 4px; } .review time { color: var(--muted); font-size: 13.5px; margin-left: auto; } .review p { color: var(--muted); }
.review-form h3 { font-size: 17px; margin: 6px 0 8px; }
.rate { display: inline-flex; flex-direction: row-reverse; margin-bottom: 10px; } .rate input { position: absolute; opacity: 0; }
.rate label { font-size: 30px; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; transition: transform .2s, color .2s; }
.rate label:hover { transform: scale(1.25); } .rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #ffc24d; }
.rate input:focus-visible + label { outline: 2px solid #7fd4ff; }
.sticky-buy { display: none; }

/* order + track */
.success { text-align: center; padding: 20px 0 26px; } .success h1 { font-size: clamp(24px, 3.4vw, 36px); margin: 16px 0 8px; } .success p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.order-no { font-size: 1.25em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.burst { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; background: var(--grad); color: #06102a; animation: pop .7s cubic-bezier(.3, 1.8, .5, 1) both; box-shadow: 0 0 0 0 #5aa2ff88; }
.burst .ic { width: 46px; height: 46px; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: check .5s .45s forwards; }
@keyframes pop { from { transform: scale(0) rotate(-40deg); } 60% { box-shadow: 0 0 0 26px #5aa2ff00; } }
@keyframes check { to { stroke-dashoffset: 0; } }
.order-card { margin-top: 18px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 10px 0 20px; }
.timeline li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13.5px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; top: 15px; right: 50%; width: 100%; height: 3px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline span { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--raised); border: 2px solid var(--line); color: #06102a; }
.timeline .ic { width: 16px; height: 16px; stroke-width: 3; }
.timeline .done::before, .timeline .now::before { background: var(--grad); }
.timeline .done span, .timeline .now span { background: var(--grad); border-color: transparent; }
.timeline .now span { animation: glow 1.6s ease-in-out infinite; } .timeline .now strong, .timeline .done strong { color: var(--ink); }
@keyframes glow { 50% { box-shadow: 0 0 0 8px var(--glow); } }
.status-off { padding: 12px 16px; border-radius: 12px; background: #ff7a8a22; color: #ff7a8a; font-weight: 600; margin-bottom: 14px; }
.track-code { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--raised); margin-bottom: 14px; }
.order-items { margin-bottom: 10px; }
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
#track-result { margin-top: 4px; } #track-form .btn { margin-top: 4px; }
.cta-box { margin-top: 30px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.contact-info p { display: grid; margin-bottom: 14px; } .contact-info strong { color: var(--muted); font-size: 14px; font-weight: 600; }

/* footer, drawer, toast */
.site-foot { margin-top: 80px; padding: 46px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 26px; }
.foot-grid p { color: var(--muted); margin-top: 10px; max-width: 34ch; }
.foot-grid h3 { font-size: 16px; margin-bottom: 10px; }
.foot-grid div > a:not(.logo), .foot-grid div > span { display: block; padding: 4px 0; color: var(--muted); transition: color .2s, transform .2s; }
.foot-grid div > a:not(.logo):hover { color: var(--accent); transform: translateX(4px); }
.social { display: flex; gap: 14px; } .social a { color: var(--accent); font-weight: 600; }
.foot-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: #03061299; backdrop-filter: blur(4px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; z-index: 50; display: flex; flex-direction: column; width: min(420px, 100vw); height: 100dvh; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(104%); visibility: hidden; transition: transform .45s cubic-bezier(.2, .9, .2, 1), visibility .45s; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); } .drawer-head h2 { font-size: 20px; }
.drawer-body { flex: 1; overflow: auto; padding: 4px 18px; }
.drawer-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); background: var(--raised); }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 95; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 24px); padding: 12px 20px; border-radius: 40px; background: #0b1330; color: #fff; border: 1px solid #ffffff2b; box-shadow: 0 16px 40px #0009; transform: translateX(-50%); animation: toast .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.toast .ic { color: #4fe3c8; } .toast.bad { border-color: #ff7a8a; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 30px) scale(.9); } }
.boot { display: grid; justify-items: center; gap: 14px; padding: 120px 0; color: var(--muted); }
.loader { width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(#4fe3c8, #5aa2ff, #a678ff, #ff78c0, transparent 85%); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

@media (max-width: 1020px) {
  .main-nav { display: none; }
  .pdp, .tabs-block, .two-col, .two-col.even, .news { grid-template-columns: 1fr; }
  .route { max-width: 520px; margin-inline: auto; width: 100%; }
  .perks, .steps { grid-template-columns: 1fr 1fr; }
  .gallery, .summary { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: 66px; }
  .head-row { flex-wrap: wrap; gap: 10px; padding: 10px 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .head-tools { margin-left: auto; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--glass); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 4px; border-radius: 12px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
  .tabbar a.on { color: var(--accent); } .tabbar a.on svg { transform: translateY(-2px) scale(1.12); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); }
  .hero { padding-top: 30px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px; } .prices strong { font-size: 17px; } .prices s { display: block; margin: 0; } .add { width: 38px; height: 38px; }
  .perks { grid-template-columns: 1fr 1fr; } .perk { flex-direction: column; align-items: flex-start; padding: 12px; }
  .steps, .form-grid { grid-template-columns: 1fr; }
  .section { margin-top: 46px; } .flash, .news, .panel { padding: 18px; }
  .countdown span { min-width: 52px; } .flash-head .more { margin-left: 0; }
  .timeline { font-size: 12px; } .timeline strong { font-size: 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .toast { bottom: 80px; }
  .sticky-buy { position: fixed; left: 0; right: 0; bottom: 62px; z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: var(--glass); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .sticky-buy div { min-width: 0; } .sticky-buy strong { display: block; font-size: 18px; } .sticky-buy span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .floater { width: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .burst .ic { stroke-dashoffset: 0; }
}

/* logo modes, page-builder blocks */
.logo-pic { flex: none; } img.logo-pic { width: auto; border-radius: 8px; }
@media (min-width: 721px) { .logo.d-logo .logo-word, .logo.d-text .logo-pic { display: none; } }
@media (max-width: 720px) { .logo.m-logo .logo-word, .logo.m-text .logo-pic { display: none; } }
.slide { background-image: var(--pic, none); background-size: cover; background-position: center; }
.slide[style*='--pic'] { padding: 34px 28px 60px; border-radius: 28px; background-image: linear-gradient(90deg, var(--bg) 20%, transparent), var(--pic); }
.phero { position: relative; overflow: hidden; padding: 46px 0 40px; background-image: linear-gradient(90deg, var(--bg) 25%, transparent), var(--pic, none); background-size: cover; background-position: center; }
.phero .wrap { position: relative; } .phero h1 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; max-width: 20em; } .phero p { color: var(--muted); max-width: 60ch; margin-top: 10px; font-size: 18px; }
.ticker { overflow: hidden; background: var(--grad); color: #06102a; font-weight: 700; margin-top: 40px; }
.ticker span { padding: 12px 26px; white-space: nowrap; } .ticker span::after { content: '✦'; margin-left: 52px; opacity: .6; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.about-grid h2, .block-title, .band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 14px; }
.about-grid .btn { margin-top: 18px; } .mv { display: grid; gap: 14px; } .mv h3 { color: var(--accent); margin-bottom: 4px; } .mv p, .info-cards p { color: var(--muted); }
.section.alt { padding: 46px 0; background: var(--surface); border-block: 1px solid var(--line); }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; } .info-cards h3 { font-size: 18px; margin-bottom: 6px; }
.info-cards .panel { transition: opacity .7s, transform .4s, border-color .3s; } .info-cards .panel.in:hover { transform: translateY(-5px); border-color: var(--accent); }
.section.band { padding: 52px 0; background: linear-gradient(120deg, #0b1330, #1a1446 60%, #2a0f3c); color: #eaf0ff; } .band .info-cards p { color: #b6c2e6; }
.band .info-cards > div { padding-left: 16px; border-left: 3px solid var(--g2); }
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; padding: 26px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.stats-band b { display: block; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; } .stats-band span { color: var(--muted); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.member { padding: 22px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.member-pic { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; background: var(--grad); color: #06102a; font-size: 38px; font-weight: 800; }
.member-pic img { width: 100%; height: 100%; object-fit: cover; } .member .role { color: var(--accent); font-weight: 600; } .member p { color: var(--muted); font-size: 15px; }
.quote.wide { width: auto; } .quote.wide blockquote { font-size: 17px; }
.logos { align-items: center; gap: 44px; } .logo-item { display: grid; place-items: center; height: 64px; font-weight: 700; font-size: 20px; color: var(--muted); filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-item:hover { filter: none; opacity: 1; } .logo-item img { max-height: 56px; max-width: 170px; object-fit: contain; }
.cta-band .btn { justify-self: end; background: #06102a; color: #fff; border: 0; }
.page-end { height: 10px; }
@media (max-width: 1020px) { .about-grid { grid-template-columns: 1fr; } .cta-band .btn { justify-self: start; } }
