/* =========================================================
   KRISHNA COMPUTER — styles
   ========================================================= */
:root {
  /* brand colours taken from the Krishna Computer banner */
  --primary: #0047ab;
  --primary-d: #012a6b;
  --navy: #0b1f5c;
  --accent: #e3141c;
  --accent-d: #b70f16;
  --gold: #ffd21f;
  --sky: #eaf3ff;
  --wa: #25d366;
  --wa-d: #1aa851;
  --dark: #0b1f5c;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --ok: #16a34a;
  --danger: #dc2626;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .18);
  --hdr-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; line-height: 1.55; color: var(--text); background: var(--bg);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; color: var(--dark); }
p { margin: 0 0 .75em; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }
.mt { margin-top: 18px; }

.ui { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.art-svg { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14px; line-height: 1.2;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn .ui { width: 18px; height: 18px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #f1f5f9; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn-row.center { justify-content: center; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 8px; }
.icon-btn:hover { background: var(--bg-alt); }

/* ---------- top bar ---------- */
.topbar { background: var(--dark); color: #cbd5e1; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 12px; }
.top-left, .top-right { display: flex; align-items: center; gap: 16px; }
.top-right { gap: 8px; }
.topbar a, .topbar button { display: inline-flex; align-items: center; gap: 6px; color: #e2e8f0; }
.topbar a:hover, .topbar button:hover { color: #fff; }
.topbar .ui { width: 15px; height: 15px; }
.top-right span { opacity: .4; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 4px 20px rgba(15,23,42,.08); }
.hdr { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark, .logo-svg { width: 44px; height: 44px; }
.logo b { display: block; font-size: 20px; font-weight: 800; letter-spacing: .5px; color: var(--primary); line-height: 1; }
.logo small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 4.2px; color: var(--accent); line-height: 1.5; }
.logo.light b { color: #fff; }
.hdr-search { flex: 1; position: relative; max-width: 620px; }
.hdr-search form { display: flex; border: 2px solid var(--primary); border-radius: 10px; overflow: hidden; background: #fff; }
.hdr-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 14px; font-size: 14px; }
.hdr-search input::-webkit-search-cancel-button { cursor: pointer; }
.hdr-search button { background: var(--primary); color: #fff; width: 52px; display: grid; place-items: center; }
.hdr-search button:hover { background: var(--primary-d); }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60; max-height: 70vh; overflow-y: auto;
}
.sg-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #f1f5f9; }
.sg-item:hover, .sg-item.hover { background: var(--bg-alt); }
.sg-item > .ui { color: var(--primary); }
.sg-item span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.sg-item small { color: var(--muted); font-size: 12px; }
.sg-thumb { width: 48px; height: 40px; border-radius: 8px; background: #f1f4f9; display: grid !important; place-items: center; flex: none; overflow: hidden; }
.sg-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sg-all { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 11px; font-weight: 600; color: var(--primary); font-size: 14px; }
.sg-all:hover { background: var(--bg-alt); }
.sg-empty { padding: 16px; font-size: 14px; color: var(--muted); }
.sg-empty a { color: var(--primary); font-weight: 600; }
.hdr-icons { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-icon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--text); }
.hdr-icon:hover { background: var(--bg-alt); color: var(--primary); }
.hdr-icon .ui { width: 24px; height: 24px; }
.hdr-icon span { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-badge, .wish-badge {
  position: absolute; top: 0; right: 6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; display: grid; place-items: center;
}
.cart-badge.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }

/* nav */
.navbar { background: var(--primary); }
.nav { display: flex; align-items: center; gap: 2px; height: 46px; }
.nav > a, .nav-dl { color: #e0e8ff; font-size: 14px; font-weight: 500; padding: 0 14px; height: 46px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav > a:hover, .nav > a.active, .nav-dl:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-dl { margin-left: auto; }
.nav-dl .ui { width: 17px; height: 17px; }
.hot { font-style: normal; font-size: 9px; font-weight: 700; background: var(--accent); color: #fff; padding: 1px 5px; border-radius: 4px; letter-spacing: .5px; }
.nav-cat { position: relative; height: 46px; margin-right: 8px; }
.nav-cat-btn { white-space: nowrap; height: 46px; padding: 0 16px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.nav-cat-btn .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-cat:hover .chev, .nav-cat.open .chev { transform: rotate(180deg); }
.mega {
  position: fixed; left: 0; right: 0; top: auto; margin-top: 0; background: #fff; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 70;
}
.nav-cat:hover .mega, .nav-cat.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 28px; padding-top: 24px; padding-bottom: 24px; }
.mega-col a { display: block; font-size: 14px; color: var(--muted); padding: 3px 0; }
.mega-col a:hover { color: var(--primary); padding-left: 4px; }
.mega-col a { transition: padding .15s, color .15s; }
.mega-col .mega-title { font-weight: 700; color: var(--dark); font-size: 14px; text-transform: uppercase; letter-spacing: .3px; border-bottom: 2px solid var(--line); padding-bottom: 6px; margin-bottom: 6px; }
.mega-promo { background: var(--bg-alt); border-radius: 12px; padding: 16px; align-self: start; }
.mega-promo p { color: var(--muted); font-size: 13px; margin: 6px 0 12px; }
.mega-promo .btn { color: #fff; display: inline-flex; }
.nav-cat.suppress:hover .mega { opacity: 0; visibility: hidden; }
.mega-promo .btn:hover { padding-left: 14px; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); }
.slides { position: relative; height: 420px; }
.slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s;
  background: radial-gradient(1200px 500px at 85% 50%, color-mix(in srgb, var(--c2) 85%, transparent), transparent 60%), linear-gradient(120deg, var(--c1), color-mix(in srgb, var(--c1) 60%, var(--c2)));
  color: #fff;
}
.slide.active { opacity: 1; visibility: visible; }
.slide-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.slide-text { max-width: 560px; }
.slide.active .slide-text > * { animation: rise .7s both; }
.slide.active .slide-text > *:nth-child(2) { animation-delay: .08s; }
.slide.active .slide-text > *:nth-child(3) { animation-delay: .16s; }
.slide.active .slide-text > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; background: rgba(255,255,255,.16); padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
.slide h2 { color: #fff; font-size: 46px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px; }
.slide p { font-size: 17px; opacity: .9; margin-bottom: 24px; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.slide-art { width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 30px rgba(255,255,255,.04); }
.slide-art .art-svg { width: 200px; height: 200px; stroke-width: 2.2; color: #fff; filter: drop-shadow(0 10px 30px rgba(0,0,0,.3)); }
.slide-art { background: radial-gradient(circle at 50% 40%, #ffffff, #e3e9f2 72%); box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.35); }
.slide-art img { width: 96%; height: auto; }
.slide.active .slide-art { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; z-index: 2; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.dots button { width: 10px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.4); transition: .3s; }
.dots button.active { width: 28px; background: var(--accent); }

/* features */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.feature { display: flex; align-items: center; gap: 12px; }
.feature .art-svg { width: 38px; height: 38px; color: var(--primary); flex: none; stroke-width: 3.5; }
.feature b { display: block; font-size: 14px; color: var(--dark); }
.feature span { font-size: 12px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 40px 0; }
.section.alt { background: var(--bg-alt); }
.section-tight { padding-top: 24px; padding-bottom: 48px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: 24px; font-weight: 700; position: relative; padding-bottom: 8px; text-transform: uppercase; letter-spacing: .3px; }
.sec-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--accent); border-radius: 2px; }
.sec-tools { display: flex; align-items: center; gap: 8px; }
.rail-btn { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; background: #fff; }
.rail-btn:hover { border-color: var(--primary); color: var(--primary); }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 10px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--dark); transition: .2s; line-height: 1.3; }
.cat-tile:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--primary); }
.cat-tile small { font-weight: 400; color: var(--muted); font-size: 12px; margin-top: -6px; }
.cat-ic { width: 100%; aspect-ratio: 400 / 300; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #fff, #eef2f7 70%); display: grid; place-items: center; overflow: hidden; }
.cat-ic img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.cat-tile:hover .cat-ic img { transform: scale(1.1); }
.grp-ic { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; display: grid; place-items: center; flex: none; }
.grp-ic .art-svg { width: 26px; height: 26px; }

/* ---------- product card ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.rail .card { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.card-img { position: relative; display: block; }
.pimg { position: relative; aspect-ratio: 1 / .8; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f1f4f9 55%, #e6ebf2 100%); overflow: hidden; border-bottom: 1px solid var(--line); }
.pimg img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.card:hover .pimg img { transform: scale(1.07); }
.pimg-brand { position: absolute; left: 10px; bottom: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--primary); background: #fff; border: 1px solid #dbe3f3; padding: 2px 8px; border-radius: 4px; z-index: 1; }
.pimg.big { aspect-ratio: 1 / 1; border-radius: var(--radius); border: 1px solid var(--line); }
.pimg.big img { width: 92%; height: 92%; }
.pimg.big .pimg-brand { font-size: 14px; left: 16px; bottom: 14px; padding: 4px 12px; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 4px; color: #fff; }
.badge.new { background: var(--ok); }
.badge.deal { background: var(--accent); }
.badge.lot { background: #7c3aed; }
.badge.out { background: #4b5563; }
.wish { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); color: var(--muted); transition: .2s; }
.wish .ui { width: 17px; height: 17px; }
.wish:hover { color: var(--danger); transform: scale(1.1); }
.wish.on, .wish-btn.on { color: var(--danger); }
.wish.on .ui, .wish-btn.on .ui { fill: var(--danger); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.card-title { font-size: 14px; font-weight: 600; color: var(--dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title:hover { color: var(--primary); }
.moq { font-size: 11px; color: var(--accent-d); font-weight: 600; margin: 4px 0 6px; min-height: 16px; }
.card-price { margin-top: auto; margin-bottom: 10px; min-height: 36px; display: flex; align-items: center; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price b { font-size: 18px; color: var(--dark); }
.price s { font-size: 13px; color: var(--muted); }
.price em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); }
.price.big b { font-size: 30px; }
.price.big s { font-size: 16px; }
.price.big em { font-size: 14px; background: #dcfce7; padding: 2px 8px; border-radius: 4px; }
.login-price { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--danger); padding: 6px 10px; border: 1.5px dashed #fca5a5; border-radius: 6px; background: #fef2f2; width: 100%; justify-content: center; }
.login-price .ui { width: 15px; height: 15px; }
.login-price:hover { background: #fee2e2; }
.card .btn { padding: 9px 10px; font-size: 13px; }
.card .btn .ui { width: 16px; height: 16px; }

/* promo banners */
.promo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; padding: 30px 32px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, var(--c1), var(--c2)); min-height: 190px; transition: transform .2s, box-shadow .2s; }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo h3 { color: #fff; font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.promo p { opacity: .9; margin-bottom: 14px; }
.promo .kicker { margin-bottom: 10px; }
.promo > .art-svg { width: 130px; height: 130px; opacity: .9; flex: none; stroke-width: 2.4; transition: transform .4s; }
.promo:hover > .art-svg { transform: rotate(-8deg) scale(1.05); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: .2s; display: flex; flex-direction: column; align-items: flex-start; }
.svc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.svc-ic { width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg, #e0e9ff, #fff1e6); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.svc-ic .art-svg { width: 34px; height: 34px; }
.svc h3 { font-size: 18px; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 14px; flex: 1; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.step { background: var(--bg-alt); border-radius: 14px; padding: 22px; }
.step span { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
.step b { display: block; color: var(--dark); margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* brands marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand { flex: none; min-width: 150px; height: 76px; display: grid; place-items: center; padding: 0 20px; border: 1px solid var(--line); border-radius: 12px; font-size: 20px; font-weight: 800; color: #94a3b8; letter-spacing: .5px; transition: .2s; background: #fff; }
.brand:hover { color: var(--primary); border-color: var(--primary); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary-d), var(--primary) 60%, #1d74e8); color: #fff; padding: 40px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-band p { opacity: .85; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); padding-top: 14px; padding-bottom: 4px; }
.crumbs a:hover { color: var(--primary); }
.crumbs b { color: var(--dark); font-weight: 500; }
.crumbs span { opacity: .5; }
.page-head { padding: 10px 0 18px; }
.page-head h1 { font-size: 28px; font-weight: 700; }
.page-head p { color: var(--muted); margin: 4px 0 0; }

.shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-bottom: 48px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr-h) + 60px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; max-height: calc(100vh - 150px); overflow-y: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 16px; }
.f-block { padding: 12px 0; border-top: 1px solid var(--line); }
.f-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.f-link { display: block; font-size: 14px; padding: 4px 8px; border-radius: 6px; color: var(--text); }
.f-link:hover { background: var(--bg-alt); color: var(--primary); }
.f-link.on { background: #e8eeff; color: var(--primary); font-weight: 600; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--primary); }
.check small { color: var(--muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select, .form select { border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--text); }

/* product detail */
.pd { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding-top: 10px; padding-bottom: 32px; }
.pd-main { position: relative; }
.pd-main .badges { top: 16px; left: 16px; }
.pd-main .badge { font-size: 12px; padding: 4px 10px; }
.pd-cat { color: var(--primary); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.pd-info h1 { font-size: 28px; margin: 6px 0 10px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pd-meta a { color: var(--primary); font-weight: 600; }
.pd-meta .in { color: var(--ok); font-weight: 600; }
.pd-meta .out { color: var(--danger); font-weight: 600; }
.pd-price { padding: 18px 0; display: flex; flex-direction: column; gap: 4px; }
.pd-price .login-price { width: auto; align-self: flex-start; font-size: 15px; padding: 10px 18px; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 46px; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-alt); color: var(--primary); }
.qty input { width: 56px; height: 46px; border: 0; text-align: center; font-weight: 600; outline: 0; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 32px; height: 36px; }
.qty.sm input { width: 44px; height: 36px; }
.qty.sm .ui { width: 16px; height: 16px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pd-hl { list-style: none; padding: 16px; margin: 0; background: var(--bg-alt); border-radius: var(--radius); display: grid; gap: 8px; font-size: 14px; }
.pd-hl li { display: flex; gap: 10px; align-items: flex-start; }
.pd-hl .ui { color: var(--ok); width: 18px; height: 18px; margin-top: 2px; }
.tabs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
.tab-btns { display: flex; border-bottom: 1px solid var(--line); background: var(--bg-alt); overflow-x: auto; }
.tab-btns button { padding: 14px 22px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tab-btns button.active { color: var(--primary); border-color: var(--primary); background: #fff; }
.tab-panel { display: none; padding: 20px; }
.tab-panel.active { display: block; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; color: var(--muted); font-weight: 500; background: #fafbfc; }
.plain { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; }
.plain a { color: var(--primary); font-weight: 600; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding-bottom: 48px; align-items: start; }
.cart-lines { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.line { display: grid; grid-template-columns: 84px 1fr auto 100px 40px; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.line-img .pimg { border-radius: 8px; aspect-ratio: 1; }
.line-img .pimg-brand { display: none; }
.line-title { font-weight: 600; color: var(--dark); line-height: 1.35; }
.line-title:hover { color: var(--primary); }
.line-price { font-size: 14px; margin-top: 4px; font-weight: 600; }
.line-price s { color: var(--muted); font-weight: 400; margin-left: 4px; }
.line-total { font-weight: 700; text-align: right; color: var(--dark); }
.line .icon-btn { color: var(--muted); }
.line .icon-btn:hover { color: var(--danger); background: #fef2f2; }
.cart-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px; flex-wrap: wrap; }
.summary { position: sticky; top: calc(var(--hdr-h) + 60px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.summary h3 { font-size: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sum-row, .sum-item { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.sum-item { padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.sum-item small { color: var(--muted); }
.sum-item span:last-child { font-weight: 600; white-space: nowrap; }
.sum-row.save span:last-child { color: var(--ok); font-weight: 600; }
.sum-row.total { font-size: 18px; font-weight: 700; color: var(--dark); padding-top: 10px; border-top: 1px solid var(--line); }

/* forms & panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel > h3 { font-size: 18px; margin-bottom: 6px; }
.form h3 { font-size: 16px; margin: 20px 0 12px; }
.form h3:first-child { margin-top: 0; }
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dark); }
.form label small { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; font-size: 14px; font-weight: 400; background: #fff; outline: 0; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,71,171,.14); }
.form textarea { resize: vertical; }
.form input::placeholder, .form textarea::placeholder { text-transform: none; color: #9ca3af; }
.form-err { color: var(--danger); background: #fef2f2; border: 1px solid #fecaca; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.form .btn-block { margin-top: 6px; }
.form > .muted { margin-top: 12px; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: .15s; height: 100%; }
.radio-card b { font-size: 14px; }
.radio-card small { font-weight: 400; color: var(--muted); font-size: 12px; }
.radio-card input:checked + span { border-color: var(--primary); background: var(--sky); box-shadow: 0 0 0 3px rgba(0,71,171,.12); }
.radio-card input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

/* orders */
.success { display: flex; gap: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.success > .ui { width: 32px; height: 32px; color: #fff; background: var(--ok); border-radius: 50%; padding: 6px; }
.success b { color: #14532d; font-size: 16px; }
.success p { margin: 4px 0 0; font-size: 14px; color: #166534; }
.order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.order.hl { border-color: var(--ok); box-shadow: 0 0 0 3px #dcfce7; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.order-head b { display: block; font-size: 16px; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; background: #fff7ed; color: var(--accent-d); white-space: nowrap; }
.order-items { list-style: none; margin: 0; padding: 10px 0; font-size: 14px; }
.order-items li { display: grid; grid-template-columns: 1fr auto 90px; gap: 12px; padding: 4px 0; }
.order-items li a:hover { color: var(--primary); }
.order-items li span:last-child { text-align: right; font-weight: 600; }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.order-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* account */
.acct { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding-bottom: 48px; align-items: start; }
.acct .spec { margin-top: 12px; }
.acct-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acct-link { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; transition: .2s; }
.acct-link:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.acct-link .ui { width: 28px; height: 28px; color: var(--primary); margin-bottom: 6px; }
.acct-link span { font-size: 13px; color: var(--muted); }

/* about / contact / policy */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.about h2 { font-size: 26px; margin-bottom: 14px; }
.about .pd-hl { margin: 16px 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: linear-gradient(135deg, var(--primary), var(--primary-d)); color: #fff; border-radius: 16px; padding: 28px 20px; text-align: center; }
.stat:nth-child(2), .stat:nth-child(3) { background: linear-gradient(135deg, var(--accent), #8f0a10); }
.stat b { display: block; font-size: 38px; font-weight: 800; line-height: 1.1; }
.stat span { opacity: .9; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.c-card { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.c-card > .ui { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #eef3ff; color: var(--primary); }
.c-card b { display: block; margin-bottom: 2px; color: var(--dark); }
.c-card p { margin: 0; font-size: 14px; color: var(--muted); word-break: break-word; }
.c-card a { color: var(--primary); font-weight: 600; }
.map { grid-column: 1 / -1; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-btn { position: absolute; top: 12px; right: 12px; }
.prose h3 { font-size: 17px; margin: 18px 0 6px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: #374151; }
.prose a { color: var(--primary); font-weight: 600; }

/* categories page */
.group-block { margin-bottom: 36px; }
.group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.group-head h2 { font-size: 20px; flex: 1; }

/* empty state */
.empty { text-align: center; padding: 56px 16px; max-width: 460px; margin: 0 auto; }
.empty-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--bg-alt); display: grid; place-items: center; margin: 0 auto 18px; color: var(--primary); }
.empty-ic .ui { width: 38px; height: 38px; }
.empty h3 { font-size: 20px; margin-bottom: 6px; }
.empty .btn { margin-top: 10px; }

/* ---------- footer ---------- */
.footer { background: #08174a; color: #94a3b8; margin-top: 0; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer a, .footer button { display: flex; padding: 4px 0; color: #94a3b8; text-align: left; transition: color .15s; }
.footer a:hover, .footer button:hover { color: #fff; }
.foot-about p { margin: 14px 0 10px; line-height: 1.7; }
.foot-about .gst b { color: #e2e8f0; letter-spacing: .5px; }
.foot-about .logo { display: inline-flex; padding: 0; }
.f-ic { display: flex !important; gap: 10px; align-items: flex-start; line-height: 1.6; margin: 0 0 6px; }
.f-ic .ui { width: 17px; height: 17px; margin-top: 3px; color: var(--accent); }
.foot-social { display: flex; gap: 10px; margin-top: 14px; }
.foot-social a { width: 38px; height: 38px; display: grid !important; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); padding: 0; }
.foot-social a:hover { background: var(--accent); }
.foot-social .ui { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; text-align: center; }

/* ---------- floating, drawer, modal, toast ---------- */
.fab { position: fixed; right: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab .ui { width: 28px; height: 28px; }
.fab-wa { bottom: 24px; background: var(--wa); }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ping 2s infinite; z-index: -1; }
@keyframes ping { 70%, 100% { transform: scale(1.6); opacity: 0; } }
.fab-call { bottom: 90px; background: var(--primary); width: 48px; height: 48px; right: 23px; }
.fab-call .ui { width: 22px; height: 22px; }
.to-top { position: fixed; left: 20px; bottom: 24px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

.bnav { display: none; }

.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(15,23,42,.5); opacity: 0; visibility: hidden; transition: .25s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); background: #fff; display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .3s; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-head .logo-mark, .drawer-head .logo-svg { width: 38px; height: 38px; }
.drawer-head .logo b { font-size: 17px; }
.drawer-body { overflow-y: auto; flex: 1; padding: 8px 0 20px; }
.d-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 20px; font-size: 15px; font-weight: 500; color: var(--dark); text-align: left; }
.d-link:hover, .d-link.active { background: var(--bg-alt); color: var(--primary); }
.d-link .ui { width: 19px; height: 19px; color: var(--muted); }
.d-link .chev { margin-left: auto; transition: transform .2s; }
.d-group.open > .d-toggle .chev { transform: rotate(180deg); }
.d-sub { display: none; background: #fafbfc; }
.d-group.open > .d-sub { display: block; }
.d-link.sub { padding-left: 36px; font-size: 14px; }
.d-link.sub2 { padding: 9px 20px 9px 52px; font-size: 14px; color: var(--muted); font-weight: 400; }
.d-contact { display: grid; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); margin-top: 8px; }

.modal { position: fixed; inset: 0; z-index: 100; background: rgba(15,23,42,.6); display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: .2s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; background: #fff; border-radius: 18px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px; transform: scale(.95) translateY(10px); transition: transform .25s; box-shadow: var(--shadow-lg); }
.modal.open .modal-box { transform: none; }
.modal-sm .modal-box { max-width: 440px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); z-index: 2; }
.modal-x:hover { background: #e2e8f0; }
.modal-head { text-align: center; margin-bottom: 18px; }
.modal-head h3 { font-size: 21px; margin-bottom: 6px; }
.modal-head p { font-size: 14px; margin: 0; }
.login-ic { width: 60px; height: 60px; border-radius: 50%; background: #eef3ff; color: var(--primary); display: grid; place-items: center; margin: 0 auto 12px; }
.login-ic .ui { width: 28px; height: 28px; }
.modal-promo .modal-box { padding: 0; max-width: 500px; overflow: hidden; }
.modal-promo .modal-x { background: rgba(255,255,255,.2); color: #fff; }
.promo-pop { text-align: center; padding: 36px 28px 30px; background: radial-gradient(circle at 80% 0%, rgba(227,20,28,.45), transparent 50%), linear-gradient(150deg, #0047ab, #011c4f); color: #fff; }
.promo-pop .kicker { background: var(--accent); }
.promo-pop h3 { color: #fff; font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.promo-pop p { opacity: .9; }
.promo-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 6px; }
.promo-tiers div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 12px 6px; }
.promo-tiers b { display: block; font-size: 18px; color: var(--gold); }
.promo-tiers span { font-size: 12px; opacity: .9; }

.toasts { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--dark); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-12px); transition: .3s; pointer-events: auto; }
.toast.show { opacity: 1; transform: none; }
.toast > span { display: flex; align-items: center; gap: 10px; }
.toast-ic { color: var(--wa); width: 18px; height: 18px; }
.toast a { color: var(--gold); font-weight: 600; white-space: nowrap; }

.only-mobile { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .grid-5 { grid-template-columns: repeat(4, 1fr); }
  .nav > a, .nav-dl { padding: 0 10px; font-size: 13px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 1360px) {
  .slide-inner { padding-left: 72px; padding-right: 72px; }
}
@media (max-width: 1100px) {
  .nav-xl { display: none !important; }
  .nav-dl { font-size: 0 !important; padding: 0 12px !important; }
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
  .hide-md { display: none; }
  .mega-inner { grid-template-columns: repeat(3, 1fr); }
  .features-row { grid-template-columns: repeat(3, 1fr); }
  .feature:nth-child(n+4) { display: none; }
  .slide h2 { font-size: 36px; }
  .slide-art { width: 260px; height: 260px; }
  .slide-art .art-svg { width: 150px; height: 150px; }
  .cart-layout { grid-template-columns: 1fr 320px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 62px; }
  .only-mobile { display: inline-grid !important; }
  .navbar { display: none; }
  .hdr { gap: 8px; }
  .logo-mark, .logo-svg { width: 38px; height: 38px; }
  .logo b { font-size: 17px; }
  .logo small { font-size: 9.5px; letter-spacing: 3.6px; }
  .hdr-search { position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .hdr-search.open { display: block; }
  .hdr-search .suggest { left: 16px; right: 16px; }
  .hdr-icon span { display: none; }
  .hdr-icon { padding: 8px; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 95; max-height: none; border-radius: 0; border: 0; transform: translateX(-100%); transition: transform .3s; padding: 16px 20px 32px; top: 0; }
  .filters.open { transform: none; }
  .toolbar .only-mobile { display: inline-flex !important; }
  .pd { grid-template-columns: 1fr; gap: 20px; }
  .pd-main .pimg.big { aspect-ratio: 16 / 10; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .acct, .about, .contact { grid-template-columns: 1fr; }
  .promo-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  body { padding-bottom: 62px; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); height: 62px; box-shadow: 0 -4px 16px rgba(15,23,42,.06); }
  .bnav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--muted); }
  .bnav a.active { color: var(--primary); }
  .bnav .ui { width: 22px; height: 22px; }
  .bnav .cart-badge { top: 6px; right: calc(50% - 22px); }
  .fab-wa { bottom: 78px; right: 14px; }
  .fab-call { bottom: 144px; right: 17px; }
  .to-top { bottom: 78px; left: 14px; }
}
@media (max-width: 680px) {
  body { font-size: 14px; }
  .hide-sm, .fab-call { display: none !important; }
  .topbar-inner { height: 32px; font-size: 12px; }
  .slides { height: 380px; }
  .slide-inner { padding-left: 16px; padding-right: 16px; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
  .slide-art { position: absolute; right: -36px; bottom: -36px; width: 190px; height: 190px; opacity: .22; }
  .slide h2 { font-size: 28px; }
  .slide p { font-size: 15px; }
  .slide-text { position: relative; z-index: 1; padding: 0 28px; }
  .hero-arrow { width: 34px; height: 34px; }
  .hero-arrow.prev { left: 6px; } .hero-arrow.next { right: 6px; }
  .features-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature:nth-child(n+3) { display: none; }
  .feature .art-svg { width: 30px; height: 30px; }
  .section { padding: 28px 0; }
  .sec-head h2 { font-size: 18px; }
  .rail-btn { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cat-tile { padding: 12px 6px 10px; font-size: 12px; }
  .grid, .grid-5 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rail { grid-auto-columns: calc((100% - 10px) / 2); gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 13px; }
  .price b { font-size: 16px; }
  .login-price { font-size: 11.5px; padding: 6px 4px; }
  .wish { width: 30px; height: 30px; }
  .promo { padding: 22px; min-height: 150px; }
  .promo h3 { font-size: 22px; }
  .promo > .art-svg { width: 80px; height: 80px; }
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 21px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { flex: 1; }
  .brand { min-width: 120px; height: 60px; font-size: 16px; }
  .page-head h1 { font-size: 22px; }
  .pd-info h1 { font-size: 21px; }
  .price.big b { font-size: 26px; }
  .pd-buy .btn { flex: 1; }
  .pd-buy .qty { width: 100%; justify-content: space-between; }
  .pd-buy .qty input { flex: 1; }
  .pd-actions .btn { flex: 1 1 calc(50% - 5px); padding-left: 8px; padding-right: 8px; }
  .line { grid-template-columns: 64px 1fr auto; grid-template-areas: 'img info del' 'img qty total'; gap: 8px 12px; padding: 12px; }
  .line-img { grid-area: img; align-self: start; }
  .line-info { grid-area: info; }
  .line .qty { grid-area: qty; justify-self: start; }
  .line-total { grid-area: total; }
  .line .icon-btn { grid-area: del; align-self: start; }
  .form-row.two { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .contact-cards { grid-template-columns: 1fr; }
  .acct-links { grid-template-columns: 1fr 1fr; }
  .map { height: 300px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 36px; }
  .order-items li { grid-template-columns: 1fr auto 70px; }
  .modal-box { padding: 22px 18px; }
  .promo-pop { padding: 32px 18px 24px; }
  .promo-pop h3 { font-size: 24px; }
  .promo-tiers b { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   BRAND THEME (Krishna Computer banner) — blue, red, gold
   ========================================================= */
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #f5c400; }
.topbar { background: var(--navy); }

/* logo: KC mark + Krishna / Computer wordmark */
.logo-mark, .logo-svg { width: auto; height: 44px; display: flex; align-items: center; }
.logo-img { height: 100%; width: auto; display: block; }
.logo b { font-size: 25px; font-weight: 800; letter-spacing: -.3px; color: var(--primary); line-height: .95; text-transform: none; }
.logo small { font-size: 15px; font-weight: 800; letter-spacing: .2px; color: var(--accent); line-height: 1.15; padding-left: 16px; text-transform: none; }
.logo.light .logo-mark { background: #fff; border-radius: 10px; padding: 4px 7px; height: 46px; }
.logo.light b { color: #fff; }
.logo.light small { color: #ff6b70; }
.drawer-head .logo-mark { height: 34px; width: auto; }
.foot-slogan { font-style: italic; color: #cbd5e1; margin: 10px 0 0 !important; }

/* hero: brand slide (Krishna + products) */
.slide-brand { background: radial-gradient(900px 420px at 72% 50%, #ffffff 0%, rgba(255,255,255,0) 70%), linear-gradient(115deg, #dceaff 0%, #f4f9ff 45%, #d6e7ff 100%); color: var(--navy); }
.slide-brand::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.sb-krishna { position: absolute; left: 0; bottom: 0; height: 100%; width: auto; max-width: 34%; object-fit: contain; object-position: left bottom; pointer-events: none; }
.slide-brand .slide-inner { position: relative; padding-left: calc(min(34%, 400px) - 40px); }
.sb-text { position: relative; z-index: 1; text-align: center; flex: none; }
.sb-slogan { font-style: italic; font-weight: 600; color: var(--primary-d); margin: 0 0 6px; font-size: 16px; }
.slide-brand h2 { display: flex; flex-direction: column; align-items: center; margin: 0 0 12px; letter-spacing: -1px; line-height: .98; }
.slide-brand h2 span:first-child { color: var(--primary); font-size: 66px; font-weight: 800; }
.slide-brand h2 span:last-child { color: var(--accent); font-size: 60px; font-weight: 800; }
.sb-pill { display: inline-flex; align-items: center; gap: 14px; background: var(--navy); color: #fff; font-weight: 700; font-size: 20px; padding: 8px 26px; border-radius: 10px; transform: skewX(-8deg); }
.sb-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; }
.sb-made { font-style: italic; font-weight: 700; color: var(--navy); font-size: 21px; margin: 12px 0 18px; }
.slide-brand .slide-cta { justify-content: center; }
.sb-products { position: relative; z-index: 1; width: 44%; max-width: 520px; height: auto; flex: none; margin-left: auto; filter: drop-shadow(0 18px 30px rgba(1,32,96,.18)); }
.slide.slide-brand.active .sb-text > * { animation: rise .7s both; }
.slide.slide-brand.active .sb-products { animation: rise .9s .15s both; }
.hero-arrow { background: rgba(1,32,96,.35); }
.hero-arrow:hover { background: rgba(1,32,96,.6); }
.dots button { background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(1,32,96,.3); }
.dots button.active { background: var(--accent); box-shadow: none; }

/* services strip (as on the banner) */
.svc-strip { background: #fff; padding: 18px 0 6px; }
.svc-strip-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.svc-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 14px 6px 12px; border: 1.5px solid #c9dbff; border-radius: 12px; background: linear-gradient(180deg, #fff, var(--sky)); font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.25; transition: .2s; min-height: 108px; }
.svc-tile .art-svg { width: 38px; height: 38px; color: var(--primary); stroke-width: 3.2; transition: transform .25s; }
.svc-tile:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(0,71,171,.14); transform: translateY(-2px); color: var(--accent); }
.svc-tile:hover .art-svg { transform: scale(1.1); color: var(--accent); }
.svc-grid { grid-template-columns: repeat(4, 1fr); }
.svc-ic { background: linear-gradient(135deg, var(--sky), #ffe9ea); }
.badge.low { background: #d97706; }

/* product page — details layout */
.pd-title { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.pd-title h1 { color: var(--accent-d); }
.brand-box { flex: none; min-width: 96px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: center; font-weight: 800; font-size: 16px; color: var(--primary); box-shadow: var(--shadow); }
.brand-box:hover { border-color: var(--primary); }
.pd-icons { display: flex; gap: 12px; justify-content: center; margin: 8px 0 16px; }
.round-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--navy); transition: .2s; }
.round-btn .ui { width: 22px; height: 22px; }
.round-btn:hover { border-color: var(--primary); color: var(--primary); }
.round-btn.wish-btn { color: var(--accent); }
.pd-details { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; background: #fff; }
.pd-details th, .pd-details td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pd-details tr:last-child th, .pd-details tr:last-child td { border-bottom: 0; }
.pd-details th { width: 46%; font-weight: 500; color: var(--navy); white-space: nowrap; }
.pd-details th .ui { width: 20px; height: 20px; color: var(--accent-d); vertical-align: -4px; margin-right: 8px; display: inline-block; }
.pd-details td { color: var(--accent-d); font-weight: 500; }
.pd-details td a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.pd-info-box { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--accent-d); font-size: 15px; }
.pd-info-box > .ui { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; }
.pd-info-box a { color: var(--accent-d); font-weight: 600; }
.pd-pricebox { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; margin-bottom: 14px; display: grid; gap: 10px; }
.pd-pricebox .pd-price { padding: 10px 14px; background: #f7f3f3; border: 1px solid #ead9da; border-radius: 10px; }
.pd-pricebox .price.big b { color: var(--accent-d); }
.stock-box { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 10px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; font-size: 15px; }
.stock-box .ui { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; }
.stock-box.in { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.stock-box.in .ui { background: #059669; }
.stock-box.low { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }
.stock-box.low .ui { background: #d97706; }
.stock-box.out { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.stock-box.out .ui { background: #dc2626; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pd-thumbs button { flex: none; width: 92px; height: 92px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; }
.pd-thumbs button.on { border-color: var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(1,32,96,.1); transform: translateY(110%); transition: transform .3s; }
.pd-sticky.show { transform: none; }
.pd-sticky-in { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.pd-sticky-price { display: flex; flex-direction: column; line-height: 1.2; min-width: 120px; }
.pd-sticky-price b { font-size: 26px; color: var(--accent-d); font-weight: 800; }
.pd-sticky-price b.lp { font-size: 15px; }
.pd-sticky-price span { font-size: 13px; color: var(--muted); font-weight: 600; }
.pd-sticky-price span.low { color: #b45309; }
.pd-sticky-price span.out { color: #b91c1c; }
.pd-sticky .btn { flex: 1; max-width: 520px; margin-left: auto; }
body.has-sticky .fab-wa { bottom: 96px; }
body.has-sticky .fab-call { bottom: 160px; }
body.has-sticky .to-top { bottom: 96px; }

/* voice search */
.voice-btn { background: #fff !important; color: var(--primary) !important; width: 44px !important; border-left: 1px solid var(--line); }
.voice-btn:hover { color: var(--accent) !important; }
.voice-btn.listening { color: #fff !important; background: var(--accent) !important; animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .65; } }

@media (max-width: 1200px) {
  .svc-strip-row { grid-template-columns: repeat(4, 1fr); }
  .svc-tile { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px 12px; }
  .svc-tile .art-svg { width: 30px; height: 30px; flex: none; }
  .slide-brand h2 span:first-child { font-size: 54px; }
  .slide-brand h2 span:last-child { font-size: 48px; }
}
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .sb-products { width: 38%; }
  .sb-pill { font-size: 16px; padding: 7px 18px; }
}
@media (max-width: 900px) {
  .logo-mark, .logo-svg { height: 34px; width: auto; }
  .logo b { font-size: 20px; }
  .logo small { font-size: 12.5px; padding-left: 12px; letter-spacing: .2px; }
  .pd-sticky { bottom: 62px; }
  body.has-sticky .fab-wa { bottom: 152px; }
  body.has-sticky .to-top { bottom: 152px; }
}
@media (max-width: 680px) {
  .sb-products, .hero-arrow { display: none; }
  .sb-krishna { width: 50%; max-width: none; height: auto; left: auto; right: -8px; bottom: 6px; }
  .slide-brand .slide-inner { padding-left: 18px; padding-right: 18px; justify-content: center; align-items: flex-start; }
  .sb-text { text-align: left; max-width: 60%; }
  .slide-brand h2 { align-items: flex-start; margin-bottom: 10px; }
  .slide-brand h2 span:first-child { font-size: 36px; }
  .slide-brand h2 span:last-child { font-size: 30px; }
  .sb-slogan { font-size: 12px; line-height: 1.35; margin-bottom: 8px; }
  .sb-pill { font-size: 11.5px; gap: 6px; padding: 5px 10px; white-space: nowrap; }
  .sb-pill i { width: 5px; height: 5px; }
  .sb-made { font-size: 14px; margin: 10px 0 14px; }
  .slide-brand .slide-cta { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 8px; }
  .slide-brand .slide-cta .btn { padding: 9px 16px; font-size: 13.5px; min-width: 136px; }
  .svc-strip-row { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .svc-tile { font-size: 12.5px; }
  .svc-grid { grid-template-columns: 1fr; }
  .pd-title h1 { font-size: 21px; }
  .brand-box { min-width: 72px; padding: 10px; font-size: 13px; }
  .pd-details { font-size: 14px; }
  .pd-details th, .pd-details td { padding: 10px 12px; }
  .pd-details th { white-space: normal; width: 44%; }
  .pd-sticky-price b { font-size: 22px; }
}

/* ---------- admin (#/admin) ---------- */
.adm-login { max-width: 460px; padding-block: 40px 56px; }
.adm-login-card { text-align: center; padding: 32px 28px; box-shadow: var(--shadow); }
.adm-login-card h1 { font-size: 22px; color: var(--dark); margin: 12px 0 4px; }
.adm-login-card > .muted { margin-bottom: 20px; }
.adm-login-card > .small { margin-top: 14px; }
.adm-login-logo { height: 52px; margin: 0 auto; }
.btn-google { background: #fff; color: #1f1f1f; border: 1.5px solid var(--line); gap: 10px; }
.btn-google:hover { background: #f8f9fb; border-color: #c7ccd4; }
.g-logo { width: 20px; height: 20px; flex: none; }
.adm-alert { text-align: left; font-size: 14px; line-height: 1.6; color: #7f1d1d; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.adm-alert > b { display: block; color: var(--danger); margin-bottom: 4px; }
.adm-alert code { background: #fff; border: 1px solid #fecaca; border-radius: 4px; padding: 1px 5px; font-size: 13px; word-break: break-all; }
.adm-note { margin-bottom: 16px; }
.adm-note .btn { margin-top: 12px; }
.adm-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.adm-bar input { flex: 1; min-width: 220px; width: auto; }
.adm-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th, .adm-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.adm-table th { background: #fafbfc; color: var(--muted); font-weight: 600; white-space: nowrap; }
.adm-table td:nth-child(2), .adm-table td:nth-child(5), .adm-table td:nth-child(6) { white-space: nowrap; }
.adm-table img { width: 44px; height: 44px; object-fit: contain; display: block; }
.adm-table a:not(.btn) { color: var(--dark); font-weight: 600; }
.adm-act { white-space: nowrap; }
.adm-act > * { vertical-align: middle; }
.adm-stock { font-size: 12px; font-weight: 600; white-space: nowrap; }
.adm-stock.in { color: var(--ok); }
.adm-stock.low { color: var(--accent-d); }
.adm-stock.out { color: var(--danger); }
.adm-tags { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.adm-tags legend { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form .adm-tags .check { flex-direction: row; font-weight: 400; font-size: 14px; }
.adm-photo-row { display: flex; align-items: center; gap: 14px; }
.adm-photo { width: 120px; height: 120px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.adm-num { width: 96px; border: 1.5px solid var(--line); border-radius: 6px; padding: 6px 8px; font: inherit; font-size: 14px; }
.adm-num:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,71,171,.14); }
.adm-group th { background: var(--sky); color: var(--dark); font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.line-out { opacity: .75; }
.line-out .line-img { filter: grayscale(1); }
.pill.st-confirmed, .pill.st-ready { background: var(--sky); color: var(--primary); }
.pill.st-delivered { background: #ecfdf5; color: var(--ok); }
.pill.st-cancelled { background: #fef2f2; color: var(--danger); }
.adm-h2 { font-size: 18px; color: var(--dark); margin: 26px 0 10px; }
.adm-order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.adm-order summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 16px; cursor: pointer; font-size: 14px; }
.adm-order summary > :last-child { margin-left: auto; }
.adm-order[open] summary { border-bottom: 1px solid var(--line); }
.adm-order-body { padding: 12px 16px; font-size: 14px; }
.adm-order-body .adm-bar { margin: 12px 0 0; }
.adm-order-body label { flex-direction: row; align-items: center; gap: 8px; }
.adm-order-body select { width: auto; padding: 7px 10px; }
.app-loading { padding: 80px 16px; text-align: center; color: var(--muted); }

/* Price List buttons are admin-only (toggled with the hidden attribute) */
[data-action="pricelist"][hidden] { display: none !important; }
