/* ==========================================================================
   Anurag Kashyap Electronics — Core Stylesheet
   Design language: "circuit minimal" — navy/white/black/gray with a single
   electric-blue accent, Sora for display type, Inter for body, JetBrains
   Mono for prices & spec-like data (grounds the brand in its subject).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root{
  /* ---- Brand palette ---- */
  --white:        #FFFFFF;
  --navy:         #0B2545;   /* primary brand */
  --navy-deep:    #071A33;   /* footer / darkest surface */
  --navy-soft:    #16345F;   /* hover / lighter navy */
  --black:        #0A0A0A;   /* primary text */
  --gray-light:   #F3F5F8;   /* section background */
  --gray-mid:     #E3E8EF;   /* borders / dividers */
  --gray-text:    #5B6472;   /* secondary text */
  --accent:       #2F6FED;   /* electric blue — CTAs, links, focus */
  --accent-dark:  #1E52C4;
  --gold:         #F5A623;   /* star ratings */
  --success:      #1E8E5A;

  /* ---- Type ---- */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* ---- Layout ---- */
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11,37,69,0.06);
  --shadow-md: 0 10px 30px rgba(11,37,69,0.10);
  --shadow-lg: 0 20px 50px rgba(11,37,69,0.16);
  --nav-height: 76px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; color: var(--gray-text); }
button{ font-family: inherit; cursor: pointer; }
:focus-visible{ outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container{ width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--gray{ background: var(--gray-light); }
.section--navy{ background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3{ color: var(--white); }
.section--navy p{ color: rgba(255,255,255,0.72); }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before{
  content: ''; width: 18px; height: 2px; background: var(--accent); display: inline-block;
}
.section-head{ max-width: 640px; margin: 0 0 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); }

/* ---- Pin-row divider: the signature structural motif (echoes a
   connector's row of pins — used between major sections instead of a
   plain <hr>) ---- */
.pin-row{
  display: flex; justify-content: center; gap: 10px; margin: 0 auto;
}
.pin-row span{
  width: 6px; height: 6px; border-radius: 2px; background: var(--gray-mid);
}
.pin-row span:nth-child(3){ background: var(--accent); }

/* ---- Buttons ---- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover{ background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }
.btn-dark{ background: var(--navy); color: var(--white); }
.btn-dark:hover{ background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost{ background: var(--gray-light); color: var(--navy); }
.btn-ghost:hover{ background: var(--gray-mid); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 18px; font-size: 13.5px; }

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.announce-bar{
  background: var(--navy-deep); color: rgba(255,255,255,0.85);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em;
  text-align: center; padding: 8px 12px;
}
.navbar{
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-mid);
  height: var(--nav-height);
}
.navbar .container{ height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark{ width: 44px; height: 44px; display: block; }
.brand-name{ font-family: var(--font-display); font-weight: 700; font-size: 17.5px; color: var(--navy); line-height: 1.15; }
.brand-name small{ display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.12em; color: var(--gray-text); text-transform: uppercase; }

.nav-links{ display: flex; align-items: center; gap: 36px; }
.nav-links a{
  font-weight: 600; font-size: 14.5px; color: var(--navy); position: relative; padding: 6px 0;
}
.nav-links a::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--accent); }

.nav-actions{ display: flex; align-items: center; gap: 18px; }
.icon-btn{ position: relative; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--gray-light); transition: background .18s ease; }
.icon-btn:hover{ background: var(--gray-mid); }
.icon-btn svg{ width: 20px; height: 20px; stroke: var(--navy); fill: none; }
.cart-count{
  position: absolute; top: -4px; right: -4px; background: var(--accent); color: var(--white);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; width: 19px; height: 19px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--white);
}
.nav-toggle{ display: none; width: 42px; height: 42px; border: none; background: var(--gray-light); border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ''; display: block; width: 18px; height: 2px; background: var(--navy); position: relative; transition: all .2s ease;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white); padding: 96px 0 0;
}
.hero .container{ display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy .eyebrow{ color: #9DC2FF; }
.hero-copy .eyebrow::before{ background: #9DC2FF; }
.hero-copy h1{ color: var(--white); font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.hero-copy p.lead{ color: rgba(255,255,255,0.78); font-size: 17.5px; max-width: 480px; }
.hero-cta{ display: flex; gap: 16px; margin: 32px 0 40px; flex-wrap: wrap; }
.hero-stats{ display: flex; gap: 36px; }
.hero-stats div strong{ display: block; font-family: var(--font-mono); font-size: 24px; color: var(--white); }
.hero-stats div span{ font-size: 12.5px; color: rgba(255,255,255,0.6); }
.hero-art{ position: relative; }
.hero-art svg{ width: 100%; height: auto; }
.hero-shape{
  position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 26px 26px; opacity: 0.5; pointer-events: none;
}
.hero-bottom-fade{ height: 64px; }

.trust-strip{ background: var(--white); border-bottom: 1px solid var(--gray-mid); }
.trust-strip .container{ display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; flex-wrap: wrap; }
.trust-item{ display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.trust-item svg{ width: 20px; height: 20px; stroke: var(--accent); fill: none; flex-shrink: 0; }

/* ==========================================================================
   Product cards / grids
   ========================================================================== */
.grid{ display: grid; gap: 26px; }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.product-card{
  background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-md);
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-media{
  aspect-ratio: 1/1; background: var(--gray-light); position: relative; overflow: hidden;
}
.product-media img{ width: 100%; height: 100%; object-fit: contain; padding: 14%; transition: transform .35s ease; }
.product-card:hover .product-media img{ transform: scale(1.06); }
.product-badge{
  position: absolute; top: 12px; left: 12px; background: var(--navy); color: var(--white);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px; text-transform: uppercase;
}
.product-badge.sale{ background: var(--accent); }
.wishlist-btn{
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: none; display: flex; align-items: center; justify-content: center;
}
.wishlist-btn svg{ width: 16px; height: 16px; stroke: var(--navy); fill: none; }
.wishlist-btn.active svg{ fill: var(--accent); stroke: var(--accent); }

.product-body{ padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-stars{ display: flex; align-items: center; gap: 6px; }
.stars{ display: inline-flex; gap: 2px; }
.stars svg{ width: 14px; height: 14px; fill: var(--gold); stroke: none; }
.stars svg.empty{ fill: var(--gray-mid); }
.rating-count{ font-size: 12px; color: var(--gray-text); font-family: var(--font-mono); }
.product-name{ font-weight: 600; font-size: 15.5px; color: var(--black); margin: 0; }
.product-desc{ font-size: 13px; color: var(--gray-text); margin: 0; }
.product-price-row{ display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.price{ font-family: var(--font-mono); font-weight: 700; font-size: 19px; color: var(--navy); }
.price-strike{ font-family: var(--font-mono); font-size: 13px; color: var(--gray-text); text-decoration: line-through; }
.product-actions{ display: flex; gap: 10px; margin-top: 12px; }
.product-actions .btn{ flex: 1; padding: 11px 12px; font-size: 13.5px; }

.filters-bar{
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 18px 22px; background: var(--gray-light); border-radius: var(--radius-md); margin-bottom: 32px;
}
.filter-chips{ display: flex; gap: 10px; flex-wrap: wrap; }
.chip{
  padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--gray-mid);
  font-size: 13.5px; font-weight: 600; color: var(--navy); transition: all .18s ease;
}
.chip.active, .chip:hover{ background: var(--navy); color: var(--white); border-color: var(--navy); }
.sort-select{
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--gray-mid); background: var(--white);
  font-size: 13.5px; font-weight: 600; color: var(--navy); font-family: inherit;
}

/* ==========================================================================
   Feature / value cards
   ========================================================================== */
.feature-card{
  background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-md);
  padding: 30px 26px; transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon{
  width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--gray-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon svg{ width: 26px; height: 26px; stroke: var(--accent); fill: none; }
.feature-card h3{ font-size: 17px; margin-bottom: 8px; }
.feature-card p{ font-size: 14px; margin: 0; }

/* ---- Delivery features strip ---- */
.delivery-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--gray-mid); border-radius: var(--radius-md); overflow: hidden; }
.delivery-item{ padding: 28px 22px; text-align: center; border-right: 1px solid var(--gray-mid); background: var(--white); }
.delivery-item:last-child{ border-right: none; }
.delivery-item svg{ width: 30px; height: 30px; stroke: var(--accent); fill: none; margin-bottom: 12px; }
.delivery-item h4{ font-family: var(--font-body); font-size: 14.5px; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.delivery-item p{ font-size: 12.5px; margin: 0; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.review-card{
  background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-md);
  padding: 26px; height: 100%; display: flex; flex-direction: column; gap: 14px;
}
.review-quote{ font-size: 14.5px; color: var(--black); font-style: normal; margin: 0; }
.review-person{ display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-avatar{
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex-shrink: 0;
}
.review-person strong{ display: block; font-size: 13.5px; color: var(--navy); }
.review-person span{ font-size: 12px; color: var(--gray-text); }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter{ background: var(--navy); border-radius: var(--radius-lg); padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; color: var(--white); }
.newsletter h3{ color: var(--white); font-size: 24px; margin-bottom: 6px; }
.newsletter p{ color: rgba(255,255,255,0.7); margin: 0; }
.newsletter-form{ display: flex; gap: 12px; flex: 1; min-width: 300px; max-width: 460px; }
.newsletter-form input{
  flex: 1; padding: 14px 18px; border-radius: 999px; border: none; font-family: inherit; font-size: 14px;
}
.newsletter-form input:focus{ outline: 3px solid var(--accent); }

/* ==========================================================================
   Badges / trust
   ========================================================================== */
.badge-row{ display: flex; flex-wrap: wrap; gap: 14px; }
.badge-pill{
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--gray-light); border: 1px solid var(--gray-mid); font-size: 13px; font-weight: 600; color: var(--navy);
}
.badge-pill svg{ width: 16px; height: 16px; stroke: var(--accent); fill: none; }
.payment-icons{ display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.payment-icons img{ height: 26px; width: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer-top{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name{ color: var(--white); }
.footer-brand .brand-name small{ color: rgba(255,255,255,0.55); }
.footer-about{ font-size: 13.5px; margin: 16px 0 20px; max-width: 320px; }
.footer-social{ display: flex; gap: 10px; }
.footer-social a{ width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.footer-social a:hover{ background: var(--accent); }
.footer-social svg{ width: 16px; height: 16px; stroke: var(--white); fill: none; }
.footer-col h4{ color: var(--white); font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 18px; text-transform: uppercase; }
.footer-col ul li{ margin-bottom: 11px; }
.footer-col a{ font-size: 13.5px; color: rgba(255,255,255,0.68); }
.footer-col a:hover{ color: var(--white); }
.footer-contact li{ display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin-bottom: 14px; }
.footer-contact svg{ width: 17px; height: 17px; stroke: #9DC2FF; fill: none; flex-shrink: 0; margin-top: 2px; }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding: 22px 0; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom-links{ display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a{ color: rgba(255,255,255,0.6); }
.footer-bottom-links a:hover{ color: var(--white); }

/* ==========================================================================
   Inner-page shell (about/contact/policies)
   ========================================================================== */
.page-hero{ background: var(--navy); color: var(--white); padding: 64px 0 56px; }
.page-hero .container{ text-align: left; }
.breadcrumb{ font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.breadcrumb a{ color: rgba(255,255,255,0.8); }
.page-hero h1{ color: var(--white); font-size: clamp(28px, 3.6vw, 42px); margin: 0; }
.page-hero p{ color: rgba(255,255,255,0.72); max-width: 620px; margin: 12px 0 0; }

.legal-doc{ max-width: 820px; }
.legal-doc h2{ font-size: 21px; margin-top: 42px; }
.legal-doc h2:first-child{ margin-top: 0; }
.legal-doc h3{ font-size: 16px; color: var(--black); margin-top: 22px; }
.legal-doc p, .legal-doc li{ color: var(--gray-text); font-size: 14.5px; }
.legal-doc ul{ padding-left: 20px; list-style: disc; margin-bottom: 1em; }
.legal-doc ul li{ margin-bottom: 6px; }
.legal-meta{
  display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px;
  color: var(--gray-text); border: 1px solid var(--gray-mid); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 36px; background: var(--gray-light);
}
.toc{ background: var(--gray-light); border-radius: var(--radius-md); padding: 22px 26px; margin-bottom: 40px; }
.toc h4{ font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 12px; }
.toc ol{ padding-left: 18px; margin: 0; }
.toc li{ margin-bottom: 6px; font-size: 13.5px; }
.toc a{ color: var(--accent); font-weight: 600; }

.info-card{ background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-md); padding: 26px; }
.info-card h3{ font-size: 16px; margin-bottom: 14px; }
.info-list li{ display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; }
.info-list svg{ width: 19px; height: 19px; stroke: var(--accent); fill: none; flex-shrink: 0; margin-top: 2px; }
.info-list a{ color: var(--navy); font-weight: 600; }
.info-list a:hover{ color: var(--accent); }

/* ---- Contact form ---- */
.contact-form{ display: grid; gap: 18px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label{ display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea{
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--gray-mid);
  font-family: inherit; font-size: 14px; background: var(--white); transition: border-color .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--accent); outline: none; }
.field textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size: 12.5px; color: var(--gray-text); }
.form-success{
  display: none; align-items: center; gap: 10px; background: #EAF7F0; border: 1px solid #BFE6D2;
  color: var(--success); padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-top: 14px;
}
.form-success.show{ display: flex; }
.form-success svg{ width: 18px; height: 18px; stroke: var(--success); fill: none; }

.map-placeholder{
  background: var(--gray-light); border: 1px dashed var(--gray-mid); border-radius: var(--radius-md);
  height: 100%; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px;
}
.map-placeholder svg{ width: 34px; height: 34px; stroke: var(--accent); fill: none; }
.map-placeholder span{ font-size: 13px; color: var(--gray-text); }

.hours-table{ width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours-table td{ padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--gray-mid); }
.hours-table td:last-child{ text-align: right; font-family: var(--font-mono); color: var(--navy); font-weight: 600; }

/* ---- About page ---- */
.about-grid{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.value-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.value-item{ display: flex; gap: 14px; align-items: flex-start; }
.value-item .feature-icon{ margin-bottom: 0; flex-shrink: 0; width: 44px; height: 44px; }
.value-item svg{ width: 22px; height: 22px; }
.value-item h4{ font-size: 14.5px; color: var(--navy); margin: 0 0 4px; }
.value-item p{ font-size: 13px; margin: 0; }
.stat-strip{ display: flex; gap: 0; margin-top: 40px; border-top: 1px solid var(--gray-mid); padding-top: 28px; }
.stat-strip div{ flex: 1; }
.stat-strip strong{ display: block; font-family: var(--font-mono); font-size: 26px; color: var(--navy); }
.stat-strip span{ font-size: 12.5px; color: var(--gray-text); }

/* ---- Grievance page ---- */
.grievance-card{ background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius-md); padding: 32px; }
.grievance-card h3{ display: flex; align-items: center; gap: 10px; }
.grievance-card h3 svg{ width: 24px; height: 24px; stroke: var(--accent); fill: none; }
.timeline{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.timeline-step{ background: var(--gray-light); border-radius: var(--radius-sm); padding: 20px; }
.timeline-step .num{ font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 13px; }
.timeline-step h4{ font-size: 14.5px; color: var(--navy); margin: 8px 0 4px; }
.timeline-step p{ font-size: 12.5px; margin: 0; }

/* ==========================================================================
   Product Detail page
   ========================================================================== */
.pd-grid{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: flex-start; }
.pd-gallery{ position: sticky; top: calc(var(--nav-height) + 20px); }
.pd-media{
  aspect-ratio: 1/1; background: var(--gray-light); border-radius: var(--radius-md); overflow: hidden; position: relative;
  border: 1px solid var(--gray-mid);
}
.pd-media img{ width: 100%; height: 100%; object-fit: contain; padding: 8%; }
#pd-badge{
  display: none; position: absolute; top: 16px; left: 16px; background: var(--navy); color: var(--white);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 6px 12px; border-radius: 999px; text-transform: uppercase;
}
#pd-badge.sale{ background: var(--accent); }
.pd-wishlist-btn{
  position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--gray-mid); display: flex; align-items: center; justify-content: center;
}
.pd-wishlist-btn svg{ width: 19px; height: 19px; stroke: var(--navy); fill: none; }
.pd-wishlist-btn.active svg{ fill: var(--accent); stroke: var(--accent); }

.pd-info .breadcrumb{ color: var(--gray-text); }
.pd-info .breadcrumb a{ color: var(--gray-text); }
.pd-category-tag{
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: #F2F7FF; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.pd-info h1{ font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.pd-rating-row{ display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.pd-price-row{ display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.pd-price-row .price{ font-size: 32px; }
.pd-price-row .price-strike{ font-size: 17px; }
.pd-discount-tag{ font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--success); }
.pd-desc{ font-size: 15px; color: var(--gray-text); margin: 18px 0 26px; max-width: 520px; }

.pd-qty-row{ display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.pd-qty-control{ display: flex; align-items: center; gap: 16px; border: 1px solid var(--gray-mid); border-radius: 999px; padding: 8px 18px; }
.pd-qty-control button{ width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gray-mid); background: var(--white); font-weight: 700; font-size: 16px; line-height: 1; }
.pd-qty-control span{ font-family: var(--font-mono); font-weight: 700; min-width: 18px; text-align: center; }
.pd-actions{ display: flex; gap: 14px; margin-bottom: 32px; }
.pd-actions .btn{ flex: 1; padding: 15px 20px; font-size: 15px; }

.pd-trust-list{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid var(--gray-mid); }
.pd-trust-list li{ display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.pd-trust-list svg{ width: 18px; height: 18px; stroke: var(--accent); fill: none; flex-shrink: 0; }

.pd-features-block{ border-top: 1px solid var(--gray-mid); padding-top: 22px; }
.pd-features-list{ display: grid; gap: 12px; }
.pd-features-list li{ display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--black); }
.pd-features-list svg{ width: 19px; height: 19px; stroke: var(--success); fill: none; flex-shrink: 0; margin-top: 2px; }

.product-not-found{ display: none; text-align: center; padding: 90px 20px; }
.product-not-found svg{ width: 64px; height: 64px; stroke: var(--gray-mid); fill: none; margin-bottom: 20px; }

/* ==========================================================================
   Checkout page
   ========================================================================== */
.checkout-grid{ display: grid; grid-template-columns: 1fr 0.85fr; gap: 40px; align-items: flex-start; }
.checkout-card{ background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius-md); padding: 28px; margin-bottom: 24px; }
.checkout-card h3{ font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.checkout-card h3 svg{ width: 20px; height: 20px; stroke: var(--accent); fill: none; }
.checkout-step-num{
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-family: var(--font-mono); font-size: 12px; font-weight: 700; flex-shrink: 0;
}

#checkout-items{ display: flex; flex-direction: column; gap: 0; margin-bottom: 6px; }
#checkout-items .cart-item{ padding: 14px 0; }
#checkout-items .cart-item img{ width: 56px; height: 56px; }

.payment-methods{ display: grid; gap: 12px; }
.payment-method{
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 2px solid var(--gray-mid); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .18s ease, background .18s ease;
}
.payment-method:hover{ border-color: var(--accent); }
.payment-method input[type="radio"]{ width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.payment-method svg{ width: 22px; height: 22px; stroke: var(--navy); fill: none; flex-shrink: 0; }
.payment-method-label{ flex: 1; }
.payment-method-label strong{ display: block; font-size: 14px; color: var(--navy); }
.payment-method-label span{ font-size: 12px; color: var(--gray-text); }
.payment-method:has(input:checked){ border-color: var(--accent); background: #F2F7FF; }

.order-summary-card{ position: sticky; top: calc(var(--nav-height) + 20px); }
.summary-row{ display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--gray-text); }
.summary-row.total{ border-top: 1px solid var(--gray-mid); margin-top: 8px; padding-top: 16px; font-weight: 700; color: var(--navy); font-size: 17px; font-family: var(--font-mono); }
.summary-row.total span:last-child{ font-family: var(--font-mono); }
.checkout-mode-note{
  font-size: 12.5px; color: var(--accent); background: #F2F7FF; border: 1px solid #D6E6FF; border-radius: var(--radius-sm);
  padding: 10px 14px; margin-bottom: 16px;
}

.order-confirmation{ display: none; text-align: center; padding: 70px 20px; }
.order-confirmation.show{ display: block; }
.order-confirmation .confirm-icon{
  width: 84px; height: 84px; border-radius: 50%; background: #EAF7F0; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.order-confirmation .confirm-icon svg{ width: 40px; height: 40px; stroke: var(--success); fill: none; }
.order-confirmation h2{ font-size: 26px; margin-bottom: 10px; }
.order-confirmation p.lead-confirm{ color: var(--gray-text); max-width: 460px; margin: 0 auto 32px; }
.confirm-details{
  display: inline-block; text-align: left; background: var(--gray-light); border-radius: var(--radius-md); padding: 24px 32px; margin-bottom: 32px;
}
.confirm-details div{ display: flex; justify-content: space-between; gap: 40px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--gray-mid); }
.confirm-details div:last-child{ border-bottom: none; }
.confirm-details span:first-child{ color: var(--gray-text); }
.confirm-details span:last-child{ font-weight: 700; color: var(--navy); font-family: var(--font-mono); }

/* ---- Cart drawer ---- */
.cart-overlay{
  position: fixed; inset: 0; background: rgba(7,26,51,0.5); z-index: 900; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.cart-overlay.open{ opacity: 1; pointer-events: auto; }
.cart-drawer{
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw; background: var(--white); z-index: 901;
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.cart-drawer.open{ transform: translateX(0); }
.cart-head{ display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--gray-mid); }
.cart-head h3{ margin: 0; font-size: 18px; }
.cart-close{ width: 36px; height: 36px; border-radius: 50%; background: var(--gray-light); border: none; display: flex; align-items: center; justify-content: center; }
.cart-close svg{ width: 16px; height: 16px; stroke: var(--navy); }
.cart-items{ flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-empty{ text-align: center; padding: 60px 20px; color: var(--gray-text); }
.cart-empty svg{ width: 46px; height: 46px; stroke: var(--gray-mid); fill: none; margin-bottom: 14px; }
.cart-item{ display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-mid); }
.cart-item img{ width: 64px; height: 64px; object-fit: contain; background: var(--gray-light); border-radius: var(--radius-sm); padding: 6px; flex-shrink: 0; }
.cart-item-info{ flex: 1; min-width: 0; }
.cart-item-info h5{ font-size: 13.5px; margin: 0 0 4px; color: var(--black); font-family: var(--font-body); font-weight: 600; }
.cart-item-price{ font-family: var(--font-mono); font-size: 13px; color: var(--navy); font-weight: 700; }
.qty-control{ display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-control button{ width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gray-mid); background: var(--white); font-weight: 700; line-height: 1; }
.qty-control span{ font-family: var(--font-mono); font-size: 13px; min-width: 16px; text-align: center; }
.cart-remove{ font-size: 11.5px; color: var(--gray-text); text-decoration: underline; margin-top: 6px; display: inline-block; background:none; border:none; padding:0; }
.cart-foot{ padding: 20px 24px 26px; border-top: 1px solid var(--gray-mid); }
.cart-subtotal{ display: flex; justify-content: space-between; font-weight: 700; color: var(--navy); margin-bottom: 16px; font-family: var(--font-mono); }

.toast{
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 1000;
  background: var(--navy); color: var(--white); padding: 14px 24px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: all .28s ease; box-shadow: var(--shadow-lg);
}
.toast.show{ opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg{ width: 16px; height: 16px; stroke: #6FE3A6; fill: none; }

.back-to-top{
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .2s ease; z-index: 400; border: none;
}
.back-to-top.show{ opacity: 1; pointer-events: auto; }
.back-to-top:hover{ transform: translateY(-3px); }
.back-to-top svg{ width: 18px; height: 18px; stroke: var(--white); fill: none; }

[data-reveal]{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in{ opacity: 1; transform: translateY(0); }

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: 12px 20px;
  z-index: 2000; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }
