/* ============================================================
   MAISON DÉCOR — DESIGN SYSTEM
   Aesthetic: Quiet luxury. Warm stone tones. Editorial editorial space.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── TOKENS ── */
:root {
  --cream: #F5F0E8;
  --warm-white: #FAFAF7;
  --stone: #E8E0D0;
  --sand: #C9B99A;
  --terracotta: #C17B5A;
  --deep-brown: #2C1F14;
  --charcoal: #3D3530;
  --warm-grey: #8A7F78;
  --gold: #B8960C;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --nav-h: 76px;
  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; object-fit: contain ; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select { font-family: var(--font-body); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
.display-xl { font-size: clamp(3rem, 6vw, 6rem); font-weight: 300; letter-spacing: -0.02em; }
.display-lg { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; }
.display-md { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.label { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; }
.body-sm { font-size: 13px; line-height: 1.65; }

/* ── LAYOUT HELPERS ── */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 185, 154, 0.3);
  display: flex; align-items: center;
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 40px rgba(44, 31, 20, 0.08); }
.nav-inner {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--deep-brown);
}
.nav-logo span { color: var(--terracotta); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--charcoal); transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); }

.nav-icons { display: flex; gap: 20px; align-items: center; }
.nav-icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background var(--transition);
  color: var(--charcoal);
}
.nav-icon-btn:hover { background: var(--stone); }
.nav-icon-btn svg { width: 20px; height: 20px; }
.cart-badge, .wishlist-badge {
  position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--terracotta); color: white;
  font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  display: none;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px 80px 80px;
  background: var(--cream);
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.hero-eyebrow .line { width: 40px; height: 1px; background: var(--terracotta); }
.hero-eyebrow span { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--deep-brown);
  margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--terracotta); }
.hero-desc { max-width: 420px; color: var(--warm-grey); margin-bottom: 48px; font-size: 16px; line-height: 1.8; }
.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 8s ease; }
.hero-image:hover img { transform: scale(1.04); }
.hero-image-overlay {
  position: absolute; bottom: 32px; left: 32px;
  background: rgba(250, 250, 247, 0.9);
  backdrop-filter: blur(8px);
  padding: 20px 24px; border-radius: var(--radius);
  border-left: 3px solid var(--terracotta);
}
.hero-image-overlay .label { color: var(--terracotta); margin-bottom: 4px; }
.hero-image-overlay p { font-family: var(--font-display); font-size: 18px; color: var(--deep-brown); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
  transition: all var(--transition);
  border-radius: var(--radius);
  cursor: pointer;
}
.btn-primary {
  background: var(--deep-brown); color: var(--cream);
  border: 1px solid var(--deep-brown);
}
.btn-primary:hover { background: var(--charcoal); border-color: var(--charcoal); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(44,31,20,0.2); }
.btn-outline {
  background: transparent; color: var(--deep-brown);
  border: 1px solid var(--deep-brown);
}
.btn-outline:hover { background: var(--deep-brown); color: var(--cream); }
.btn-terracotta {
  background: var(--terracotta); color: white;
  border: 1px solid var(--terracotta);
}
.btn-terracotta:hover { background: #a66548; border-color: #a66548; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(193,123,90,0.35); }
.btn-ghost {
  background: transparent; color: var(--charcoal);
  border: 1px solid var(--stone);
}
.btn-ghost:hover { border-color: var(--sand); background: var(--stone); }
.btn-whatsapp {
  background: #25D366; color: white;
  border: 1px solid #25D366;
  font-size: 13px; letter-spacing: 0.08em; padding: 16px 36px;
}
.btn-whatsapp:hover { background: #128C7E; border-color: #128C7E; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.3); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}
.product-card {
  position: relative;
  background: var(--warm-white);
  transition: transform var(--transition);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); }
.product-card-image {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; background: var(--stone);
}
.product-card-image img { transition: transform 0.6s ease; }
.product-card:hover .product-card-image img { transform: scale(1.06); }

.product-badge {
  position: absolute; top: 16px; left: 16px;
  padding: 5px 12px;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  background: var(--deep-brown); color: var(--cream);
  border-radius: var(--radius);
}
.product-badge.sold-out { background: var(--warm-grey); }
.product-badge.limited { background: var(--terracotta); }
.product-badge.new { background: var(--gold); }

.wishlist-btn {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,250,247,0.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  border: none; cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn:hover { transform: scale(1.15); }
.wishlist-btn svg { width: 18px; height: 18px; transition: all 0.2s; }
.wishlist-btn.active svg { fill: var(--terracotta); stroke: var(--terracotta); }

.product-card-info { padding: 20px 4px 0; }
.product-category { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 8px; }
.product-name { font-family: var(--font-display); font-size: 20px; color: var(--deep-brown); margin-bottom: 12px; line-height: 1.3; }
.product-price { font-size: 16px; font-weight: 500; color: var(--charcoal); }
.product-price.sold-out { color: var(--warm-grey); }
.original-price { font-size: 16px; font-weight: 500; color: var(--charcoal); }
.original-price.sold-out { color: var(--warm-grey); }

.card-actions {
  margin-top: 16px; display: flex; gap: 10px;
}
.btn-add-cart {
  flex: 1; padding: 11px 16px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  background: var(--deep-brown); color: var(--cream);
  border: 1px solid var(--deep-brown);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-add-cart:hover { background: var(--terracotta); border-color: var(--terracotta); }
.btn-add-cart.added { background: #4a7c59; border-color: #4a7c59; }
.btn-add-cart:disabled { background: var(--stone); color: var(--warm-grey); border-color: var(--stone); cursor: not-allowed; }

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .label { color: var(--terracotta); margin-bottom: 16px; display: block; }
.section-header h2 { color: var(--deep-brown); }

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--deep-brown); color: var(--cream);
  padding: 16px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 64px; animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 24px; white-space: nowrap;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--terracotta); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── CATEGORIES ── */
.categories-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
  background: var(--stone);
}
.category-card img { transition: transform 0.6s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,31,20,0.7) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 24px;
}
.category-name { font-family: var(--font-display); font-size: 22px; color: white; font-weight: 300; }
.category-count { font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.1em; }

/* ── STORY SECTION ── */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.story-image { position: relative; }
.story-image img { aspect-ratio: 4/5; }
.story-image-accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 50%; aspect-ratio: 1;
  border: 8px solid var(--warm-white);
  overflow: hidden;
}
.story-text .label { color: var(--terracotta); margin-bottom: 20px; display: block; }
.story-text h2 { color: var(--deep-brown); margin-bottom: 28px; }
.story-text p { color: var(--warm-grey); margin-bottom: 20px; line-height: 1.85; }
.story-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat-num { font-family: var(--font-display); font-size: 48px; font-weight: 300; color: var(--terracotta); display: block; }
.stat-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); }

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--cream); border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone);
}
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.feature-item {
  padding: 48px 36px; border-right: 1px solid var(--stone);
  text-align: center;
}
.feature-item:last-child { border-right: none; }
.feature-icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--terracotta); }
.feature-title { font-family: var(--font-display); font-size: 18px; color: var(--deep-brown); margin-bottom: 8px; }
.feature-desc { font-size: 13px; color: var(--warm-grey); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.testimonial-card {
  background: var(--cream); padding: 36px;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  position: relative;
}
.testimonial-quote {
  font-family: var(--font-display); font-size: 18px; font-style: italic;
  color: var(--deep-brown); line-height: 1.7; margin-bottom: 24px;
}
.testimonial-stars { color: var(--gold); margin-bottom: 8px; }
.testimonial-author { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--deep-brown); text-align: center;
  padding: 80px 32px;
}
.newsletter-section h2 { color: var(--cream); margin-bottom: 16px; }
.newsletter-section p { color: var(--sand); margin-bottom: 40px; }
.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 16px 24px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 14px; outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-submit {
  padding: 16px 28px; background: var(--terracotta);
  color: white; border: none; cursor: pointer;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background var(--transition);
}
.newsletter-submit:hover { background: #a66548; }

/* ── FOOTER ── */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--stone);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-family: var(--font-display); font-size: 28px; color: var(--deep-brown); margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; color: var(--warm-grey); line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-family: var(--font-display); font-size: 16px; color: var(--deep-brown); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: var(--warm-grey); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--terracotta); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--stone);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--warm-grey);
}

/* ── CART SIDEBAR ── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(44,31,20,0.5); z-index: 2000;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: -480px; width: 480px; max-width: 100vw;
  height: 100vh; height: 100dvh;
  background: var(--warm-white);
  z-index: 2001; transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(44,31,20,0.15);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  padding: 28px 32px 24px; border-bottom: 1px solid var(--stone);
  display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
}
.cart-drawer-title { font-family: var(--font-display); font-size: 24px; color: var(--deep-brown); }
.cart-close-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--stone); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition); }
.cart-close-btn:hover { background: var(--sand); }
.cart-close-btn svg { width: 16px; height: 16px; }
.cart-items { flex: 1; overflow-y: auto; padding: 24px 32px; -webkit-overflow-scrolling: touch; }
.cart-item {
  display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--stone);
}
.cart-item-image { width: 90px; height: 110px; flex-shrink: 0; overflow: hidden; background: var(--stone); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-display); font-size: 17px; color: var(--deep-brown); margin-bottom: 4px; }
.cart-item-category { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 12px; }
.qty-controls { display: flex; align-items: center; gap: 0; border: 1px solid var(--stone); width: fit-content; }
.qty-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: none; border: none; font-size: 16px; color: var(--charcoal); transition: background var(--transition); }
.qty-btn:hover { background: var(--stone); }
.qty-num { width: 36px; text-align: center; font-size: 14px; border-left: 1px solid var(--stone); border-right: 1px solid var(--stone); line-height: 32px; }
.cart-item-price { font-size: 15px; font-weight: 500; color: var(--charcoal); margin-top: 8px; }
.cart-item-remove { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-grey); cursor: pointer; margin-top: 8px; display: inline-block; border-bottom: 1px solid transparent; transition: all var(--transition); }
.cart-item-remove:hover { color: var(--terracotta); border-color: var(--terracotta); }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty-icon { width: 60px; height: 60px; margin: 0 auto 20px; opacity: 0.3; }
.cart-empty h3 { font-family: var(--font-display); font-size: 22px; color: var(--deep-brown); margin-bottom: 8px; }
.cart-empty p { font-size: 13px; color: var(--warm-grey); }
.cart-footer {
  padding: 24px 32px; border-top: 1px solid var(--stone); flex-shrink: 0;
  background: var(--cream);
  padding-bottom: max(24px, calc(24px + env(safe-area-inset-bottom)));
}
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cart-subtotal-label { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-grey); }
.cart-subtotal-amount { font-family: var(--font-display); font-size: 22px; color: var(--deep-brown); }
.stock-msg { font-size: 12px; color: var(--terracotta); margin-top: 6px; display: none; }
.stock-msg.show { display: block; }

/* ── SHOP PAGE ── */
.shop-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--cream);
  text-align: center;
}
.shop-controls {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid var(--stone);
}
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 20px; border-radius: 100px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--stone); color: var(--warm-grey);
  cursor: pointer; transition: all var(--transition);
  background: none;
}
.filter-tab:hover { border-color: var(--sand); color: var(--charcoal); }
.filter-tab.active { background: var(--deep-brown); color: var(--cream); border-color: var(--deep-brown); }
.sort-select {
  padding: 10px 20px; border: 1px solid var(--stone); background: white;
  font-size: 13px; color: var(--charcoal); outline: none; cursor: pointer;
  border-radius: var(--radius);
}

/* ── PRODUCT DETAIL ── */
.product-detail { padding-top: var(--nav-h); min-height: 100vh; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--nav-h)); }
.product-gallery { position: relative; background: var(--stone); }
.gallery-main { width: 100%; height: 70vh; position: sticky; top: var(--nav-h); overflow: hidden; }
/* Update the main product view */
.gallery-main img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; /* Change from cover to contain */
  transition: opacity 0.3s; 
}
.gallery-thumbs { display: flex; gap: 8px; padding: 16px; background: var(--cream); }
.gallery-thumb {
  width: 70px; height: 70px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: border-color var(--transition); flex-shrink: 0;
}
.gallery-thumb.active { border-color: var(--terracotta); }
/* Update the thumbnails at the bottom */
.gallery-thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; /* Change from cover to contain */
}
.product-detail-info { padding: 64px 60px; overflow-y: auto; }
.product-breadcrumb { font-size: 12px; color: var(--warm-grey); margin-bottom: 32px; letter-spacing: 0.08em; }
.product-breadcrumb a { transition: color var(--transition); }
.product-breadcrumb a:hover { color: var(--terracotta); }
.product-detail-name { font-family: var(--font-display); font-size: 42px; color: var(--deep-brown); font-weight: 300; margin-bottom: 12px; line-height: 1.2; }
.product-detail-price { font-size: 26px; font-weight: 500; color: var(--charcoal); margin-bottom: 24px; }
.product-divider { height: 1px; background: var(--stone); margin: 28px 0; }
.product-detail-desc { color: var(--warm-grey); line-height: 1.9; margin-bottom: 28px; font-size: 15px; }
.product-detail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.meta-item .meta-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 4px; }
.meta-item .meta-val { font-size: 14px; color: var(--charcoal); }
.stock-indicator { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #4a7c59; }
.stock-dot.low { background: #c17b5a; }
.stock-dot.out { background: var(--warm-grey); }
.stock-label { font-size: 13px; color: var(--charcoal); }
.detail-qty-row { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.detail-qty-row .qty-controls { border-color: var(--sand); }
.detail-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-detail-cart { width: 100%; padding: 16px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; background: var(--deep-brown); color: var(--cream); border: 1px solid var(--deep-brown); border-radius: var(--radius); transition: all var(--transition); cursor: pointer; }
.btn-detail-cart:hover { background: var(--terracotta); border-color: var(--terracotta); }
.btn-detail-cart.added { background: #4a7c59; border-color: #4a7c59; }
.btn-detail-cart:disabled { background: var(--stone); color: var(--warm-grey); border-color: var(--stone); cursor: not-allowed; }
.btn-detail-wish { width: 100%; padding: 16px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; background: transparent; color: var(--charcoal); border: 1px solid var(--stone); border-radius: var(--radius); transition: all var(--transition); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-detail-wish:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-detail-wish svg { width: 18px; height: 18px; }
.btn-detail-wish.active svg { fill: var(--terracotta); stroke: var(--terracotta); }

/* ── CART PAGE ── */
.page-main { padding-top: calc(var(--nav-h) + 60px); min-height: 100vh; }
.cart-page-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.cart-page-items { }
.cart-page-item {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--stone); align-items: flex-start;
}
.cart-page-image { width: 110px; height: 130px; flex-shrink: 0; overflow: hidden; background: var(--stone); }
.cart-page-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-page-info { flex: 1; }
.cart-page-name { font-family: var(--font-display); font-size: 20px; color: var(--deep-brown); margin-bottom: 4px; }
.cart-page-cat { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 16px; }
.cart-page-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 16px; }
.cart-page-price { font-family: var(--font-display); font-size: 22px; color: var(--deep-brown); }
.order-summary {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: var(--cream); padding: 36px; border: 1px solid var(--stone);
}
.order-summary h3 { font-family: var(--font-display); font-size: 22px; color: var(--deep-brown); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--stone); }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; color: var(--warm-grey); }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--stone); margin-top: 8px; }
.summary-total-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; }
.summary-total-amount { font-family: var(--font-display); font-size: 28px; color: var(--deep-brown); }

/* ── WISHLIST PAGE ── */
.wishlist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px; }

/* ── CHECKOUT PAGE ── */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--deep-brown); color: var(--cream);
  padding: 16px 28px; border-radius: var(--radius);
  font-size: 13px; letter-spacing: 0.06em;
  box-shadow: 0 20px 60px rgba(44,31,20,0.3);
  z-index: 9999; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.toast-warning { background: var(--terracotta); }

/* ── EMPTY STATES ── */
.empty-state { text-align: center; padding: 100px 32px; }
.empty-state-icon { width: 64px; height: 64px; margin: 0 auto 24px; opacity: 0.25; }
.empty-state h2 { font-family: var(--font-display); font-size: 32px; color: var(--deep-brown); margin-bottom: 12px; }
.empty-state p { color: var(--warm-grey); margin-bottom: 32px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 60px 40px; }
  .hero-image { height: 60vw; min-height: 400px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-page-grid, .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .gallery-main { height: 70vw; position: relative; top: 0; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-content { padding: 48px 24px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-detail-info { padding: 32px 24px; }
  .cart-page-item { flex-direction: column; }
  .cart-page-image { width: 100%; height: 200px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.8rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
}

.nav-logo {
  display: flex;         /* Forces side-by-side layout */
  align-items: center;   /* Perfectly centers them vertically */
  text-decoration: none; /* Removes underline */
  gap: 15px;             /* Space between the word and the logo */
}

.logo-text {
  font-family: 'serif';  /* Use your specific brand font here */
  font-size: 2rem;       /* Matches the scale in your screenshot */
  color: #2D2926;        /* Matches your dark brand color */
}
.logo-img {
    height: 40px; /* Make it slightly smaller for better scale */
    mix-blend-mode: multiply; /* This removes the white background box */
    filter: contrast(110%); /* Makes the icon pure black to match the text */
    opacity: 0.8; /* Softens it slightly so it doesn't look too heavy */
}
@media (max-width: 768px) {
  .cart-drawer {
    width: 100vw;
    right: -100vw;
  }
  .cart-drawer.open { right: 0; }
}
