/* ============================================================
   CASSIENNE — DESIGN SYSTEM
   Luxury dark: near-black canvas, champagne gold, ivory type.
   ============================================================ */

:root {
  --bg: #0b0b0e;
  --bg-2: #111116;
  --bg-3: #17171e;
  --card: #131319;
  --line: rgba(212, 175, 55, 0.14);
  --line-soft: rgba(244, 239, 230, 0.08);
  --gold: #d4af37;
  --gold-soft: #e6c96b;
  --gold-deep: #9a7b1e;
  --ivory: #f4efe6;
  --muted: #a49c8d;
  --danger: #e2574b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --bar-h: 38px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

::selection { background: rgba(212, 175, 55, 0.35); color: #fff; }

.container { width: min(1240px, 92vw); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.eyebrow::before, .eyebrow.center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after { background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font-size: clamp(30px, 4.2vw, 48px);
  margin: 14px 0 10px;
}
.section-sub { color: var(--muted); max-width: 560px; }

.gold-text {
  background: linear-gradient(100deg, #f0d98a 10%, var(--gold) 45%, #f6e7ae 70%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Announcement bar ---------- */
.announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #171308, #241c0a 50%, #171308);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  z-index: 60;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: var(--bar-h); left: 0; right: 0;
  height: var(--header-h);
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(11, 11, 14, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 34px; height: 34px;
  flex: 0 0 auto;
}
.logo-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo-name span { color: var(--gold); }

.nav {
  display: flex;
  gap: 34px;
}
.nav a {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.82;
  padding: 6px 0;
  position: relative;
  transition: opacity 0.3s, color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover, .nav a.active { opacity: 1; color: var(--gold-soft); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.icon-btn {
  background: none;
  border: none;
  color: var(--ivory);
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  position: relative;
  transition: color 0.3s;
}
.icon-btn:hover { color: var(--gold-soft); }
.icon-btn svg { width: 21px; height: 21px; }

.cart-count {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #141003;
  font-size: 10px;
  font-weight: 500;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.cart-count.show { transform: scale(1); }

.burger { display: none; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 14, 0.97);
  backdrop-filter: blur(10px);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--ivory);
}
.mobile-nav a:hover { color: var(--gold-soft); }
.mobile-nav .close-mnav {
  position: absolute;
  top: 26px; right: 26px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 36px;
  background: linear-gradient(100deg, #e8cd77, var(--gold) 55%, #c29a2b);
  color: #171204;
  border: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.28);
  filter: brightness(1.05);
}
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold-soft);
}
.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: none;
}

.btn-block { width: 100%; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 5px;
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-more:hover { gap: 16px; color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 14, 0.92) 8%, rgba(11, 11, 14, 0.55) 46%, rgba(11, 11, 14, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 2%, transparent 26%);
}
.hero-content {
  padding-top: calc(var(--bar-h) + var(--header-h));
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 82px);
  font-weight: 500;
  margin: 22px 0 20px;
}
.hero p.lead {
  font-size: 17px;
  color: rgba(244, 239, 230, 0.82);
  max-width: 480px;
  margin-bottom: 38px;
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
}
.hero-stats .stat b {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--gold-soft);
}
.hero-stats .stat span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 56px;
  background: rgba(212, 175, 55, 0.4);
  overflow: hidden;
}
.scroll-hint::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -50%; }
  70%, 100% { top: 110%; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.tight { padding: 70px 0; }
.section-head { margin-bottom: 54px; }
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin-inline: auto; }

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-2);
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s;
  filter: brightness(0.85);
}
.cat-tile:hover img { transform: scale(1.07); filter: brightness(1); }
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 8, 10, 0.82) 0%, transparent 46%);
}
.cat-tile .cat-label {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 2;
}
.cat-tile .cat-label h3 {
  font-size: 26px;
  margin-bottom: 2px;
}
.cat-tile .cat-label span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card { position: relative; }
.card-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 16px;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(11, 11, 14, 0.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-soft);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.quick-add {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  padding: 13px;
  background: rgba(14, 13, 10, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--gold); color: #171204; border-color: var(--gold); }

.card-info h3 {
  font-size: 21px;
  font-weight: 500;
}
.card-info .card-cat {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-price {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.card-price .was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
}
.stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
}
.stars .rev { color: var(--muted); letter-spacing: 0.04em; margin-left: 6px; font-size: 12px; }

/* ---------- Split feature (why moissanite) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  pointer-events: none;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 34px;
}
.compare-table th, .compare-table td {
  padding: 13px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 300;
}
.compare-table th {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.compare-table td.gold-col { color: var(--gold-soft); }
.compare-table tr td:first-child { color: var(--muted); }

/* ---------- Value props ---------- */
.props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prop {
  padding: 38px 30px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.prop:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateY(-4px); }
.prop svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; }
.prop h3 { font-size: 20px; margin-bottom: 8px; }
.prop p { font-size: 14px; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.6);
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "◆";
  font-size: 9px;
  color: var(--gold);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.quote {
  padding: 40px 34px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  position: relative;
}
.quote::before {
  content: "“";
  font-family: var(--serif);
  font-size: 84px;
  line-height: 1;
  color: rgba(212, 175, 55, 0.35);
  position: absolute;
  top: 18px; left: 26px;
}
.quote p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  margin: 34px 0 22px;
  color: rgba(244, 239, 230, 0.9);
}
.quote .who {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote .who b { color: var(--gold-soft); font-weight: 400; }

/* ---------- Newsletter ---------- */
.newsletter {
  text-align: center;
  padding: 90px 0;
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(212, 175, 55, 0.12), transparent),
    var(--bg-2);
  border-block: 1px solid var(--line-soft);
}
.newsletter form {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 520px;
  margin-inline: auto;
}
.newsletter input {
  flex: 1;
  padding: 15px 20px;
  background: rgba(244, 239, 230, 0.05);
  border: 1px solid var(--line);
  border-right: none;
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter input::placeholder { color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 0;
  background: #08080a;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}
.footer h4 {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
  margin-bottom: 20px;
}
.footer .footer-about p {
  color: var(--muted);
  font-size: 14px;
  max-width: 320px;
  margin-top: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; }
.footer ul a, .footer address {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  transition: color 0.3s;
}
.footer ul a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--bar-h) + var(--header-h) + 70px) 0 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% -10%, rgba(212, 175, 55, 0.14), transparent),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-top: 16px; }
.page-hero p { color: var(--muted); max-width: 520px; margin: 12px auto 0; }

/* ---------- Shop toolbar ---------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.chip:hover { border-color: rgba(212, 175, 55, 0.5); color: var(--ivory); }
.chip.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  color: var(--gold-soft);
}
.sort-select {
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.sort-select:focus { outline: none; border-color: var(--gold); }
.result-count { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; }

/* ---------- Product page ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  padding-top: calc(var(--bar-h) + var(--header-h) + 50px);
}
.pdp-gallery {
  position: sticky;
  top: calc(var(--bar-h) + var(--header-h) + 20px);
  align-self: start;
  min-width: 0;
}
.pdp-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
  touch-action: pan-y;
}
.pdp-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.pdp-media.zooming img { transform: scale(2); }
.pdp-info .crumb {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp-info .crumb a:hover { color: var(--gold-soft); }
.pdp-info h1 { font-size: clamp(32px, 3.6vw, 46px); margin: 14px 0 10px; }
.pdp-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 26px;
  font-family: var(--serif);
  color: var(--gold-soft);
  margin: 16px 0 6px;
}
.pdp-price .was {
  font-size: 18px;
  color: var(--muted);
  text-decoration: line-through;
}
.pdp-desc { color: rgba(244, 239, 230, 0.8); margin: 20px 0 30px; }

.qty-row { display: flex; gap: 14px; margin-bottom: 14px; }
.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-soft);
}
.qty button {
  width: 46px; height: 54px;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 18px;
  transition: color 0.2s;
}
.qty button:hover { color: var(--gold); }
.qty input {
  width: 44px;
  text-align: center;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 15px;
}
.qty input:focus { outline: none; }

.pdp-meta {
  margin-top: 34px;
  border-top: 1px solid var(--line-soft);
}
.pdp-meta details {
  border-bottom: 1px solid var(--line-soft);
}
.pdp-meta summary {
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-meta summary::-webkit-details-marker { display: none; }
.pdp-meta summary::after {
  content: "+";
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.3s;
}
.pdp-meta details[open] summary::after { transform: rotate(45deg); }
.pdp-meta .detail-body { padding: 0 0 20px; color: var(--muted); font-size: 14px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td {
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line-soft);
  vertical-align: top;
}
.spec-table td:first-child { color: var(--muted); width: 42%; padding-right: 14px; }

.trust-row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.trust-row .t {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.trust-row svg { width: 17px; height: 17px; color: var(--gold); flex: 0 0 auto; }

/* ---------- Cart drawer ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.6);
  backdrop-filter: blur(3px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.backdrop.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(430px, 94vw);
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.45s var(--ease);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-head h3 {
  font-size: 22px;
}
.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 26px;
}
.drawer-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.drawer-empty .serif { font-size: 24px; color: var(--ivory); margin-bottom: 8px; }

.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-item img {
  width: 84px; height: 104px;
  object-fit: cover;
}
.cart-item h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.cart-item .ci-price { color: var(--gold-soft); font-size: 14px; margin-top: 3px; }
.cart-item .ci-qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  border: 1px solid var(--line-soft);
  padding: 4px 10px;
}
.cart-item .ci-qty button {
  background: none; border: none;
  color: var(--ivory);
  font-size: 15px;
  width: 18px;
}
.cart-item .ci-qty button:hover { color: var(--gold); }
.cart-item .remove {
  background: none; border: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: start;
  transition: color 0.2s;
}
.cart-item .remove:hover { color: var(--danger); }

.drawer-foot {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-3);
}
.ship-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.ship-note b { color: var(--gold-soft); font-weight: 400; }
.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.subtotal-row span { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.subtotal-row b { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--gold-soft); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 90px);
  background: var(--bg-3);
  border: 1px solid var(--gold);
  color: var(--ivory);
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  z-index: 120;
  transition: transform 0.45s var(--ease);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Forms / checkout ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: border-color 0.3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field input.invalid, .field select.invalid { border-color: var(--danger); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: start;
  padding-top: calc(var(--bar-h) + var(--header-h) + 50px);
}
.checkout-step {
  margin-bottom: 44px;
}
.checkout-step .step-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.checkout-step .step-title .n {
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-family: var(--serif);
}
.checkout-step .step-title h2 { font-size: 24px; }

.summary {
  position: sticky;
  top: calc(var(--bar-h) + var(--header-h) + 20px);
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 30px;
}
.summary h3 { font-size: 22px; margin-bottom: 18px; }
.summary .s-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.summary .s-item img { width: 58px; height: 70px; object-fit: cover; }
.summary .s-item .s-name { font-family: var(--serif); font-size: 16px; }
.summary .s-item .s-qty { color: var(--muted); font-size: 12px; }
.summary .rows { margin: 18px 0; }
.summary .row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 14px;
  color: var(--muted);
}
.summary .row.total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 16px;
  color: var(--ivory);
  font-size: 16px;
}
.summary .row.total b { font-family: var(--serif); font-size: 24px; color: var(--gold-soft); }

.pay-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(212, 175, 55, 0.06);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  padding: 14px 16px;
  margin-top: 18px;
}
.pay-note svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }

/* Success overlay */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  background: rgba(6, 6, 8, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.success-overlay.show { opacity: 1; pointer-events: auto; }
.success-card {
  text-align: center;
  max-width: 440px;
  padding: 56px 44px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.success-card .ok-ring {
  width: 74px; height: 74px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
}
.success-card .ok-ring svg { width: 30px; height: 30px; }
.success-card h2 { font-size: 30px; margin-bottom: 10px; }
.success-card p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.success-card .order-no {
  font-family: var(--serif);
  color: var(--gold-soft);
  font-size: 19px;
  letter-spacing: 0.1em;
  margin: 14px 0 26px;
}

/* Spinner */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(23, 18, 4, 0.35);
  border-top-color: #171204;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- About page ---------- */
.story-block { max-width: 760px; margin-inline: auto; text-align: center; }
.story-block p {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  color: rgba(244, 239, 230, 0.85);
  margin-bottom: 24px;
}
.drop-cap::first-letter {
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  color: var(--gold);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 40px 36px;
}
.contact-card .c-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-card .c-row:last-child { border: none; }
.contact-card svg { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.contact-card .c-row b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 4px;
}
.contact-card .c-row span, .contact-card .c-row a { font-size: 15px; }
.contact-card .c-row a:hover { color: var(--gold-soft); }

/* ---------- Account & auth ---------- */
#account-btn.signed-in::after {
  content: "";
  position: absolute;
  top: 7px; right: 5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.auth-wrap { display: flex; justify-content: center; }
.auth-card {
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 36px 34px;
}
.auth-tabs {
  display: flex;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}
.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 13px 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.auth-tab.active { color: var(--gold-soft); border-bottom-color: var(--gold); }
.auth-card .field { margin-bottom: 16px; }
.auth-link {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-link:hover { color: var(--gold-soft); }
.auth-error { color: var(--danger); font-size: 13px; margin-top: 12px; text-align: center; }

.admin-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 20px 26px;
  margin-bottom: 34px;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-size: 14.5px;
}

.account-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
}
.account-nav { display: flex; flex-direction: column; gap: 8px; }
.acct-tab {
  text-align: left;
  padding: 13px 18px;
  background: none;
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.acct-tab:hover { color: var(--ivory); border-color: rgba(212, 175, 55, 0.4); }
.acct-tab.active {
  color: var(--gold-soft);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.order-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 22px 26px;
  margin-bottom: 18px;
}
.order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.order-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 14px;
}
.order-item img { width: 44px; height: 54px; object-fit: cover; }
.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Status pills: color + text label, always */
.status-pill {
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid;
  white-space: nowrap;
}
.status-processing { color: #e6c96b; border-color: rgba(230, 201, 107, 0.5); background: rgba(230, 201, 107, 0.08); }
.status-shipped { color: #8ec4ee; border-color: rgba(142, 196, 238, 0.5); background: rgba(142, 196, 238, 0.08); }
.status-delivered { color: #8fd6a8; border-color: rgba(143, 214, 168, 0.5); background: rgba(143, 214, 168, 0.08); }
.status-cancelled { color: #e2857c; border-color: rgba(226, 133, 124, 0.5); background: rgba(226, 133, 124, 0.08); }

/* ---------- Admin ---------- */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.stat-tile {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 22px 24px;
}
.stat-tile span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.stat-tile b {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--gold-soft);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line-soft);
  padding: 24px 26px;
  margin-bottom: 20px;
}
.panel-title {
  font-size: 20px;
  margin-bottom: 18px;
}
.chart-wrap { position: relative; }
.chart-tip {
  position: absolute;
  pointer-events: none;
  background: var(--bg-3);
  border: 1px solid var(--gold);
  color: var(--ivory);
  font-size: 12px;
  padding: 6px 10px;
  white-space: nowrap;
  z-index: 5;
}

.rank-row {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 9px 0;
  font-size: 13.5px;
}
.rank-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-bar-track { background: rgba(244, 239, 230, 0.05); height: 14px; }
.rank-bar { height: 100%; background: #d4af37; border-radius: 0 4px 4px 0; }
.rank-value { color: var(--muted); min-width: 64px; text-align: right; }

.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 14px;
}
.admin-table th {
  text-align: left;
  padding: 13px 14px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  border-bottom: 1px solid var(--line);
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.admin-table .thumb { width: 44px; height: 54px; object-fit: cover; }
.row-inactive { opacity: 0.45; }

.mini-btn {
  padding: 8px 14px;
  background: none;
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.mini-btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.mini-btn.danger:hover { border-color: var(--danger); color: var(--danger); }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(6, 6, 8, 0.8);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 20px;
}
/* Author `display` beats the UA's [hidden] rule, so restate it here */
.modal-overlay[hidden] { display: none; }
.modal {
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 30px 32px;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.modal input[type="file"] { padding: 11px 14px; }

@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-nav { flex-direction: row; flex-wrap: wrap; }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Sizes, stock & availability ---------- */
.quick-add { text-align: center; }
.quick-add.is-disabled { opacity: 0.75; pointer-events: none; }
.ci-size {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 2px;
}
.ci-qty button:disabled { opacity: 0.3; cursor: not-allowed; }
.stock-note {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.stock-note.out { color: var(--muted); }

/* Author display rules must never override the hidden attribute */
[hidden] { display: none !important; }

/* ---------- Ring size picker ---------- */
.size-picker {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  transition: border-color 0.3s;
}
.size-picker.needs-size { border-color: var(--danger); }
.size-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.size-head small { color: var(--muted); letter-spacing: 0.1em; }
.size-hint { font-size: 12px; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.size-picker.needs-size .size-hint { color: var(--danger); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.size-chip {
  padding: 10px 0;
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 14px;
  transition: all 0.2s;
}
.size-chip:hover { border-color: rgba(212, 175, 55, 0.5); }
.size-chip[aria-checked="true"] {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold);
  color: var(--gold-soft);
}
.size-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.size-note a, .review-note a, .policy-note a, .detail-body a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stock-line {
  margin: -8px 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.stock-line.out { color: var(--muted); }
.qty button:disabled, .qty input:disabled { opacity: 0.35; cursor: not-allowed; }
.pdp-rating { display: inline-block; }

/* ---------- Reviews ---------- */
.reviews-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
  padding-top: 60px;
  border-top: 1px solid var(--line-soft);
}
.rating-big { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold-soft); margin-top: 18px; }
.review-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.review-form { margin-top: 28px; padding: 24px; background: var(--card); border: 1px solid var(--line-soft); }
.review-form h3 { font-size: 22px; margin-bottom: 12px; }
.review-form .field { margin: 14px 0 18px; }
.review-form textarea { min-height: 110px; }
.star-input { display: flex; gap: 6px; }
.star-input button {
  padding: 2px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: rgba(244, 239, 230, 0.2);
  transition: color 0.15s;
}
.star-input button.on, .star-input button:hover { color: var(--gold); }
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-card { padding: 22px 24px; background: var(--card); border: 1px solid var(--line-soft); }
.review-card p { margin: 10px 0 12px; color: rgba(244, 239, 230, 0.88); white-space: pre-wrap; }
.review-meta { display: flex; align-items: center; gap: 12px; }
.verified-tag {
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.review-by { font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.review-link {
  margin-left: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Checkout: payment & discounts ---------- */
.pay-panel { padding: 22px 24px; background: var(--card); border: 1px solid var(--line-soft); }
.pay-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 15px; }
.pay-brand svg { width: 18px; height: 18px; color: var(--gold); }
.pay-panel p { font-size: 14px; color: var(--muted); }
.pay-panel p.pay-mode, #paypal-step p.pay-mode {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.06);
  color: var(--ivory);
  font-size: 13.5px;
}
.pay-mode:empty { display: none; }
#paypal-step { margin-top: 18px; }
#paypal-buttons { margin-top: 14px; max-width: 420px; }
.policy-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.discount-box { padding: 16px 0 4px; border-bottom: 1px solid var(--line-soft); }
.discount-row { display: flex; gap: 8px; }
.discount-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  background: rgba(244, 239, 230, 0.04);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.discount-row input:focus { outline: none; border-color: var(--gold); }
.discount-applied { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--gold-soft); }
.link-btn { background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--danger); }
.discount-msg { margin-top: 8px; font-size: 12.5px; }
.discount-msg:empty { display: none; }
.discount-msg.err { color: var(--danger); }
.summary .row.discount span:last-child { color: var(--gold-soft); }
.pay-flag { margin-left: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- Policy pages ---------- */
.legal-body { max-width: 760px; margin-inline: auto; }
.legal-body h2 { font-size: 26px; margin: 42px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { margin-bottom: 12px; font-size: 15px; color: rgba(244, 239, 230, 0.82); }
.legal-body ul { padding-left: 20px; margin-bottom: 12px; }
.legal-body a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin-bottom: 30px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 1024px) {
  .reviews-wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Admin additions ---------- */
.admin-notice {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.06);
  font-size: 13.5px;
}
.tile-sub { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.empty-note { font-size: 13.5px; color: var(--muted); }
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pill-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.order-sums { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 12px; font-size: 13px; color: var(--muted); }
.pay-unpaid { color: #e6c96b; border-color: rgba(230, 201, 107, 0.5); background: rgba(230, 201, 107, 0.08); }
.pay-paid { color: #8fd6a8; border-color: rgba(143, 214, 168, 0.5); background: rgba(143, 214, 168, 0.08); }
.pay-refunded { color: #8ec4ee; border-color: rgba(142, 196, 238, 0.5); background: rgba(142, 196, 238, 0.08); }
.pay-failed { color: #e2857c; border-color: rgba(226, 133, 124, 0.5); background: rgba(226, 133, 124, 0.08); }
.discount-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.check-row input { width: auto; }
@media (max-width: 900px) {
  .discount-form { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  .marquee-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .props { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .split, .pdp, .checkout-grid, .contact-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: relative; top: auto; } /* photos stay in place once the layout stacks */
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .announce { font-size: 9.5px; padding-inline: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .cat-grid, .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
  .props { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
}

/* Small phones: logo, account, bag and menu must all fit on one row */
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .logo { gap: 8px; }
  .logo-mark { width: 28px; height: 28px; }
  .logo-name { font-size: 18px; letter-spacing: 0.1em; }
  .header-actions { gap: 2px; }
  .icon-btn { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .logo-name { font-size: 16px; letter-spacing: 0.08em; }
}

/* ---------- Product photo gallery ---------- */
.card-media .card-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}
@media (hover: hover) {
  .card:hover .card-media .card-alt { opacity: 1; }
}

.pdp-nav, .pdp-expand {
  position: absolute;
  z-index: 3;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 11, 14, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-soft);
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
}
.pdp-nav svg, .pdp-expand svg { width: 20px; height: 20px; }
.pdp-nav:hover, .pdp-expand:hover { background: var(--gold); color: #171204; }
.pdp-nav { top: 50%; transform: translateY(-50%); opacity: 0; }
.pdp-nav.prev { left: 14px; }
.pdp-nav.next { right: 14px; }
.pdp-expand { right: 14px; bottom: 14px; }
.pdp-media:hover .pdp-nav, .pdp-nav:focus-visible { opacity: 1; }
@media (hover: none) {
  .pdp-nav { opacity: 1; width: 38px; height: 38px; }
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb {
  flex: 0 0 76px;
  aspect-ratio: 4 / 5;
  padding: 0;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.3s, border-color 0.3s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { opacity: 0.9; }
.pdp-thumb[aria-current="true"] { opacity: 1; border-color: var(--gold); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #070709;
}
.lb-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.lb-count { color: var(--ivory); }
.lb-close { justify-self: end; }
.lb-stage {
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.lb-stage img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.4s var(--ease);
}
.lb-stage.zoomed { touch-action: none; }
.lb-stage.zoomed img { transform: scale(2.5); cursor: zoom-out; }
.lb-stage .pdp-nav { opacity: 1; }
@media (max-width: 600px) {
  .lb-hint { display: none; }
  .lb-top { grid-template-columns: 1fr auto; }
  .pdp-thumb { flex-basis: 64px; }
}

/* ---------- WhatsApp chat button ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 65;
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(14, 13, 10, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: var(--gold-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-label {
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: max-width 0.45s var(--ease), margin-left 0.45s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { background: var(--gold); color: #171204; border-color: var(--gold); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 150px; margin-left: 10px; }
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; height: 50px; padding: 0 13px; }
}

/* ---------- Admin: product photo manager ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.photo-grid .empty-note { grid-column: 1 / -1; }
.photo-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
}
.photo-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-tile.busy { display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.photo-main, .photo-note {
  position: absolute;
  left: 6px;
  padding: 3px 7px;
  background: rgba(11, 11, 14, 0.82);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.photo-main { top: 6px; color: var(--gold-soft); border: 1px solid rgba(212, 175, 55, 0.5); }
.photo-note { bottom: 40px; color: var(--ivory); letter-spacing: 0.04em; text-transform: none; }
.photo-actions {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(11, 11, 14, 0.86);
  border-top: 1px solid var(--line-soft);
}
.photo-actions button {
  height: 34px;
  background: none;
  border: 0;
  color: var(--ivory);
  font-size: 14px;
  cursor: pointer;
}
.photo-actions button:hover:not(:disabled) { color: var(--gold-soft); }
.photo-actions button[data-act="remove"]:hover { color: var(--danger); }
.photo-actions button:disabled { opacity: 0.25; cursor: default; }
