/* ==========================================================================
   SEIA — Fine Jewellery (Kerala, India)  ·  Design concept B
   Corano-inspired, shop-forward layout · Light + temple-gold & maroon
   Fonts: Marcellus (display) + Mulish (body) · Pricing in INR (₹)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Mulish:wght@300;400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #211a14;
  --ink-soft: #574c40;
  --ink-mute: #8a7d6e;
  --line: #ece4d8;
  --line-soft: #f4eee4;
  --bg: #ffffff;
  --bg-alt: #faf6ef;
  --bg-warm: #f6efe3;
  --bg-deep: #1c140e;
  --paper: #ffffff;

  /* Temple gold + Kerala maroon */
  --gold: #c8992f;
  --gold-soft: #e3c878;
  --gold-deep: #a87c1e;
  --gold-wash: #f7eed6;
  --maroon: #7c1f2b;
  --maroon-soft: #a13a44;

  --sale: #b5232a;
  --success: #4f7a4a;

  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.5rem, 5.5vw, 4.75rem);
  --fs-h1: clamp(2rem, 4vw, 3.25rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.7rem);

  --container: 1300px;
  --gutter: clamp(1.1rem, 3.5vw, 2.75rem);
  --section-y: clamp(3rem, 7vw, 6rem);

  --radius: 6px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(33, 26, 20, 0.06);
  --shadow-md: 0 14px 40px rgba(33, 26, 20, 0.1);
  --shadow-lg: 0 26px 70px rgba(33, 26, 20, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;

  --z-header: 100; --z-overlay: 190; --z-drawer: 200; --z-modal: 300; --z-toast: 400;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--ink); letter-spacing: 0.01em; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-deep); color: #d8cdbd; }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.grid { display: grid; gap: clamp(0.9rem, 1.8vw, 1.6rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.flex { display: flex; } .items-center { align-items: center; }
.justify-between { justify-content: space-between; } .gap-sm { gap: 0.7rem; }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   4. Type utilities
   -------------------------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.eyebrow svg { width: 16px; height: 16px; }
.section-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-head--center { text-align: center; }
.section-title { font-size: var(--fs-h2); margin-top: 0.5rem; position: relative; }
.section-head--center .section-title::after { content: ""; display: block; width: 60px; height: 2px; background: var(--gold); margin: 0.9rem auto 0; }
.section-sub { margin-top: 0.7rem; color: var(--ink-mute); }
.lead { font-size: 1.08rem; font-weight: 300; }
.price-rupee { font-family: var(--font-body); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --b: var(--gold); --f: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 2rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--f); background: var(--b); border: 1.5px solid var(--b); border-radius: var(--radius-pill);
  overflow: hidden; isolation: isolate; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); z-index: -1; }
.btn:hover::before { transform: scaleX(1); }
.btn--dark { --b: var(--ink); } .btn--dark::before { background: var(--gold); }
.btn--maroon { --b: var(--maroon); } .btn--maroon::before { background: var(--maroon-soft); }
.btn--ghost { --b: transparent; --f: var(--ink); border-color: var(--line); }
.btn--ghost::before { background: var(--gold); } .btn--ghost:hover { color: #fff; border-color: var(--gold); }
.btn--light { --b: #fff; --f: var(--ink); } .btn--light::before { background: var(--gold); } .btn--light:hover { color: #fff; }
.btn--sm { padding: 0.7rem 1.4rem; }
.btn--block { display: flex; width: 100%; }

.link-line { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink); }
.link-line svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.link-line:hover { color: var(--gold-deep); } .link-line:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Top bar
   -------------------------------------------------------------------------- */
.topbar { background: var(--bg-deep); color: #cbb88f; font-size: 0.74rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 1rem; }
.topbar__msg { display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: 0.04em; }
.topbar__msg svg { width: 14px; height: 14px; color: var(--gold-soft); }
.topbar__right { display: flex; align-items: center; gap: 1.2rem; }
.topbar__right a:hover { color: #fff; }
.topbar select { background: transparent; border: none; color: #cbb88f; font-size: 0.74rem; cursor: pointer; }
.topbar select option { color: #211a14; }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow var(--dur) var(--ease); }
.header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__menu--right { justify-self: end; }
.brand { justify-self: center; text-align: center; }
.brand b { font-family: var(--font-display); font-size: 1.95rem; letter-spacing: 0.34em; text-indent: 0.34em; color: var(--ink); display: block; line-height: 1; }
.brand small { font-size: 0.5rem; letter-spacing: 0.42em; text-indent: 0.42em; color: var(--gold-deep); text-transform: uppercase; }
.nav__link { position: relative; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0; }
.nav__link .caret { width: 9px; height: 9px; opacity: 0.55; transition: transform var(--dur) var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 0.9rem; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { color: var(--gold-deep); }
.icon-btn__badge { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; font-size: 0.6rem; font-weight: 800; color: #fff; background: var(--maroon); border-radius: var(--radius-pill); }
.nav__toggle { display: none; }

.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: var(--shadow-md); padding: clamp(1.8rem,3.5vw,2.6rem) 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--dur) var(--ease); z-index: 5; }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.has-mega:hover .caret { transform: rotate(180deg); }
.mega__inner { display: grid; grid-template-columns: repeat(4,1fr) 1.2fr; gap: 2.2rem; }
.mega__col h5 { font-family: var(--font-body); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.9rem; }
.mega__col a { display: block; font-size: 0.9rem; color: var(--ink-soft); padding: 0.35rem 0; }
.mega__col a:hover { color: var(--gold-deep); padding-left: 5px; }
.mega__promo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 220px; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mega__promo:hover img { transform: scale(1.06); }
.mega__promo span { position: absolute; left: 1.2rem; bottom: 1.2rem; color: #fff; font-family: var(--font-display); font-size: 1.3rem; z-index: 2; }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; }
.hero__viewport { position: relative; height: clamp(480px, 78vh, 760px); overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0.9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,14,9,0.84) 0%, rgba(20,14,9,0.6) 42%, rgba(20,14,9,0.34) 74%, rgba(20,14,9,0.22) 100%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 560px; color: #fff; }
.hero__off { font-family: var(--font-display); color: var(--gold-soft); font-size: 1.1rem; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }
.hero__off b { font-size: 2rem; }
.hero__title { font-size: var(--fs-hero); color: #fff; margin: 0.8rem 0 1.2rem; text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__text { font-weight: 400; color: rgba(255,255,255,0.94); margin-bottom: 1.8rem; max-width: 440px; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero__slide.is-active .anim { animation: up 0.8s var(--ease) both; }
.hero__slide.is-active .anim-1 { animation-delay: .2s; } .hero__slide.is-active .anim-2 { animation-delay: .35s; }
.hero__slide.is-active .anim-3 { animation-delay: .5s; } .hero__slide.is-active .anim-4 { animation-delay: .65s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hero__arrows { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding-inline: clamp(0.5rem, 2vw, 1.5rem); pointer-events: none; }
.hero__arrow { pointer-events: auto; width: 50px; height: 50px; display: grid; place-items: center; border-radius: var(--radius-pill); color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(4px); transition: all var(--dur) var(--ease); }
.hero__arrow:hover { background: #fff; color: var(--ink); }
.hero__arrow svg { width: 18px; height: 18px; }
.hero__dots { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 0.5rem; }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: all var(--dur) var(--ease); }
.hero__dot.is-active { background: var(--gold-soft); width: 28px; border-radius: 6px; }

/* --------------------------------------------------------------------------
   9. Feature strip
   -------------------------------------------------------------------------- */
.features { border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.features__item { display: flex; align-items: center; gap: 0.9rem; padding: 1.6rem clamp(0.8rem,1.5vw,1.5rem); border-left: 1px solid var(--line); }
.features__item:first-child { border-left: none; }
.features__item svg { width: 32px; height: 32px; color: var(--gold-deep); stroke-width: 1.3; flex-shrink: 0; }
.features__item h4 { font-family: var(--font-body); font-size: 0.84rem; font-weight: 700; color: var(--ink); }
.features__item p { font-size: 0.78rem; color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   10. Category tiles
   -------------------------------------------------------------------------- */
.cat-tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; background: var(--bg-warm); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(28,20,14,0.72)); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile__cap { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 1.3rem; width: 100%; color: #fff; text-align: center; }
.cat-tile__cap h3 { color: #fff; font-size: 1.4rem; }
.cat-tile__cap span { font-size: 0.74rem; color: var(--gold-soft); letter-spacing: 0.06em; }

/* --------------------------------------------------------------------------
   11. Tabs (Our Products)
   -------------------------------------------------------------------------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.4rem; }
.tab { padding: 0.6rem 1.3rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); border-radius: var(--radius-pill); transition: all var(--dur) var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------------
   12. Product card
   -------------------------------------------------------------------------- */
.product { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.product:hover { box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.product__media { position: relative; aspect-ratio: 1; background: var(--bg-warm); overflow: hidden; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--ease), transform 1s var(--ease); }
.product__img--back { opacity: 0; }
.product:hover .product__img--front { opacity: 0; }
.product:hover .product__img--back { opacity: 1; transform: scale(1.05); }
.product__badges { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; display: flex; flex-direction: column; gap: 0.35rem; }
.badge { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: var(--radius-pill); background: var(--ink); color: #fff; }
.badge--sale { background: var(--sale); } .badge--new { background: var(--gold); } .badge--hot { background: var(--maroon); }
.product__actions { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2; display: flex; flex-direction: column; gap: 0.45rem; }
.product__act { width: 40px; height: 40px; display: grid; place-items: center; background: #fff; border-radius: 50%; color: var(--ink); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(10px); transition: all var(--dur) var(--ease); }
.product__act svg { width: 17px; height: 17px; }
.product__act:hover { background: var(--gold); color: #fff; }
.product:hover .product__act { opacity: 1; transform: translateX(0); }
.product:hover .product__act:nth-child(2) { transition-delay: .05s; }
.product:hover .product__act:nth-child(3) { transition-delay: .1s; }
.product__cart { position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.8rem; z-index: 2; opacity: 0; transform: translateY(12px); transition: all var(--dur) var(--ease); }
.product:hover .product__cart { opacity: 1; transform: translateY(0); }
.product__body { padding: 1rem 1.1rem 1.2rem; text-align: center; }
.product__cat { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }
.product__name { font-family: var(--font-display); font-size: 1.18rem; margin: 0.25rem 0 0.45rem; color: var(--ink); }
.product__name a:hover { color: var(--gold-deep); }
.product__rating { display: inline-flex; gap: 1px; color: var(--gold); margin-bottom: 0.4rem; }
.product__rating svg { width: 13px; height: 13px; }
.product__price { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.product__price .now { font-weight: 800; color: var(--ink); }
.product__price .was { color: var(--ink-mute); text-decoration: line-through; font-size: 0.86rem; }

/* --------------------------------------------------------------------------
   13. Deal of the day + countdown
   -------------------------------------------------------------------------- */
.deal { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.deal__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.4; }
.deal__media img { width: 100%; height: 100%; object-fit: cover; }
.deal__media .badge--sale { position: absolute; top: 1.2rem; left: 1.2rem; font-size: 0.8rem; padding: 0.5rem 0.9rem; }
.countdown { display: flex; gap: 0.8rem; margin: 1.6rem 0; }
.count-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-width: 72px; padding: 0.8rem 0.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.count-box strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--maroon); display: block; line-height: 1; }
.count-box span { font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.deal__stock { margin: 1.4rem 0; }
.deal__stock-bar { height: 8px; background: var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.deal__stock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--maroon)); }
.deal__stock p { font-size: 0.8rem; color: var(--ink-mute); margin-top: 0.5rem; }

/* --------------------------------------------------------------------------
   14. Promo banners
   -------------------------------------------------------------------------- */
.banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px; display: flex; align-items: center; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.banner:hover img { transform: scale(1.05); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,20,14,0.55), transparent 70%); }
.banner__body { position: relative; z-index: 2; padding: clamp(1.6rem,3vw,2.6rem); color: #fff; }
.banner__body span { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.banner__body h3 { color: #fff; font-size: 1.9rem; margin: 0.4rem 0 1rem; }

/* --------------------------------------------------------------------------
   15. Rail
   -------------------------------------------------------------------------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.rail-nav { display: flex; gap: 0.5rem; }
.rail-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); transition: all var(--dur) var(--ease); }
.rail-arrow:hover { background: var(--ink); color: #fff; }
.rail-arrow svg { width: 17px; height: 17px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: clamp(0.9rem,1.8vw,1.6rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 0.4rem; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.review__stars { display: inline-flex; gap: 2px; color: var(--gold); } .review__stars svg { width: 15px; height: 15px; }
.review__quote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.5; color: var(--ink); }
.review__author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.review__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review__author strong { display: block; font-size: 0.9rem; color: var(--ink); }
.review__author span { font-size: 0.76rem; color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   17. Blog
   -------------------------------------------------------------------------- */
.post { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post__media { aspect-ratio: 16/11; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post:hover .post__media img { transform: scale(1.07); }
.post__body { padding: 1.5rem; }
.post__meta { font-size: 0.74rem; color: var(--ink-mute); letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.post__meta span { color: var(--gold-deep); }
.post__body h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.post__body h3 a:hover { color: var(--gold-deep); }
.post__body p { font-size: 0.88rem; color: var(--ink-mute); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   18. Instagram
   -------------------------------------------------------------------------- */
.insta { display: grid; grid-template-columns: repeat(6,1fr); gap: 0.5rem; }
.insta a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.insta a::after { content: ""; position: absolute; inset: 0; background: rgba(124,31,43,0.4); opacity: 0; transition: opacity var(--dur) var(--ease); display: grid; place-items: center; }
.insta a:hover::after { opacity: 1; }
.insta a:hover img { transform: scale(1.1); }
.insta__icon { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: 0; color: #fff; transition: opacity var(--dur) var(--ease); }
.insta__icon svg { width: 26px; height: 26px; }
.insta a:hover .insta__icon { opacity: 1; }

/* --------------------------------------------------------------------------
   19. Newsletter
   -------------------------------------------------------------------------- */
.newsletter { position: relative; overflow: hidden; }
.newsletter__inner { text-align: center; max-width: 600px; margin-inline: auto; position: relative; z-index: 2; }
.newsletter h2 { color: #fff; font-size: var(--fs-h1); }
.newsletter p { color: rgba(255,255,255,0.72); margin: 0.9rem 0 1.8rem; }
.newsletter__form { display: flex; gap: 0.5rem; max-width: 460px; margin-inline: auto; }
.newsletter__form input { flex: 1; padding: 0.95rem 1.3rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.24); border-radius: var(--radius-pill); color: #fff; }
.newsletter__form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter__form input:focus { outline: none; border-color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--bg-deep); color: #9d9080; padding-top: clamp(3rem,6vw,5rem); }
.footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 2.2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .brand b { color: #fff; } .footer .brand { text-align: left; }
.footer__brand p { color: #9d9080; margin: 1.2rem 0; max-width: 300px; font-weight: 300; }
.footer__contact { display: grid; gap: 0.6rem; font-size: 0.88rem; }
.footer__contact div { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold-soft); margin-top: 3px; flex-shrink: 0; }
.footer__col h5 { font-family: var(--font-body); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__col a { display: block; color: #9d9080; font-size: 0.9rem; padding: 0.35rem 0; }
.footer__col a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.14); border-radius: 50%; color: #cbb88f; transition: all var(--dur) var(--ease); }
.footer__social a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.footer__social svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: 1.6rem; flex-wrap: wrap; }
.footer__bottom p { font-size: 0.82rem; color: #797062; }
.footer__pay { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.footer__pay span { width: 42px; height: 27px; border: 1px solid rgba(255,255,255,0.14); border-radius: 4px; display: grid; place-items: center; font-size: 0.5rem; font-weight: 800; color: #cbb88f; }
.footer__pay .pay { width: 46px; height: 30px; background: #fff; border: none; border-radius: 5px; display: grid; place-items: center; padding: 0 6px; overflow: hidden; }
.footer__pay .pay svg { width: 100%; height: auto; max-height: 17px; display: block; }

/* --------------------------------------------------------------------------
   21. Drawers / overlay / search / toast (shared with design1 pattern)
   -------------------------------------------------------------------------- */
.overlay { position: fixed; inset: 0; background: rgba(28,20,14,0.5); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: all var(--dur) var(--ease); z-index: var(--z-overlay); }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px,100%); background: var(--bg); z-index: var(--z-drawer); display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.5s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.3rem; }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); transition: transform var(--dur) var(--ease); }
.drawer__close:hover { transform: rotate(90deg); } .drawer__close svg { width: 22px; height: 22px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.4rem 1.6rem; background: var(--bg-alt); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); }
.cart-item h4 { font-family: var(--font-display); font-size: 1.05rem; }
.cart-item .meta { font-size: 0.76rem; color: var(--ink-mute); }
.cart-item .price { font-weight: 800; color: var(--maroon); margin-top: 0.25rem; font-size: 0.9rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); margin-top: 0.45rem; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink-soft); }
.qty span { width: 26px; text-align: center; font-size: 0.84rem; font-weight: 700; }
.cart-item__remove { font-size: 0.7rem; color: var(--ink-mute); text-decoration: underline; align-self: start; }
.cart-item__remove:hover { color: var(--sale); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cart-total span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.cart-total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--maroon); }
.cart-progress { height: 6px; background: var(--line); border-radius: var(--radius-pill); overflow: hidden; margin: 0.5rem 0 0.4rem; }
.cart-progress span { display: block; height: 100%; background: var(--gold); transition: width 0.6s var(--ease); }
.cart-ship { font-size: 0.78rem; color: var(--ink-mute); text-align: center; }
.cart-empty { text-align: center; padding: 3rem 0; color: var(--ink-mute); }
.cart-empty svg { width: 46px; height: 46px; color: var(--line); margin-bottom: 1rem; }
.search-panel { position: fixed; top: 0; left: 0; right: 0; background: var(--bg); z-index: var(--z-drawer); padding: clamp(1.8rem,4vw,3.5rem) 0; transform: translateY(-100%); transition: transform 0.5s var(--ease); box-shadow: var(--shadow-lg); }
.search-panel.is-open { transform: translateY(0); }
.search-panel form { display: flex; align-items: center; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.9rem; }
.search-panel input { flex: 1; font-family: var(--font-display); font-size: clamp(1.4rem,3.5vw,2.2rem); border: none; background: none; color: var(--ink); }
.search-panel input:focus { outline: none; }
.search-panel svg { width: 26px; height: 26px; color: var(--ink); }
.search-suggest { margin-top: 1.4rem; display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.search-suggest span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.search-suggest a { font-size: 0.84rem; padding: 0.4rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); }
.search-suggest a:hover { background: var(--ink); color: #fff; }
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%,120%); z-index: var(--z-toast); background: var(--ink); color: #fff; padding: 0.85rem 1.4rem; border-radius: var(--radius-pill); font-size: 0.84rem; display: flex; align-items: center; gap: 0.6rem; box-shadow: var(--shadow-lg); transition: transform 0.45s var(--ease); }
.toast.is-open { transform: translate(-50%,0); }
.toast svg { width: 18px; height: 18px; color: var(--gold-soft); }
.mobile-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(360px,88%); background: var(--bg); z-index: var(--z-drawer); transform: translateX(-100%); transition: transform 0.5s var(--ease); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.mobile-nav__body { padding: 1rem 1.5rem; overflow-y: auto; }
.mobile-nav a { display: block; font-family: var(--font-display); font-size: 1.4rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
.mobile-nav__foot { margin-top: auto; padding: 1.5rem; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   22. Page hero / breadcrumb / shop / pdp / forms
   -------------------------------------------------------------------------- */
.page-hero { background: var(--bg-warm); padding-block: clamp(2.6rem,5vw,4.5rem); text-align: center; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--fs-h1); }
.breadcrumb { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); }
.breadcrumb a:hover { color: var(--gold-deep); } .breadcrumb svg { width: 12px; height: 12px; }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem,3vw,3rem); align-items: start; }
.filter-group { padding-block: 1.4rem; border-bottom: 1px solid var(--line); }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.9rem; }
.filter-list a { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.32rem 0; color: var(--ink-soft); }
.filter-list a span { color: var(--ink-mute); font-size: 0.8rem; }
.filter-list a:hover { color: var(--gold-deep); }
.swatches { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; transition: transform var(--dur) var(--ease); }
.swatch:hover { transform: scale(1.12); } .swatch.is-on { box-shadow: 0 0 0 2px var(--gold); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar select { padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink); font-size: 0.84rem; }
.toolbar__count { font-size: 0.84rem; color: var(--ink-mute); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.8rem,4vw,4rem); align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 78px 1fr; gap: 0.9rem; }
.pdp__thumbs { display: flex; flex-direction: column; gap: 0.7rem; }
.pdp__thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; opacity: 0.6; transition: all var(--dur) var(--ease); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-active, .pdp__thumb:hover { opacity: 1; border-color: var(--gold); }
.pdp__main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-warm); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s var(--ease); }
.pdp__info h1 { font-size: var(--fs-h2); margin: 0.4rem 0; }
.pdp__price { display: flex; align-items: center; gap: 0.7rem; font-size: 1.5rem; margin: 0.9rem 0; }
.pdp__price .now { font-weight: 800; color: var(--maroon); } .pdp__price .was { color: var(--ink-mute); text-decoration: line-through; font-size: 1.1rem; }
.pdp__desc { color: var(--ink-soft); font-weight: 300; margin: 1.2rem 0; padding-block: 1.2rem; border-block: 1px solid var(--line); }
.pdp__opt { margin: 1.2rem 0; }
.pdp__opt-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.6rem; display: flex; gap: 0.5rem; }
.pdp__opt-label span { color: var(--ink-mute); font-weight: 400; }
.size-opts { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.size-opt { min-width: 44px; padding: 0.55rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.84rem; text-align: center; cursor: pointer; transition: all var(--dur) var(--ease); }
.size-opt:hover, .size-opt.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pdp__buy { display: flex; gap: 0.7rem; margin: 1.6rem 0; }
.pdp__buy .qty { margin-top: 0; height: 52px; } .pdp__buy .qty button { width: 42px; height: 100%; }
.pdp__meta { font-size: 0.84rem; color: var(--ink-mute); display: grid; gap: 0.4rem; margin-top: 1.4rem; }
.pdp__meta strong { color: var(--ink-soft); }
.pdp__assure { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.9rem; margin-top: 1.6rem; }
.pdp__assure div { text-align: center; padding: 1rem 0.4rem; border: 1px solid var(--line); border-radius: var(--radius); }
.pdp__assure svg { width: 22px; height: 22px; color: var(--gold-deep); margin-bottom: 0.3rem; }
.pdp__assure p { font-size: 0.7rem; color: var(--ink-mute); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.45rem; }
.field input, .field textarea, .field select { width: 100%; padding: 0.85rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); transition: border-color var(--dur) var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }
.info-card { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.info-card svg { width: 24px; height: 24px; color: var(--gold-deep); flex-shrink: 0; }
.info-card h4 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.info-card p { font-size: 0.86rem; color: var(--ink-mute); }
.value { text-align: center; padding: 1.8rem 1rem; }
.value svg { width: 38px; height: 38px; color: var(--gold-deep); stroke-width: 1.3; margin-bottom: 0.9rem; }
.value h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.value p { font-size: 0.88rem; color: var(--ink-mute); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem,4vw,4rem); }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   23. Reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .mega__inner { grid-template-columns: repeat(3,1fr); } .mega__promo { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .pdp, .shop-layout, .deal, .split { grid-template-columns: 1fr; }
  .filter { display: none; }
  .cols-5 { grid-template-columns: repeat(3,1fr); }
  .insta { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; height: 68px; }
  .nav__menu--left { display: none; }
  .nav__toggle { display: grid; place-items: center; width: 42px; height: 42px; color: var(--ink); }
  .nav__toggle svg { width: 24px; height: 24px; }
  .brand { justify-self: start; } .brand b { font-size: 1.5rem; }
  .brand small { display: none; }            /* avoid subtitle wrapping/overlap on mobile */
  .icon-btn--hide-sm { display: none; }       /* hide account + wishlist to stop icon crowding */
  .nav__actions { gap: 0.35rem; }
  .icon-btn { width: 38px; height: 38px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .features__item:nth-child(3) { border-left: none; }
  .topbar__msg { display: none; }
  .split__media { order: -1; }
}
@media (max-width: 680px) {
  .cols-4, .cols-5 { grid-template-columns: repeat(2,1fr); }
  .cols-3 { grid-template-columns: 1fr; }     /* testimonials etc. full width */
  .cols-2 { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .features__item { border-left: none; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .insta { grid-template-columns: repeat(3,1fr); }
  .countdown { flex-wrap: wrap; }
  .review { padding: 1.5rem; }
  .review__quote { font-size: 1.1rem; line-height: 1.45; }
  .deal__media .badge--sale { font-size: 0.7rem; }
  .pdp__gallery { grid-template-columns: 1fr; } .pdp__thumbs { flex-direction: row; order: 2; } .pdp__thumb { width: 64px; }
}

/* Touch devices: reveal product actions & add-to-cart (no hover available) */
@media (hover: none) {
  .product__act { opacity: 1; transform: none; }
  .product__cart { opacity: 1; transform: none; }
  .product__img--back { opacity: 0 !important; }
  .product__media .product__img--front { opacity: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
