/* Maison Zahar — soft gold fabric, atelier luxury */

:root {
  --gold-50: #faf6ef;
  --gold-100: #f3ead8;
  --gold-200: #e8d9b8;
  --gold-300: #d4c49a;
  --gold-400: #b89b6a;
  --gold-600: #7a6238;
  --gold-900: #3d2e18;
  --ink: #1c1612;
  --ink-muted: #5c5349;
  --panel: rgba(255, 252, 246, 0.72);
  --panel-strong: rgba(255, 250, 240, 0.92);
  --shadow: 0 24px 60px rgba(61, 46, 24, 0.12);
  --radius: 14px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --sticky-toolbar-offset: 4.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.boutique-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--gold-50);
  background-image:
    linear-gradient(135deg, rgba(212, 196, 154, 0.35) 0%, transparent 42%),
    linear-gradient(225deg, rgba(232, 217, 184, 0.45) 0%, transparent 38%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(122, 98, 56, 0.04) 3px,
      rgba(122, 98, 56, 0.04) 5px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 4px,
      rgba(61, 46, 24, 0.025) 4px,
      rgba(61, 46, 24, 0.025) 6px
    );
  background-attachment: fixed;
}

body.boutique-body.nav-open,
body.boutique-body.modal-open {
  overflow: hidden;
}

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

a {
  color: var(--gold-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-900);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-900);
  color: var(--gold-50);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.fabric-panel {
  background: var(--panel-strong);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 155, 106, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.top-strip {
  background: #2d2112;
  color: #f8f0df;
  font-size: 0.78rem;
}

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.top-strip p {
  margin: 0;
}

.top-strip a {
  color: #f8f0df;
  text-decoration: none;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(212, 196, 154, 0.35);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: var(--gold-900);
  border-radius: 1px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
  }
}

.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 88vw);
  z-index: 200;
  background: var(--panel-strong);
  border-left: 1px solid rgba(184, 155, 106, 0.45);
  box-shadow: -12px 0 40px rgba(61, 46, 24, 0.15);
  padding: 1rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}

body.nav-open .nav-drawer {
  transform: translateX(0);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(28, 22, 18, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(184, 155, 106, 0.3);
}

.nav-drawer-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-900);
}

.nav-drawer-close {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nav-drawer-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(184, 155, 106, 0.15);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-drawer-links a:hover {
  color: var(--gold-700);
  border-color: rgba(184, 155, 106, 0.35);
}

.nav-drawer-links a.is-active {
  color: var(--gold-900);
  font-weight: 600;
  border-color: rgba(122, 98, 56, 0.5);
}

.nav-wishlist {
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex: 1;
  justify-content: center;
}

@media (min-width: 901px) {
  .brand {
    flex: 0 1 auto;
    justify-content: flex-start;
  }

  .main-nav {
    margin-left: auto;
  }
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(184, 155, 106, 0.5);
  box-shadow: 0 10px 24px rgba(61, 46, 24, 0.18);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6e8, var(--gold-300) 55%, var(--gold-600));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 8px 20px rgba(61, 46, 24, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.24rem;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.main-nav a:hover {
  color: var(--gold-600);
}

.main-nav-links a.is-active {
  color: var(--gold-900);
  font-weight: 600;
}

.main-nav-links a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.main-nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-icons {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-left: 0.35rem;
}

.icon-link {
  position: relative;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 98, 56, 0.35);
  background: rgba(255, 252, 246, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--gold-900);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.icon-link:hover,
.icon-link:focus-visible {
  border-color: rgba(122, 98, 56, 0.55);
  background: rgba(255, 252, 246, 0.98);
  box-shadow: 0 8px 16px rgba(122, 98, 56, 0.16);
  transform: translateY(-1px);
}

.icon-link.is-active {
  border-color: rgba(122, 98, 56, 0.65);
  background: rgba(212, 196, 154, 0.35);
  box-shadow: inset 0 0 0 1px rgba(122, 98, 56, 0.2);
}

.icon-glyph {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: currentColor;
}

.nav-cart {
  position: relative;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0;
  padding: 0 0.3rem;
  position: absolute;
  top: -0.32rem;
  right: -0.28rem;
  border-radius: 999px;
  background: var(--gold-900);
  color: var(--gold-50);
  font-size: 0.7rem;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .main-nav-links {
    gap: 0.7rem;
  }
}

.flash {
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.92rem;
}

.flash-success {
  background: rgba(212, 196, 154, 0.45);
  color: var(--gold-900);
}

.flash-error {
  background: rgba(180, 80, 60, 0.15);
  color: #6b2a1f;
}

.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.fabric-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(243, 234, 216, 0.9), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-copy {
  padding: 0.5rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  color: var(--gold-600);
  margin: 0 0 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--gold-900);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-600);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 34ch;
  line-height: 1.55;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #fffef9;
  box-shadow: 0 10px 28px rgba(122, 98, 56, 0.28);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(122, 98, 56, 0.32);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(122, 98, 56, 0.45);
  color: var(--gold-900);
}

.btn-ghost:hover {
  background: rgba(255, 252, 246, 0.8);
}

.btn-text {
  background: none;
  border: none;
  color: var(--gold-600);
  padding: 0.25rem 0.35rem;
  font-size: 0.85rem;
}

.btn.sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.hero-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.hero-card {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(184, 155, 106, 0.4);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5/6;
  filter: saturate(1.02) contrast(1.02);
}

.hero-card-a {
  transform: translateY(1.5rem);
}

.hero-card-b {
  transform: translateY(-0.5rem);
}

.hero-card figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-top: 1px solid rgba(184, 155, 106, 0.25);
}

@media (max-width: 900px) {
  .hero-card-a,
  .hero-card-b {
    transform: none;
  }
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(232, 217, 184, 0.55), transparent 65%);
  pointer-events: none;
}

.section {
  padding: 3.5rem 0;
}

.section-tight {
  padding-top: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
  color: var(--gold-900);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.text-link {
  font-size: 0.9rem;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.prose {
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.prose.narrow {
  max-width: 52ch;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.panel-inset {
  padding: 1.75rem;
}

.quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-900);
  margin: 0 0 0.75rem;
}

.quote-attribution {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  overflow: hidden;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 50px rgba(61, 46, 24, 0.14);
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-thumb {
  overflow: hidden;
  border-bottom: 1px solid rgba(184, 155, 106, 0.25);
}

.product-thumb img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.product-card-body {
  padding: 1rem 1.1rem 1.25rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0 0 0.5rem;
}

.product-property {
  font-size: 0.8rem;
  margin: 0 0 0.45rem;
  color: var(--gold-600);
}

.badge {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(184, 155, 106, 0.2);
  border: 1px solid rgba(122, 98, 56, 0.28);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-900);
}

.quick-actions {
  margin-top: 0.35rem;
}

.product-price {
  margin: 0;
  font-weight: 600;
}

.price-compare {
  text-decoration: line-through;
  color: var(--ink-muted);
  font-weight: 400;
  margin-right: 0.5rem;
  font-size: 0.9em;
}

.price-current {
  color: var(--gold-900);
}

.page-intro {
  padding: 2.25rem 0;
  margin-top: 1rem;
}

.page-intro .container {
  padding: 0 1.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0.35rem 0 0.75rem;
  color: var(--gold-900);
}

.catalog-toolbar {
  margin-bottom: 1.5rem;
}

.catalog-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.catalog-filter-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-900);
}

.catalog-filter-toggle {
  border: 1px solid rgba(122, 98, 56, 0.35);
  background: rgba(255, 252, 246, 0.9);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
}

.catalog-search {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 760px) {
  .catalog-search {
    grid-template-columns: 1fr;
  }
}

.search-input,
.sort-select {
  border: 1px solid rgba(122, 98, 56, 0.35);
  border-radius: 10px;
  background: rgba(255, 252, 246, 0.9);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.55rem 0.65rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 98, 56, 0.35);
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--ink);
  background: rgba(255, 252, 246, 0.65);
}

.chip.is-active {
  background: linear-gradient(135deg, rgba(212, 196, 154, 0.65), rgba(184, 155, 106, 0.5));
  border-color: rgba(122, 98, 56, 0.5);
  font-weight: 600;
}

.product-page {
  padding-top: 2rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: start;
}

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

.product-gallery {
  padding: 0.75rem;
}

.product-hero-img {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
}

.product-detail-title {
  margin-top: 0.25rem;
}

.product-sku {
  margin: 0 0 1rem;
  font-size: 0.85rem;
}

.price-row {
  margin-bottom: 1.25rem;
}

.price-large {
  font-size: 1.75rem;
  font-weight: 600;
}

.product-description {
  margin-bottom: 1.5rem;
}

.spec-list {
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.spec-list dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-600);
  margin-bottom: 0.2rem;
}

.spec-list dd {
  margin: 0;
  color: var(--ink-muted);
}

.add-form {
  margin-top: 0.5rem;
}

.qty-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--ink-muted);
}

.add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.qty-input {
  width: 4.5rem;
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(122, 98, 56, 0.35);
  font-family: var(--font-sans);
  background: rgba(255, 252, 246, 0.9);
}

.qty-input.sm {
  width: 3.75rem;
  padding: 0.35rem;
}

.share-hint {
  margin-top: 1.5rem;
}

.cart-table-wrap {
  overflow-x: auto;
  padding: 0.5rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cart-table th,
.cart-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(184, 155, 106, 0.25);
}

.cart-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-600);
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cart-item img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(184, 155, 106, 0.3);
}

.cart-item a {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.inline-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.cart-summary {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  max-width: 360px;
  margin-left: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(243, 234, 216, 0.65));
  border-top: 1px solid rgba(184, 155, 106, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--gold-900);
}

.footer-contact {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.muted {
  color: var(--ink-muted);
}

.muted.small,
.small {
  font-size: 0.85rem;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.social-list a {
  font-weight: 500;
  text-decoration: none;
}

.utm-sample {
  display: block;
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 252, 246, 0.85);
  border: 1px dashed rgba(122, 98, 56, 0.35);
  font-size: 0.72rem;
  word-break: break-all;
  color: var(--ink-muted);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 155, 106, 0.25);
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.social-commerce-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .social-commerce-grid {
    grid-template-columns: 1fr;
  }
}

.social-card {
  padding: 1.1rem;
}

.social-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  color: var(--gold-900);
}

.assistant-panel {
  padding: 1.2rem;
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr 1fr 220px auto;
  gap: 0.6rem;
}

@media (max-width: 980px) {
  .assistant-form {
    grid-template-columns: 1fr;
  }
}

.assistant-picks {
  margin-top: 0.9rem;
  border-top: 1px solid rgba(184, 155, 106, 0.3);
  padding-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.assistant-pick {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.assistant-pick a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
}

.collection-card {
  padding: 1.1rem;
  text-decoration: none;
  color: inherit;
}

.collection-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  color: var(--gold-900);
}

.collection-card p {
  margin: 0;
  color: var(--ink-muted);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  padding: 1.1rem;
}

.trust-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
}

.trust-card p {
  margin: 0;
  color: var(--ink-muted);
}

.footer-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0.5rem 0 0.7rem;
  border: 2px solid rgba(184, 155, 106, 0.5);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 236, 200, 0.75);
  border: 1px solid rgba(184, 155, 106, 0.5);
  color: var(--gold-900);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Phase 2 — sticky catalog, filters, zoom, modal, wishlist */
.catalog-sticky {
  position: relative;
  z-index: 12;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  max-height: none;
  overflow: visible;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(260px, 30%) minmax(0, 70%);
  gap: 1.25rem;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  position: -webkit-sticky;
  top: var(--sticky-toolbar-offset);
  min-width: 0;
  order: 1;
  max-width: none;
  width: 100%;
  justify-self: stretch;
  align-self: start;
  height: fit-content;
}

.catalog-sidebar .catalog-search {
  grid-template-columns: 1fr;
}

.catalog-sidebar .catalog-search .search-input,
.catalog-sidebar .catalog-search .sort-select,
.catalog-sidebar .catalog-search .btn {
  width: 100%;
}

.catalog-results {
  min-width: 0;
  order: 2;
}

.catalog-sticky.is-collapsed .catalog-toolbar {
  display: none;
}

.catalog-filter-toggle {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --sticky-toolbar-offset: 4rem;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .catalog-sticky {
    position: static;
    top: var(--sticky-toolbar-offset);
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    max-height: none;
    overflow: visible;
  }

  .catalog-sidebar {
    position: static;
    top: auto;
  }

  .catalog-filter-toggle {
    display: inline-flex;
    align-items: center;
  }
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.5rem 0 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(184, 155, 106, 0.25);
}

.active-filters-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-600);
  margin-right: 0.25rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(212, 196, 154, 0.35);
  border: 1px solid rgba(122, 98, 56, 0.28);
  font-size: 0.78rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(61, 46, 24, 0.1);
}

.filter-chip-x {
  font-weight: 700;
  opacity: 0.65;
}

.filter-clear {
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 0.35rem;
}

.recent-strip {
  margin-bottom: 1.75rem;
}

.recent-strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.recent-strip-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--gold-900);
}

.recent-strip-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.recent-strip-scroll--product {
  margin-top: 0.5rem;
}

.recent-strip-item {
  flex: 0 0 120px;
  scroll-snap-align: start;
  padding: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease;
}

.recent-strip-item:hover {
  transform: translateY(-2px);
}

.recent-strip-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(184, 155, 106, 0.3);
}

.recent-strip-name {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-thumb-zoom {
  overflow: hidden;
}

.product-thumb-zoom img {
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-thumb-zoom img,
.recent-strip-item:hover img {
  transform: scale(1.04);
}

.product-zoom-wrap {
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px);
}

.product-zoom-wrap .product-hero-img {
  transition: transform 0.6s ease;
}

.product-zoom-wrap:hover .product-hero-img {
  transform: scale(1.03);
}

.product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-thumb {
  position: relative;
}

.product-thumb-link {
  display: block;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: linear-gradient(180deg, transparent 35%, rgba(61, 46, 24, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.product-card:hover .product-card-overlay,
.product-card:focus-within .product-card-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-card-overlay .btn,
.product-card-overlay .wishlist-toggle-form {
  pointer-events: auto;
}

.wishlist-toggle-form {
  margin: 0;
}

.icon-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 252, 246, 0.85);
  background: rgba(255, 252, 246, 0.92);
  color: var(--gold-900);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.icon-btn:hover {
  transform: scale(1.06);
}

.icon-btn.is-active {
  background: rgba(122, 98, 56, 0.2);
  border-color: var(--gold-600);
}

.product-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.product-thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.product-thumb-btn img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  display: block;
}

.product-thumb-btn.is-active,
.product-thumb-btn:hover {
  border-color: var(--gold-600);
}

.product-thumb-btn:hover {
  transform: translateY(-2px);
}

.product-top-actions {
  margin: 0 0 0.75rem;
}

.product-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 18, 0.5);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

body.modal-open .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-muted);
  z-index: 2;
}

.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 720px) {
  .qv-grid {
    grid-template-columns: 1fr;
  }
}

.qv-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.qv-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0.25rem 0 0.5rem;
  color: var(--gold-900);
}

.qv-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.qv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.qv-wishlist-form {
  margin: 0;
}

.wishlist-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wishlist-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

@media (max-width: 520px) {
  .wishlist-card {
    grid-template-columns: 1fr;
  }
}

.wishlist-thumb img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(184, 155, 106, 0.35);
}

.wishlist-body .product-name {
  margin-top: 0;
}

.wishlist-body .product-name a {
  text-decoration: none;
  color: inherit;
}

.wishlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-pulse {
  animation: btnPulse 2.4s ease-in-out infinite;
}

@keyframes btnPulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(122, 98, 56, 0.28);
  }
  50% {
    box-shadow: 0 12px 36px rgba(122, 98, 56, 0.42);
  }
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

@media (max-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-form {
  display: grid;
  gap: 0.7rem;
}

.checkout-form label,
.admin-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.45rem 0;
}

.summary-line-total {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(184, 155, 106, 0.3);
  font-size: 1.05rem;
}

.admin-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.admin-form {
  display: grid;
  gap: 0.65rem;
}

.admin-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.admin-login-form {
  max-width: 460px;
  display: grid;
  gap: 0.7rem;
}
