/* ─── NAV ICONS ─── */
.nav-icon-btn {
  background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--charcoal, #1a0e06); display: flex; align-items: center; justify-content: center;
  position: relative; transition: color 0.2s; text-decoration: none;
}
.nav-icon-btn:hover { color: #C1583A; }
.nav-icon-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge {
  position: absolute; top: 0; right: 0;
  background: #C1583A; color: #fff;
  font-size: 9px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.cart-badge.visible { opacity: 1; }
/* Hide old WhatsApp button if still present */
.nav-wa, .nav-whatsapp { display: none !important; }

/* ─── SEARCH OVERLAY ─── */
.search-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(249,243,232,0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: 120px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-overlay-inner { width: 100%; max-width: 560px; padding: 0 24px; }
.search-input-wrap { position: relative; border-bottom: 2px solid #1a0e06; }
.search-input {
  width: 100%; background: none; border: none; outline: none;
  font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600;
  color: #1a0e06; padding: 12px 48px 12px 0; letter-spacing: 0.02em;
}
.search-input::placeholder { color: rgba(50,30,20,0.35); }
.search-close {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 24px; color: #1a0e06;
}
.search-results { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.search-result-item {
  display: flex; gap: 16px; align-items: center; padding: 12px;
  background: #f5ede0; border: 1px solid #e8ddd0; cursor: pointer;
  transition: border-color 0.2s; text-decoration: none; color: #1a0e06;
}
.search-result-item:hover { border-color: #C1583A; }
.search-result-item img { width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; }
.search-result-info h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.search-result-info p { font-size: 13px; color: #7a5a48; }

/* ─── CART DRAWER ─── */
.cart-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(26,14,6,0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: -440px; width: 400px; max-width: 100vw; height: 100vh; z-index: 401;
  background: #fdf8f0; display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.25,0.8,0.25,1);
  box-shadow: -4px 0 32px rgba(26,14,6,0.12);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-bottom: 1px solid #e8ddd0;
}
.cart-drawer-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: #1a0e06; margin: 0; }
.cart-close-btn { background: none; border: none; cursor: pointer; font-size: 22px; color: #1a0e06; padding: 4px; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 60px 0; color: #7a5a48; font-size: 15px; font-family: 'DM Sans', sans-serif; }
.cart-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #e8ddd0; }
.cart-item-img { width: 72px; height: 72px; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 600; color: #1a0e06; margin: 0 0 4px; }
.cart-item-price { font-size: 14px; color: #7a5a48; margin: 0 0 10px; font-family: 'DM Sans', sans-serif; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.qty-btn { background: #e8ddd0; border: none; cursor: pointer; width: 28px; height: 28px; font-size: 18px; display: flex; align-items: center; justify-content: center; color: #1a0e06; transition: background 0.2s; line-height: 1; }
.qty-btn:hover { background: #C1583A; color: #fff; }
.qty-val { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; font-family: 'DM Sans', sans-serif; }
.cart-item-remove { background: none; border: none; cursor: pointer; color: #b07060; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; padding: 0; margin-top: 8px; display: block; font-family: 'DM Sans', sans-serif; }
.cart-footer { padding: 20px 28px; border-top: 1px solid #e8ddd0; background: #f5ede0; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-subtotal span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: #1a0e06; font-family: 'DM Sans', sans-serif; }
.cart-subtotal strong { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: #1a0e06; }
.cart-checkout-btn {
  display: block; width: 100%; background: #1a0e06; color: #fdf8f0;
  border: none; padding: 15px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: background 0.2s; text-align: center;
}
.cart-checkout-btn:hover { background: #C1583A; }
.cart-note { font-size: 11px; color: #9a7a68; text-align: center; margin-top: 10px; letter-spacing: 0.05em; font-family: 'DM Sans', sans-serif; }
