/* ==========================================================================
   Thegemwish — Premium furniture storefront
   Design system + components
   Author: Thegemwish Studio
   --------------------------------------------------------------------------
   1. Fonts
   2. Design tokens
   3. Base & typography
   4. Buttons & forms
   5. Layout helpers
   6. Header / navigation
   7. Hero
   8. Sections & cards
   9. Store page
  10. Product page
  11. About & policy pages
  12. Footer
  13. Utilities, animations, responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted, no external requests)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../vendor/fonts/CormorantGaramond-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../vendor/fonts/CormorantGaramond-var-latin-ext.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2C60-2C7F;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../vendor/fonts/CormorantGaramond-italic-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../vendor/fonts/Jost-var-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212, U+2215;
}
@font-face {
  font-family: "Jost";
  src: url("../vendor/fonts/Jost-var-latin-ext.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2C60-2C7F;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --ink: #15110e;
  --ink-soft: #2b241f;
  --charcoal: #3a322c;
  --muted: #7d7168;
  --line: #e4ddd3;
  --line-soft: #efe9e1;
  --ivory: #fbf8f4;
  --sand: #f2ece3;
  --sand-deep: #e7ddcf;
  --brass: #a97f4f;
  --brass-dark: #8a6539;
  --brass-light: #c8a577;
  --olive: #5f6b53;
  --clay: #b4643f;
  --white: #ffffff;
  --success: #4f7a53;
  --danger: #b4432f;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 2px 12px rgba(21, 17, 14, 0.06);
  --shadow: 0 14px 40px rgba(21, 17, 14, 0.10);
  --shadow-lg: 0 30px 70px rgba(21, 17, 14, 0.16);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   3. Base & typography
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.12;
}

h1, .h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2, .h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4, .h4 { font-size: 1.2rem; }
h5, .h5 { font-size: 1.05rem; }

p { margin-bottom: 1.15rem; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.28s var(--ease), opacity 0.28s var(--ease);
}
a:hover { color: var(--brass); }

img { max-width: 100%; height: auto; }

::selection { background: var(--ink); color: var(--sand); }

.text-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.85rem;
  display: inline-block;
}
.text-eyebrow.light { color: var(--brass-light); }

.lead-serif {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--charcoal);
}

.text-muted-custom { color: var(--muted); }
.text-brass { color: var(--brass); }

/* Underlined "read more" style link */
.link-underline {
  position: relative;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0.35); transform-origin: left; }
.link-underline:hover { color: var(--brass); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-gem {
  --btn-bg: var(--ink);
  --btn-fg: var(--sand);
  --btn-border: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-gem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn-gem:hover { color: var(--white); border-color: var(--brass); }
.btn-gem:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-gem-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--ink); }
.btn-gem-light { --btn-bg: var(--sand); --btn-fg: var(--ink); --btn-border: var(--sand); }
.btn-gem-brass { --btn-bg: var(--brass); --btn-fg: var(--white); --btn-border: var(--brass); }
.btn-gem-block { width: 100%; }
.btn-gem-sm { padding: 0.65rem 1.4rem; font-size: 0.7rem; }

.btn-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.btn-icon:hover { background: var(--ink); color: var(--sand); border-color: var(--ink); }

/* Forms */
.form-control,
.form-select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 127, 79, 0.12);
}
.form-control::placeholder { color: #b3a99e; }
.form-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.form-text { font-size: 0.82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   5. Layout helpers
   -------------------------------------------------------------------------- */
.section { padding: clamp(4rem, 7vw, 7rem) 0; }
.section-sm { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--sand); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink h5 { color: var(--sand); }
.bg-white { background: var(--white); }

.divider-line { height: 1px; background: var(--line); border: 0; opacity: 1; }
.divider-line.light { background: rgba(242, 236, 227, 0.18); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); }

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.eyebrow-rule::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--brass);
  flex: none;
}
.section-head.center .eyebrow-rule { justify-content: center; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(242, 236, 227, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 0;
}
.topbar a { color: var(--brass-light); }
.topbar a:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 248, 244, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.navbar-gem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
}
.brand-mark:hover { color: var(--ink); }
.brand-mark .brand-gem {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-size: 0.95rem;
  transform: rotate(45deg);
  border-radius: 2px;
  flex: none;
}
.brand-mark .brand-gem i { transform: rotate(-45deg); }
.brand-mark .brand-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.nav-main { display: flex; align-items: center; gap: 2.1rem; }
.nav-link-gem {
  position: relative;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.4rem 0;
}
.nav-link-gem::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--brass);
  transition: width 0.35s var(--ease);
}
.nav-link-gem:hover,
.nav-link-gem.active { color: var(--ink); }
.nav-link-gem:hover::after,
.nav-link-gem.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.4rem; }
.nav-actions .btn-icon { width: 40px; height: 40px; font-size: 0.95rem; background: transparent; }

/* Category mega menu */
.dropdown-gem { position: relative; }
.dropdown-menu-gem {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 640px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 1040;
}
.dropdown-gem:hover .dropdown-menu-gem {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu-gem a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  color: var(--charcoal);
}
.dropdown-menu-gem a:hover { background: var(--sand); color: var(--ink); }
.dropdown-menu-gem a i { color: var(--brass); font-size: 1rem; }

.mobile-nav-toggle { display: none; }

/* Search overlay */
.search-panel {
  position: fixed;
  inset: 0;
  background: rgba(21, 17, 14, 0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s var(--ease);
}
.search-panel.open { opacity: 1; visibility: visible; }
.search-panel form {
  width: min(680px, 92vw);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(242, 236, 227, 0.35);
}
.search-panel input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--sand);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  padding: 0.8rem 0;
  outline: none;
}
.search-panel input::placeholder { color: rgba(242, 236, 227, 0.35); }
.search-panel .btn-icon { background: transparent; border-color: rgba(242,236,227,.3); color: var(--sand); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.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(100deg, rgba(15,12,10,.86) 0%, rgba(15,12,10,.62) 42%, rgba(15,12,10,.18) 75%, rgba(15,12,10,.35) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; color: var(--sand); padding: 5rem 0; }
.hero-content h1 { color: var(--sand); margin-bottom: 1.35rem; }
.hero-content p { color: rgba(242, 236, 227, 0.82); font-size: 1.05rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }
.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(242, 236, 227, 0.6);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--brass), transparent);
}

/* Split feature hero */
.hero-split { background: var(--sand); }
.hero-split .hero-media::after {
  background: linear-gradient(180deg, rgba(15,12,10,.08), rgba(15,12,10,.3));
}
.hero-split .hero-content { color: var(--ink); }
.hero-split .hero-content h1 { color: var(--ink); }
.hero-split .hero-content p { color: var(--charcoal); }

/* USP strip */
.usp-strip { background: var(--ink); color: var(--sand); }
.usp-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.35rem 0.5rem;
}
.usp-item i { font-size: 1.35rem; color: var(--brass-light); }
.usp-item strong { display: block; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.usp-item span { font-size: 0.82rem; color: rgba(242, 236, 227, 0.6); }

/* --------------------------------------------------------------------------
   8. Cards & sections
   -------------------------------------------------------------------------- */
.card-gem {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card-gem:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-card { position: relative; background: var(--white); }
.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 4 / 5;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media .product-secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.product-card:hover .product-media .product-secondary { opacity: 1; }

.badge-gem {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  background: var(--ink);
  color: var(--sand);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
}
.badge-gem.sale { background: var(--clay); color: var(--white); }
.badge-gem.out { background: var(--muted); color: var(--white); }

.product-quick {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  transform: translateY(14px);
  opacity: 0;
  transition: all 0.45s var(--ease);
}
.product-card:hover .product-quick { transform: translateY(0); opacity: 1; }
.product-quick .btn-gem { flex: 1; padding: 0.7rem 1rem; font-size: 0.68rem; }

.product-body { padding: 1.15rem 1.25rem 1.4rem; }
.product-cat { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.product-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0.35rem 0 0.5rem;
  line-height: 1.25;
}
.product-title a { color: inherit; }
.product-title a:hover { color: var(--brass); }
.product-price { display: flex; align-items: baseline; gap: 0.6rem; font-size: 1.02rem; }
.product-price .now, .product-price .was { font-variant-numeric: lining-nums tabular-nums; }
.product-price .now { font-weight: 500; color: var(--ink); }
.product-price .was { color: var(--muted); text-decoration: line-through; font-size: 0.88rem; }
.product-price .off { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); font-weight: 500; }

.stars { color: var(--brass); font-size: 0.82rem; letter-spacing: 0.08em; }
.stars .count { color: var(--muted); margin-left: 0.35rem; font-size: 0.76rem; letter-spacing: 0; }

/* Category tiles */
.category-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.category-tile:hover img { transform: scale(1.08); }
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15,12,10,.78) 100%);
}
.category-tile .tile-body {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.2rem;
  z-index: 2;
  color: var(--sand);
}
.category-tile .tile-body h3 { color: var(--sand); font-size: 1.4rem; margin-bottom: 0.15rem; }
.category-tile .tile-body span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); }

/* Editorial split */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split-feature.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-media .frame {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.split-media .badge-float {
  position: absolute;
  right: -18px;
  bottom: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}
.split-media .badge-float strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1; font-variant-numeric: lining-nums; }
.split-media .badge-float span { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* Stats */
.stat-item { text-align: center; padding: 0.75rem 0; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--sand);
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-item span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(242,236,227,.6); }
.bg-ink .stat-item strong { color: var(--brass-light); }

/* Value cards */
.value-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.1rem 1.7rem;
  height: 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card i { font-size: 1.9rem; color: var(--brass); margin-bottom: 1rem; display: block; }
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Testimonials */
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  border: 1px solid var(--line-soft);
  height: 100%;
}
.quote-card .quote-mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; color: var(--brass); }
.quote-card p { font-family: var(--font-display); font-size: 1.16rem; line-height: 1.65; color: var(--charcoal); }
.quote-card .who { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.quote-card .who strong { display: block; font-size: 0.95rem; color: var(--ink); }
.quote-card .who span { font-size: 0.78rem; color: var(--muted); }

.carousel-indicators-gem { position: static; margin-top: 2rem; justify-content: center; }
.carousel-indicators-gem [data-bs-target] {
  width: 30px;
  height: 2px;
  background: var(--line);
  border: 0;
  opacity: 1;
  margin: 0 0.25rem;
}
.carousel-indicators-gem .active { background: var(--brass); }

/* Newsletter */
.newsletter-box {
  background: var(--ink);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 5vw, 4rem);
  color: var(--sand);
  position: relative;
  overflow: hidden;
}
.newsletter-box h3 { color: var(--sand); }
.newsletter-box p { color: rgba(242,236,227,.65); }
.newsletter-input {
  display: flex;
  border-bottom: 1px solid rgba(242, 236, 227, 0.35);
}
.newsletter-input input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--sand);
  padding: 0.85rem 0;
  font-family: var(--font-body);
  outline: none;
}
.newsletter-input input::placeholder { color: rgba(242, 236, 227, 0.45); }
.newsletter-input button {
  background: transparent;
  border: 0;
  color: var(--brass-light);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 0.4rem;
}
.newsletter-input button:hover { color: var(--white); }

/* Breadcrumb */
.breadcrumb-gem { font-size: 0.76rem; letter-spacing: 0.08em; color: var(--muted); }
.breadcrumb-gem a { color: var(--muted); }
.breadcrumb-gem a:hover { color: var(--brass); }
.breadcrumb-gem .sep { margin: 0 0.5rem; color: var(--line); }
.breadcrumb-gem .current { color: var(--ink); }

/* Page banner */
.page-banner {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--sand);
  overflow: hidden;
}
.page-banner .banner-media { position: absolute; inset: 0; opacity: 0.22; }
.page-banner .banner-media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .container { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   9. Store page
   -------------------------------------------------------------------------- */
.store-layout { display: grid; grid-template-columns: 268px 1fr; gap: 2.5rem; align-items: start; }
.filter-panel {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.filter-block + .filter-block { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.filter-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 0.15rem; }
.filter-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.42rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--charcoal);
}
.filter-list a:hover { background: var(--sand); color: var(--ink); }
.filter-list a.active { background: var(--ink); color: var(--sand); }
.filter-list a .count { font-size: 0.74rem; color: var(--muted); }
.filter-list a.active .count { color: var(--brass-light); }

.price-inputs { display: flex; gap: 0.6rem; }
.price-inputs .form-control { padding: 0.6rem 0.7rem; font-size: 0.88rem; }

.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-soft);
}
.active-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sand);
  border-radius: 100px;
  padding: 0.32rem 0.85rem;
  font-size: 0.78rem;
  color: var(--charcoal);
}
.chip a { color: var(--muted); font-size: 0.9rem; line-height: 1; }
.chip a:hover { color: var(--clay); }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state i { font-size: 3rem; color: var(--line); }

/* Pagination */
.pagination-gem { display: flex; gap: 0.4rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.pagination-gem a,
.pagination-gem span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--white);
}
.pagination-gem a:hover { border-color: var(--ink); color: var(--ink); }
.pagination-gem .current { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.pagination-gem .disabled { opacity: 0.4; }

/* --------------------------------------------------------------------------
   10. Product page
   -------------------------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 1 / 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.7rem; margin-top: 0.9rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.25s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--ink); }

.product-info { position: sticky; top: calc(var(--header-h) + 20px); }
.product-info h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 0.6rem; }
.price-block { display: flex; align-items: baseline; gap: 0.85rem; margin: 1.1rem 0; }
.price-block .now { font-family: var(--font-display); font-size: 2rem; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.price-block .was { color: var(--muted); text-decoration: line-through; }
.price-block .save {
  background: rgba(180, 100, 63, 0.12);
  color: var(--clay);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 2px;
  font-weight: 500;
}

.qty-picker { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.qty-picker button {
  width: 42px;
  height: 46px;
  background: var(--white);
  border: 0;
  color: var(--ink);
  font-size: 1rem;
}
.qty-picker button:hover { background: var(--sand); }
.qty-picker input {
  width: 52px;
  height: 46px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th,
.spec-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; text-align: left; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--ink); width: 42%; }
.spec-table td { color: var(--muted); }

.accordion-gem .accordion-item { border: 1px solid var(--line-soft); border-radius: var(--radius) !important; margin-bottom: 0.6rem; overflow: hidden; }
.accordion-gem .accordion-button {
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 1.25rem;
  box-shadow: none !important;
}
.accordion-gem .accordion-button:not(.collapsed) { background: var(--sand); color: var(--ink); }
.accordion-gem .accordion-button::after {
  background-image: none;
  content: "\F4FE";
  font-family: "bootstrap-icons";
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease);
}
.accordion-gem .accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.accordion-gem .accordion-body { padding: 1.25rem; font-size: 0.95rem; color: var(--charcoal); }

.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust-item { text-align: center; padding: 1.1rem 0.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--white); }
.trust-item i { font-size: 1.35rem; color: var(--brass); }
.trust-item strong { display: block; font-size: 0.78rem; margin-top: 0.4rem; color: var(--ink); }
.trust-item span { font-size: 0.74rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. About & policy
   -------------------------------------------------------------------------- */
.prose-gem p { margin-bottom: 1.3rem; color: var(--charcoal); }
.prose-gem p:last-child { margin-bottom: 0; }

.policy-layout { display: grid; grid-template-columns: 290px 1fr; gap: 2.5rem; align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.policy-nav a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-left: 2px solid var(--line);
  color: var(--charcoal);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  transition: all 0.25s var(--ease);
}
.policy-nav a i { color: var(--brass); }
.policy-nav a:hover { background: var(--sand); color: var(--ink); }
.policy-nav a.active { border-left-color: var(--brass); background: var(--sand); color: var(--ink); font-weight: 500; }
.policy-doc h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.5rem; }
.policy-doc .summary { color: var(--muted); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1.8rem; }
.policy-section { margin-bottom: 1.6rem; }
.policy-section h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--brass);
}
.timeline-item .year { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }
.timeline-item h4 { margin: 0.15rem 0 0.35rem; }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(242, 236, 227, 0.68); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.site-footer h5 {
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.92rem; color: rgba(242, 236, 227, 0.62); }
.footer-links a:hover { color: var(--brass-light); padding-left: 5px; }
.footer-contact li { display: flex; gap: 0.7rem; margin-bottom: 0.85rem; font-size: 0.92rem; }
.footer-contact i { color: var(--brass-light); margin-top: 4px; }
.social-row { display: flex; gap: 0.6rem; }
.social-row a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 236, 227, 0.18);
  border-radius: 50%;
  color: rgba(242, 236, 227, 0.7);
  transition: all 0.3s var(--ease);
}
.social-row a:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(242, 236, 227, 0.1);
  margin-top: 3.5rem;
  padding: 1.6rem 0;
  font-size: 0.82rem;
}
.payment-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.payment-row span {
  border: 1px solid rgba(242, 236, 227, 0.18);
  border-radius: 3px;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   13. Utilities & responsive
   -------------------------------------------------------------------------- */
.eyebrow-divider { display: flex; align-items: center; gap: 1.2rem; }
.eyebrow-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Only hide content when JavaScript is present to reveal it again. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
  padding: 0.85rem 0;
}
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 32s linear infinite; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.marquee-item::after { content: "◆"; font-size: 0.5rem; color: var(--brass); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.toast-stack { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 2100; display: grid; gap: 0.6rem; }
.gem-alert {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  min-width: 290px;
  max-width: 380px;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.gem-alert.success { border-left-color: var(--success); }
.gem-alert.danger { border-left-color: var(--danger); }
.gem-alert.info { border-left-color: #3d7ea6; }
.gem-alert.warning { border-left-color: #c08a2e; }
.gem-alert i { font-size: 1.05rem; line-height: 1.4; }
.gem-alert.success i { color: var(--success); }
.gem-alert.danger i { color: var(--danger); }

@media (max-width: 1199.98px) {
  .store-layout { grid-template-columns: 240px 1fr; }
  .product-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991.98px) {
  .nav-main {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ivory);
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease);
    z-index: 1035;
  }
  .nav-main.open { transform: translateX(0); }
  .nav-main .nav-link-gem { width: 100%; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; }
  .dropdown-menu-gem {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0.6rem 1rem;
    grid-template-columns: 1fr;
    display: none;
  }
  .dropdown-gem:focus-within .dropdown-menu-gem,
  .dropdown-gem.open .dropdown-menu-gem { display: grid; }
  .mobile-nav-toggle { display: inline-flex; }
  .nav-actions .hide-sm { display: none; }

  .store-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .product-layout { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .policy-nav a { border-left: 0; border: 1px solid var(--line); border-radius: 100px; padding: 0.5rem 0.95rem; font-size: 0.85rem; }
  .policy-nav a.active { border-color: var(--ink); }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature.reverse .split-media { order: 0; }
  .split-media .badge-float { right: 12px; bottom: 12px; }
}

@media (max-width: 575.98px) {
  .topbar .hide-xs { display: none; }
  .trust-row { grid-template-columns: 1fr; }
  .hero { min-height: 74vh; }
  .btn-gem { padding: 0.85rem 1.5rem; }
  .product-quick { position: static; transform: none; opacity: 1; margin-top: 0.9rem; }
}

/* Print */
@media print {
  .topbar, .site-header, .site-footer, .hero-scroll, .product-quick { display: none !important; }
  body { background: #fff; }
}
