/* 369 ECOMMERCE — साइट की पूरी styling. कोई build step नहीं, सीधी CSS. */

:root {
  --plum: #7a1633;
  --plum-dark: #5b0f25;
  --plum-soft: #fdf3f6;
  --gold: #b8873a;
  --gold-soft: #fbf4e7;
  --ink: #201a1c;
  --ink-2: #574c50;
  --ink-3: #8b7d82;
  --line: #ecdfe3;
  --paper: #ffffff;
  --sand: #faf6f4;
  --ok: #1c7a4f;
  --ok-soft: #e9f6ef;
  --warn: #9a5b00;
  --warn-soft: #fdf3e3;
  --err: #b3261e;
  --err-soft: #fdeceb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(32, 26, 28, .06), 0 8px 24px rgba(32, 26, 28, .06);
  --shadow-lg: 0 12px 40px rgba(32, 26, 28, .12);
  --font: "Segoe UI", "Noto Sans Devanagari", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --serif: "Georgia", "Noto Serif Devanagari", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--plum); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--plum); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- header ---------- */

.topbar { background: var(--plum-dark); color: #f6e7ec; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 1rem; padding: .7rem 0; }

.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--plum), var(--plum-dark));
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.02rem; letter-spacing: .04em; }
.brand-text small { color: var(--ink-3); font-size: .72rem; }

.site-nav { display: flex; gap: .35rem; margin-left: auto; }
.site-nav a {
  padding: .5rem .75rem; border-radius: 9px;
  color: var(--ink-2); font-size: .93rem; font-weight: 500;
}
.site-nav a:hover { background: var(--plum-soft); color: var(--plum); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--plum); background: var(--plum-soft); font-weight: 600; }

.cart-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: var(--plum); color: #fff; font-size: .9rem; font-weight: 600;
}
.cart-link:hover { background: var(--plum-dark); text-decoration: none; }
.cart-count {
  min-width: 1.4rem; padding: 0 .35rem; border-radius: 999px;
  background: rgba(255, 255, 255, .22); text-align: center; font-size: .8rem;
}

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 38px; padding: 9px 8px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin-bottom: 4px; }
.nav-toggle span:last-child { margin-bottom: 0; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .cart-link { order: 3; }
  .site-nav {
    order: 4; width: 100%; margin-left: 0;
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .site-nav.open { max-height: 24rem; padding-top: .5rem; }
  .site-nav a { padding: .7rem .6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-in { flex-wrap: wrap; }
}

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(1000px 420px at 12% -10%, #ffe9f0 0%, transparent 60%),
    linear-gradient(160deg, var(--plum-soft), var(--gold-soft));
  border-bottom: 1px solid var(--line);
}
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding: 3.5rem 0; }
.hero h1 { margin-bottom: .6rem; }
.hero .lede { font-size: 1.08rem; color: var(--ink-2); max-width: 34rem; }
.hero-points { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; gap: .45rem; }
.hero-points li { padding-left: 1.6rem; position: relative; color: var(--ink-2); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hero-art img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3/4; object-fit: cover; }
.hero-art img:first-child { margin-top: 1.6rem; }

@media (max-width: 880px) {
  .hero-in { grid-template-columns: 1fr; padding: 2.25rem 0; gap: 1.75rem; }
}

.page-hero {
  background: linear-gradient(160deg, var(--plum-soft), #fff);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0 1.75rem;
}
.page-hero h1 { margin-bottom: .25rem; }
.page-hero p { color: var(--ink-2); margin: 0; max-width: 46rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .95rem;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-dark); }
.btn-ghost { background: #fff; color: var(--plum); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--plum); background: var(--plum-soft); }
.btn-gold { background: var(--gold); color: #2a1c05; }
.btn-block { width: 100%; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }

/* ---------- sections & cards ---------- */

.section { padding: 3.25rem 0; }
.section-alt { background: var(--sand); }
.section-head { max-width: 44rem; margin-bottom: 1.75rem; }
.section-head p { color: var(--ink-2); margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.cat-card {
  display: block; padding: 1.25rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.cat-card:hover { text-decoration: none; border-color: var(--plum); box-shadow: var(--shadow); }
.cat-card h3 { margin-bottom: .25rem; color: var(--plum); }
.cat-card p { margin: 0; font-size: .88rem; color: var(--ink-2); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }

.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .18s ease, transform .18s ease;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.product-media { position: relative; background: var(--sand); }
.product-media img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.product-badge {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--gold); color: #2a1c05;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px;
}
.product-off {
  position: absolute; top: .6rem; right: .6rem;
  background: var(--ok); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px;
}
.product-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; gap: .35rem; }
.product-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.product-title { font-family: var(--font); font-size: .98rem; font-weight: 600; margin: 0; line-height: 1.35; }
.product-blurb { font-size: .84rem; color: var(--ink-2); margin: 0; }
.product-meta { font-size: .78rem; color: var(--ink-3); }
.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: .5rem; }
.price { font-size: 1.15rem; font-weight: 700; color: var(--plum); }
.mrp { font-size: .85rem; color: var(--ink-3); text-decoration: line-through; }
.product-card .btn { margin-top: .6rem; }
.product-sku { font-size: .72rem; color: var(--ink-3); }

/* ---------- trust strip ---------- */

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.trust-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.trust-card h3 { font-family: var(--font); font-size: .98rem; margin-bottom: .2rem; }
.trust-card p { margin: 0; font-size: .87rem; color: var(--ink-2); }

/* ---------- generic prose (policy pages) ---------- */

.prose { max-width: 52rem; padding: 2.5rem 0 3.5rem; }
.prose h2 { margin-top: 2.25rem; padding-top: .25rem; }
.prose h2:first-of-type { margin-top: 1rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.prose th { background: var(--plum-soft); font-weight: 600; }
.updated { color: var(--ink-3); font-size: .88rem; }

.callout {
  border-left: 4px solid var(--gold); background: var(--gold-soft);
  padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.25rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout-ok { border-left-color: var(--ok); background: var(--ok-soft); }
.callout-warn { border-left-color: var(--warn); background: var(--warn-soft); }

/* ---------- info / contact ---------- */

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 1.75rem; } }

.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.info-card h3 { margin-bottom: .5rem; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.info-list dt, .info-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.info-list dd { margin: 0; }
address { font-style: normal; }

/* ---------- forms ---------- */

.field { display: grid; gap: .3rem; margin-bottom: 1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; padding: .65rem .8rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum); outline: none; box-shadow: 0 0 0 3px rgba(122, 22, 51, .12); }
.field .hint { font-size: .78rem; color: var(--ink-3); }
.field-error { color: var(--err); font-size: .82rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.radio-card {
  display: flex; gap: .75rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; margin-bottom: .6rem; cursor: pointer;
}
.radio-card:hover { border-color: var(--plum); }
.radio-card input { margin-top: .3rem; }
.radio-card.selected { border-color: var(--plum); background: var(--plum-soft); }
.radio-card strong { display: block; }
.radio-card small { color: var(--ink-2); }
.radio-card.disabled { opacity: .55; cursor: not-allowed; }

/* ---------- cart / checkout ---------- */

.cart-layout { display: grid; grid-template-columns: 1.5fr .85fr; gap: 2rem; align-items: start; padding: 2.25rem 0 3.5rem; }
@media (max-width: 940px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center;
}
.cart-item img { width: 96px; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.cart-item h3 { font-family: var(--font); font-size: .98rem; margin: 0 0 .15rem; }
.cart-item .product-meta { margin-bottom: .35rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 32px; height: 32px; border: none; background: #fff; cursor: pointer; font-size: 1.1rem; color: var(--plum); }
.qty button:hover { background: var(--plum-soft); }
.qty span { min-width: 2rem; text-align: center; font-weight: 600; font-size: .92rem; }
.cart-item-right { text-align: right; display: grid; gap: .35rem; justify-items: end; }
.link-danger { background: none; border: none; padding: 0; color: var(--err); font: inherit; font-size: .82rem; cursor: pointer; text-decoration: underline; }
@media (max-width: 620px) {
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item img { width: 72px; }
  .cart-item-right { grid-column: 1 / -1; justify-items: start; text-align: left; }
}

.summary {
  position: sticky; top: 90px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
}
.summary h2 { font-size: 1.15rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .94rem; color: var(--ink-2); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .75rem; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.sum-note { font-size: .8rem; color: var(--ink-3); margin: .75rem 0 0; }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-2); }
.empty-state h2 { font-size: 1.3rem; }

.status-box { border-radius: 12px; padding: .85rem 1.1rem; margin: 1rem 0; font-size: .92rem; }
.status-ok { background: var(--ok-soft); color: var(--ok); }
.status-warn { background: var(--warn-soft); color: var(--warn); }
.status-err { background: var(--err-soft); color: var(--err); }
.is-hidden { display: none !important; }

.order-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; max-width: 40rem; margin: 0 auto; box-shadow: var(--shadow);
}
.order-box dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 1rem 0; font-size: .94rem; }
.order-box dt { color: var(--ink-3); }
.order-box dd { margin: 0; font-weight: 600; }

/* ---------- faq ---------- */

.faq details {
  border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem 1.1rem; margin-bottom: .7rem; background: #fff;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq summary::marker { color: var(--plum); }
.faq details[open] summary { margin-bottom: .5rem; }
.faq p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ---------- footer ---------- */

.site-footer { background: #2a1119; color: #e8d9de; margin-top: 3rem; padding-top: 2.75rem; font-size: .9rem; }
.site-footer a { color: #f4e3e8; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .8rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2rem; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #c8adb6; }
.footer-note { color: #cbb3ba; font-size: .85rem; margin-bottom: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-address { color: #cbb3ba; line-height: 1.7; margin-bottom: .75rem; }

.footer-pay {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0; font-size: .82rem; color: #cbb3ba;
}
.pay-badge {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px; padding: .18rem .55rem; color: #fff; font-weight: 600; font-size: .78rem;
}
.pay-note { flex-basis: 100%; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 1rem 0 1.5rem;
  color: #b79aa3; font-size: .82rem;
}
.footer-bottom p { margin: 0; }

/* ---------- print ---------- */

@media print {
  .topbar, .site-header, .site-footer, .btn { display: none !important; }
  body { font-size: 12pt; }
}
