/* =========================================================
   Our Furniture — Stylesheet
   Brand palette (no gradients):
   --espresso  #3B291C  primary
   --caramel   #B98A4B  secondary
   --sage      #65704A  accent
   --beige     #C8B08E  supporting
   --taupe     #8C7A68  light neutral
   --offwhite  #FAF9F6  background
   ========================================================= */

:root {
  --espresso: #3B291C;
  --caramel: #B98A4B;
  --sage: #65704A;
  --beige: #C8B08E;
  --taupe: #8C7A68;
  --offwhite: #FAF9F6;
  --cream: #F2EDE4;
  --cream-dark: #EDE6D8;
  --line: #E0D5C2;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(59, 41, 28, 0.08);
  --shadow-md: 0 6px 20px rgba(59, 41, 28, 0.10);
  --shadow-lg: 0 16px 44px rgba(59, 41, 28, 0.14);
  --radius: 6px;
  --radius-lg: 14px;
  --maxw: 1200px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--espresso); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--caramel); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--espresso); }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--espresso); color: var(--offwhite);
  padding: 10px 18px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--offwhite); }

:focus-visible { outline: 3px solid var(--caramel); outline-offset: 2px; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 14px 28px; border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all 0.25s var(--ease); text-align: center;
  letter-spacing: 0.3px; line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--espresso); color: var(--offwhite); border-color: var(--espresso); }
.btn-primary:hover { background: var(--caramel); border-color: var(--caramel); color: var(--offwhite); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-secondary:hover { background: var(--espresso); color: var(--offwhite); transform: translateY(-2px); }
.btn-sage { background: var(--sage); color: var(--offwhite); border-color: var(--sage); }
.btn-sage:hover { background: #555f3d; border-color: #555f3d; color: var(--offwhite); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--caramel); color: var(--caramel); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 20px; min-height: 76px; padding-top: 8px; padding-bottom: 8px;
}
.logo-link {
  flex-shrink: 0; display: flex; align-items: center;
  padding: 4px 0;
}
.logo-img {
  height: 100%; max-height: 64px; width: auto; max-width: 100%;
  object-fit: contain;
}

.primary-nav { display: flex; }
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px;
}
.nav-link {
  display: block; padding: 10px 14px; font-size: 0.92rem; font-weight: 500;
  color: var(--espresso); border-radius: var(--radius); position: relative;
  letter-spacing: 0.2px;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--caramel); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--caramel); }

.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--espresso);
  border-radius: 50%; transition: background 0.2s var(--ease);
}
.cart-link:hover { background: var(--cream); color: var(--caramel); }
.cart-icon { width: 24px; height: 24px; }
.cart-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--caramel); color: var(--offwhite);
  font-size: 0.7rem; font-weight: 700; line-height: 20px;
  border-radius: 10px; text-align: center;
  border: 2px solid var(--offwhite);
}
.cart-badge[data-count="0"] { display: none; }

.nav-toggle { display: none; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1100;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5); color: #fff; }
.whatsapp-icon { width: 32px; height: 32px; }
.whatsapp-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-pulse { animation: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--espresso); color: var(--offwhite);
  padding: 14px 24px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow-lg); z-index: 1200; opacity: 0;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-espresso { background: var(--espresso); color: var(--offwhite); }
.section-espresso h1, .section-espresso h2, .section-espresso h3 { color: var(--offwhite); }
.section-espresso a { color: var(--beige); }
.section-espresso a:hover { color: var(--caramel); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--caramel);
  margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--taupe); line-height: 1.7; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 64px 0 80px; background: var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero-content { max-width: 540px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--caramel); font-style: italic; }
.hero-tagline {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--taupe); margin-bottom: 24px;
}
.hero-text { font-size: 1.1rem; color: var(--taupe); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--offwhite); padding: 18px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px;
  max-width: 240px;
}
.hero-badge-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--caramel); line-height: 1; }
.hero-badge-text { font-size: 0.82rem; color: var(--taupe); line-height: 1.4; }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cat-card {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--beige); color: var(--espresso); }
.cat-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-body { padding: 18px 20px 22px; }
.cat-card-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin: 0 0 4px; }
.cat-card-tag { font-size: 0.85rem; color: var(--taupe); margin: 0; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card-cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.product-card-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 0 0 6px; }
.product-card-name a { color: var(--espresso); }
.product-card-name a:hover { color: var(--caramel); }
.product-card-desc { font-size: 0.9rem; color: var(--taupe); margin: 0 0 18px; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--espresso); white-space: nowrap; }
.product-price small { font-size: 0.7rem; font-weight: 500; color: var(--taupe); display: block; }
.product-card-actions { display: flex; gap: 8px; }
.featured-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--caramel); color: var(--offwhite);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 20px;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px;
  padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.filter-chip {
  display: inline-block; padding: 9px 18px; font-size: 0.85rem; font-weight: 500;
  border: 1.5px solid var(--line); border-radius: 30px; color: var(--espresso);
  background: var(--offwhite); cursor: pointer; transition: all 0.2s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.filter-chip:hover { border-color: var(--caramel); color: var(--caramel); }
.filter-chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--offwhite); }
.filter-count { font-size: 0.8rem; color: var(--taupe); margin-left: auto; align-self: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--cream); padding: 56px 0 48px; text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--taupe); font-size: 1.08rem; }
.breadcrumb { font-size: 0.82rem; color: var(--taupe); margin-bottom: 18px; }
.breadcrumb a { color: var(--taupe); }
.breadcrumb a:hover { color: var(--caramel); }
.breadcrumb span { margin: 0 8px; color: var(--beige); }

/* ---------- Feature row ---------- */
.feature-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.feature-item { text-align: center; }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--cream); display: flex; align-items: center; justify-content: center;
  color: var(--caramel);
}
.feature-item h3 { margin-bottom: 8px; }
.feature-item p { color: var(--taupe); font-size: 0.95rem; margin: 0; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-content p { color: var(--taupe); font-size: 1.05rem; line-height: 1.75; }

/* ---------- Values list ---------- */
.values-list { list-style: none; padding: 0; margin: 24px 0 0; }
.values-list li {
  display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.values-list li:last-child { border-bottom: none; }
.values-list .val-num {
  flex-shrink: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  color: var(--caramel); width: 40px; line-height: 1;
}
.values-list h4 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 4px; }
.values-list p { margin: 0; color: var(--taupe); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { aspect-ratio: 4 / 3; }
.gallery-item.tall img { aspect-ratio: 4 / 6.2; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 32px;
}
.contact-info-card h3 { margin-bottom: 20px; }
.contact-detail { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--offwhite); display: flex; align-items: center; justify-content: center; color: var(--caramel); }
.contact-detail-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--taupe); }
.contact-detail-value { font-size: 1.05rem; font-weight: 500; color: var(--espresso); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--espresso); }
.form-group label .req { color: var(--caramel); }
.form-control {
  width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: 0.95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--offwhite);
  color: var(--espresso); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-control:focus { outline: none; border-color: var(--caramel); box-shadow: 0 0 0 3px rgba(185, 138, 75, 0.15); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: 0.9rem; font-weight: 500; }
.form-msg.success { background: rgba(101, 112, 74, 0.12); color: var(--sage); border: 1px solid rgba(101, 112, 74, 0.3); }
.form-msg.error { background: rgba(185, 86, 75, 0.1); color: #b94b3f; border: 1px solid rgba(185, 86, 75, 0.3); }

/* ---------- Product detail ---------- */
.product-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.product-detail-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--cream); }
.product-detail-img img { width: 100%; }
.product-detail-info .product-card-cat { font-size: 0.8rem; margin-bottom: 12px; }
.product-detail-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.product-detail-price { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--espresso); margin: 0 0 24px; }
.product-detail-price small { font-size: 0.85rem; font-weight: 500; color: var(--taupe); display: block; }
.product-detail-desc { color: var(--taupe); font-size: 1.05rem; line-height: 1.75; margin-bottom: 28px; }
.detail-list { list-style: none; padding: 0; margin: 0 0 32px; }
.detail-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: 0.95rem; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 2px; background: var(--caramel); }
.detail-list li:last-child { border-bottom: none; }
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-label { font-weight: 600; font-size: 0.9rem; }
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 40px; height: 42px; border: none; background: var(--offwhite); font-size: 1.2rem; color: var(--espresso); cursor: pointer; transition: background 0.2s var(--ease); }
.qty-btn:hover { background: var(--cream); color: var(--caramel); }
.qty-input { width: 52px; height: 42px; border: none; text-align: center; font-size: 1rem; font-weight: 600; color: var(--espresso); background: var(--white); }
.qty-input:focus { outline: none; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px;
}
.cart-item-img { width: 110px; height: 82px; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h3 { font-size: 1.15rem; margin: 0 0 4px; }
.cart-item-cat { font-size: 0.75rem; color: var(--sage); text-transform: uppercase; letter-spacing: 1px; }
.cart-item-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.cart-item-remove { font-size: 0.82rem; color: var(--taupe); background: none; border: none; cursor: pointer; padding: 4px 0; }
.cart-item-remove:hover { color: #b94b3f; }
.cart-summary {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
  position: sticky; top: 100px;
}
.cart-summary h3 { margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; color: var(--taupe); }
.summary-row.total { border-top: 2px solid var(--espresso); margin-top: 10px; padding-top: 16px; font-size: 1.3rem; font-weight: 700; color: var(--espresso); font-family: var(--serif); }
.summary-note { font-size: 0.82rem; color: var(--taupe); margin: 16px 0 22px; line-height: 1.5; }
.cart-empty { text-align: center; padding: 64px 20px; }
.cart-empty-icon { width: 72px; height: 72px; margin: 0 auto 24px; color: var(--beige); }
.cart-empty h2 { margin-bottom: 12px; }
.cart-empty p { color: var(--taupe); margin-bottom: 28px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--espresso); color: var(--offwhite);
  padding: 64px 0; text-align: center;
}
.cta-banner h2 { color: var(--offwhite); margin-bottom: 16px; }
.cta-banner p { color: var(--beige); font-size: 1.1rem; max-width: 520px; margin: 0 auto 32px; }
.cta-banner .btn-primary { background: var(--caramel); border-color: var(--caramel); }
.cta-banner .btn-primary:hover { background: var(--offwhite); border-color: var(--offwhite); color: var(--espresso); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--espresso); color: var(--beige);
  margin-top: auto; position: relative;
}
.footer-accent {
  height: 4px; background: var(--caramel);
  width: 100%;
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.4fr; gap: 48px;
  padding: 56px 0 48px;
}

/* Brand column */
.footer-brand .footer-logo {
  height: 44px; width: auto; margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-blurb {
  font-size: 0.88rem; line-height: 1.65; color: var(--taupe);
  margin: 0 0 14px; max-width: 320px;
}
.footer-tagline-line {
  font-family: var(--serif); font-size: 1.1rem; font-style: italic;
  color: var(--beige); margin: 0 0 22px; letter-spacing: 0.3px;
}
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 11px 22px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.2px;
  transition: all 0.25s var(--ease); text-decoration: none;
}
.footer-wa-btn:hover {
  background: #1da851; color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}
.footer-wa-btn svg { flex-shrink: 0; }

/* Link columns */
.footer-heading {
  color: var(--offwhite); font-size: 0.82rem; font-weight: 700;
  margin: 0 0 20px; font-family: var(--sans);
  letter-spacing: 2px; text-transform: uppercase;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  color: var(--taupe); font-size: 0.9rem; font-weight: 400;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  display: inline-block;
}
.footer-links a:hover { color: var(--caramel); padding-left: 4px; }

/* Contact column */
.footer-contact-col { display: flex; flex-direction: column; }
.footer-contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.footer-contact-list li { margin-bottom: 14px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
  transition: opacity 0.2s var(--ease);
}
a.footer-contact-item:hover { opacity: 0.85; }
.footer-contact-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(185, 138, 75, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--caramel); transition: background 0.2s var(--ease);
}
a.footer-contact-item:hover .footer-contact-icon { background: rgba(185, 138, 75, 0.25); }
.footer-contact-icon-wa { background: rgba(37, 211, 102, 0.15); color: #25D366; }
a.footer-contact-item:hover .footer-contact-icon-wa { background: rgba(37, 211, 102, 0.25); }
.footer-contact-text { display: flex; flex-direction: column; gap: 1px; }
.footer-contact-label {
  font-size: 0.72rem; color: var(--taupe);
  text-transform: uppercase; letter-spacing: 1px;
}
.footer-contact-value {
  font-size: 0.92rem; color: var(--offwhite); font-weight: 500;
}
.footer-inquiry-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--caramel);
  border: 1.5px solid var(--caramel);
  padding: 10px 20px; border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.2px;
  transition: all 0.25s var(--ease); text-decoration: none;
  align-self: flex-start;
}
.footer-inquiry-btn:hover {
  background: var(--caramel); color: var(--espresso);
  transform: translateY(-2px);
}
.footer-inquiry-btn span { transition: transform 0.25s var(--ease); }
.footer-inquiry-btn:hover span { transform: translateX(4px); }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(250, 249, 246, 0.10);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--taupe);
}
.footer-made { color: var(--beige); }

/* Ensure WhatsApp float doesn't overlap footer bottom on mobile */
@media (max-width: 768px) {
  .footer-bottom { padding-bottom: 72px; }
  .footer-grid { padding: 40px 0 36px; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
  .footer-brand .footer-logo { height: 38px; }
  .footer-wa-btn { padding: 10px 18px; font-size: 0.85rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { text-align: left; }
  .footer-brand .footer-logo { height: 36px; }
  .footer-contact-item { gap: 10px; }
  .footer-contact-icon { width: 34px; height: 34px; }
}
@media (max-width: 400px) {
  .footer-brand .footer-logo { height: 32px; }
  .footer-wa-btn { width: 100%; justify-content: center; }
  .footer-inquiry-btn { width: 100%; justify-content: center; }
}

/* ---------- Kitchen page ---------- */
.kitchen-hero {
  background: var(--espresso); color: var(--offwhite); padding: 80px 0;
}
.kitchen-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.kitchen-hero h1 { color: var(--offwhite); }
.kitchen-hero .eyebrow { color: var(--caramel); }
.kitchen-hero p { color: var(--beige); font-size: 1.1rem; line-height: 1.75; }
.kitchen-hero-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.kitchen-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.kitchen-feature { display: flex; gap: 14px; align-items: flex-start; }
.kitchen-feature-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(185, 138, 75, 0.2); display: flex; align-items: center; justify-content: center; color: var(--caramel); }
.kitchen-feature h4 { color: var(--offwhite); margin: 0 0 4px; font-size: 1.1rem; }
.kitchen-feature p { margin: 0; font-size: 0.9rem; color: var(--beige); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--caramel);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--caramel);
}
.step h4 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--taupe); margin: 0; }

/* ---------- Responsive ---------- */

/* --- Tablet and small desktop (≤1024px) --- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; max-width: 520px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-img { max-width: 560px; margin: 0 auto; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .kitchen-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
  /* Mobile nav */
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer;
    padding: 0; order: 3;
  }
  .nav-toggle-bar { width: 26px; height: 2.5px; background: var(--espresso); border-radius: 2px; transition: all 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    height: 100vh; height: 100dvh;
    width: min(300px, 82vw);
    background: var(--offwhite); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    padding: 72px 20px 24px; z-index: 999; overflow-y: auto;
    flex-direction: column;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-list {
    flex-direction: column; gap: 0;
    flex: 1; display: flex; flex-direction: column;
    justify-content: flex-start;
  }
  .nav-link {
    padding: 16px 12px; font-size: 1.05rem;
    border-bottom: 1px solid var(--line); border-radius: 0;
    min-height: 52px; display: flex; align-items: center;
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { background: var(--cream); }

  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(59, 41, 28, 0.4); z-index: 998;
    opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
  }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }

  .logo-img { max-height: 48px; }
  .header-inner { min-height: 60px; padding-top: 6px; padding-bottom: 6px; }
  .cart-link { order: 2; width: 40px; height: 40px; }
  .cart-icon { width: 22px; height: 22px; }

  /* Reduce section padding */
  .section { padding: 44px 0; }
  .section-lg { padding: 56px 0; }
  .section-sm { padding: 32px 0; }
  .hero { padding: 32px 0 48px; }
  .page-hero { padding: 40px 0 32px; }
  .kitchen-hero { padding: 48px 0; }
  .cta-banner { padding: 48px 0; }

  /* Feature row → single column */
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Hero adjustments */
  .hero-badge { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-text { font-size: 1rem; }

  /* Product detail */
  .order-actions { flex-direction: column; }
  .order-actions .btn { width: 100%; }
  .product-detail-price { font-size: 1.7rem; }

  /* Kitchen features → single column */
  .kitchen-features { grid-template-columns: 1fr; gap: 18px; }

  /* Filter bar → horizontal scroll */
  .filter-bar {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 10px 12px; gap: 8px;
    margin-left: -16px; margin-right: -16px;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; padding: 10px 16px; font-size: 0.85rem; }
  .filter-count { flex-shrink: 0; margin-left: auto; padding-right: 4px; }

  /* Cart items → compact layout */
  .cart-item {
    grid-template-columns: 80px 1fr; gap: 14px; padding: 14px;
  }
  .cart-item-img { width: 80px; height: 64px; }
  .cart-item-info h3 { font-size: 1rem; }
  .cart-item-price { grid-column: 2; font-size: 1.1rem; }
  .cart-item-controls { flex-wrap: wrap; gap: 8px; }
  .cart-item-remove { padding: 8px 4px; font-size: 0.82rem; min-height: 36px; }

  /* Form cards → reduce padding */
  .form-card { padding: 24px 20px; }
  .contact-info-card { padding: 24px 20px; }

  /* WhatsApp float → slightly smaller, safe-area aware */
  .whatsapp-float {
    width: 52px; height: 52px; bottom: 16px; right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .whatsapp-icon { width: 28px; height: 28px; }

  /* Product card adjustments for 2-col mobile */
  .product-card-body { padding: 16px; }
  .product-card-name { font-size: 1.1rem; }
  .product-card-desc { font-size: 0.85rem; -webkit-line-clamp: 2; }
  .product-price { font-size: 1.15rem; }
  .product-card-foot { flex-wrap: wrap; gap: 8px; }
  .product-card-actions { width: 100%; }
  .product-card-actions .btn { width: 100%; }

  /* Cat card */
  .cat-card-body { padding: 14px 16px 16px; }
  .cat-card-name { font-size: 1.1rem; }

  /* Steps → 2 per row */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .step-num { width: 48px; height: 48px; font-size: 1.3rem; }

  /* Split section */
  .split { gap: 28px; }
  .split-content p { font-size: 1rem; }

  /* Toast → above WhatsApp button */
  .toast { bottom: 80px; font-size: 0.85rem; padding: 12px 20px; }

  /* Detail list */
  .detail-list li { padding: 8px 0 8px 24px; font-size: 0.92rem; }

  /* Qty controls → bigger touch targets */
  .qty-btn { width: 44px; height: 44px; }
  .qty-input { width: 48px; height: 44px; }

  /* Section head */
  .section-head { margin-bottom: 32px; }

  /* Prevent iOS zoom on input focus */
  .form-control { font-size: 16px; }
}

/* --- Small mobile (≤600px) --- */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  /* Product & cat grids → 2 per row to reduce scroll debt */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.tall img { aspect-ratio: 4 / 3; }

  /* Tighter product cards for 2-col */
  .product-card-body { padding: 12px; }
  .product-card-name { font-size: 1rem; margin: 0 0 4px; }
  .product-card-desc { display: none; }
  .product-card-cat { font-size: 0.65rem; margin-bottom: 4px; }
  .product-price { font-size: 1rem; }
  .product-price small { font-size: 0.62rem; }
  .product-card-actions .btn { padding: 8px 10px; font-size: 0.78rem; }
  .featured-tag { font-size: 0.6rem; padding: 3px 8px; top: 10px; left: 10px; }

  /* Cat card tighter */
  .cat-card-body { padding: 10px 12px 12px; }
  .cat-card-name { font-size: 0.95rem; }
  .cat-card-tag { font-size: 0.76rem; }

  /* Kitchen features → 1 col */
  .kitchen-features { grid-template-columns: 1fr; }

  /* Hero text */
  .hero-tagline { font-size: 0.75rem; margin-bottom: 16px; }
  .hero-text { font-size: 0.95rem; margin-bottom: 24px; }

  /* Page hero */
  .page-hero p { font-size: 0.95rem; }
  .breadcrumb { font-size: 0.76rem; }

  /* Product detail */
  .product-detail-info h1 { font-size: 1.6rem; }
  .product-detail-desc { font-size: 0.95rem; }

  /* Cart summary */
  .cart-summary { padding: 20px 16px; }
  .cart-summary h3 { font-size: 1.2rem; }

  /* CTA banner */
  .cta-banner h2 { font-size: 1.5rem; }
  .cta-banner p { font-size: 0.95rem; }

  /* Section heads */
  .section-head h2 { font-size: 1.5rem; }
  .eyebrow { font-size: 0.72rem; letter-spacing: 2px; }
  .lead { font-size: 0.95rem; }

  /* Values list */
  .values-list .val-num { font-size: 1.3rem; width: 32px; }
  .values-list h4 { font-size: 1.05rem; }
  .values-list p { font-size: 0.9rem; }

  /* Kitchen hero */
  .kitchen-hero h1 { font-size: 1.8rem; }
  .kitchen-hero p { font-size: 0.95rem; }
  .kitchen-feature h4 { font-size: 1rem; }
  .kitchen-feature p { font-size: 0.85rem; }

  /* Steps */
  .step h4 { font-size: 1rem; }
  .step p { font-size: 0.82rem; }
}

/* --- Very small mobile (≤400px) --- */
@media (max-width: 400px) {
  .container { padding: 0 12px; }

  /* Product cards: hide description entirely, ultra-compact */
  .product-card-body { padding: 10px; }
  .product-card-name { font-size: 0.9rem; }
  .product-price { font-size: 0.95rem; }
  .product-price small { display: none; }
  .product-card-actions .btn { padding: 7px 8px; font-size: 0.75rem; }

  /* Cat cards */
  .cat-card-name { font-size: 0.85rem; }
  .cat-card-tag { font-size: 0.7rem; }

  /* Hero */
  .hero h1 { font-size: 1.8rem; }

  /* Gallery gap */
  .gallery-grid { gap: 8px; }

  /* Cart item thumb smaller */
  .cart-item { grid-template-columns: 64px 1fr; gap: 10px; padding: 12px; }
  .cart-item-img { width: 64px; height: 56px; }

  /* Steps → 1 per row on very small screens */
  .steps { grid-template-columns: 1fr; }

  /* Filter chips tighter */
  .filter-chip { padding: 8px 12px; font-size: 0.8rem; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
