/* ==========================================================================
   ZEHRA — Design tokens
   Palette: deep wine, antique gold, ivory, warm ink, dusty blush.
   Type: Cormorant Garamond (display) + Poppins (body/UI) + Noto Nastaliq
   Urdu (wordmark).
   ========================================================================== */
:root {
  --wine: #6e1e3a;
  --wine-dark: #46132a;
  --wine-deeper: #2c0d1a;
  --gold: #c9a24b;
  --gold-light: #e8ce8e;
  --ivory: #fbf5ec;
  --ivory-dim: #f2e8d8;
  --ink: #2a1620;
  --blush: #f1d9d4;
  --success: #3e6b4f;

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-urdu: "Noto Nastaliq Urdu", serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --shadow-soft: 0 18px 40px -18px rgba(44, 13, 26, 0.35);
  --shadow-card: 0 10px 24px -12px rgba(44, 13, 26, 0.28);
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .4em; color: var(--wine-dark); letter-spacing: .01em; }
p { margin: 0 0 1em; color: #4a3540; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-size: .74rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px; padding: 5px 16px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); }
.section-head p { color: #7a5f6c; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem; letter-spacing: .03em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary { background: var(--wine); color: var(--ivory); }
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--wine-deeper); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(201,162,75,.6); }
.btn-outline { background: transparent; border-color: var(--wine); color: var(--wine); }
.btn-outline:hover { background: var(--wine); color: var(--ivory); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }

/* --------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal="1"] { transition-delay: .05s; }
[data-reveal="2"] { transition-delay: .15s; }
[data-reveal="3"] { transition-delay: .25s; }
[data-reveal="4"] { transition-delay: .35s; }

/* --------------------------------------------------------------------
   Topbar + Header
   -------------------------------------------------------------------- */
.topbar { background: var(--wine-deeper); color: var(--gold-light); font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; letter-spacing: .02em; }
.topbar-phone { color: var(--ivory); }
.topbar-phone:hover { color: var(--gold-light); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 245, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(110,30,58,.12); }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 16px 24px; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; margin-right: auto; }
.brand-urdu { font-family: var(--font-urdu); font-size: 1.9rem; color: var(--wine); }
.brand-en { font-size: .62rem; letter-spacing: .4em; color: var(--gold); margin-top: 2px; }

.main-nav { display: flex; gap: 32px; }
.nav-link { font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s ease; }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--wine); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: transparent; border: none; font-size: 1.05rem; color: var(--wine-dark); transition: background .2s ease; }
.icon-btn:hover { background: var(--blush); }
.badge { position: absolute; top: 2px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--wine); color: #fff; font-size: .62rem; display: none; align-items: center; justify-content: center; font-family: var(--font-body); }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--wine-dark); transition: transform .25s ease, opacity .25s ease; }

.search-drawer { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--blush); }
.search-drawer.is-open { max-height: 80px; }
.search-drawer .container { padding: 16px 24px; }
#searchInput { width: 100%; border: none; background: transparent; font-size: 1.05rem; outline: none; color: var(--wine-dark); }
#searchInput::placeholder { color: #a3798a; }

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 18% 20%, var(--wine) 0%, var(--wine-dark) 45%, var(--wine-deeper) 100%);
  color: var(--ivory);
  padding: 64px 0 0;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; min-height: 640px; }
.hero-eyebrow { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold-light); }
.hero h1 { color: var(--ivory); font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.04; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lead { color: #e8d3da; max-width: 460px; font-size: 1.05rem; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-light); }
.hero-stats div span { font-size: .78rem; color: #d9b9c4; letter-spacing: .04em; }

.hero-visual { position: relative; height: 640px; display: flex; align-items: center; justify-content: center; }
.hero-visual-frame {
  position: relative; width: 420px; height: 420px; border-radius: 50%;
  background: linear-gradient(160deg, rgba(232,206,142,.18), rgba(232,206,142,0) 60%);
  border: 1px solid rgba(232,206,142,.35);
  display: flex; align-items: center; justify-content: center;
}
.hero-visual-frame::before {
  content: ""; position: absolute; inset: -30px; border-radius: 50%; border: 1px dashed rgba(232,206,142,.25);
  animation: spin 40s linear infinite;
}
#hero3d { width: 100%; height: 100%; }
.hero-photo {
  position: absolute; bottom: -20px; left: -40px; width: 190px; border-radius: var(--radius-m);
  border: 6px solid var(--ivory); box-shadow: var(--shadow-soft); transform: rotate(-6deg);
}
@keyframes spin { to { transform: rotate(360deg); } }

.jaali-strip { height: 30px; color: var(--gold-light); opacity: .55; overflow: hidden; }
.jaali-strip svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------- */
.marquee { background: var(--ink); color: var(--gold-light); overflow: hidden; padding: 14px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 26s linear infinite; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .04em; }
.marquee-track span { opacity: .85; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------
   Category grid
   -------------------------------------------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-card {
  position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3/4;
  box-shadow: var(--shadow-card); transition: transform .35s ease;
}
.category-card:hover { transform: translateY(-6px); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(44,13,26,.82), rgba(44,13,26,.05) 55%); }
.category-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 14px; z-index: 1; color: var(--ivory); }
.category-label h3 { color: var(--ivory); font-size: 1.15rem; margin-bottom: 2px; }
.category-label span { font-size: .72rem; color: var(--gold-light); }

/* --------------------------------------------------------------------
   Product grid + cards
   -------------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card { background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }
.product-card:hover { box-shadow: var(--shadow-soft); }
.product-media { position: relative; display: block; aspect-ratio: 3/4; overflow: hidden; background: var(--ivory-dim); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.06); }
.badge-sale { position: absolute; top: 12px; left: 12px; background: var(--wine); color: var(--ivory); font-size: .68rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.wish-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); font-size: 1.1rem; color: var(--wine); transition: transform .2s ease, background .2s ease; }
.wish-btn:hover { transform: scale(1.1); }
.wish-btn.is-active { background: var(--wine); color: var(--ivory); }
.product-info { padding: 16px 18px 20px; }
.product-cat { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.product-name { font-size: 1.08rem; margin: 4px 0 6px; color: var(--wine-dark); }
.product-rating { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: #8a6d78; margin-bottom: 8px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.product-price { display: flex; align-items: baseline; gap: 10px; }
.price-now { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--wine); }
.price-mrp { font-size: .85rem; color: #a98d97; text-decoration: line-through; }

/* --------------------------------------------------------------------
   Value strip / USP
   -------------------------------------------------------------------- */
.usp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp-item { text-align: center; padding: 26px 16px; border-radius: var(--radius-m); background: #fff; box-shadow: var(--shadow-card); }
.usp-item .icon { font-size: 1.7rem; margin-bottom: 10px; }
.usp-item h4 { margin-bottom: 4px; font-size: 1.05rem; }
.usp-item p { font-size: .85rem; margin: 0; color: #8a6d78; }

/* --------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------- */
.testimonial-strip { background: var(--blush); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: #fff; border-radius: var(--radius-m); padding: 28px; box-shadow: var(--shadow-card); }
.testimonial-card .stars { display: block; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card p { color: #5a4650; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.testimonial-author .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--wine); color: var(--ivory); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; }
.testimonial-author strong { display: block; font-size: .9rem; color: var(--wine-dark); }
.testimonial-author span { font-size: .74rem; color: #8a6d78; }

/* --------------------------------------------------------------------
   Newsletter band
   -------------------------------------------------------------------- */
.newsletter-band { background: var(--wine-deeper); color: var(--ivory); text-align: center; }
.newsletter-band h2 { color: var(--ivory); }
.newsletter-band p { color: #d9b9c4; }
.newsletter-band form { display: flex; max-width: 420px; margin: 24px auto 0; gap: 10px; }
.newsletter-band input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(232,206,142,.4); background: rgba(255,255,255,.06); color: var(--ivory); outline: none; }
.newsletter-band input::placeholder { color: #c39aa8; }

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #d8c3ce; margin-top: 40px; }
.jaali-divider { color: var(--gold); height: 26px; opacity: .5; }
.jaali-divider svg { width: 100%; height: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 24px 40px; }
.footer-urdu { font-size: 2.1rem; color: var(--gold-light); }
.footer-brand p { color: #b79baa; font-size: .88rem; margin-top: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(232,206,142,.35); display: flex; align-items: center; justify-content: center; font-size: .68rem; color: var(--gold-light); }
.footer-col h4 { color: var(--gold-light); font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .88rem; color: #c8adbb; padding: 5px 0; }
.footer-col a:hover { color: var(--gold-light); }
.footer-address { font-size: .85rem; color: #b79baa; margin-top: 6px; }
.newsletter { display: flex; margin-top: 14px; gap: 8px; }
.newsletter input { flex: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(232,206,142,.3); background: rgba(255,255,255,.05); color: var(--ivory); outline: none; font-size: .85rem; }
.newsletter button { padding: 10px 18px; border-radius: 999px; border: none; background: var(--gold); color: var(--wine-deeper); font-weight: 600; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(232,206,142,.15); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 18px 24px; font-size: .78rem; color: #a98d97; flex-wrap: wrap; gap: 8px; }
.footer-credit a { color: var(--gold-light); }

.back-to-top { position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%; background: var(--wine); color: var(--ivory); border: none; font-size: 1.1rem; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 60; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* --------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------- */
#toast-holder { position: fixed; top: 90px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--wine-deeper); color: var(--ivory); padding: 12px 20px; border-radius: 10px; font-size: .88rem; box-shadow: var(--shadow-soft); opacity: 0; transform: translateX(20px); transition: opacity .3s ease, transform .3s ease; }
.toast.show { opacity: 1; transform: translateX(0); }

/* --------------------------------------------------------------------
   Breadcrumb / page header
   -------------------------------------------------------------------- */
.page-banner { background: linear-gradient(160deg, var(--wine), var(--wine-dark)); color: var(--ivory); padding: 56px 0 46px; text-align: center; }
.page-banner h1 { color: var(--ivory); font-size: clamp(2rem, 3.5vw, 2.8rem); }
.breadcrumb { font-size: .82rem; color: var(--gold-light); }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: #d9b9c4; padding: 0 6px; }

/* --------------------------------------------------------------------
   Shop layout
   -------------------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.filter-box { background: #fff; border-radius: var(--radius-m); padding: 22px; box-shadow: var(--shadow-card); margin-bottom: 20px; }
.filter-box h4 { font-size: .95rem; margin-bottom: 14px; color: var(--wine-dark); }
.filter-option { display: flex; align-items: center; gap: 10px; font-size: .88rem; padding: 6px 0; color: #5a4650; cursor: pointer; }
.filter-option input { accent-color: var(--wine); }
.price-range { width: 100%; accent-color: var(--wine); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.shop-toolbar select { padding: 10px 14px; border-radius: 8px; border: 1px solid var(--blush); background: #fff; }
.result-count { font-size: .9rem; color: #8a6d78; }
.empty-state { text-align: center; padding: 60px 20px; color: #8a6d78; }

/* --------------------------------------------------------------------
   Product detail page
   -------------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }
.pdp-gallery-main { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-card); margin-bottom: 14px; }
.pdp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 12px; }
.pdp-thumbs img { width: 76px; height: 96px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .6; transition: opacity .2s ease, outline .2s ease; }
.pdp-thumbs img.is-active { opacity: 1; outline: 2px solid var(--gold); }
.pdp-cat { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; }
.pdp h1 { font-size: 2.1rem; margin: 6px 0 10px; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: .9rem; color: #8a6d78; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.pdp-price .price-now { font-size: 2rem; }
.pdp-price .price-off { color: var(--success); font-size: .85rem; font-weight: 600; }
.pdp-desc { color: #5a4650; margin-bottom: 22px; }
.option-label { font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--wine-dark); }
.size-row { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.size-chip { width: 46px; height: 42px; border-radius: 8px; border: 1px solid var(--blush); background: #fff; display: flex; align-items: center; justify-content: center; font-size: .84rem; transition: all .2s ease; }
.size-chip.is-active, .size-chip:hover { border-color: var(--wine); background: var(--wine); color: var(--ivory); }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--blush); border-radius: 999px; overflow: hidden; }
.qty-control button { width: 38px; height: 38px; border: none; background: #fff; font-size: 1.1rem; color: var(--wine); }
.qty-control span { width: 38px; text-align: center; font-weight: 600; }
.pdp-actions { display: flex; gap: 14px; margin-bottom: 30px; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: .82rem; color: #8a6d78; border-top: 1px solid var(--blush); padding-top: 18px; }

.pdp-tabs { display: flex; gap: 30px; border-bottom: 1px solid var(--blush); margin: 70px 0 30px; }
.pdp-tab { padding: 10px 0; font-weight: 600; color: #a98d97; border-bottom: 2px solid transparent; }
.pdp-tab.is-active { color: var(--wine); border-color: var(--gold); }
.pdp-tab-panel { display: none; }
.pdp-tab-panel.is-active { display: block; }
.detail-list li { padding: 8px 0; border-bottom: 1px dashed var(--blush); font-size: .92rem; color: #5a4650; }

.review-summary { display: flex; gap: 40px; align-items: center; margin-bottom: 30px; flex-wrap: wrap; }
.review-score { text-align: center; }
.review-score strong { font-family: var(--font-display); font-size: 3rem; color: var(--wine); display: block; }
.review-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.review-item { background: #fff; border-radius: var(--radius-m); padding: 20px 22px; box-shadow: var(--shadow-card); }
.review-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-item-head strong { color: var(--wine-dark); }
.review-date { font-size: .76rem; color: #a98d97; }
.review-item p { margin: 0; color: #5a4650; font-size: .92rem; }

.review-form { background: #fff; border-radius: var(--radius-m); padding: 26px; box-shadow: var(--shadow-card); }
.rate-input { display: flex; gap: 6px; font-size: 1.6rem; color: var(--blush); margin-bottom: 16px; cursor: pointer; }
.rate-input span.is-active, .rate-input span:hover { color: var(--gold); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--wine-dark); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--blush); outline: none; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }

/* --------------------------------------------------------------------
   Auth page
   -------------------------------------------------------------------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; align-items: stretch; box-shadow: var(--shadow-soft); border-radius: var(--radius-l); overflow: hidden; }
.auth-visual { position: relative; background: linear-gradient(165deg, var(--wine), var(--wine-deeper)); color: var(--ivory); padding: 50px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.auth-visual > * { position: relative; z-index: 1; }
.auth-visual h2 { color: var(--ivory); font-size: 2.1rem; }
.auth-form-side { background: #fff; padding: 56px 60px; display: flex; flex-direction: column; justify-content: center; }
.auth-tabs { display: flex; gap: 8px; background: var(--ivory-dim); border-radius: 999px; padding: 5px; margin-bottom: 30px; }
.auth-tab { flex: 1; text-align: center; padding: 10px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: #8a6d78; }
.auth-tab.is-active { background: var(--wine); color: var(--ivory); }
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; margin: -6px 0 18px; color: #8a6d78; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: #a98d97; font-size: .8rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--blush); }
.social-row { display: flex; gap: 12px; }
.social-btn { flex: 1; padding: 11px; border-radius: 999px; border: 1px solid var(--blush); text-align: center; font-size: .85rem; font-weight: 600; }

/* --------------------------------------------------------------------
   Cart page
   -------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #a98d97; padding-bottom: 14px; border-bottom: 1px solid var(--blush); }
.cart-row td { padding: 20px 0; border-bottom: 1px solid var(--blush); vertical-align: middle; }
.cart-product { display: flex; gap: 16px; align-items: center; }
.cart-product img { width: 76px; height: 96px; object-fit: cover; border-radius: 8px; }
.cart-product h4 { font-size: 1rem; margin: 0 0 4px; color: var(--wine-dark); }
.cart-product span { font-size: .8rem; color: #8a6d78; }
.remove-link { color: var(--wine); font-size: .8rem; text-decoration: underline; }
.summary-card { background: #fff; border-radius: var(--radius-m); padding: 26px; box-shadow: var(--shadow-card); }
.summary-row { display: flex; justify-content: space-between; font-size: .92rem; padding: 8px 0; color: #5a4650; }
.summary-row.total { font-weight: 700; font-size: 1.1rem; color: var(--wine-dark); border-top: 1px solid var(--blush); margin-top: 10px; padding-top: 16px; }
.promo-row { display: flex; gap: 8px; margin: 18px 0; }
.promo-row input { flex: 1; padding: 11px 14px; border-radius: 8px; border: 1px solid var(--blush); }

/* --------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
.contact-info-card { background: #fff; border-radius: var(--radius-m); padding: 30px; box-shadow: var(--shadow-card); margin-bottom: 20px; }
.contact-info-card h4 { margin-bottom: 6px; }
.map-embed { border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); }

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-bottom: 40px; }
  .hero-visual { height: 380px; order: -1; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-strip { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--ivory); flex-direction: column; padding: 100px 32px; gap: 24px; transform: translateX(-100%); transition: transform .3s ease; z-index: 40; }
  .main-nav.is-open { transform: translateX(0); }
  .hamburger { display: flex; }
  .header-inner { padding: 14px 20px; }
  .topbar-inner { font-size: .68rem; flex-direction: column; gap: 2px; padding: 6px 20px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .usp-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .auth-form-side { padding: 40px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
