/* =========================================================
   Enterprise storefront clone — design system
   ========================================================= */
:root {
  --primary: #ff5722; /* Premium Teal / Cyan Emerald */
  --primary-dark: #e64a19;
  --primary-soft: #fff3e0;
  --accent: #f59e0b; /* Luxury Amber Gold */
  --accent-soft: #fef3c7;
  --ink: #0f172a; /* Deep Slate Ink */
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --navy: #090d16;
  --footer: #0b1120;
  --green: #16a34a;
  --green-soft: #ecfdf3;
  --red: #ef4444;
  --amber: #f59e0b;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 24px 60px -24px rgba(16, 24, 40, .26);
  --font: 'Poppins', 'Nirmala UI', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
img { max-width: 100%; display: block; }
svg { flex: 0 0 auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(255, 87, 34, .18); }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 20px; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  transform: translateY(-160%); padding: 10px 16px; background: #111; color: #fff;
  border-radius: 8px; transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.icon { display: inline-block; vertical-align: middle; }
.rotate-180 { transform: rotate(180deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 8px 20px -10px rgba(255, 87, 34, .8); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--surface-3); }
.btn-dark { background: #111c33; color: #fff; border-color: #111c33; }
.btn-dark:hover { background: #22304d; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: #eaf2ff; color: var(--primary); }
.btn-whatsapp { background: #22c55e; color: #fff; border-color: #22c55e; }
.btn-whatsapp:hover { background: #16a34a; border-color: #16a34a; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; border-radius: 50%; color: var(--ink); position: relative;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-3); color: var(--primary); }
.badge {
  position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center; background: var(--primary); color: #fff;
  border: 2px solid #fff; border-radius: 999px; font-size: 9px; font-weight: 700; line-height: 1;
}
.badge.is-empty { display: none; }
.pill { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 700; }
.link-btn { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--primary); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow.light { color: rgba(255, 255, 255, .82); }

/* ---------- Boot ---------- */
.boot-screen { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 22px; background: #fff; }
.boot-logo { width: min(220px, 48vw); opacity: .95; }
.loader-ring { width: 26px; height: 26px; border: 2px solid #e5e7eb; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.boot-error { min-height: 70vh; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 30px; }
.boot-error img { width: 180px; margin-bottom: 10px; }
.boot-error h1 { font-size: 24px; }
.boot-error p { color: var(--muted); margin-bottom: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #e8edf6; font-size: 11.5px; }
.topbar-inner { height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; opacity: .9; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar-phone { font-weight: 500; letter-spacing: .02em; }
.topbar-offer { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 500; letter-spacing: .01em; }
.topbar-inner { position: relative; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { font-weight: 500; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; }
.header-main { height: var(--header-h); display: flex; align-items: center; gap: 26px; }
.mobile-menu-btn { display: none; }
.brand-logo { flex: 0 0 auto; display: block; }
.brand-logo img { width: 125px; height: auto; }
.header-search { position: relative; flex: 1; max-width: 540px; margin-inline: auto; }
.search-form {
  display: flex; align-items: center; height: 44px; border: 1.6px solid var(--primary);
  border-radius: 999px; background: #fff; overflow: hidden; transition: box-shadow .2s;
}
.search-form:focus-within { box-shadow: 0 0 0 4px rgba(255, 87, 34, .10); }
.search-leading { margin-left: 15px; color: #98a2b3; }
.search-form input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  padding: 0 10px; font-size: 13.5px; color: var(--ink);
}
.search-form input::placeholder { color: #98a2b3; }
.search-submit {
  width: 54px; height: 100%; flex: 0 0 54px; border: 0; background: var(--primary); color: #fff;
  display: grid; place-items: center; transition: background .2s;
}
.search-submit:hover { background: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.header-action { width: 42px; height: 42px; color: #1f2937; }
.header-action:hover { color: var(--primary); background: var(--primary-soft); }
.header-action .badge { top: 2px; right: 2px; }

.search-suggestions {
  position: absolute; z-index: 90; top: calc(100% + 9px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; overflow: hidden;
}
.suggest-head { display: flex; justify-content: space-between; padding: 8px 10px 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.suggest-head span { color: var(--primary); }
.suggest-item { display: flex; align-items: center; gap: 11px; padding: 8px 9px; border-radius: 10px; }
.suggest-item:hover { background: var(--surface-2); }
.suggest-img { width: 42px; height: 42px; border-radius: 8px; background: var(--surface-2); overflow: hidden; flex: 0 0 42px; }
.suggest-img img { width: 100%; height: 100%; object-fit: contain; }
.suggest-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.suggest-copy strong { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-copy small { color: var(--muted); font-size: 10.5px; }
.suggest-item b { font-size: 12.5px; color: var(--primary); }
.suggest-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; padding: 9px; border-top: 1px solid var(--line); color: var(--primary); font-size: 12px; font-weight: 600; }
.suggest-empty { padding: 18px 12px; color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- Nav ---------- */
.main-nav { border-top: 1px solid #f0f2f5; border-bottom: 1px solid #eef1f5; background: #fff; width: 100%; overflow: hidden; }
.nav-scroll { display: flex; align-items: center; justify-content: flex-start; gap: clamp(14px, 1.8vw, 24px); height: 44px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-inline: 4px; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-link {
  position: relative; flex: 0 0 auto; color: #2f3a4c; font-size: 11.5px; font-weight: 600;
  letter-spacing: .025em; text-transform: uppercase; white-space: nowrap; padding: 10px 0;
  transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: center; transition: transform .25s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.nav-more { display: none; }

/* ---------- Mobile menu ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.mobile-nav::before { content: ''; position: absolute; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; transition: opacity .3s; }
.mobile-nav-panel {
  position: absolute; inset-block: 0; left: 0; width: min(86vw, 370px); background: #fff;
  transform: translateX(-102%); transition: transform .32s cubic-bezier(.22, .8, .22, 1);
  display: flex; flex-direction: column; box-shadow: 20px 0 60px rgba(0,0,0,.18);
}
.mobile-nav.open { pointer-events: auto; }
.mobile-nav.open::before { opacity: 1; }
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 16px; border-bottom: 1px solid var(--line); }
.mobile-nav-head img { width: 142px; }
.mobile-nav-links { padding: 10px 12px; overflow-y: auto; }
.mobile-nav-links a { display: flex; align-items: center; gap: 11px; padding: 13px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: #253044; }
.mobile-nav-links a svg:last-child { margin-left: auto; color: #aab2bf; }
.mobile-nav-links a:hover { background: var(--primary-soft); color: var(--primary); }
.mobile-nav-divider { height: 1px; background: var(--line); margin: 8px 10px; }
.mobile-nav-foot { margin-top: auto; padding: 18px; background: var(--surface-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.mobile-nav-foot a { color: var(--primary); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 56px; padding-top: 54px; background: var(--footer); color: #aebbd0; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .7fr .7fr 1.15fr 1.4fr; gap: 40px; }
.footer-logo img { width: 154px; margin-bottom: 18px; filter: brightness(1.32) saturate(1.08); }
.footer-brand p { font-size: 12px; line-height: 1.75; max-width: 290px; color: #a6b3c7; }
.social-row { display: flex; gap: 9px; margin-top: 20px; }
.social-row a { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #dce5f2; transition: background .2s, color .2s; }
.social-row a:hover { background: var(--primary); color: #fff; }
.footer-col h3, .footer-news h3 { color: #fff; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; margin-bottom: 17px; }
.footer-col ul li + li { margin-top: 9px; }
.footer-col a, .footer-col p { font-size: 12px; color: #aab7c9; line-height: 1.6; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact p { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact p { margin: 0; }
.footer-contact svg { margin-top: 2px; color: #8fa5c5; }
.footer-news p { font-size: 12px; color: #aab7c9; margin-bottom: 13px; }
.newsletter-form { display: flex; height: 42px; border-radius: 8px; overflow: hidden; background: #fff; padding: 3px; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 10px; font-size: 12px; color: var(--ink); }
.newsletter-form button { border: 0; border-radius: 6px; background: var(--primary); color: #fff; padding: 0 17px; font-size: 12px; font-weight: 600; }
.newsletter-form button:hover { background: var(--primary-dark); }
.footer-news small { margin-top: 10px; display: flex; align-items: center; gap: 5px; font-size: 10px; color: #8798b1; }
.payment-strip { margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.09); }
.payment-strip img { width: 100%; max-width: 1180px; margin-inline: auto; opacity: .95; }
.footer-bottom { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0 22px; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 11px; color: #94a3b8; }
.footer-made { opacity: .65; }
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55; width: 55px; height: 55px;
  border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .2s;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); }

/* ---------- Home / hero ---------- */
.home-wrap { padding-top: 10px; }
.hero {
  position: relative; width: 100%; aspect-ratio: 16 / 5; border-radius: 26px; overflow: hidden;
  background: var(--surface-2); isolation: isolate;
}
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-arrow {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9);
  color: #1f2937; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(15,23,42,.15);
  opacity: 0; transition: opacity .25s, background .2s;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: var(--primary); color: #fff; }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 15px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 8px; border-radius: 999px; background: rgba(15,23,42,.16); backdrop-filter: blur(6px); }
.hero-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.62); transition: width .2s, background .2s; }
.hero-dots button.active { width: 20px; background: #fff; }

.home-usp {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px;
  padding: 13px 8px; border-bottom: 1px solid var(--line);
}
.home-usp span { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.home-usp svg { color: var(--primary); }
.home-usp strong { color: var(--ink-2); font-weight: 600; }

.section { margin-top: 38px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 16px; }
.section-title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.045em; font-weight: 700; }
.section-tools { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.view-all { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.view-all:hover { color: var(--primary); }
.rail-controls { display: flex; gap: 7px; }
.rail-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); display: grid; place-items: center; transition: all .2s; }
.rail-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.rail-btn:disabled { opacity: .35; }

.rail-wrap { position: relative; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

.category-rail .category-card { flex: 0 0 calc((100% - 6 * 16px) / 7); }
.category-card { display: block; }
.category-img {
  display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--surface-2);
  border: 1px solid #f0f2f5;
}
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,.8,.22,1); }
.category-card:hover .category-img img { transform: scale(1.07); }
.category-name { display: flex; align-items: center; justify-content: center; gap: 5px; padding-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; transition: color .2s; }
.category-name svg { color: #9aa4b2; transition: transform .2s, color .2s; }
.category-card:hover .category-name { color: var(--primary); }
.category-card:hover .category-name svg { color: var(--primary); transform: translateX(3px); }

.product-section { margin-top: 40px; }
.product-rail .product-card { flex: 0 0 calc((100% - 4 * 16px) / 5); }

/* ---------- Product card ---------- */
.product-card {
  position: relative; min-width: 0; display: flex; flex-direction: column;
  border: 1px solid #e7eaf0; border-radius: 15px; background: #fff; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(255,87,34,.3); box-shadow: 0 18px 36px -22px rgba(15,23,42,.35); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #fbfcfd 0%, #f2f5f9 100%); overflow: hidden; }
.card-media-link { position: absolute; inset: 0; display: grid; place-items: center; padding: 7%; }
.card-media-link img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.22,.8,.22,1); }
.product-card:hover .card-media-link img { transform: scale(1.055); }
.sale-flag {
  position: absolute; z-index: 3; left: 9px; top: 9px; padding: 4px 8px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: .02em;
}
.wish-float {
  position: absolute; z-index: 4; top: 7px; right: 7px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #5b6472;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(15,23,42,.08);
  transition: color .2s, background .2s, transform .2s;
}
.wish-float:hover { color: var(--red); background: #fff0f1; transform: scale(1.05); }
.wish-float.active { color: var(--red); }
.wish-float.active svg { fill: currentColor; }
.sold-pill {
  position: absolute; z-index: 3; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 7px; background: rgba(255,255,255,.94); border: 1px solid rgba(15,23,42,.04);
  border-radius: 999px; box-shadow: 0 2px 7px rgba(15,23,42,.06);
  color: #4b5563; font-size: 9px; font-weight: 600;
}
.sold-pill svg { color: var(--primary); }
.card-body { padding: 11px 12px 9px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 13px; font-weight: 600; line-height: 1.38; color: #263244; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; transition: color .2s; }
.card-title-link:hover .card-title { color: var(--primary); }
.rating-row { display: flex; align-items: center; gap: 5px; margin-top: 5px; min-height: 18px; }
.stars { display: inline-flex; align-items: center; gap: 1px; color: #d6dae1; letter-spacing: 0; }
.star { display: inline-flex; }
.star.filled { color: #f5b301; }
.review-count { font-size: 10px; color: #98a1ad; white-space: nowrap; }
.price-row { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 7px; }
.price { color: var(--primary); font-size: 17px; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
.price-old { color: #a0a8b4; font-size: 11px; text-decoration: line-through; }
.card-actions { display: flex; gap: 6px; margin-top: 8px; }
.order-btn { flex: 1; height: 34px; padding: 0 8px; font-size: 11px; font-weight: 600; gap: 5px; }
.cart-round { flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border-radius: 50%; }
.trust-line {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px;
  padding-top: 7px; border-top: 1px dashed #e3e7ed; color: #85909e; font-size: 8.5px; white-space: nowrap;
}
.trust-line span { display: inline-flex; align-items: center; gap: 3px; }
.trust-line span:first-child { color: #13864a; }

/* ---------- Newsletter band ---------- */
.newsletter-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin: 52px 0 8px; padding: 34px 38px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(800px 300px at 90% 10%, rgba(255,255,255,.2), transparent 55%), linear-gradient(120deg, #bf360c, #ff5722 58%, #ff7043);
  color: #fff;
}
.newsletter-band::after { content: ''; position: absolute; right: -70px; top: -120px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.newsletter-band-copy { position: relative; z-index: 1; max-width: 580px; }
.newsletter-band h2 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.18; letter-spacing: -.035em; margin: 8px 0 7px; }
.newsletter-band p { font-size: 12.5px; color: rgba(255,255,255,.8); }
.newsletter-band-form { position: relative; z-index: 1; display: flex; gap: 8px; flex: 0 0 440px; }
.newsletter-band-form input { flex: 1; min-width: 0; height: 44px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; padding: 0 18px; outline: none; font-size: 12.5px; }
.newsletter-band-form input::placeholder { color: rgba(255,255,255,.65); }
.newsletter-band-form input:focus { border-color: #fff; background: rgba(255,255,255,.16); }

/* ---------- Shared page hero ---------- */
.page-hero {
  position: relative; min-height: 220px; display: flex; align-items: center; overflow: hidden;
  background: #445063; isolation: isolate;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image: var(--page-hero-image); background-size: cover; background-position: center 46%;
}
.page-hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,23,42,.48), rgba(15,23,42,.64)); }
.page-hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 38px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 66px); line-height: .98; font-weight: 700; letter-spacing: -.045em; text-transform: uppercase; max-width: 1100px; }
.breadcrumb { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px; margin-top: 17px; color: rgba(255,255,255,.9); font-size: 11.5px; font-weight: 500; text-transform: capitalize; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.84); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #fff; font-weight: 600; }
.crumb-arrow { opacity: .65; margin-inline: 3px; }

.crumb-row { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: 16px 0 18px; color: #7b8492; font-size: 11px; text-transform: capitalize; }
.crumb-row a { display: inline-flex; align-items: center; gap: 4px; }
.crumb-row a:hover { color: var(--primary); }
.crumb-row span { color: #394456; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 50vw; }

/* ---------- Listing ---------- */
.listing-wrap { padding-top: 22px; }
.listing-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.listing-intro > p { font-size: 12.5px; color: var(--muted); }
.mobile-filter-btn { display: none; }
.listing-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: 26px; align-items: start; }
.filter-panel {
  position: sticky; top: 132px; border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  background: #fff;
}
.filter-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.filter-head h2 { font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
.filter-close { display: none; }
.filter-block { padding: 17px 0; border-bottom: 1px solid #eef1f5; }
.filter-label { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; color: #3b4658; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.filter-panel select {
  width: 100%; height: 38px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none; font-size: 12px; outline: none; cursor: pointer;
}
.filter-panel select:focus { border-color: var(--primary); }
/* Dual Range Slider Styles */
.filter-block .filter-label { font-weight: 700; font-size: 13px; color: #1e293b; letter-spacing: 0.5px; margin-bottom: 12px; display: block; }
.dual-range-slider {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  margin: 10px 0 6px;
}
.slider-track-bg {
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: #f1f5f9;
  border-radius: 999px;
  z-index: 1;
}
.slider-track-active {
  position: absolute;
  height: 5px;
  background-color: #ff5722; /* Vibrant emerald green matching screenshot */
  border-radius: 999px;
  z-index: 2;
  left: 0%;
  right: 0%;
}
.range-slider-input {
  position: absolute;
  width: 100%;
  height: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
  margin: 0;
}
.range-slider-input::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #ff5722;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: transform 0.1s ease, border-color 0.1s ease;
}
.range-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.range-slider-input::-webkit-slider-thumb:active {
  transform: scale(1.2);
  background: #fff7ed;
}
.range-slider-input::-moz-range-thumb {
  pointer-events: auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #ff5722;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.range-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 2px;
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
}
.price-fields { display: flex; align-items: center; gap: 8px; }
.price-fields label { flex: 1; display: flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 12px; color: #64748b; background: #fff; }
.price-fields input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; color: var(--ink); font-weight: 600; }
.price-fields span { color: #94a3b8; }
.rating-filter { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #4b5563; cursor: pointer; line-height: 1.3; }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.fake-check { width: 15px; height: 15px; border: 1px solid #cbd3df; border-radius: 4px; background: #fff; flex: 0 0 15px; position: relative; }
.check-row input:checked + .fake-check { background: var(--primary); border-color: var(--primary); }
.check-row input:checked + .fake-check::after { content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rating-stars .stars { gap: 0; }
.rating-up { color: #4b5563; font-size: 11px; }
.apply-filter { margin-top: 18px; height: 40px; font-size: 12.5px; }
.filter-help { display: flex; gap: 8px; margin-top: 17px; padding: 11px; border-radius: 9px; background: var(--surface-2); color: #77818f; }
.filter-help svg { color: var(--primary); margin-top: 1px; }
.filter-help p { font-size: 9.5px; line-height: 1.55; }
.filter-help strong { color: #3e4b5f; }

.listing-results { min-width: 0; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 38px; padding: 0 2px 9px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.results-count { color: #5e6978; font-size: 11.5px; font-weight: 500; }
.results-sort-label { display: inline-flex; align-items: center; gap: 5px; color: #8a94a2; font-size: 10.5px; }
.listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.listing-grid .card-title { font-size: 12.5px; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.load-more-btn { min-width: 200px; height: 44px; }
.listing-empty { padding-top: 20px; }
.search-page-form {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px; height: 50px; padding: 0 8px 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.search-page-form svg { color: #98a2b3; }
.search-page-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-page-form .btn { height: 38px; }

/* ---------- Empty states ---------- */
.empty-state { max-width: 480px; margin: 42px auto; padding: 40px 28px; text-align: center; border: 1px dashed #d8dfe9; border-radius: 18px; background: #fbfcfe; }
.empty-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 17px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); }
.empty-state h2 { font-size: 21px; letter-spacing: -.025em; }
.empty-state p { margin: 7px auto 20px; color: var(--muted); font-size: 12.5px; max-width: 360px; }

/* ---------- Product detail ---------- */
.product-page-wrap { padding-bottom: 8px; }
.product-detail { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 26px; align-items: start; }
.gallery-col { min-width: 0; }
.gallery-card { position: relative; border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; max-height: 640px; background: linear-gradient(180deg, #fbfcfd, #f1f4f8); overflow: hidden; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 5%; transition: transform .18s ease-out; cursor: zoom-in; }
.zoom-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.85); color: #6d7786; font-size: 9.5px; backdrop-filter: blur(5px); white-space: nowrap; }
.detail-wish { top: 13px; right: 13px; width: 40px; height: 40px; }
.thumbs { display: flex; gap: 9px; padding: 12px; border-top: 1px solid var(--line); overflow-x: auto; }
.thumb { width: 64px; height: 64px; flex: 0 0 64px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255,87,34,.12); }
.detail-assurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.detail-assurance > div { display: flex; align-items: flex-start; gap: 8px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.detail-assurance svg { color: var(--primary); margin-top: 1px; }
.detail-assurance span { display: flex; flex-direction: column; }
.detail-assurance strong { font-size: 9.5px; font-weight: 600; line-height: 1.35; }
.detail-assurance small { font-size: 8.5px; color: #8a94a2; line-height: 1.4; margin-top: 1px; }

.product-info { min-width: 0; border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 28px; }
.product-heading h1 { font-size: clamp(22px, 2.1vw, 29px); line-height: 1.28; letter-spacing: -.025em; font-weight: 600; }
.product-meta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.rating-inline { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #7b8492; }
.save-pill { padding: 3px 8px; border-radius: 5px; background: #dc2626; color: #fff; font-size: 9.5px; font-weight: 600; }
.product-spec-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 11px; color: #6b7280; font-size: 11px; }
.product-spec-line strong { color: #384254; font-weight: 500; }
.product-spec-line a { color: var(--primary); }
.product-buy-box { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.detail-price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price-label { color: #5d6878; font-size: 12px; font-weight: 500; }
.detail-price-value { color: var(--primary); font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.detail-price s { color: #9aa3af; font-size: 13px; }
.short-description { margin-top: 14px; color: #5f6b7a; font-size: 12.5px; line-height: 1.75; }
.stock-line { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 9px 12px; border-radius: 8px; background: var(--surface-2); color: #5b6675; font-size: 10.5px; }
.stock-line span { display: inline-flex; align-items: center; gap: 5px; }
.stock-line strong { color: #293548; font-weight: 600; }
.stock-dot { width: 3px; height: 3px; border-radius: 50%; background: #b4bcc7; }
.variant-area { margin-top: 16px; display: flex; flex-direction: column; gap: 13px; }
.variant-label { display: block; margin-bottom: 7px; color: #586476; font-size: 10.5px; }
.variant-label strong { color: var(--ink); font-weight: 600; }
.variant-options { display: flex; flex-wrap: wrap; gap: 6px; }
.variant-option { height: 32px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: #4b5563; font-size: 10.5px; transition: all .18s; }
.variant-option:hover { border-color: var(--primary); color: var(--primary); }
.variant-option.selected { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.purchase-row { display: flex; gap: 8px; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; height: 42px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; overflow: hidden; flex: 0 0 auto; }
.qty button { width: 34px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; color: #5c6674; }
.qty button:hover { color: var(--primary); background: var(--primary-soft); }
.qty span { min-width: 30px; text-align: center; font-size: 12px; font-weight: 600; }
.qty-sm { height: 28px; border-radius: 7px; }
.qty-sm button { width: 24px; }
.qty-sm span { min-width: 24px; font-size: 10.5px; }
.add-detail-cart { flex: 1; height: 42px; }
.wish-square { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: #5b6472; display: grid; place-items: center; }
.wish-square:hover { color: var(--red); border-color: var(--red); }
.wish-square.active { color: var(--red); border-color: #fecdd3; background: #fff1f2; }
.wish-square.active svg { fill: currentColor; }
.order-now-detail { margin-top: 8px; height: 40px; }
.quick-buy { margin-top: 8px; height: 42px; }
.add-detail-cart + .wish-square { margin-left: 0; }
.product-buy-box > .btn-block + .btn-block { margin-top: 8px; }
.share-row { display: flex; align-items: center; gap: 7px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); color: #7b8492; font-size: 10.5px; }
.share-row > span { display: inline-flex; align-items: center; gap: 4px; margin-right: 2px; }
.share-row a { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.share-fb { background: #1877f2; }
.share-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 48%, #6228d7); }
.share-tw { background: #111; }
.share-wa { background: #25d366; }
.copy-link { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #5d6674; font-size: 9.5px; }
.copy-link:hover { border-color: var(--primary); color: var(--primary); }

.product-tabs { margin-top: 30px; border-top: 1px solid var(--line); }
.tab-nav { display: flex; gap: 26px; border-bottom: 1px solid var(--line); }
.tab-btn { position: relative; height: 51px; border: 0; background: none; color: #67707e; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.tab-btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.tab-btn.active { color: var(--ink); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn span { color: #9aa3af; font-weight: 500; margin-left: 4px; }
.tab-panel { display: none; padding: 24px 0 8px; }
.tab-panel.active { display: block; }
.description.rich-text { max-width: 1020px; color: #4e5a6b; font-size: 12.5px; line-height: 1.85; }
.description.clamped { max-height: 260px; overflow: hidden; position: relative; }
.description.clamped::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, #fff); }
.rich-text p { margin: 0 0 11px; }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4 { color: #1c2637; font-weight: 600; line-height: 1.4; margin: 20px 0 8px; }
.rich-text h3 { font-size: 15px; }
.rich-text strong { color: #263244; font-weight: 600; }
.rich-text ul, .rich-text ol { margin: 8px 0 13px; padding-left: 20px; list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 5px; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 13px 0; font-size: 11.5px; }
.rich-text th, .rich-text td { border: 1px solid #e4e8ee; padding: 8px 10px; text-align: left; vertical-align: top; }
.rich-text th { background: #f7f9fc; color: #263244; font-weight: 600; }
.rich-text a { color: var(--primary); text-decoration: underline; }
.rich-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.read-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 0; background: none; color: var(--primary); font-size: 11.5px; font-weight: 600; }
.reviews-layout { display: flex; align-items: center; gap: 38px; max-width: 850px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.review-summary { text-align: center; min-width: 100px; }
.review-score { display: block; font-size: 31px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.review-summary .stars { margin-top: 7px; }
.review-summary p { color: #8a94a2; font-size: 9.5px; margin-top: 6px; }
.review-bars { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 5px; }
.review-bar-row { display: grid; grid-template-columns: 12px 1fr 20px; align-items: center; gap: 7px; font-size: 9px; color: #84909f; }
.review-bar-row div { height: 5px; border-radius: 999px; background: #e8ecf2; overflow: hidden; }
.review-bar-row i { display: block; height: 100%; border-radius: inherit; background: #f5b301; }
.write-review { flex: 0 0 auto; height: 36px; font-size: 11px; }
.no-reviews { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; color: #8a94a2; }
.no-reviews p { font-size: 11px; line-height: 1.55; }
.no-reviews strong { color: #4e5a6b; }
.related-section { margin-top: 38px; }

/* ---------- Cart drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(15,23,42,.48); opacity: 0; pointer-events: none; transition: opacity .28s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; z-index: 110; top: 0; right: 0; bottom: 0; width: min(420px, 94vw); background: #fff;
  display: flex; flex-direction: column; transform: translateX(102%); transition: transform .3s cubic-bezier(.22,.8,.22,1);
  box-shadow: -20px 0 60px rgba(15,23,42,.18);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 22px 17px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 19px; letter-spacing: -.02em; margin-top: 3px; }
.drawer-head h2 span { color: #8b95a3; font-weight: 400; font-size: 13px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.drawer-line { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid #eef1f5; position: relative; }
.drawer-thumb { width: 66px; height: 66px; flex: 0 0 66px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; overflow: hidden; }
.drawer-thumb img { width: 100%; height: 100%; object-fit: contain; }
.drawer-line-main { min-width: 0; flex: 1; padding-right: 18px; }
.drawer-line-title { font-size: 11.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-variant { display: block; margin-top: 3px; color: #8a94a2; font-size: 9.5px; }
.drawer-line-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.drawer-line-bottom strong { color: var(--primary); font-size: 12px; }
.line-remove { position: absolute; right: 0; top: 16px; border: 0; background: none; color: #a3acb8; padding: 2px; }
.line-remove:hover { color: var(--red); }
.drawer-empty { text-align: center; padding: 62px 10px; color: #8c96a4; }
.drawer-empty svg { color: #b7c0cc; margin: 0 auto 13px; }
.drawer-empty h3 { color: #2a3547; font-size: 17px; margin-bottom: 5px; }
.drawer-empty p { font-size: 11.5px; max-width: 230px; margin: 0 auto 19px; line-height: 1.6; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fbfcfe; }
.drawer-subtotal { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.drawer-subtotal strong { font-size: 19px; letter-spacing: -.03em; }
.drawer-note { display: flex; align-items: center; gap: 5px; margin: 7px 0 13px; color: #8b95a3; font-size: 10px; }
.drawer-foot .btn { height: 40px; font-size: 12px; margin-top: 7px; }

/* ---------- Cart page ---------- */
.cart-page-wrap { padding-top: 18px; }
.cart-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.cart-items-panel { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-panel-head h2 { font-size: 17px; letter-spacing: -.02em; }
.cart-panel-head span { color: #8a94a2; font-size: 10.5px; }
.cart-table-head { display: grid; grid-template-columns: minmax(0, 1fr) 92px 126px 92px; gap: 12px; padding: 10px 20px; background: #f8fafc; color: #8a94a2; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.cart-table-head span:not(:first-child) { text-align: center; }
.cart-page-line { display: grid; grid-template-columns: minmax(0, 1fr) 92px 126px 92px; gap: 12px; align-items: center; padding: 15px 20px; border-top: 1px solid #eef1f5; }
.cart-page-line:first-child { border-top: 0; }
.cart-product { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cart-thumb { width: 65px; height: 65px; flex: 0 0 65px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #f8fafc; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-name { font-size: 11.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 330px; }
.cart-name:hover { color: var(--primary); }
.cart-variant { display: block; color: #8993a1; font-size: 9.5px; margin-top: 2px; }
.remove-text { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 0; background: none; padding: 0; color: #98a2ae; font-size: 9.5px; }
.remove-text:hover { color: var(--red); }
.cart-unit, .cart-line-total { text-align: center; font-size: 11.5px; color: #5c6674; }
.cart-line-total { font-weight: 600; color: var(--ink); }
.cart-page-line .qty { justify-self: center; height: 32px; }
.cart-page-line .qty button { width: 27px; }
.cart-continue { padding: 15px 20px; border-top: 1px solid var(--line); }
.cart-continue a { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-size: 11px; font-weight: 600; }
.cart-summary { position: sticky; top: 130px; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 22px; }
.cart-summary h2 { font-size: 17px; letter-spacing: -.02em; margin-bottom: 17px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #5c6674; padding: 6px 0; }
.summary-row strong { color: var(--ink); font-weight: 600; }
.summary-block { padding: 13px 0; margin-top: 8px; border-top: 1px solid #eef1f5; }
.summary-label { display: flex; align-items: center; gap: 5px; color: #5c6674; font-size: 10.5px; font-weight: 600; margin-bottom: 8px; }
.shipping-options { display: flex; flex-direction: column; gap: 6px; }
.radio-card { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 10.5px; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-dot { width: 14px; height: 14px; flex: 0 0 14px; border: 1px solid #c6ced9; border-radius: 50%; background: #fff; position: relative; }
.radio-card input:checked + .radio-dot, .shipping-card input:checked + .radio-dot, .payment-card input:checked + .radio-dot { border-color: var(--primary); }
.radio-card input:checked + .radio-dot::after, .shipping-card input:checked + .radio-dot::after, .payment-card input:checked + .radio-dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--primary); }
.radio-card:has(input:checked) { border-color: var(--primary); background: #f7faff; }
.radio-card strong { margin-left: auto; font-weight: 600; }
.summary-total { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.summary-total strong { color: var(--primary); font-size: 22px; letter-spacing: -.035em; }
.summary-tax { color: #98a2ae; font-size: 9px; text-align: right; margin-top: 1px; }
.cart-summary > .btn { margin-top: 15px; height: 43px; font-size: 12.5px; }
.coupon { margin-top: 16px; padding-top: 14px; border-top: 1px solid #eef1f5; }
.coupon label { display: block; margin-bottom: 7px; color: #5c6674; font-size: 10.5px; font-weight: 600; }
.coupon div { display: flex; gap: 5px; }
.coupon input { flex: 1; min-width: 0; height: 36px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 10.5px; outline: none; }
.coupon .btn { height: 36px; padding: 0 12px; font-size: 10.5px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 13px; color: #8993a1; font-size: 9px; }
.cart-empty-page { padding: 20px 0 40px; }

/* ---------- Checkout ---------- */
.checkout-wrap { min-height: 70vh; padding: 22px 0 50px; background: #f5f7fb; }
.checkout-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; }
.checkout-top .brand-logo img { width: 140px; }
.checkout-steps { display: flex; align-items: center; gap: 9px; color: #98a2ae; font-size: 10.5px; }
.checkout-steps span { display: inline-flex; align-items: center; gap: 5px; }
.checkout-steps span.active { color: var(--primary); font-weight: 600; }
.checkout-steps span.done { color: #16a34a; }
.checkout-steps i { width: 28px; height: 1px; background: #d4dbe5; }
.back-to-cart { display: inline-flex; align-items: center; gap: 5px; color: #6b7280; font-size: 10.5px; }
.back-to-cart:hover { color: var(--primary); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 14px; }
.checkout-card { border: 1px solid #e7ebf1; border-radius: 13px; background: #fff; padding: 22px; }
.checkout-card-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; }
.checkout-card-head > span { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 10.5px; font-weight: 700; }
.checkout-card-head h2 { font-size: 16px; letter-spacing: -.02em; }
.checkout-card-head p { color: #8a94a2; font-size: 10px; margin-top: 1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field > span { color: #425065; font-size: 10px; font-weight: 600; }
.field > span em { color: #9aa3af; font-style: normal; font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #dce1e9; border-radius: 7px; background: #fff; padding: 10px 11px; font-size: 11.5px; outline: none; transition: border .2s, box-shadow .2s; }
.field input, .field select { height: 40px; }
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,87,34,.09); }
.field input::placeholder, .field textarea::placeholder { color: #aab2bf; }
.checkout-shipping { display: flex; flex-direction: column; gap: 8px; }
.shipping-card { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #e1e6ee; border-radius: 8px; cursor: pointer; }
.shipping-card input { position: absolute; opacity: 0; }
.shipping-card:has(input:checked) { border-color: var(--primary); background: #f7faff; }
.shipping-card .ship-icon { color: var(--primary); }
.shipping-card > span:nth-of-type(2) { display: flex; flex-direction: column; }
.shipping-card strong { font-size: 11px; }
.shipping-card small { color: #8a94a2; font-size: 9.5px; }
.shipping-card b { margin-left: auto; font-size: 11.5px; }
.payment-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.payment-card { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e1e6ee; border-radius: 8px; cursor: pointer; }
.payment-card input { position: absolute; opacity: 0; }
.payment-card:has(input:checked) { border-color: var(--primary); background: #f7faff; }
.payment-card > span:nth-of-type(2) { display: flex; flex-direction: column; }
.payment-card strong { font-size: 11px; }
.payment-card small { color: #8a94a2; font-size: 9.5px; }
.pay-icon { width: 34px; height: 27px; border-radius: 5px; background: #eef2f7; display: grid; place-items: center; color: #4b5563; }
.pay-icon.bkash { background: #e2136e; color: #fff; font-size: 8px; font-weight: 700; }
.place-order { height: 46px; font-size: 13px; margin-top: 4px; }
.checkout-terms { margin-top: 10px; text-align: center; color: #8a94a2; font-size: 8.5px; }
.checkout-terms a { color: #5c6674; text-decoration: underline; }
.checkout-summary { position: sticky; top: 20px; border: 1px solid #e7ebf1; border-radius: 13px; background: #fff; padding: 22px; }
.checkout-summary h2 { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; letter-spacing: -.02em; margin-bottom: 14px; }
.checkout-summary h2 span { color: #8a94a2; font-size: 9.5px; font-weight: 400; }
.checkout-items { max-height: 330px; overflow-y: auto; padding-right: 3px; margin-bottom: 13px; }
.checkout-item { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid #eef1f5; }
.checkout-item:last-child { border-bottom: 0; }
.checkout-thumb { position: relative; width: 49px; height: 49px; flex: 0 0 49px; border: 1px solid var(--line); border-radius: 7px; background: #f8fafc; overflow: visible; }
.checkout-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.checkout-thumb span { position: absolute; top: -6px; right: -6px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 8px; font-weight: 700; }
.checkout-item > div:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.checkout-item strong { font-size: 10.5px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.checkout-item small { color: #8a94a2; font-size: 8.5px; }
.checkout-item > b { font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.checkout-summary .summary-total { margin-top: 8px; }
.checkout-summary .summary-total strong { font-size: 21px; }
.checkout-guarantee { display: flex; gap: 9px; margin-top: 15px; padding: 11px; border-radius: 8px; background: var(--green-soft); color: #466251; }
.checkout-guarantee svg { color: #16a34a; }
.checkout-guarantee p { font-size: 9px; line-height: 1.55; }
.checkout-guarantee strong { color: #1e4d2f; font-size: 9.5px; }
.summary-edit { display: inline-flex; align-items: center; gap: 4px; margin-top: 15px; color: var(--primary); font-size: 10px; font-weight: 600; }
.checkout-empty { padding: 20px 0; }

/* ---------- Success ---------- */
.success-wrap { padding: 50px 0 20px; display: flex; justify-content: center; }
.success-card { width: min(720px, 100%); text-align: center; border: 1px solid var(--line); border-radius: 22px; padding: 44px 46px; box-shadow: var(--shadow-md); }
.success-badge { width: 74px; height: 74px; margin: 0 auto 19px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: #16a34a; border: 1px solid #bbf7d0; }
.success-card h1 { font-size: 31px; letter-spacing: -.035em; margin: 7px 0 8px; }
.success-card > p { max-width: 500px; margin-inline: auto; color: #657183; font-size: 12.5px; line-height: 1.7; }
.success-order { margin: 23px auto 0; display: inline-flex; align-items: center; gap: 18px; padding: 11px 18px; border: 1px dashed #cbd5e1; border-radius: 9px; font-size: 11px; color: #7a8492; }
.success-order strong { color: var(--ink); font-size: 14px; letter-spacing: .03em; }
.success-next { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; text-align: left; }
.success-next > div { display: grid; grid-template-columns: 27px 1fr; column-gap: 9px; padding: 14px; border-radius: 9px; background: #f8fafc; color: #5c6674; }
.success-next svg { grid-row: span 2; color: var(--primary); }
.success-next strong { color: #263244; font-size: 10.5px; }
.success-next small { font-size: 9px; line-height: 1.5; }
.success-actions { display: flex; justify-content: center; gap: 9px; margin-top: 25px; }
.success-help { margin-top: 18px; font-size: 10px !important; }
.success-help a { color: var(--primary); font-weight: 600; }

/* ---------- Wishlist ---------- */
.wishlist-wrap { padding-top: 29px; }
.wishlist-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.wishlist-head h2 { font-size: 24px; letter-spacing: -.03em; }
.wishlist-head p { color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.wishlist-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 72vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.auth-art { position: relative; min-height: 620px; overflow: hidden; background: #0f172a; }
.auth-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.auth-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,23,42,.72), rgba(15,23,42,.18)); }
.auth-art-copy { position: absolute; z-index: 2; left: 8%; bottom: 12%; max-width: 480px; color: #fff; }
.auth-art-copy h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; margin: 9px 0 10px; }
.auth-art-copy p { color: rgba(255,255,255,.8); font-size: 12.5px; }
.auth-panel { align-self: center; width: min(430px, 86%); margin-inline: auto; padding: 50px 0; }
.auth-logo img { width: 150px; margin-bottom: 34px; }
.auth-panel h1 { font-size: 30px; letter-spacing: -.035em; }
.auth-panel > p { color: #788391; font-size: 12px; margin: 5px 0 24px; }
.auth-panel form { display: flex; flex-direction: column; gap: 14px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; color: #6b7280; }
.auth-row a { color: var(--primary); font-weight: 500; }
.auth-panel form .btn { height: 46px; margin-top: 4px; }
.auth-switch { margin-top: 17px !important; text-align: center; }
.auth-switch a { color: var(--primary); font-weight: 600; }
.auth-demo { display: flex; align-items: flex-start; gap: 6px; margin-top: 24px; padding: 10px 12px; border-radius: 7px; background: var(--surface-2); color: #8a94a2; font-size: 9.5px; line-height: 1.55; }

/* ---------- Contact / about / faq / policy ---------- */
.contact-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; padding-top: 40px; align-items: start; }
.contact-copy h2, .about-intro h2, .faq-intro h2, .policy-intro h2 { font-size: clamp(27px, 3vw, 39px); line-height: 1.16; letter-spacing: -.04em; margin: 8px 0 12px; }
.contact-copy > p, .about-intro > p, .faq-intro > p, .policy-intro > p { color: #627083; font-size: 12.5px; line-height: 1.8; max-width: 510px; }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.contact-methods > a, .contact-methods > div { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.contact-methods > a:hover { border-color: var(--primary); }
.contact-methods > a > span, .contact-methods > div > span { width: 35px; height: 35px; flex: 0 0 35px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.contact-methods div div, .contact-methods a div { display: flex; flex-direction: column; min-width: 0; }
.contact-methods small { color: #8a94a2; font-size: 9px; }
.contact-methods strong { color: #2b3648; font-size: 10.5px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.contact-form { border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); }
.contact-form h2 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 17px; }
.contact-form .form-grid { gap: 14px; }
.contact-form .btn { margin-top: 17px; }
.about-wrap { padding-top: 39px; }
.about-intro { max-width: 760px; }
.about-intro p + p { margin-top: 9px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 34px 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: var(--line); }
.about-stats > div { background: #fff; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 21px 12px; }
.about-stats strong { font-size: 27px; letter-spacing: -.04em; color: var(--primary); line-height: 1.2; }
.about-stats span { color: #84909e; font-size: 9.5px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-values > div { padding: 23px; border: 1px solid var(--line); border-radius: 13px; }
.about-values svg { color: var(--primary); margin-bottom: 12px; }
.about-values h3 { font-size: 14px; margin-bottom: 4px; }
.about-values p { color: #7a8492; font-size: 10.5px; line-height: 1.7; }
.faq-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; padding-top: 38px; align-items: start; }
.faq-intro { position: sticky; top: 140px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 2px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { color: var(--primary); transition: transform .2s; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { padding: 0 28px 18px 2px; color: #6f7b8b; font-size: 11.5px; line-height: 1.75; }
.faq-cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 22px; border-radius: 14px; background: var(--surface-2); }
.faq-cta svg { color: var(--primary); }
.faq-cta > div { flex: 1; }
.faq-cta strong { font-size: 13px; }
.faq-cta p { color: #7a8492; font-size: 10.5px; }
.policy-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 55px; padding-top: 40px; align-items: start; }
.policy-intro { position: sticky; top: 140px; }
.policy-intro small { display: block; margin-top: 14px; color: #98a2ae; font-size: 9.5px; }
.policy-body { border-top: 1px solid var(--line); }
.policy-body section { padding: 19px 0; border-bottom: 1px solid var(--line); }
.policy-body h3 { font-size: 14px; margin-bottom: 6px; }
.policy-body p { color: #6d7988; font-size: 11.5px; line-height: 1.8; }
.track-wrap { padding-top: 40px; display: flex; justify-content: center; }
.track-card { width: min(740px, 100%); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.track-copy h2 { font-size: 25px; letter-spacing: -.03em; margin: 6px 0; }
.track-copy p { color: #7a8492; font-size: 11.5px; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; margin-top: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.track-form .btn { height: 40px; }
.track-result { margin-top: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; }
.track-status-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; }
.track-status-head span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.status-pill { padding: 3px 8px; border-radius: 999px; background: var(--green-soft); color: #ff5722; font-size: 9px; }
.track-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 13px; }
.track-step { position: relative; display: flex; gap: 10px; padding: 8px 0; }
.track-step i { width: 21px; height: 21px; flex: 0 0 21px; border-radius: 50%; border: 1px solid #d6dde7; display: grid; place-items: center; background: #fff; color: #a3acb8; font-style: normal; }
.track-step div { display: flex; flex-direction: column; }
.track-step strong { color: #687486; font-size: 10.5px; }
.track-step small { color: #98a2ae; font-size: 9px; }
.track-step.done i { background: #16a34a; border-color: #16a34a; color: #fff; }
.track-step.done strong { color: #263244; }
.track-step.active i { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.track-step.active strong { color: var(--primary); }
.track-help { display: flex; align-items: flex-start; gap: 6px; margin-top: 16px; color: #8a94a2; font-size: 9.5px; }
.track-help a { color: var(--primary); }
.notfound-wrap { min-height: 67vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.notfound-art { font-size: clamp(96px, 16vw, 190px); line-height: .9; font-weight: 800; letter-spacing: -.08em; color: var(--surface-3); }
.notfound-wrap h1 { font-size: 29px; letter-spacing: -.035em; margin: 11px 0 7px; }
.notfound-wrap p { max-width: 390px; color: #7a8492; font-size: 12px; }
.notfound-actions { display: flex; gap: 8px; margin-top: 20px; }
.blog-empty-wrap { padding-top: 17px; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(15,23,42,.5); backdrop-filter: blur(2px); }
.modal {
  position: fixed; z-index: 210; left: 50%; top: 50%; width: min(470px, 92vw); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 16px; padding: 24px; transform: translate(-50%, -46%) scale(.98); opacity: 0;
  transition: transform .22s, opacity .22s; box-shadow: var(--shadow-lg);
}
.modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.modal-head h2 { font-size: 21px; letter-spacing: -.025em; }
.review-form { display: flex; flex-direction: column; gap: 12px; }
.review-form .btn { align-self: flex-start; margin-top: 3px; }

/* ---------- Toast ---------- */
.toast-root { position: fixed; z-index: 300; right: 20px; bottom: 88px; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 8px; max-width: 330px; padding: 11px 15px; border-radius: 9px;
  background: #142033; color: #fff; box-shadow: 0 12px 30px rgba(15,23,42,.22); font-size: 11.5px;
  transform: translateY(10px); opacity: 0; transition: opacity .2s, transform .2s;
}
.toast svg { color: #4ade80; }
.toast.error svg { color: #fca5a5; }
.toast.info svg { color: #93c5fd; }
.toast.show { transform: translateY(0); opacity: 1; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .header-main { gap: 18px; }
  .brand-logo img { width: 118px; }
  .header-actions { gap: 0; }
  .header-action { width: 39px; }
  .nav-scroll { justify-content: flex-start; gap: 20px; }
  .footer-grid { grid-template-columns: 1.45fr .7fr .7fr 1.1fr 1.3fr; gap: 28px; }
  .listing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
  .wishlist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .header-search { max-width: 440px; }
  .header-action.trace-action { display: none; }
  .hero { border-radius: 20px; }
  .product-detail { gap: 18px; }
  .product-info { padding: 22px; }
  .gallery-main { max-height: 540px; }
  .cart-page-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; }
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; }
  .category-rail .category-card { flex-basis: calc((100% - 4 * 14px) / 5); }
  .rail { gap: 14px; }
  .product-rail .product-card { flex-basis: calc((100% - 3 * 14px) / 4); }
}

@media (max-width: 980px) {
  .container { padding-inline: 17px; }
  .topbar .topbar-offer { display: none; }
  .topbar-inner { justify-content: space-between; }
  .header-main { height: auto; min-height: 64px; gap: 10px 13px; flex-wrap: wrap; padding-block: 8px 10px; }
  .mobile-menu-btn { display: inline-flex; margin-left: -8px; }
  .brand-logo img { width: 110px; }
  .header-actions { margin-left: auto; }
  .header-action.account-action { display: none; }
  .header-search { order: 5; flex-basis: 100%; width: 100%; max-width: none; margin: 4px 0 0; }
  .search-form { height: 40px; border-width: 1.2px; }
  .search-submit { width: 48px; flex-basis: 48px; }
  .main-nav { display: none; }
  .site-header { position: relative; }
  .hero { aspect-ratio: 16 / 6; }
  .home-usp { grid-template-columns: 1fr 1fr; gap: 9px 12px; padding: 14px 4px; }
  .home-usp span { justify-content: flex-start; }
  .section { margin-top: 31px; }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-panel {
    display: none; position: fixed; z-index: 130; left: 0; right: 0; bottom: 0; top: auto;
    max-height: 83vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 21px;
  }
  .filters-open .filter-panel { display: block; }
  .filter-close { display: inline-flex; }
  .filter-sheet-backdrop { position: fixed; inset: 0; z-index: 125; background: rgba(15,23,42,.48); opacity: 0; pointer-events: none; transition: opacity .25s; }
  .filter-sheet-backdrop.open { opacity: 1; pointer-events: auto; }
  .mobile-filter-btn { display: inline-flex; height: 38px; font-size: 11.5px; }
  .listing-intro > p { display: none; }
  .listing-intro { justify-content: flex-end; margin-bottom: 12px; }
  .listing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; }
  .gallery-main { max-height: none; }
  .product-info { padding: 24px; }
  .detail-assurance { grid-template-columns: repeat(3, 1fr); }
  .product-page-wrap .crumb-row { padding-top: 14px; }
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; grid-row: 1; }
  .checkout-top { flex-wrap: wrap; }
  .checkout-steps { order: 3; flex-basis: 100%; justify-content: center; }
  .checkout-main { grid-row: 2; }
  .contact-wrap { grid-template-columns: 1fr; gap: 27px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 18px; }
  .faq-intro { position: static; }
  .policy-wrap { grid-template-columns: 1fr; gap: 18px; }
  .policy-intro { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px 24px; }
  .footer-news { grid-column: span 2; }
  .newsletter-band { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; }
  .newsletter-band-form { flex-basis: auto; width: 100%; max-width: 440px; }
  .wishlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { font-size: 10.5px; }
  .topbar-inner { height: 30px; }
  .topbar-links { gap: 13px; }
  .topbar-phone span { display: none; }
  .container { padding-inline: 14px; }
  .header-main { height: auto; gap: 8px 9px; padding-block: 8px 10px; }
  .brand-logo img { width: 100px; }
  .header-actions { gap: 0; }
  .header-action { width: 37px; height: 37px; }
  .header-action svg { width: 20px; height: 20px; }
  .home-wrap { padding-top: 7px; }
  .hero { aspect-ratio: 4 / 1.6; border-radius: 15px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 9px; padding: 4px 7px; }
  .hero-dots button { width: 5px; height: 5px; }
  .hero-dots button.active { width: 15px; }
  .home-usp { margin-top: 10px; gap: 8px; }
  .home-usp span { font-size: 9.5px; gap: 5px; }
  .home-usp svg { width: 15px; height: 15px; }
  .section { margin-top: 27px; }
  .section-head { padding-bottom: 12px; gap: 10px; }
  .section-title { font-size: 24px; letter-spacing: -.04em; }
  .view-all { display: none; }
  .rail-controls { gap: 5px; }
  .rail-btn { width: 31px; height: 31px; }
  .rail-controls svg { width: 16px; height: 16px; }
  .rail { gap: 10px; }
  .category-rail .category-card { flex-basis: calc((100% - 2 * 10px) / 2.7); }
  .product-rail .product-card { flex-basis: calc((100% - 10px) / 2.1); }
  .product-card { border-radius: 11px; }
  .card-body { padding: 8px 8px 7px; }
  .card-title { font-size: 11.5px; min-height: 2.7em; }
  .sale-flag { left: 6px; top: 6px; font-size: 8px; padding: 3px 6px; }
  .wish-float { width: 29px; height: 29px; top: 5px; right: 5px; }
  .wish-float svg { width: 16px; height: 16px; }
  .sold-pill { left: 6px; bottom: 6px; font-size: 8px; padding: 2px 5px; }
  .rating-row { gap: 3px; }
  .stars svg { width: 11px; height: 11px; }
  .review-count { font-size: 8px; }
  .price { font-size: 15px; }
  .price-old { font-size: 9px; }
  .order-btn { height: 31px; border-radius: 7px; font-size: 10px; }
  .cart-round { width: 31px; height: 31px; flex-basis: 31px; border-radius: 7px; }
  .cart-round svg { width: 16px; height: 16px; }
  .trust-line { display: none; }
  .newsletter-band { margin-top: 36px; padding: 23px; border-radius: 16px; }
  .newsletter-band h2 { font-size: 24px; }
  .newsletter-band p { font-size: 11px; }
  .newsletter-band-form { flex-direction: column; }
  .newsletter-band-form .btn { height: 40px; }
  .page-hero { min-height: 164px; }
  .page-hero h1 { font-size: clamp(30px, 9vw, 46px); line-height: 1.05; }
  .breadcrumb { margin-top: 11px; font-size: 9.5px; }
  .listing-wrap { padding-top: 14px; }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .listing-grid .card-title { font-size: 11.5px; }
  .results-sort-label { display: none; }
  .results-bar { margin-bottom: 10px; }
  .search-page-form { height: 44px; padding-left: 12px; margin-bottom: 14px; }
  .search-page-form .btn { height: 34px; padding: 0 14px; font-size: 11.5px; }
  .search-page-form input { font-size: 11.5px; }
  .product-page-wrap .crumb-row { font-size: 9px; padding: 11px 0 13px; }
  .gallery-card { border-radius: 15px; }
  .detail-assurance { grid-template-columns: 1fr; gap: 6px; }
  .detail-assurance > div { padding: 9px; }
  .product-info { border-radius: 15px; padding: 18px; }
  .product-heading h1 { font-size: 21px; }
  .product-meta-line { margin-top: 7px; }
  .detail-price-value { font-size: 25px; }
  .short-description { font-size: 11.5px; }
  .purchase-row { flex-wrap: wrap; }
  .purchase-row .qty { flex: 0 0 auto; }
  .add-detail-cart { min-width: calc(100% - 50px); }
  .share-row { flex-wrap: wrap; }
  .copy-link { margin-left: 0; }
  .tab-nav { gap: 19px; }
  .tab-btn { height: 46px; font-size: 10.5px; }
  .reviews-layout { flex-wrap: wrap; gap: 15px; padding: 15px; }
  .review-bars { min-width: 150px; }
  .write-review { width: 100%; }
  .product-tabs { margin-top: 23px; }
  .related-section { margin-top: 28px; }
  .cart-page-wrap { padding-top: 12px; }
  .cart-table-head { display: none; }
  .cart-page-line { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 13px 14px; }
  .cart-product { grid-column: 1 / -1; }
  .cart-unit { display: none; }
  .cart-page-line .qty { justify-self: start; }
  .cart-line-total { text-align: right; }
  .cart-summary { padding: 18px; }
  .checkout-wrap { padding-top: 13px; }
  .checkout-top .brand-logo img { width: 118px; }
  .back-to-cart { display: none; }
  .checkout-card { padding: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .checkout-summary { padding: 17px; }
  .checkout-item > b { font-size: 10px; }
  .success-wrap { padding-top: 27px; }
  .success-card { padding: 29px 20px; border-radius: 16px; }
  .success-card h1 { font-size: 25px; }
  .success-next { grid-template-columns: 1fr; }
  .success-actions { flex-direction: column; }
  .wishlist-wrap { padding-top: 20px; }
  .wishlist-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .wishlist-head h2 { font-size: 21px; }
  .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .contact-wrap { padding-top: 25px; gap: 22px; }
  .contact-methods { grid-template-columns: 1fr; }
  .contact-form { padding: 19px; }
  .about-wrap { padding-top: 25px; }
  .about-stats { grid-template-columns: 1fr 1fr; margin: 23px 0; }
  .about-values { grid-template-columns: 1fr; }
  .faq-wrap { padding-top: 24px; }
  .policy-wrap { padding-top: 25px; }
  .track-wrap { padding-top: 24px; }
  .track-card { padding: 20px; border-radius: 15px; }
  .track-form { grid-template-columns: 1fr; gap: 10px; }
  .track-form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-news { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-col h3, .footer-news h3 { margin-bottom: 12px; }
  .payment-strip { margin-top: 30px; padding-top: 20px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-footer { padding-top: 35px; }
  .whatsapp-float { width: 49px; height: 49px; right: 14px; bottom: 14px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
  .drawer-head, .drawer-body, .drawer-foot { padding-inline: 17px; }
  .toast-root { left: 14px; right: 14px; align-items: stretch; bottom: 74px; }
  .toast { max-width: none; }
  .notfound-wrap h1 { font-size: 24px; }
  .auth-panel { width: min(430px, 88%); padding: 38px 0; }
}

@media (max-width: 420px) {
  .header-action { width: 33px; }
  .header-action svg { width: 19px; height: 19px; }
  .brand-logo img { width: 92px; }
  .header-actions .badge { top: 0; right: -1px; }
  .hero { aspect-ratio: 4 / 1.8; }
  .section-title { font-size: 22px; }
  .newsletter-band h2 { font-size: 22px; }
  .listing-grid { gap: 8px; }
  .price { font-size: 14px; }
  .add-detail-cart { min-width: calc(100% - 46px); }
  .wish-square { width: 38px; height: 38px; flex-basis: 38px; }
  .page-hero h1 { font-size: 28px; }
  .checkout-steps { font-size: 9px; gap: 5px; }
  .checkout-steps i { width: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Customer Account Responsive Styling ---------- */
.customer-account-wrap {
  width: 100%;
  max-width: 600px;
  margin: 2.5rem auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.customer-account-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  width: 100%;
  box-sizing: border-box;
}
.account-header { text-align: center; margin-bottom: 1.8rem; }
.account-avatar {
  width: 68px; height: 68px; background: #fff3e0; color: #ff5722;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.9rem; font-size: 1.8rem;
}
.account-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.25rem; color: #0f172a; }
.account-welcome { color: #64748b; font-size: 0.95rem; }
.account-details-box {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 1.25rem 1.4rem; margin-bottom: 1.8rem;
}
.account-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 0.65rem 0; border-bottom: 1px solid #e2e8f0;
}
.account-row:last-child { border-bottom: none; }
.account-label { color: #64748b; font-size: 0.9rem; flex-shrink: 0; }
.account-val { color: #0f172a; font-size: 0.95rem; text-align: right; word-break: break-all; overflow-wrap: anywhere; }
.account-actions-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-bottom: 1.2rem;
}
.account-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 12px; border-radius: 8px; font-weight: 600; font-size: 0.9rem;
}
.account-logout-btn {
  width: 100%; height: 44px; background: #fee2e2; color: #dc2626;
  border: none; border-radius: 8px; font-weight: 600; font-size: 0.9rem; cursor: pointer;
  transition: background 0.15s;
}
.account-logout-btn:hover { background: #fecaca; }

@media (max-width: 600px) {
  .customer-account-wrap { margin: 1.2rem auto; padding: 0 12px; }
  .customer-account-card { padding: 1.5rem 1.1rem; border-radius: 14px; }
  .account-title { font-size: 1.45rem; }
  .account-details-box { padding: 1rem; margin-bottom: 1.4rem; }
  .account-row { flex-direction: column; align-items: flex-start; gap: 3px; padding: 0.5rem 0; }
  .account-val { text-align: left; font-size: 0.9rem; }
  .account-actions-grid { grid-template-columns: 1fr; gap: 0.65rem; }
}

/* ---------- Main Nav Enhanced Styling with Controls ---------- */
.main-nav-container {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-scroll {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  flex: 1;
  padding-inline: 8px;
}
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: #475569;
  cursor: pointer;
  flex: 0 0 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s;
  z-index: 2;
}
.nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.nav-arrow-prev { margin-right: 6px; }
.nav-arrow-next { margin-left: 6px; }


/* Modern Storefront Redesign */
.topbar { background: #0b1120 !important; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 11.5px; }
.topbar-phone a, .topbar-links a { color: #cbd5e1 !important; transition: color 0.15s; }
.topbar-phone a:hover, .topbar-links a:hover { color: #ff8a65 !important; }

.site-header { box-shadow: 0 4px 20px rgba(0,0,0,0.04); border-bottom: 1px solid #edf2f7; }
.search-form {
  border: 2px solid #ff5722 !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.08);
}
.search-submit {
  background: #ff5722 !important;
  color: #fff !important;
  transition: background 0.2s ease;
}
.search-submit:hover { background: #e64a19 !important; }

.product-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  background: #ffffff;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}
.product-card .card-media {
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}
.btn-primary {
  background: #ff5722 !important;
  border-color: #ff5722 !important;
  color: #ffffff !important;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(255, 87, 34, 0.25);
}
.btn-primary:hover {
  background: #e64a19 !important;
  border-color: #e64a19 !important;
}
.btn-outline {
  border-color: #ff5722 !important;
  color: #ff5722 !important;
  border-radius: 10px;
}
.btn-outline:hover {
  background: #ff5722 !important;
  color: #ffffff !important;
}
.site-footer {
  background: #0b1120 !important;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer .footer-brand p { color: #94a3b8; }
.site-footer .footer-col h3 { color: #f8fafc; letter-spacing: 0.08em; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #ff8a65; }
