:root {
  --beige: #efe7d8;
  --beige-deep: #e4d8c2;
  --beige-soft: #f7f1e6;
  --burgundy: #6b1118;
  --burgundy-deep: #4a0a10;
  --burgundy-bright: #8a1820;
  --ink: #1a1208;
  --ink-soft: #4a3f30;
  --gold: #b8956a;
  --paper: #faf6ee;
  --rose: #d4a8a0;
  --green: #6b7a4f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: var(--burgundy); color: var(--paper); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  --pointer-x: 50%;
  --pointer-y: 24%;
  --ambient-shift-x: 0px;
  --ambient-shift-y: 0px;
  --scroll-glow: 0;
}

img { max-width: 100%; display: block; }
img,
.logo-link,
.home-intro img {
  background-color: transparent;
}
button { font-family: inherit; cursor: pointer; }

.luxury-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(184, 149, 106, 0.16), rgba(107, 17, 24, 0.06) 34%, transparent 68%);
  mix-blend-mode: multiply;
  transition: opacity 0.35s ease;
}
body.cursor-ready .luxury-cursor { opacity: 1; }

/* ============ NOISE TEXTURE ============ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ INTERACTIVE AMBIENCE ============ */
.ambient-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(107, 17, 24, 0.16), transparent 22rem),
    radial-gradient(circle at calc(100% - var(--pointer-x)) calc(var(--pointer-y) + 18%), rgba(184, 149, 106, 0.18), transparent 20rem),
    linear-gradient(120deg, rgba(250, 246, 238, 0.96), rgba(239, 231, 216, 0.9));
}

.ambient-background::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(107, 17, 24, 0.08) 43%, transparent 46% 100%),
    linear-gradient(65deg, transparent 0 55%, rgba(184, 149, 106, 0.1) 56%, transparent 59% 100%);
  transform: translate3d(var(--ambient-shift-x), var(--ambient-shift-y), 0) rotate(calc(var(--scroll-glow) * 0.04deg));
  transition: transform 0.25s ease-out;
}

.ambient-background::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(107, 17, 24, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 17, 24, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at var(--pointer-x) var(--pointer-y), black, transparent 58%);
}

body > section,
body > header,
body > main,
body > footer,
body > .marquee,
body > .page-header {
  position: relative;
  z-index: 2;
}

.search-results-note {
  max-width: 1320px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border: 1px solid rgba(107, 17, 24, 0.14);
  border-radius: 8px;
  background: rgba(250, 246, 238, 0.8);
  color: var(--ink-soft);
  font-family: 'Fraunces', serif;
  font-size: 18px;
}
.search-results-note a {
  color: var(--burgundy);
}
.category-showcase {
  padding: 96px 56px;
  background: var(--paper);
}
.category-showcase.alt {
  background: var(--beige-soft);
}
.category-header {
  max-width: 960px;
  margin: 0 auto 36px;
  text-align: center;
}
.category-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.05;
  margin: 12px 0 14px;
  letter-spacing: -0.02em;
}
.category-header h2 em {
  color: var(--burgundy);
  font-style: italic;
}
.category-header p {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--ink-soft);
}
.category-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  min-height: 240px;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(107, 17, 24, 0.12);
  background:
    linear-gradient(135deg, rgba(250, 246, 238, 0.96), rgba(239, 231, 216, 0.72));
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: auto 22px 22px auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 17, 24, 0.16), transparent 66%);
  transform: scale(1);
  transition: transform 0.28s ease;
}
.category-card:hover,
.category-card.active {
  transform: translateY(-5px);
  border-color: rgba(107, 17, 24, 0.36);
  box-shadow: 0 24px 58px rgba(107, 17, 24, 0.12);
}
.category-card:hover::before,
.category-card.active::before {
  transform: scale(1.5);
}
.category-kicker {
  display: block;
  color: var(--burgundy);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.category-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.06;
  margin-bottom: 18px;
}
.category-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.category-items {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.category-items span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid rgba(26, 18, 8, 0.1);
  color: var(--ink);
  font-size: 13px;
}
.category-items small {
  color: var(--burgundy);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.category-cta {
  margin-top: 24px;
  color: var(--burgundy);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.category-detail {
  padding: 92px 56px 150px;
  background: var(--paper);
}
.category-detail-inner {
  max-width: 1320px;
  margin: 0 auto;
}
.category-detail-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.category-detail-top h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.04;
}
.category-detail-top h2 em {
  color: var(--burgundy);
  font-style: italic;
}
.category-detail-top p {
  max-width: 420px;
  color: var(--ink-soft);
  font-family: 'Fraunces', serif;
  font-size: 18px;
}
.category-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.category-product-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(107, 17, 24, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(250, 246, 238, 0.82);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.category-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107, 17, 24, 0.32);
  box-shadow: 0 24px 58px rgba(107, 17, 24, 0.12);
}
.category-product-media {
  min-height: 280px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(184, 149, 106, 0.24), transparent 18rem),
    linear-gradient(135deg, var(--beige-soft), var(--beige));
  position: relative;
  overflow: hidden;
}
.category-product-media img {
  width: min(86%, 520px);
  max-height: 280px;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.category-product-card:hover .category-product-media img {
  transform: scale(1.04);
}
.category-honey-orb {
  width: 168px;
  height: 168px;
  border-radius: 42% 58% 48% 52%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,0.58), transparent 30%),
    radial-gradient(circle at 62% 68%, rgba(107, 17, 24, 0.18), transparent 32%),
    linear-gradient(135deg, #f2c777, #c8842d);
  box-shadow: inset -18px -20px 36px rgba(74, 38, 4, 0.24), 0 26px 60px rgba(184, 149, 106, 0.32);
}
.category-product-body {
  padding: 26px;
}
.category-product-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 10px;
}
.category-product-body p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.62;
  margin-bottom: 20px;
}
.category-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 18, 8, 0.1);
}
.category-product-meta span {
  color: var(--burgundy);
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
}
.category-product-meta small {
  color: var(--ink-soft);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}
.category-empty {
  border: 1px dashed rgba(107, 17, 24, 0.28);
  border-radius: 8px;
  padding: 40px;
  background: var(--beige-soft);
}
.category-empty h3 {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 300;
  margin-bottom: 12px;
}
.category-empty p {
  color: var(--ink-soft);
  max-width: 620px;
}
.legal-content {
  padding: 80px 56px 150px;
  max-width: 940px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 32px;
  margin: 46px 0 16px;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.78;
}
.legal-content ul {
  padding-left: 20px;
  margin: 14px 0 20px;
}
.legal-note {
  padding: 22px 24px;
  border-left: 3px solid var(--burgundy);
  background: var(--beige-soft);
  border-radius: 0 8px 8px 0;
  margin-bottom: 36px;
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--burgundy) !important;
  box-shadow: 0 0 0 3px rgba(107, 17, 24, 0.12) !important;
}
.field-hint {
  display: block;
  margin-top: 7px;
  color: var(--burgundy);
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-background::before {
    transition: none;
    transform: none;
  }
}

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--burgundy), var(--burgundy-bright), var(--gold));
  z-index: 200;
  transition: width 0.05s linear;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 56px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 28px;
  background: rgba(250, 246, 238, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(107, 17, 24, 0.08);
  transition: padding 0.3s ease;
}
nav.scrolled { padding: 14px 56px; }

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  min-width: 42px;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-link:hover .logo-img { transform: rotate(-5deg) scale(1.05); }

.logo-tagline {
  font-family: 'Italiana', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid rgba(107, 17, 24, 0.3);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--burgundy);
  transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--burgundy); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--burgundy); }
.nav-links a.active::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.site-search {
  width: 220px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(107, 17, 24, 0.18);
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.72);
  padding: 4px 5px 4px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  flex-shrink: 0;
}
.site-search:focus-within {
  border-color: rgba(107, 17, 24, 0.45);
  box-shadow: 0 14px 34px rgba(107, 17, 24, 0.12);
  background: rgba(250, 246, 238, 0.96);
}
.site-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding-right: 40px;
}
.site-search input::placeholder {
  color: rgba(74, 63, 48, 0.64);
}
.site-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--paper);
  font-size: 15px;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.site-search button:hover {
  transform: translateY(-50%) scale(1.06);
  background: var(--burgundy-bright);
}
.site-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 130;
  padding: 8px;
  border: 1px solid rgba(107, 17, 24, 0.14);
  border-radius: 12px;
  background: rgba(250, 246, 238, 0.96);
  box-shadow: 0 26px 70px rgba(26, 18, 8, 0.16);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.site-search-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-search-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.site-search-panel a:hover {
  background: var(--beige-soft);
  transform: translateX(3px);
}
.site-search-panel span {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cart-toggle {
  background: transparent;
  border: 1px solid rgba(107, 17, 24, 0.2);
  color: var(--ink);
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
}
.cart-toggle:hover {
  background: var(--burgundy);
  color: var(--paper);
  border-color: var(--burgundy);
}
.cart-count {
  background: var(--burgundy);
  color: var(--paper);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0;
}
.cart-toggle:hover .cart-count { background: var(--paper); color: var(--burgundy); }

.cart-toggle.bump { animation: cartBump 0.5s ease; }
@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.15); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ CART DRAWER ============ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 8, 0.5);
  backdrop-filter: blur(8px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 460px;
  max-width: 90vw;
  background: var(--paper);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-header {
  padding: 32px;
  border-bottom: 1px solid rgba(26, 18, 8, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
}
.cart-close {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--ink);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
}

.cart-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--ink-soft);
}
.cart-empty p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(26, 18, 8, 0.08);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  background: var(--beige-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item-info h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}
.cart-item-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.cart-item-price {
  font-family: 'Fraunces', serif;
  color: var(--burgundy);
  font-weight: 500;
  font-size: 15px;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.cart-qty button {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(26, 18, 8, 0.2);
  background: transparent;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.cart-qty button:hover { background: var(--burgundy); color: var(--paper); border-color: var(--burgundy); }
.cart-qty span { font-size: 13px; min-width: 20px; text-align: center; }

.cart-remove {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  align-self: start;
  text-decoration: underline;
  padding: 0;
}
.cart-remove:hover { color: var(--burgundy); }

.cart-footer {
  padding: 24px 32px 32px;
  border-top: 1px solid rgba(26, 18, 8, 0.1);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cart-subtotal-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cart-subtotal-value {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--burgundy);
  font-weight: 500;
}
.cart-shipping-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-style: italic;
}
.cart-progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(26, 18, 8, 0.08);
  overflow: hidden;
  margin: 0 0 12px;
}
.cart-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-help {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.cart-help a {
  color: var(--burgundy);
}
.cart-checkout {
  width: 100%;
  background: var(--burgundy);
  color: var(--paper);
  border: none;
  padding: 18px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s ease;
  text-decoration: none;
  display: block;
  text-align: center;
}
.cart-checkout:hover { background: var(--ink); }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--ink);
  color: var(--paper);
  padding: 18px 28px;
  border-radius: 100px;
  z-index: 170;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast::before {
  content: '✓';
  background: var(--green);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* ============ SHARED HEADER (page hero) ============ */
.page-header {
  padding: 180px 56px 80px;
  background:
    radial-gradient(ellipse at top right, rgba(107, 17, 24, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(184, 149, 106, 0.08) 0%, transparent 50%),
    var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 24px;
}
.page-header .eyebrow::before,
.page-header .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--burgundy);
}
.page-header h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: normal;
}
.page-header h1 em {
  font-style: italic;
  color: var(--burgundy);
}
.page-header p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--beige);
  padding: 100px 56px 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
}
.footer-logo-img {
  height: 70px;
  width: auto;
}

.footer-brand p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(239, 231, 216, 0.7);
  max-width: 360px;
  margin-bottom: 28px;
}
.footer-handle {
  display: inline-block;
  margin: -8px 0 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-handle:hover { color: var(--beige); }

.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(239, 231, 216, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.footer-social:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--beige);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(239, 231, 216, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239, 231, 216, 0.5);
}

/* ============ SHARED BUTTONS ============ */
.btn-primary {
  background: var(--burgundy);
  color: var(--paper);
  padding: 18px 40px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(107, 17, 24, 0.3);
}
.btn-primary .arrow { transition: transform 0.3s ease; }
.btn-primary:hover .arrow { transform: translateX(6px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 18px 40px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-3px);
}

.btn-text {
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}
.btn-text:hover { color: var(--burgundy); border-color: var(--burgundy); }
.product-quick-view { pointer-events: none; }

/* ============ FADE IN ON SCROLL ============ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
.stagger-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.tilt-ready {
  transform-style: preserve-3d;
  will-change: transform;
}
.gallery-main.is-swapping img {
  animation: imageSwap 0.42s ease;
}
@keyframes imageSwap {
  0% { opacity: 0.3; transform: scale(1.04); filter: blur(8px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .luxury-cursor { display: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
  nav {
    padding: 14px 18px 12px;
    display: block;
  }
  nav.scrolled { padding: 12px 18px 10px; }
  .logo-tagline { display: none; }
  .logo-img { height: 36px; }
  .logo-link {
    display: inline-flex;
    order: initial;
  }
  .nav-links {
    position: fixed;
    top: 112px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(107, 17, 24, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.3s ease, visibility 0.25s ease;
    margin-left: 0;
    z-index: 95;
    box-shadow: 0 28px 80px rgba(26, 18, 8, 0.16);
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links.open a {
    display: block;
    color: var(--ink);
    font-size: 12px;
    line-height: 1.4;
    padding: 6px 0;
  }
  body.home-page .nav-links.open {
    background: rgba(8, 3, 2, 0.96);
    border-bottom-color: rgba(184, 149, 106, 0.2);
  }
  body.home-page .nav-links.open a {
    color: #fff9f2;
  }
  body.home-page .nav-links.open a::after {
    background: var(--gold);
  }
  .menu-toggle { display: block; }
  .menu-toggle {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .cart-toggle { padding: 8px 14px; font-size: 10px; }
  .cart-toggle { order: 2; }
  .nav-right {
    position: absolute;
    top: 14px;
    right: 18px;
    order: initial;
    margin-left: 0;
    gap: 10px;
  }
  .menu-toggle {
    order: 1;
  }
  .site-search {
    margin-top: 10px;
    order: initial;
    width: auto;
    max-width: none;
    min-width: 0;
    flex: none;
    height: 42px;
    padding-left: 14px;
    background: rgba(250, 246, 238, 0.92);
    overflow: visible;
  }
  .site-search input {
    width: 0;
    font-size: 12px;
    padding-right: 0;
  }
  .site-search button {
    position: static;
    transform: none;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
  }
  .site-search button:hover {
    transform: scale(1.06);
  }
  .site-search-panel {
    top: calc(100% + 8px);
    max-height: min(58vh, 430px);
    overflow-y: auto;
    z-index: 140;
  }
  .site-search-panel a {
    padding: 14px 16px;
  }

  .page-header { padding: 150px 24px 60px; }
  .page-header .eyebrow {
    gap: 10px;
    letter-spacing: 0.26em;
    font-size: 10px;
  }
  .page-header .eyebrow::before,
  .page-header .eyebrow::after { width: 22px; }
  .page-header h1 {
    font-size: clamp(34px, 10vw, 50px);
    line-height: 1.05;
    max-width: 680px;
  }
  .page-header p {
    font-size: 17px;
    max-width: 100%;
  }
  .category-showcase {
    padding: 72px 24px;
  }
  .category-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }
  .category-card {
    min-height: 0;
  }
  .category-detail {
    padding: 72px 24px 110px;
  }
  .category-detail-top {
    display: grid;
    gap: 16px;
    align-items: start;
  }
  .legal-content {
    padding: 52px 24px 100px;
  }
  .category-header p {
    max-width: 100%;
  }

  footer { padding: 60px 24px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }

  .cart-drawer { width: 100%; }
}

@media (max-width: 560px) {
  nav {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cart-toggle {
    display: none;
  }
  .nav-right { gap: 0; right: 14px; }
  .menu-toggle {
    position: fixed;
    top: 20px;
    left: 92px;
    right: auto;
    z-index: 210;
    padding: 6px;
    display: block !important;
  }
  .site-search {
    width: auto;
    max-width: none;
    padding-left: 48px;
    padding-right: 8px;
  }
  .site-search button {
    position: absolute;
    left: 8px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    z-index: 4;
  }
  .page-header {
    padding: 142px 20px 50px;
  }
  .page-header h1 {
    font-size: clamp(29px, 8.2vw, 36px);
    max-width: 310px;
    line-height: 1.08;
  }
  .page-header p,
  .category-header p {
    max-width: 300px;
  }
  .category-card {
    padding: 24px 20px;
  }
  .category-showcase {
    padding-left: 20px;
    padding-right: 32px;
  }
  .category-detail {
    padding-left: 20px;
    padding-right: 20px;
  }
  .category-detail-top,
  .category-detail-top h2,
  .category-detail-top p {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .category-detail-inner,
  .category-detail-top {
    max-width: 100%;
  }
  .category-detail-top h2,
  .category-detail-top p {
    max-width: 320px;
  }
  .category-detail-top p {
    font-size: 16px;
  }
  .category-product-media {
    min-height: 220px;
  }
  .category-product-body {
    padding: 22px 20px;
  }
  .category-product-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .category-items small {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .product-info {
    flex-direction: column;
    gap: 10px;
  }
  .product-price {
    text-align: left;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ============ STRIPE CHECKOUT ============ */
.place-order-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }
.stripe-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.stripe-trust svg { height: 18px; width: 18px; color: var(--ink-soft); }
.stripe-trust span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============ QUICK ADD BUTTON ============ */
.product-card { position: relative; overflow: hidden; }
.quick-add-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--burgundy);
  color: var(--paper);
  border: none;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), background 0.2s;
  z-index: 10;
}
.quick-add-btn.added { background: var(--green, #6b7a4f); }
.product-card:hover .quick-add-btn { transform: translateY(0); }
