/* ============================================================
   MADERA & CO — styles.css  v20260527f
   Archetype 01 — Editorial Light Cream (furniture adaptation)
   ============================================================ */

/* --- Variables --- */
:root {
  --white:    #FAFAF7;
  --beige:    #E8DDD0;
  --sand:     #D6C9B8;
  --terra:    #C4714A;
  --terra-dk: #A35A37;
  --moss:     #5C6B4A;
  --moss-lt:  #7A8B65;
  --charcoal: #2C2C2A;
  --ink:      #3A3835;
  --ink-soft: #6B6560;
  --line:     rgba(44,44,42,0.12);

  --nav-h:    72px;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
  --ease-in:  cubic-bezier(0.7,0,0.84,0);
  --ease:     cubic-bezier(0.45,0,0.15,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--charcoal);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* --- Grain overlay (earthy texture) --- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  mix-blend-mode: multiply;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 10000; opacity: 0; transition: opacity .3s; }
.cursor.is-ready { opacity: 1; }
.cursor-dot {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--terra);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .1s, background .2s;
}
.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid var(--terra);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease-out), width .25s, height .25s, border-color .2s, opacity .2s;
}
.cursor.is-hover .cursor-dot { transform: translate(-50%,-50%) scale(2.5); background: var(--moss); }
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--moss); opacity: .5; }
.cursor.is-click .cursor-dot { transform: translate(-50%,-50%) scale(0.6); }
@media (hover: none) { .cursor { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo {
  font-family: 'Fraunces', 'Georgia', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--terra);
  font-style: italic;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo span {
  font-size: .6rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--moss);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: .25rem 0;
  cursor: pointer;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--terra);
  transition: width .3s var(--ease-out);
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-products::after { background: var(--moss); }

/* Products dropdown */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2.5px solid var(--moss);
  border-radius: 4px 4px 14px 14px;
  box-shadow: 0 20px 56px rgba(44,44,42,.14);
  padding: .5rem 0 .75rem;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out);
}
/* bridge gap so hover doesn't close dropdown */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.4rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s, color .15s, padding-left .15s;
}
.nav-dropdown a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--moss);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .15s;
}
.nav-dropdown a:hover {
  background: var(--beige);
  color: var(--terra);
  padding-left: 1.6rem;
}
.nav-dropdown a:hover::before { opacity: 1; }

/* Cart */
.nav-cart {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--beige);
  border-radius: 50%;
  transition: background .2s;
  cursor: pointer;
}
.nav-cart:hover { background: var(--sand); }
.nav-cart svg { width: 18px; height: 18px; stroke: var(--charcoal); fill: none; stroke-width: 1.7; }
.cart-badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 18px; height: 18px;
  background: var(--terra);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: opacity .2s, transform .2s var(--ease-out);
}
.cart-badge.is-visible { opacity: 1; transform: scale(1); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--charcoal);
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.nav-mobile.is-open { opacity: 1; pointer-events: all; }
.nav-mobile a {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--charcoal);
}
.nav-mobile a:hover { color: var(--terra); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  object-position: center center;
  transition: transform 8s ease-out;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(232,221,208,.72) 0%,
    rgba(232,221,208,.30) 45%,
    rgba(232,221,208,.0) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 4rem;
  max-width: 700px;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Fraunces', 'Georgia', serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.05;
  color: var(--charcoal);
  text-wrap: balance;
  margin-bottom: 1.6rem;
}
.hero-title em { font-style: normal; color: var(--terra); }
.hero-sub {
  font-size: 1rem;
  color: rgba(44,44,42,.75);
  max-width: 42ch;
  line-height: 1.65;
  margin-bottom: 2.4rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--terra);
  color: #fff;
  padding: .9rem 2.2rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.btn-primary:hover {
  background: var(--terra-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,113,74,.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1.5px solid rgba(250,250,247,.4);
  color: var(--white);
  padding: .9rem 2.2rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: rgba(250,250,247,.9); background: rgba(250,250,247,.08); }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(250,250,247,.6);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(250,250,247,.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--terra);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%{top:-100%} 50%{top:100%} 100%{top:100%} }

/* ============================================================
   SECTIONS GENERIC
   ============================================================ */
.section { padding: 7rem 4rem; }
.section-sm { padding: 5rem 4rem; }
.section-header { margin-bottom: 3.5rem; }
.section-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--moss);
  flex-shrink: 0;
}
.cat-section .section-eyebrow { color: var(--moss); }
.cat-section .section-eyebrow::before { background: var(--terra); }
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-title em { font-style: normal; color: var(--terra); }
.section-desc {
  margin-top: .9rem;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.7;
}
.section-divider {
  height: 1px;
  background: var(--line);
  margin: 0 4rem;
}

/* ============================================================
   GALLERY CAROUSEL
   ============================================================ */
.gallery-section {
  background: var(--charcoal);
  padding: 4rem 0 3rem;
}
.gallery-header {
  text-align: center;
  padding: 0 4rem 2.5rem;
}
.gallery-header .section-eyebrow { color: var(--beige); }
.gallery-header .section-eyebrow::before { background: var(--terra); }
.gallery-header .section-title { color: var(--white); margin-bottom: 0; }
.carousel {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,250,247,.12);
  border: 1px solid rgba(250,250,247,.2);
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
  z-index: 2;
  color: var(--white);
}
.carousel-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.carousel-btn:hover { background: rgba(250,250,247,.25); }
.carousel-btn-prev { left: 1.5rem; }
.carousel-btn-next { right: 1.5rem; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  padding: 1.5rem 0 .5rem;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(250,250,247,.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.carousel-dot.is-active {
  background: var(--white);
  transform: scale(1.3);
}
@media (max-width: 768px) {
  .carousel { height: 320px; }
  .gallery-header { padding: 0 1.5rem 2rem; }
}

/* ============================================================
   CUSTOM CALLOUT
   ============================================================ */
.custom-callout {
  background: var(--charcoal);
  padding: 5rem 4rem;
}
.custom-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
}
.custom-callout-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .75rem;
}
.custom-callout-title {
  font-family: 'Fraunces', 'Georgia', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .9rem;
}
.custom-callout-desc {
  font-size: .95rem;
  color: rgba(250,250,247,.65);
  line-height: 1.7;
  max-width: 48ch;
}
.custom-callout-cta { flex-shrink: 0; }
@media (max-width: 768px) {
  .custom-callout { padding: 3.5rem 1.5rem; }
  .custom-callout-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
}

/* Quote callout in contact */
.quote-callout {
  background: var(--beige);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  margin-bottom: 1.8rem;
  border-left: 3px solid var(--terra);
}
.quote-callout p {
  font-size: .95rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.quote-callout p strong { color: var(--terra); }

/* ============================================================
   VALUE STRIP
   ============================================================ */
.value-strip {
  background: var(--beige);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 4rem;
}
.value-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.value-icon {
  width: 40px; height: 40px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--terra);
  box-shadow: 0 2px 8px rgba(44,44,42,.06);
}
.value-icon svg { width: 18px; height: 18px; }
.value-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .2rem;
}
.value-desc {
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .value-strip-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .value-strip { padding: 2.5rem 1.5rem; }
  .value-strip-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   PRODUCTS PAGE — hero strip
   ============================================================ */
.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: calc(var(--nav-h) + 3.5rem) 4rem 3.5rem;
}
.page-hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .75rem;
}
.page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
}
.page-hero-title em { font-style: normal; color: var(--beige); }
.page-hero-desc {
  margin-top: .8rem;
  font-size: .95rem;
  color: rgba(250,250,247,.82);
  max-width: 50ch;
}
/* Category tab nav inside products page */
.cat-tabs {
  display: flex;
  gap: .5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.2rem;
  border-radius: 100px;
  border: 1.5px solid rgba(250,250,247,.2);
  font-size: .82rem;
  font-weight: 500;
  color: rgba(250,250,247,.7);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.cat-tab:hover, .cat-tab.is-active {
  border-color: var(--terra);
  color: var(--white);
  background: rgba(196,113,74,.15);
}
@media (max-width: 768px) {
  .page-hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   FEATURED PRODUCTS (homepage grid)
   ============================================================ */
#featured { background: var(--white); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(44,44,42,.1);
  border-color: var(--terra);
}
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--beige);
  position: relative;
}
.product-card-img img {
  transition: transform .6s var(--ease-out);
}
.product-card:hover .product-card-img img { transform: scale(1.07); }
.product-card-img.no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img.no-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(196,113,74,.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(92,107,74,.15) 0%, transparent 55%);
}
.product-card-body { padding: 1.25rem 1.4rem 1.5rem; }
.product-card-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: .3rem;
}
.product-card-desc {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: .9rem;
}
.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
}
.product-price span { font-size: .75rem; font-weight: 400; color: var(--ink-soft); }
.btn-add {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--moss);
  color: #fff;
  padding: .5rem 1.1rem;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.btn-add:hover { background: var(--terra); transform: scale(1.04); }
.btn-add svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ============================================================
   PRODUCT CATEGORY SECTIONS
   ============================================================ */
.cat-section { background: var(--white); }
.cat-section:nth-of-type(even) { background: var(--beige); }
.cat-section:nth-of-type(even) .product-card { background: var(--white); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--moss); color: var(--white); }
#about .section-eyebrow { color: var(--beige); }
#about .section-eyebrow::before { background: var(--terra); }
#about .section-title { color: var(--white); }
#about .about-text strong { color: #FFD9C0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 780px;
}
.about-img {
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(250,250,247,.75);
  margin-bottom: 1.25rem;
}
.about-text strong { color: var(--terra); font-weight: 600; }
.about-stat {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250,250,247,.12);
}
.about-stat-item { }
.about-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  font-style: italic;
  color: #FFD9C0;
  line-height: 1;
}
.about-stat-label {
  font-size: .8rem;
  color: rgba(250,250,247,.5);
  margin-top: .3rem;
  letter-spacing: .06em;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--beige); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(44,44,42,.06);
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--moss); fill: none; stroke-width: 1.8; }
.contact-info-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .2rem;
}
.contact-info-value {
  font-size: 1rem;
  color: var(--charcoal);
  font-weight: 500;
}
.contact-form { }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin-bottom: .4rem;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--charcoal);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(196,113,74,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--terra);
  color: #fff;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--terra-dk); transform: translateY(-1px); }

/* ============================================================
   CART SIDEBAR
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,44,42,.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
  backdrop-filter: blur(2px);
}
.cart-overlay.is-open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 95vw;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out);
  box-shadow: -16px 0 48px rgba(44,44,42,.12);
}
.cart-sidebar.is-open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--charcoal);
}
.cart-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--beige);
  transition: background .2s;
  cursor: pointer;
}
.cart-close:hover { background: var(--sand); }
.cart-close svg { width: 16px; height: 16px; stroke: var(--charcoal); fill: none; stroke-width: 2; }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.75rem;
}
.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--ink-soft);
}
.cart-empty svg { width: 48px; height: 48px; stroke: var(--sand); fill: none; stroke-width: 1.2; margin: 0 auto 1rem; }
.cart-empty p { font-size: .9rem; }

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--beige);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: 'Fraunces', serif;
  font-size: .95rem;
  font-style: italic;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price { font-size: .85rem; color: var(--ink-soft); margin-top: .2rem; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--charcoal);
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.qty-btn:hover { background: var(--beige); border-color: var(--sand); }
.qty-val { font-size: .9rem; font-weight: 600; min-width: 16px; text-align: center; }
.cart-item-remove {
  color: var(--ink-soft);
  font-size: 1.2rem;
  padding: .25rem;
  cursor: pointer;
  transition: color .15s;
  line-height: 1;
}
.cart-item-remove:hover { color: var(--terra); }

.cart-foot {
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.cart-subtotal-label { font-size: .85rem; color: var(--ink-soft); }
.cart-subtotal-val {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  color: var(--charcoal);
}
.btn-checkout {
  width: 100%;
  padding: 1rem;
  background: var(--terra);
  color: #fff;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-checkout:hover {
  background: var(--terra-dk);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(196,113,74,.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--charcoal);
  border-top: 3px solid var(--terra);
  color: rgba(250,250,247,.5);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
}
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a {
  font-size: .82rem;
  letter-spacing: .06em;
  transition: color .2s;
}
.footer-links a:hover { color: var(--terra); }
.footer-copy { font-size: .78rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img { max-height: 400px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 3rem 1.5rem; }
  .hero-scroll { right: 1.5rem; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .section, .section-sm { padding: 5rem 1.5rem; }
  .section-divider { margin: 0 1.5rem; }

  .featured-grid, .cat-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .about-stat { gap: 1.5rem; flex-wrap: wrap; }

  .footer { padding: 2.5rem 1.5rem; flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .featured-grid, .cat-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
}

/* ============================================================
   TOAST notification
   ============================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--charcoal);
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity .3s, transform .3s var(--ease-out);
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-content {
  max-width: 780px;
  margin: 0 auto;
}
.policy-block {
  border-top: 1px solid var(--beige);
  padding: 2.5rem 0;
}
.policy-block:first-child { border-top: none; padding-top: 0; }
.policy-block h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.policy-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(44,44,42,.75);
  margin-bottom: .85rem;
}
.policy-block p:last-child { margin-bottom: 0; }
.policy-block ul {
  padding-left: 1.4rem;
  margin: .75rem 0 .85rem;
}
.policy-block ul li {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(44,44,42,.75);
  margin-bottom: .35rem;
}
.policy-block a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.policy-block--highlight {
  background: var(--beige);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border-top: none;
  margin: 1rem 0;
}
.policy-block--highlight h2 { color: var(--charcoal); }
