/*
  VOICE   Boutique couture: warm, graceful, unhurried.
  IDEA    A saree studio's trousseau box: plum lid, gold zari border, blush tissue inside.
  PICTURE The studio's own photography, framed with a thin gold border.
  COLOUR  Plum #4a1942 dominant, blush #fbf1ee ground, zari gold #b07d2a accent.
  TYPE    Cormorant Garamond for titles (matches the logo lettering), Jost for text.
*/
:root {
  color-scheme: light;
  --plum: #4a1942;
  --plum-deep: #2e0f29;
  --plum-soft: #6d2f63;
  --gold: #b07d2a;
  --gold-light: #e2bf7a;
  --blush: #fbf1ee;
  --blush-2: #f4e1dc;
  --ink: #2a1a27;
  --muted: #6e5a69;
  --line: #e7d3cc;
  --white: #fff;
  --ok: #1f7a4d;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 15, 41, .12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--blush); color: var(--ink); font: 400 16.5px/1.65 var(--sans); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--plum); }
h1, h2, h3 { font-family: var(--serif); color: var(--plum); line-height: 1.08; margin: 0 0 .4em; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 2 * max(4vw, 16px)); margin-inline: auto; }
.band { padding-block: clamp(48px, 7vw, 96px); }
.band.white { background: var(--white); }
.band.plum { background: var(--plum); color: #f3e6ef; }
.band.plum h2, .band.plum h3 { color: #fff; }
.kicker { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; margin: 0 0 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.zari { height: 2px; width: 120px; margin: 14px auto 28px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: 0; }
.left .zari, .zari.left { margin-inline: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid var(--plum); background: var(--plum); color: #fff; font: 500 16px var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s; white-space: nowrap; }
.btn:hover { background: var(--plum-deep); }
.btn.ghost { background: transparent; color: var(--plum); }
.btn.ghost:hover { background: var(--plum); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); }
.btn.gold:hover { background: #946620; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #0b3d1f; }
.btn.wa:hover { background: #1ebe5a; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Announcement + header */
.announce { background: var(--plum-deep); color: var(--gold-light); text-align: center; font-size: 14px; padding: 8px 16px; letter-spacing: .02em; }
.announce a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 58px; height: 58px; border-radius: 50%; }
.brand span { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--plum); line-height: 1; }
.brand small { display: block; font: italic 500 15px var(--serif); color: var(--gold); margin-top: 3px; }
.nav { display: flex; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--plum); background: var(--blush); }
.cart-link { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blush); color: var(--plum); text-decoration: none; }
.cart-link svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--plum); color: #fff; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; margin: auto; }
@media (max-width: 860px) {
  .menu-btn { display: grid; place-items: center; }
  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px max(4vw, 16px) 16px; display: none; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 10px; }
  .brand span { font-size: 21px; }
  .brand img { width: 48px; height: 48px; }
}

/* Hero */
.hero { position: relative; background: var(--plum-deep); }
.hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; max-height: 78vh; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 22px 16px; background: var(--plum); }
.hero-cta .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero-cta .btn.ghost:hover { background: #fff; color: var(--plum); }

/* Frames, grids, cards */
.frame { padding: 8px; background: var(--white); border: 1px solid var(--gold-light); border-radius: var(--radius); box-shadow: var(--shadow); }
.frame img { border-radius: calc(var(--radius) - 6px); width: 100%; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: minmax(0, 1fr); } }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .pic { position: relative; aspect-ratio: 4 / 5; background: var(--blush-2); overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .pic img { transform: scale(1.04); }
.card .pic.wide { aspect-ratio: 3 / 2; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 25px; }
.card h3 a { color: inherit; text-decoration: none; }
.card .sub { color: var(--muted); font-size: 15px; margin: 0; }
.card .actions { margin-top: auto; padding-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.card .actions .btn { flex: 1; padding: 0 16px; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.tag.plum { background: var(--plum); }

.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-weight: 600; color: var(--plum); font-size: 21px; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; font-size: 16px; }
.price .save { font-size: 13px; color: var(--ok); background: #e5f4ec; padding: 2px 9px; border-radius: 999px; font-weight: 600; }

/* Features */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.feature { padding: 26px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 191, 122, .35); }
.feature .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 23px; margin-bottom: 6px; }
.feature p { margin: 0; color: #e8d6e3; font-size: 15.5px; }

/* Page heading */
.page-head { background: linear-gradient(180deg, var(--blush-2), var(--blush)); padding: clamp(36px, 6vw, 64px) 0 28px; text-align: center; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }

/* Shop toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 15px var(--sans); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
select, input, textarea { font: 16px var(--sans); color: var(--ink); background: #fff; border: 1px solid #d9c3bc; border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px; }
textarea { min-height: 110px; resize: vertical; }
select { width: auto; padding-right: 36px; }
label { font-weight: 500; font-size: 15px; display: block; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.req { color: #b3261e; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .product { grid-template-columns: minmax(0, 1fr); } }
.gallery-main { aspect-ratio: 4 / 5; background: var(--blush-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gold-light); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumbs button { width: 84px; height: 100px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.specs { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.specs b { color: var(--plum); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d9c3bc; border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--plum); border-radius: 999px; }
.qty output, .qty span { min-width: 34px; text-align: center; font-weight: 600; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 14px; }
.buy-row .btn { flex: 1; }
.note { font-size: 14.5px; color: var(--muted); background: #fff; border: 1px dashed var(--gold-light); border-radius: 12px; padding: 12px 14px; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.line-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item:first-child { padding-top: 0; }
.line-item img { width: 88px; height: 110px; object-fit: cover; border-radius: 10px; }
.line-item h3 { font-size: 22px; margin: 0 0 4px; }
.line-item .unit { color: var(--muted); font-size: 14.5px; white-space: nowrap; }
.line-item .total { font-weight: 600; color: var(--plum); text-align: right; white-space: nowrap; }
.remove { background: none; border: 0; color: #a3324a; font: 500 14px var(--sans); cursor: pointer; padding: 8px 0; text-decoration: underline; min-height: 44px; }
@media (max-width: 520px) { .line-item { grid-template-columns: 72px minmax(0, 1fr); } .line-item img { width: 72px; height: 90px; } .line-item .total { grid-column: 2; text-align: left; } }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.sum-row.grand { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 600; color: var(--plum); }
.sum-row span:last-child { white-space: nowrap; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin-bottom: 10px; font-size: 15px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--blush-2); color: var(--plum); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.error { color: #b3261e; font-size: 14px; margin-top: 6px; }

/* Gallery page */
.masonry { columns: 3 280px; column-gap: 20px; }
.masonry figure { break-inside: avoid; margin: 0 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.masonry button { display: block; padding: 0; border: 0; width: 100%; cursor: zoom-in; background: none; }
.masonry figcaption { padding: 12px 16px; font-family: var(--serif); font-size: 20px; color: var(--plum); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(30, 8, 26, .92); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 10px; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--plum); font-size: 26px; cursor: pointer; }

/* Contact */
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-card .ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 21px; margin: 0 0 2px; }
.contact-card p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--plum-deep); color: #dcc7d6; padding: 56px 0 24px; }
.site-footer h3 { color: #fff; font-size: 23px; }
.site-footer a { color: #f3e6ef; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(226, 191, 122, .5); display: grid; place-items: center; }
.socials svg { width: 20px; height: 20px; }
.copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: 14px; text-align: center; }

/* Floating WhatsApp + toast */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.wa-float svg { width: 30px; height: 30px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 70; background: var(--plum-deep); color: #fff; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; transition: transform .3s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--gold-light); font-weight: 600; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.btn.disabled { opacity: .5; }
.success { background: #e5f4ec; color: #14532d; border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-top: 14px; }
.hours { list-style: none; padding: 0; margin: 0; }
.grid.featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 400px)); justify-content: center; }
