/* Shree Vogue Fashion — storefront styles
   Change the brand colours here. */
:root {
  --maroon: #7a1631;
  --maroon-dark: #5a0f24;
  --gold: #c9a227;
  --gold-soft: #f3e3b3;
  --ivory: #fbf7f0;
  --sand: #f3ece0;
  --ink: #2b2220;
  --muted: #7a6e68;
  --line: #e6dccd;
  --sale: #b3261e;
  --wa: #25d366;
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--ivory); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--maroon); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; color: var(--gold); margin: 0 0 .75rem; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.75rem; background: var(--maroon); color: #fff; border: 1px solid var(--maroon); border-radius: var(--radius); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--maroon-dark); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--outline { background: transparent; color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }
.btn--light { background: #fff; color: var(--maroon); border-color: #fff; }
.btn--light:hover { background: var(--gold-soft); color: var(--maroon-dark); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5a; }
.btn--block { width: 100%; }
.btn--sm { padding: .5rem 1rem; }
.link-arrow { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }

/* ---------- Announcement ---------- */
.announce { background: var(--maroon); color: var(--gold-soft); text-align: center; font-size: .8rem; letter-spacing: .08em; position: relative; height: 36px; overflow: hidden; }
.announce__item { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; opacity: 0; transform: translateY(100%); transition: opacity .5s, transform .5s; }
.announce__item.is-active { opacity: 1; transform: none; }
.demo-banner { background: var(--gold-soft); color: var(--ink); text-align: center; font-size: .85rem; padding: .5rem 16px; }
.demo-banner code { background: rgba(0,0,0,.06); padding: 0 .3em; border-radius: 3px; }

/* ---------- Header ---------- */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 72px; gap: 1rem; }
.icon-btn { background: none; border: 0; padding: .5rem; cursor: pointer; display: inline-flex; position: relative; color: var(--ink); }
.menu-toggle { justify-self: start; }
.header-search { display: none; }
.logo { text-align: center; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo img { max-height: 56px; width: auto; }
.logo__mark { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--maroon); letter-spacing: .02em; }
.logo__sub { font-size: .65rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); margin-top: 4px; padding-left: .5em; }
.header-actions { justify-self: end; display: flex; gap: .25rem; }
.cart-count { position: absolute; top: 0; right: 0; background: var(--maroon); color: #fff; font-size: .65rem; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

.site-nav { display: none; border-top: 1px solid var(--line); }
.site-nav ul { list-style: none; margin: 0; padding-top: .5rem; padding-bottom: .5rem; }
.site-nav a { display: block; padding: .65rem 0; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 500; }
.site-nav.is-open { display: block; }

@media (min-width: 992px) {
  .menu-toggle, .search-link { display: none; }
  .header-search { display: flex; justify-self: start; border-bottom: 1px solid var(--line); }
  .header-search input { border: 0; background: transparent; padding: .4rem 0; width: 220px; }
  .header-search input:focus { outline: none; }
  .header-search button { background: none; border: 0; cursor: pointer; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 2.25rem; padding: 0; }
  .site-nav a { padding: .9rem 0; position: relative; }
  .site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .6rem; height: 1px; background: var(--maroon); transition: right .25s; }
  .site-nav a:hover::after { right: 0; }
}

.flash { margin: 1rem 0; padding: .85rem 1rem; border-radius: var(--radius); background: var(--sand); border-left: 3px solid var(--gold); }
.flash--success { border-color: #2e7d32; background: #edf6ee; }
.flash--error { border-color: var(--sale); background: #fbeceb; }

/* ---------- Hero ---------- */
.hero { --hero-img: none; position: relative; min-height: min(78vh, 640px); display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(43, 10, 20, .78), rgba(43, 10, 20, .2)), var(--hero-img) center/cover no-repeat, radial-gradient(circle at 80% 30%, #b8325a 0%, var(--maroon) 40%, #3a0a17 100%); }
.hero__inner { padding-top: 4rem; padding-bottom: 4rem; max-width: var(--container); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 500; max-width: 12ch; }
.hero__sub { font-size: 1.1rem; max-width: 36ch; opacity: .9; margin: 0 0 2rem; font-weight: 300; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
.section--tint { background: var(--sand); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section__head h2 { margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.cat { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); background: var(--maroon); display: block; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.55)); }
.cat__label { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; color: #fff; font-family: var(--serif); font-size: 1.5rem; z-index: 1; }
.cat:hover { color: #fff; }

/* ---------- Product grid & cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }

.card__media { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--sand); border-radius: var(--radius); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .6s; }
.card__img--alt { opacity: 0; }
.card:hover .card__img--alt { opacity: 1; }
.card:hover .card__img { transform: scale(1.03); }
.card__noimg { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; color: var(--gold); }
.card__body { padding-top: .75rem; text-align: center; }
.card__title { font-family: var(--sans); font-size: .95rem; font-weight: 400; margin: 0 0 .25rem; line-height: 1.4; }

.badge { position: absolute; top: 10px; left: 10px; background: var(--ivory); color: var(--maroon); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; padding: .25rem .6rem; border-radius: 2px; z-index: 1; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--soldout { background: var(--ink); color: #fff; }
.badge--inline { position: static; display: inline-block; background: var(--gold-soft); margin-bottom: .75rem; }

.price { margin: 0; display: flex; gap: .5rem; align-items: baseline; justify-content: center; flex-wrap: wrap; }
.price__now { font-weight: 500; }
.price__was { color: var(--muted); font-size: .9em; }
.price__off { color: var(--sale); font-size: .85rem; font-weight: 500; }
.price--lg { justify-content: flex-start; font-size: 1.4rem; margin-top: .5rem; }

/* ---------- Listing page ---------- */
.page-head { padding: 2.5rem 0 1.5rem; text-align: center; }
.page-head h1 { margin-bottom: .25rem; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin: 1rem 0; }
.page-head .breadcrumb { margin-top: 0; }
.breadcrumb span { margin: 0 .35rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.chip { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; background: #fff; }
.chip.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.sort { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.sort select { border: 1px solid var(--line); background: #fff; padding: .45rem .6rem; border-radius: var(--radius); }
.pagination { display: flex; justify-content: center; gap: .5rem; margin: 3rem 0 1rem; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--radius); }
.pagination [aria-current] { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.search-big { display: flex; gap: .5rem; max-width: 640px; margin: 0 auto 1.5rem; }
.search-big input { flex: 1; min-width: 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.empty { text-align: center; padding: 4rem 0; }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.gallery__main { aspect-ratio: 3/4; background: var(--sand); border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.gallery__thumbs button { flex: 0 0 72px; aspect-ratio: 3/4; padding: 0; border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; }
.gallery__thumbs button.is-active { border-color: var(--maroon); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery { position: sticky; top: 140px; align-self: start; } }

.pdp__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.rating { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; }
.stars { --r: 0; display: inline-block; font-size: 1rem; line-height: 1; }
.stars::before { content: "★★★★★"; letter-spacing: 2px; background: linear-gradient(90deg, var(--gold) calc(var(--r) / 5 * 100%), var(--line) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.buy { display: grid; gap: .85rem; margin: 1.5rem 0; }
.variants { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.variants legend { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem; padding: 0; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; border: 1px solid var(--line); background: #fff; padding: .55rem 1rem; border-radius: var(--radius); cursor: pointer; font-size: .9rem; }
.pill input:checked + span { border-color: var(--maroon); box-shadow: inset 0 0 0 1px var(--maroon); color: var(--maroon); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pill.is-disabled span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.field { display: grid; gap: .35rem; font-size: .9rem; }
.field input { padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.buy__row { display: grid; grid-template-columns: auto 1fr; gap: .75rem; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 48px; }
.qty button { width: 40px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 44px; border: 0; text-align: center; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.perks { list-style: none; padding: 1rem 0; margin: 0 0 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .35rem; font-size: .9rem; color: var(--muted); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; padding: 1rem 0; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.acc[open] summary::after { content: "−"; }
.rte { padding-bottom: 1rem; color: #4a3f3b; }
.rte ul { padding-left: 1.2rem; }

/* ---------- Cart ---------- */
.cart { display: grid; gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .cart { grid-template-columns: 1fr 340px; align-items: start; } }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { aspect-ratio: 3/4; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__title { font-weight: 500; }
.line__info p { margin: .15rem 0; }
.line .price { justify-content: flex-start; }
.line__qty { grid-column: 2; display: flex; align-items: center; gap: 1rem; }
.line__qty .qty { height: 40px; }
.line__total { grid-column: 3; grid-row: 1; font-weight: 500; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1rem; position: sticky; top: 140px; }
.summary__row { display: flex; justify-content: space-between; font-size: 1.1rem; }
.summary .link-arrow { justify-self: center; }

/* ---------- Content ---------- */
.prose { max-width: 760px; padding-bottom: 3rem; }
.contact-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.thanks h1 { max-width: 20ch; margin: 0 auto .75rem; }
.thanks p { max-width: 52ch; margin-left: auto; margin-right: auto; }

.story { background: var(--maroon); color: var(--gold-soft); text-align: center; padding: 4.5rem 0; }
.story h2 { color: #fff; }
.story__inner { max-width: 760px; }
.story p:last-child { font-weight: 300; font-size: 1.05rem; margin: 0; }

/* ---------- Trust + footer ---------- */
.trust { background: var(--sand); border-top: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; text-align: center; }
@media (min-width: 768px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--maroon); }
.trust span { font-size: .85rem; color: var(--muted); }

.site-footer { background: #241a18; color: #d8cfc7; padding-top: 3rem; font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: #fff; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .muted { color: #a3968d; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer__grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .site-footer__grid > div:first-child { grid-column: auto; } }
.footer-logo { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-soft); margin: 0 0 .25rem; }
.social { display: flex !important; gap: 1rem !important; margin-top: 1rem !important; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid #3a2e2b; margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: .8rem; }
.site-footer__bottom p { margin: 0; }

.wa-float { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
