/* ============================================================
   Subhkarta Sarees — Theme
   Palette: Ivory + Deep Maroon + Gold (festive premium look)
   Fonts: Playfair Display (headings) + Jost (body)
   ============================================================ */

:root {
  --bg: #fbf7f2;
  --bg-tint: #f4ece2;
  --surface: #ffffff;
  --ink: #2a1c1e;
  --muted: #7d6b64;
  --line: rgba(42, 28, 30, 0.12);
  --maroon: #7b1e3b;
  --maroon-dark: #59132a;
  --gold: #b98a2e;
  --gold-light: #e8c97a;
  --gold-text: #8a6310; /* light background par accessible gold (contrast 4.5+) */
  --green: #1f9d55;
  --wa: #25d366;
  --shadow: 0 10px 30px rgba(42, 28, 30, 0.09);
  --radius: 6px;
  --container: 1240px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 980px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--maroon);
  color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

.overline {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500; margin-bottom: 10px;
}
.hero .overline, .newsletter-band .overline { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border: 1.5px solid transparent; border-radius: 4px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; transition: 0.25s ease;
  background: none; line-height: 1.2;
}
.btn--gold { background: var(--gold-light); color: #3a2a08; border-color: var(--gold-light); }
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.btn--dark:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.65); background: rgba(0, 0, 0, 0.15); backdrop-filter: blur(3px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { color: var(--maroon); border-color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }
.btn--wa { background: var(--wa); color: #06340f; border-color: var(--wa); }
.btn--wa:hover { filter: brightness(0.95); transform: translateY(-2px); }
.btn--lg { padding: 15px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow { font-size: 0.9rem; letter-spacing: 0.06em; color: var(--maroon); font-weight: 500; border-bottom: 1px solid transparent; transition: 0.2s; }
.link-arrow:hover { border-color: var(--maroon); }

/* ---------- Announcement ---------- */
.announce { background: var(--maroon-dark); color: #f7e6c9; overflow: hidden; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.announce-track { display: flex; gap: 26px; padding: 9px 0; width: max-content; animation: marquee 28s linear infinite; white-space: nowrap; }
.announce-track i { color: var(--gold-light); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(42, 28, 30, 0.08); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; height: 74px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--maroon); color: var(--gold-light); font-family: var(--font-head);
  font-size: 1.35rem; font-weight: 700; border: 1.5px solid var(--gold);
}
.logo-text { font-family: var(--font-head); font-size: 1.32rem; font-weight: 600; line-height: 1; display: flex; flex-direction: column; }
.logo-text em { font-family: var(--font-body); font-style: normal; font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-text); margin-top: 3px; }

.main-nav { display: flex; justify-content: center; gap: 26px; }
.main-nav a {
  font-size: 0.92rem; letter-spacing: 0.04em; color: var(--ink); padding: 6px 0;
  position: relative; transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--maroon); transition: width 0.25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--maroon); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border: none;
  background: none; color: var(--ink); border-radius: 50%; position: relative; transition: 0.2s;
}
.icon-btn:hover { background: var(--bg-tint); color: var(--maroon); }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--maroon); color: #fff; font-size: 0.68rem; font-weight: 600;
  border-radius: 999px; display: grid; place-items: center; line-height: 1;
}
.hamburger { display: none; }
/* Overlay header (z-90) ke neeche, warna header ke andar ka fixed nav tap intercept karta hai */
.nav-overlay { position: fixed; inset: 0; background: rgba(20, 10, 12, 0.5); z-index: 89; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(430px, 68vh, 640px); display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(35, 8, 16, 0.88) 0%, rgba(45, 12, 24, 0.55) 45%, rgba(45, 12, 24, 0.08) 75%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: var(--container); padding-top: 40px; padding-bottom: 40px; }
.hero-content h1 { color: #fff; font-weight: 600; }
.hero-content h1 em { color: var(--gold-light); font-style: italic; }
.hero-sub { max-width: 480px; margin: 18px 0 28px; font-size: 1.05rem; color: rgba(255, 255, 255, 0.88); font-weight: 300; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 20px 22px; }
.trust-item { display: flex; align-items: center; gap: 13px; }
.trust-item svg { color: var(--gold); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.94rem; font-weight: 500; }
.trust-item span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 66px 0; }
.section--tint { background: var(--bg-tint); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }

/* ---------- Categories ---------- */
.cat-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat-item { text-align: center; }
.cat-circle {
  display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 2px solid transparent; outline: 1px solid var(--line); outline-offset: -6px;
  transition: 0.3s ease; background: var(--surface);
}
.cat-circle img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-item:hover .cat-circle { border-color: var(--gold); outline-color: transparent; box-shadow: var(--shadow); }
.cat-item:hover .cat-circle img { transform: scale(1.08); }
.cat-name { display: block; margin-top: 13px; font-size: 0.95rem; letter-spacing: 0.04em; font-weight: 500; }
.cat-item:hover .cat-name { color: var(--maroon); }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 26px 22px; }
.product-grid--shop { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }

.product-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: 0.3s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.pc-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-tint); }
.pc-link { display: block; width: 100%; height: 100%; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .pc-media img { transform: scale(1.06); }

.pc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3; padding: 5px 12px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 3px; background: var(--maroon); color: #fff;
}
.pc-badge--new { background: var(--gold); color: #2e2100; }
.pc-badge--sale { background: #c2410c; }
.pc-badge--bestseller { background: var(--maroon); }
.pc-discount {
  position: absolute; top: 12px; right: 12px; z-index: 3; padding: 5px 10px;
  background: rgba(255, 255, 255, 0.94); color: var(--maroon); font-size: 0.7rem;
  font-weight: 600; border-radius: 3px;
}
.pc-add {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; transform: translateY(102%);
  transition: transform 0.3s ease; padding: 10px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
}
.product-card:hover .pc-add, .product-card:focus-within .pc-add { transform: translateY(0); }
.pc-add button {
  width: 100%; padding: 12px; background: var(--maroon); color: #fff; border: none;
  border-radius: 4px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; transition: 0.2s;
}
.pc-add button:hover { background: var(--maroon-dark); }

.pc-info { padding: 16px 16px 20px; }
.pc-title { font-family: var(--font-body); font-size: 1.02rem; font-weight: 500; letter-spacing: 0.01em; }
.pc-title a:hover { color: var(--maroon); }
.pc-meta { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.pc-rating { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.stars { color: var(--gold); font-size: 0.82rem; letter-spacing: 1px; }
.rating-num { font-size: 0.78rem; color: var(--muted); }
.pc-price { margin-top: 9px; display: flex; align-items: baseline; gap: 9px; }
.pc-price strong { font-size: 1.08rem; color: var(--maroon); font-weight: 600; }
.pc-price s { color: var(--muted); font-size: 0.88rem; }

/* ---------- Promo banner ---------- */
.promo {
  display: grid; grid-template-columns: 1.35fr 1fr; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.promo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.promo-content { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; background: linear-gradient(140deg, #fff, #faf3ea); }
.promo-content p { color: var(--muted); max-width: 42ch; }
.promo--reverse { grid-template-columns: 1fr 1.35fr; }
.promo--reverse img { order: 2; }

/* ---------- Story ---------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); }
.story-badge {
  position: absolute; bottom: -16px; right: 22px; background: var(--gold); color: #2e2100;
  padding: 12px 20px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; box-shadow: var(--shadow);
}
.story-text p { color: var(--muted); margin-bottom: 16px; }
.tick-list { margin: 6px 0 24px; display: grid; gap: 10px; }
.tick-list li { padding-left: 30px; position: relative; color: var(--ink); }
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: var(--gold-light); color: #3a2a08; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem; font-weight: 700;
}

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; }
.review-card blockquote { font-family: var(--font-head); font-style: italic; font-size: 1.05rem; line-height: 1.6; margin: 12px 0 16px; }
.review-card figcaption { font-size: 0.9rem; font-weight: 500; }
.review-card figcaption span { color: var(--muted); font-weight: 400; }

/* ---------- Newsletter band ---------- */
.newsletter-band { background: linear-gradient(120deg, var(--maroon-dark), var(--maroon)); color: #fff; padding: 54px 0; }
.newsletter-band h2 { color: #fff; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.newsletter { display: flex; gap: 0; margin-top: 14px; }
.newsletter input {
  flex: 1; min-width: 220px; padding: 13px 16px; border: 1px solid var(--line);
  border-radius: 4px 0 0 4px; font-family: var(--font-body); font-size: 0.95rem; background: #fff;
}
.newsletter button {
  padding: 13px 24px; background: var(--maroon); color: #fff; border: none;
  border-radius: 0 4px 4px 0; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.newsletter--lg { width: min(460px, 100%); }
.newsletter-band .newsletter input { border: none; }

/* ---------- Footer ---------- */
.site-footer { background: #221619; color: #d9cfc9; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 58px 22px 44px; }
.footer-brand p { font-size: 0.92rem; color: #a89a94; margin-top: 16px; max-width: 34ch; }
.logo--footer .logo-text { color: #fff; }
.logo--footer .logo-text em { color: var(--gold-light); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.72rem; letter-spacing: 0.05em; transition: 0.25s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #241a02; }
.footer-col h3 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.93rem; color: #c9beb8; transition: 0.2s; }
.footer-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { font-size: 0.93rem; color: #c9beb8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: #97898a; }

/* ---------- WhatsApp float + toast ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 99; width: 56px; height: 56px;
  background: var(--wa); color: #fff; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); transition: 0.25s;
}
.wa-float:hover { transform: scale(1.08); }
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px;
  font-size: 0.92rem; z-index: 120; box-shadow: var(--shadow); transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4);
  max-width: 90vw;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Breadcrumbs / page head ---------- */
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.83rem; color: var(--muted); margin: 26px 0 8px; }
.breadcrumbs a:hover { color: var(--maroon); }
.breadcrumbs span[aria-current] { color: var(--ink); }
.page-head { padding: 14px 0 26px; }
.page-sub { color: var(--muted); margin-top: 8px; max-width: 62ch; }

/* ---------- Filters ---------- */
.filters { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-cats { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.87rem;
  background: var(--surface); transition: 0.2s; letter-spacing: 0.02em;
}
.chip:hover { border-color: var(--maroon); color: var(--maroon); }
.chip--active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.filter-sort select {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
  font-family: var(--font-body); font-size: 0.9rem; color: var(--ink); cursor: pointer;
}
.filter-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.filter-search { display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px 3px 16px; }
.filter-search input { border: none; background: none; padding: 8px 6px; font-family: var(--font-body); font-size: 0.9rem; width: 170px; color: var(--ink); }
.filter-search input:focus { outline: none; }
.filter-search button { border: none; background: none; font-size: 0.95rem; padding: 4px 8px; color: var(--muted); }
.filter-search button:hover { color: var(--maroon); }

.shop-note { margin: 60px 0 30px; padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.shop-note h2 { font-size: 1.4rem; margin-bottom: 10px; }
.shop-note p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Empty / 404 ---------- */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { color: var(--muted); margin: 8px 0 22px; }
.empty-state h1, .empty-state h2 { margin-bottom: 6px; }

/* ---------- Product detail page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 60px); padding: 14px 0 40px; }
.pdp-main { position: relative; border-radius: 10px; overflow: hidden; background: var(--bg-tint); border: 1px solid var(--line); }
.pdp-main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb { border: 1.5px solid var(--line); background: none; border-radius: 6px; overflow: hidden; padding: 0; width: 84px; transition: 0.2s; }
.thumb img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.thumb--active, .thumb:hover { border-color: var(--maroon); }

.pdp-info { position: sticky; top: 96px; align-self: start; }
.pdp-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 4px 0 10px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; font-size: 0.87rem; color: var(--muted); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.pdp-price strong { font-size: 2rem; color: var(--maroon); font-weight: 600; }
.pdp-price s { color: var(--muted); font-size: 1.1rem; }
.off-tag { background: var(--maroon); color: #fff; font-size: 0.74rem; padding: 4px 11px; border-radius: 3px; letter-spacing: 0.08em; text-transform: uppercase; }
.tax-note { font-size: 0.83rem; color: var(--muted); margin-top: 6px; }
.pdp-desc { margin: 18px 0; color: var(--ink); }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.qty-form { display: flex; gap: 12px; flex: 1; min-width: 260px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.qty-btn { width: 42px; height: 100%; border: none; background: none; font-size: 1.2rem; color: var(--ink); transition: 0.2s; }
.qty-btn:hover { background: var(--bg-tint); color: var(--maroon); }
.qty input { width: 44px; text-align: center; border: none; font-family: var(--font-body); font-size: 1rem; background: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-form .btn { flex: 1; }

.pdp-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 22px; }
.pdp-assure strong { display: block; font-size: 0.88rem; font-weight: 500; }
.pdp-assure span { font-size: 0.76rem; color: var(--muted); }

.accordion { border-top: 1px solid var(--line); }
.accordion:last-of-type { border-bottom: 1px solid var(--line); }
.accordion summary {
  padding: 15px 0; font-weight: 500; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; font-size: 0.98rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; transition: 0.25s; }
.accordion[open] summary::after { transform: rotate(45deg); }
.accordion p, .accordion ul { padding-bottom: 16px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Cart ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; padding-bottom: 60px; }
.cart-items { display: grid; gap: 16px; }
.cart-item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px;
}
.cart-thumb img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; }
.cart-item-info h2 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 500; }
.cart-item-info h2 a:hover { color: var(--maroon); }
.cart-item-price { display: flex; gap: 9px; align-items: baseline; margin-top: 5px; }
.cart-item-price strong { color: var(--maroon); }
.cart-item-price s { color: var(--muted); font-size: 0.85rem; }
.cart-item-actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.inline-form { display: inline; }
.inline-form button {
  min-width: 32px; height: 32px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 4px; font-size: 1rem; transition: 0.2s;
}
.inline-form button:hover { border-color: var(--maroon); color: var(--maroon); }
.cart-qty { min-width: 34px; text-align: center; font-weight: 500; }
.remove-btn { border: none !important; background: none !important; color: var(--muted); font-size: 0.84rem !important; text-decoration: underline; min-width: auto !important; padding: 0 6px; }
.remove-btn:hover { color: #c2410c !important; }
.cart-line-total { font-weight: 600; color: var(--ink); white-space: nowrap; }

.cart-summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 24px; position: sticky; top: 96px;
}
.cart-summary h2 { font-size: 1.3rem; margin-bottom: 16px; }
.cart-summary dl { display: grid; gap: 10px; font-size: 0.95rem; }
.cart-summary dl div { display: flex; justify-content: space-between; }
.cart-summary dt { color: var(--muted); }
.save-line dd { color: var(--green); font-weight: 500; }
.total-line {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; font-size: 1.1rem;
}
.total-line strong { color: var(--maroon); font-size: 1.35rem; }
.ship-note { font-size: 0.82rem; color: var(--gold-text); margin: 8px 0 14px; }
.cart-summary .btn { margin-top: 6px; }
.cod-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Forms / checkout ---------- */
.checkout-form { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: clamp(22px, 3vw, 34px); }
.checkout-form h2 { font-size: 1.35rem; margin: 6px 0 18px; }
.checkout-form h2:not(:first-child) { margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg);
  font-family: var(--font-body); font-size: 0.97rem; color: var(--ink); transition: 0.2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--maroon); background: #fff; box-shadow: 0 0 0 3px rgba(123, 30, 59, 0.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row--3 { grid-template-columns: 1.2fr 1fr 0.8fr; }

.pay-options { display: grid; gap: 12px; margin-bottom: 24px; }
.pay-option {
  display: flex; gap: 13px; align-items: flex-start; padding: 15px 17px; border: 1.5px solid var(--line);
  border-radius: 8px; cursor: pointer; transition: 0.2s; background: var(--bg);
}
.pay-option:hover { border-color: var(--gold); }
.pay-option input { accent-color: var(--maroon); margin-top: 4px; }
.pay-option strong { display: block; font-weight: 500; }
.pay-option small { color: var(--muted); }
.pay-option:has(input:checked) { border-color: var(--maroon); background: #fff; }

.mini-items { display: grid; gap: 13px; margin-bottom: 18px; }
.mini-items li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.mini-items img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px; }
.mini-items p { font-size: 0.9rem; line-height: 1.35; }
.mini-items small { color: var(--muted); font-size: 0.78rem; }
.mini-items strong { font-size: 0.92rem; white-space: nowrap; }
.mini-items--center { max-width: 520px; margin: 26px auto; text-align: left; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-size: 0.95rem; }
.alert--error { background: #fdeaea; color: #a02020; border: 1px solid #f3c2c2; }
.alert--ok { background: #e9f8ef; color: #14663b; border: 1px solid #bce7ce; }

/* ---------- Order success ---------- */
.success-box { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(30px, 5vw, 56px); margin: 34px 0 60px; }
.success-check {
  width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--green);
  color: #fff; font-size: 2.2rem; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(31, 157, 85, 0.35);
}
.success-sub { color: var(--muted); max-width: 56ch; margin: 10px auto 0; }
.success-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; margin-top: 30px;
}
.success-details h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; font-weight: 500; }
.success-details p { font-size: 0.95rem; color: var(--ink); }
.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- About / FAQ / Contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; transition: 0.3s; }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.info-card h2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; margin-bottom: 8px; }
.info-card p { color: var(--muted); font-size: 0.93rem; }
.faq { max-width: 780px; margin: 56px 0 60px; }

.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: start; padding-bottom: 60px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; transition: 0.25s; display: block; }
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card h2 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; margin-bottom: 7px; }
.contact-card p { font-size: 1.02rem; font-weight: 500; }
.contact-card small { color: var(--muted); }
.contact-card--wa { background: linear-gradient(120deg, #effaf2, #e3f7ea); border-color: #bce7ce; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .trustbar-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* backdrop-filter fixed-position nav ko header ke containing block mein trap kar deta hai
     (menu sirf header ki height tak khulta tha) - mobile par hataya */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hamburger { display: grid; }
  .header-inner { grid-template-columns: auto 1fr auto; height: 64px; }
  .logo { justify-self: center; grid-column: 2; }
  .header-actions { grid-column: 3; }
  .hamburger { grid-column: 1; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 84vw); z-index: 100;
    background: var(--surface); flex-direction: column; justify-content: flex-start;
    gap: 0; padding: 86px 26px 30px; transform: translateX(-105%);
    transition: transform 0.32s ease; box-shadow: var(--shadow); overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav a::after { display: none; }

  .pdp, .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .pdp-info, .cart-summary { position: static; }
  .promo, .promo--reverse { grid-template-columns: 1fr; }
  .promo--reverse img { order: 0; }
  .story { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 46px 0; }
  /* Mobile par cards bade: container padding + gap kam, fonts bade */
  .container { padding: 0 12px; }
  .trustbar-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .pc-info { padding: 13px 13px 17px; }
  .pc-title { font-size: 1rem; line-height: 1.35; }
  .pc-price strong { font-size: 1.14rem; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 74px 1fr; }
  .cart-line-total { grid-column: 2; justify-self: end; }
  .success-details { grid-template-columns: 1fr; }
  .pdp-assure { grid-template-columns: 1fr; gap: 8px; }
  .hero-cta .btn { width: 100%; }
  .qty-form { flex-direction: column; min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .newsletter-inner { flex-direction: column; align-items: stretch; }
}

/* Touch devices par add-to-cart hamesha dikhe */
@media (hover: none) {
  .pc-add { transform: translateY(0); }
}
