/* ============================================
   Aurevia Essentials — Main Stylesheet
   Warm, elegant, candle-brand aesthetic
   ============================================ */

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

:root {
  --gold: #b8892a;
  --gold-light: #d4a853;
  --gold-pale: #f5e6c8;
  --cream: #faf6f0;
  --cream-dark: #f0e9dd;
  --warm-brown: #6b4c2a;
  --brown-light: #8b6340;
  --text: #2c1f14;
  --text-muted: #7a6252;
  --white: #ffffff;
  --border: #e8d9c5;
  --shadow: 0 4px 24px rgba(107, 76, 42, 0.10);
  --shadow-lg: 0 12px 40px rgba(107, 76, 42, 0.18);
  --radius: 12px;
  --radius-sm: 6px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', system-ui, sans-serif;
  --font-script: 'Dancing Script', cursive;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 240, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
  height: 70px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-script { font-family: var(--font-script); font-size: 2.6rem; color: var(--warm-brown); }
.logo-sub { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav > a, .nav-dropdown > a {
  font-size: 0.88rem; letter-spacing: 0.03em; color: var(--text); font-weight: 400;
  transition: color 0.2s;
}
.nav > a:hover, .nav-dropdown > a:hover { color: var(--gold); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 0.5rem 0; display: none; z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 0.6rem 1.2rem; font-size: 0.88rem;
  transition: background 0.2s;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn { font-size: 1rem; cursor: pointer; }

.btn-primary-sm, .btn-outline-sm {
  padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s; border: none;
}
.btn-primary-sm { background: var(--gold); color: var(--white); }
.btn-primary-sm:hover { background: var(--warm-brown); color: var(--white); }
.btn-outline-sm { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline-sm:hover { background: var(--gold); color: var(--white); }

.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }
.mobile-nav {
  display: none; flex-direction: column; padding: 1rem 1.5rem 1.5rem;
  background: var(--cream); border-top: 1px solid var(--border);
}
.mobile-nav a { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.mobile-nav.open { display: flex; }

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--white);
  padding: 0.75rem 2rem; border-radius: 30px; border: none;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.25s;
}
.btn-primary:hover { background: var(--warm-brown); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-outline {
  display: inline-block; border: 1.5px solid var(--gold); color: var(--gold);
  padding: 0.75rem 2rem; border-radius: 30px; background: transparent;
  font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: all 0.25s;
}
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-1px); }

.btn-block { width: 100%; text-align: center; }
.btn-cart {
  background: var(--cream-dark); color: var(--warm-brown);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 0.3rem 0.9rem; font-size: 0.8rem; font-weight: 500;
  cursor: pointer; transition: all 0.2s;
}
.btn-cart:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-sm { padding: 0.3rem 0.8rem; background: var(--gold); color: var(--white); border: none; border-radius: 6px; font-size: 0.8rem; cursor: pointer; }
.btn-danger-sm { padding: 0.3rem 0.8rem; background: #e74c3c; color: var(--white); border: none; border-radius: 6px; font-size: 0.8rem; cursor: pointer; }

/* ============ FLASH ============ */
.flash {
  position: fixed; top: 75px; left: 50%; transform: translateX(-50%);
  padding: 0.9rem 2rem; border-radius: 30px; z-index: 500;
  font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 1rem;
  animation: slideDown 0.3s ease;
}
.flash-success { background: #2d6a4f; color: var(--white); }
.flash-error { background: #c0392b; color: var(--white); }
.flash-close { cursor: pointer; font-size: 0.8rem; opacity: 0.7; }
@keyframes slideDown { from { top: 50px; opacity: 0; } to { top: 75px; opacity: 1; } }

/* ============ HERO ============ */
.hero {
  min-height: 88vh; display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 4rem 2rem;
  gap: 3rem;
}
.hero-content { flex: 1; max-width: 580px; }
.hero-tag { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.15em; margin-bottom: 1.2rem; font-weight: 500; }
.hero-title { font-size: clamp(2.8rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 1.5rem; color: var(--warm-brown); }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 480px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { flex: 0 0 340px; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-circle {
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, #fdecc8 0%, #f5d9a0 50%, #e8c07a 100%);
  position: absolute; opacity: 0.5;
}
.candle-glow {
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,100,0.6) 0%, transparent 70%);
  position: absolute; animation: glow 2.5s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: scale(1); opacity: 0.5; } to { transform: scale(1.15); opacity: 0.85; } }
.hero-emoji { font-size: 8rem; position: relative; z-index: 1; filter: drop-shadow(0 0 20px rgba(255,180,50,0.5)); animation: flicker 3s ease-in-out infinite; }
@keyframes flicker { 0%,100% { filter: drop-shadow(0 0 20px rgba(255,180,50,0.5)); } 50% { filter: drop-shadow(0 0 35px rgba(255,150,30,0.8)); } }

/* ============ SECTIONS ============ */
.section { padding: 5rem 2rem; max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.75rem; }
.section-header h2 { color: var(--warm-brown); }
.center-btn { text-align: center; margin-top: 3rem; }

/* ============ CATEGORIES ============ */
.categories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem;
}
.category-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; padding: 1.5rem 1rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  transition: all 0.25s; cursor: pointer;
}
.category-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--gold); }
.cat-icon { font-size: 1.8rem; }
.cat-name { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-align: center; }

/* ============ PRODUCTS GRID ============ */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.25s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-light); }

.product-img-wrap { display: block; position: relative; background: var(--cream-dark); aspect-ratio: 1/1; overflow: hidden; }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; transition: transform 0.3s; }
.product-card:hover .product-img-placeholder { transform: scale(1.05); }
.badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--gold); color: var(--white);
  font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 20px; font-weight: 500;
}
.product-info { padding: 1rem 1.2rem 1.2rem; }
.product-cat { font-size: 0.75rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.product-info h3 { font-size: 1rem; font-family: var(--font-serif); margin-bottom: 0.4rem; }
.product-info h3 a:hover { color: var(--gold); }
.product-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.7rem; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; }
.price { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--warm-brown); }
.price-sm { font-size: 0.85rem; color: var(--text-muted); }

/* ============ WHY SECTION ============ */
.why-section { background: var(--cream-dark); padding: 5rem 2rem; max-width: 100%; }
.why-section > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; max-width: 1280px; margin: 0 auto; }
.why-card { text-align: center; padding: 2rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h3 { font-family: var(--font-serif); margin-bottom: 0.5rem; color: var(--warm-brown); }
.why-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ============ GIFT CTA ============ */
.gift-cta {
  background: linear-gradient(135deg, var(--warm-brown), #3d2a14);
  color: var(--white); padding: 5rem 2rem; text-align: center;
}
.gift-cta-content { max-width: 600px; margin: 0 auto; }
.gift-cta h2 { color: var(--white); margin-bottom: 1rem; }
.gift-cta p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }

/* ============ CUSTOM SECTION ============ */
.custom-section { padding: 5rem 2rem; max-width: 1280px; margin: 0 auto; }
.custom-inner { display: flex; align-items: center; gap: 4rem; }
.custom-text { flex: 1; }
.custom-text h2 { color: var(--warm-brown); margin-bottom: 1rem; }
.custom-text p { color: var(--text-muted); margin-bottom: 2rem; }
.custom-visual { flex: 0 0 280px; display: flex; align-items: center; justify-content: center; }
.custom-circle {
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-pale), var(--cream-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; border: 2px solid var(--border);
}

/* ============ PAGE BANNER ============ */
.page-banner {
  background: linear-gradient(135deg, var(--cream-dark), var(--gold-pale));
  text-align: center; padding: 4rem 2rem; border-bottom: 1px solid var(--border);
}
.page-banner h1 { color: var(--warm-brown); }
.page-banner p { color: var(--text-muted); margin-top: 0.5rem; }
.page-banner-sm {
  background: var(--cream-dark); padding: 2rem; text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-banner-sm h1 { font-size: 1.8rem; color: var(--warm-brown); }

/* ============ SHOP LAYOUT ============ */
.shop-layout {
  max-width: 1280px; margin: 0 auto; padding: 2rem;
  display: flex; gap: 2rem; align-items: flex-start;
}
.shop-sidebar { flex: 0 0 220px; position: sticky; top: 90px; }
.shop-sidebar h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.75rem; }
.filter-list { list-style: none; }
.filter-list li a {
  display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--text-muted); transition: all 0.2s;
}
.filter-list li a:hover, .filter-list li a.active { background: var(--gold-pale); color: var(--warm-brown); font-weight: 500; }
.search-input {
  width: 100%; padding: 0.6rem 0.9rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--white); font-size: 0.88rem;
  outline: none; transition: border-color 0.2s;
}
.search-input:focus { border-color: var(--gold); }
.shop-main { flex: 1; min-width: 0; }
.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; font-size: 0.88rem; color: var(--text-muted); }
.clear-filter { color: var(--gold); }
.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.empty-state h2 { margin-bottom: 0.5rem; }
.empty-state p { margin-bottom: 1.5rem; }

/* ============ PRODUCT DETAIL ============ */
.product-detail { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--gold); }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.detail-img-placeholder {
  width: 100%; aspect-ratio: 1/1; background: var(--cream-dark);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 8rem; border: 1px solid var(--border);
}
.product-detail-info h1 { font-size: 2rem; color: var(--warm-brown); margin-bottom: 0.75rem; }
.product-price-lg { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); font-weight: 600; margin-bottom: 1.2rem; }
.product-description { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.8; }
.product-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.spec { display: flex; flex-direction: column; padding: 0.6rem 0.8rem; background: var(--cream-dark); border-radius: var(--radius-sm); }
.spec span { font-size: 0.75rem; color: var(--text-muted); }
.spec strong { font-size: 0.9rem; color: var(--warm-brown); }
.add-to-cart-form { margin-bottom: 1.5rem; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.qty-input { width: 70px; padding: 0.5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag { background: var(--gold-pale); color: var(--warm-brown); font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 20px; }
.related-products { padding-top: 3rem; border-top: 1px solid var(--border); }
.related-products h2 { margin-bottom: 2rem; color: var(--warm-brown); }

/* ============ FORM STYLES ============ */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 0.4rem; letter-spacing: 0.03em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--white); color: var(--text);
  font-size: 0.9rem; outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; }
.readonly-input { background: var(--cream-dark) !important; cursor: not-allowed; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

/* ============ AUTH ============ */
.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-card h2 { text-align: center; color: var(--warm-brown); margin-bottom: 0.3rem; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.auth-form { }
.auth-switch { text-align: center; margin-top: 1.5rem; font-size: 0.88rem; color: var(--text-muted); }
.auth-switch a { color: var(--gold); font-weight: 500; }

/* ============ CART ============ */
.page-container { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 1rem;
}
.cart-item-img { width: 70px; height: 70px; background: var(--cream-dark); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.cart-item-actions { display: flex; align-items: center; gap: 0.75rem; }
.qty-input-sm { width: 60px; padding: 0.35rem; border: 1px solid var(--border); border-radius: 4px; text-align: center; font-size: 0.85rem; }
.item-subtotal { font-weight: 600; color: var(--warm-brown); min-width: 80px; text-align: right; }
.btn-remove { background: none; border: 1px solid var(--border); border-radius: 50%; width: 28px; height: 28px; cursor: pointer; color: var(--text-muted); transition: all 0.2s; }
.btn-remove:hover { border-color: #e74c3c; color: #e74c3c; }
.customization-note { font-size: 0.8rem; color: var(--gold); margin-top: 0.3rem; }
.customization-note.small { font-size: 0.78rem; }

.cart-summary {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; position: sticky; top: 90px;
}
.cart-summary h3 { margin-bottom: 1.2rem; color: var(--warm-brown); }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.summary-total { font-weight: 600; color: var(--text); font-size: 1rem; border-bottom: none; padding-top: 0.75rem; }
.free-shipping-note { font-size: 0.78rem; color: var(--gold); margin: 0.5rem 0; text-align: center; }

/* ============ CHECKOUT ============ */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; max-width: 1100px; margin: 2rem auto; padding: 0 2rem 2rem; align-items: start; }
.checkout-form-col h3, .checkout-summary h3 { color: var(--warm-brown); margin-bottom: 1.5rem; }
.checkout-item { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9rem; }
.checkout-item-name { color: var(--text-muted); flex: 1; padding-right: 1rem; }
.checkout-total { font-weight: 700; font-size: 1.1rem; color: var(--warm-brown); border-top: 2px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; }
.checkout-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 90px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0.75rem 0; }
.payment-notice { background: var(--gold-pale); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1.5rem; }
.payment-notice h4 { color: var(--warm-brown); margin-bottom: 0.4rem; }
.payment-notice p { font-size: 0.85rem; color: var(--text-muted); }

/* ============ ORDERS ============ */
.orders-table-wrap { overflow-x: auto; }
.orders-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.orders-table th { background: var(--cream-dark); padding: 0.85rem 1rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); text-align: left; }
.orders-table td { padding: 0.85rem 1rem; border-top: 1px solid var(--border); font-size: 0.9rem; }
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 500; text-transform: capitalize; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cff4fc; color: #055160; }
.status-processing { background: #e2d9f3; color: #5a2d82; }
.status-shipped { background: #d1e7dd; color: #0f5132; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-new { background: #cff4fc; color: #055160; }
.status-read { background: #d1e7dd; color: #0f5132; }
.status-replied { background: #d4edda; color: #155724; }

.order-detail-grid { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; align-items: start; }
.order-summary-col { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }

/* ============ CONTACT ============ */
.contact-layout { display: grid; grid-template-columns: 360px 1fr; gap: 3rem; max-width: 1100px; margin: 3rem auto; padding: 0 2rem 3rem; align-items: start; }
.contact-info h3 { color: var(--warm-brown); margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-detail span { font-size: 1.3rem; }
.contact-detail strong { display: block; font-size: 0.85rem; color: var(--warm-brown); }
.contact-detail p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.contact-form-col h3 { color: var(--warm-brown); margin-bottom: 1.5rem; }

/* ============ ABOUT ============ */
.about-layout { display: grid; grid-template-columns: 1fr 320px; gap: 4rem; max-width: 1100px; margin: 4rem auto; padding: 0 2rem; align-items: center; }
.about-content h2 { color: var(--warm-brown); margin-bottom: 1rem; }
.about-content > p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.9; }
.about-values { margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-item span { font-size: 1.5rem; }
.value-item h4 { color: var(--warm-brown); margin-bottom: 0.2rem; }
.value-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.about-visual { display: flex; align-items: center; justify-content: center; }
.about-circle {
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-pale), var(--cream-dark));
  display: flex; align-items: center; justify-content: center; border: 2px solid var(--border);
}

/* ============ ADMIN ============ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  flex: 0 0 220px; background: var(--warm-brown); color: var(--white);
  padding: 1.5rem 0; display: flex; flex-direction: column; min-height: 100vh;
  position: sticky; top: 0;
}
.admin-brand { padding: 0 1.5rem 1.5rem; font-family: var(--font-serif); font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.15); margin-bottom: 1rem; }
.admin-nav { display: flex; flex-direction: column; flex: 1; }
.admin-nav a { padding: 0.7rem 1.5rem; color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: all 0.2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.12); color: var(--white); }
.admin-main { flex: 1; padding: 2rem; background: var(--cream); overflow: auto; }
.admin-title { color: var(--warm-brown); margin-bottom: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-bottom: 2.5rem; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1rem; align-items: center; }
.stat-icon { font-size: 2rem; }
.stat-info { display: flex; flex-direction: column; }
.stat-value { font-family: var(--font-serif); font-size: 1.8rem; color: var(--warm-brown); font-weight: 600; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.admin-section { margin-top: 2.5rem; }
.admin-section h2 { margin-bottom: 1.2rem; color: var(--warm-brown); font-size: 1.3rem; }
.admin-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 2rem; }
.admin-card h3 { color: var(--warm-brown); margin-bottom: 1.2rem; }
.admin-form {}
.select-sm { padding: 0.3rem 0.5rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.82rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--text-muted); cursor: pointer; padding: 0.3rem 0; }

/* ============ ENQUIRIES ============ */
.enquiries-list { display: flex; flex-direction: column; gap: 1rem; }
.enquiry-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; }
.enquiry-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; flex-wrap: wrap; gap: 0.5rem; }
.enquiry-subject { font-size: 0.9rem; margin-bottom: 0.4rem; }
.enquiry-msg { font-size: 0.9rem; color: var(--text-muted); }
.text-muted { color: var(--text-muted); font-size: 0.85rem; }

/* ============ FOOTER ============ */
.footer { background: #1c1008; color: rgba(255,255,255,0.8); padding: 4rem 2rem 1rem; margin-top: 4rem; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .footer-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 1.2rem; }
.footer-brand .logo-script { color: var(--gold-light); }
.footer-brand .logo-sub { color: var(--gold); }
.social-links { display: flex; gap: 1rem; }
.social-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.2); padding: 0.3rem 0.8rem; border-radius: 20px; transition: all 0.2s; }
.social-links a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .custom-inner { flex-direction: column; }
  .hero { flex-direction: column; text-align: center; min-height: auto; padding-top: 3rem; }
  .hero-visual { display: none; }
  .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: block; }
  .shop-layout { flex-direction: column; }
  .shop-sidebar { width: 100%; position: static; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { flex: none; min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta { justify-content: center; }
    .header-inner{  justify-content: space-between;}
}

/* ============================================
   v2 Additions: Gallery, Custom Options, etc.
   ============================================ */

/* ── Product Image Gallery ────────────────── */
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.gallery-main {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
}
.gallery-main-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-main:hover .gallery-main-img { transform: scale(1.03); }
.gallery-thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border); cursor: pointer; transition: border-color 0.2s;
  flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb:hover { border-color: var(--gold-light); }

/* ── Custom Options ───────────────────────── */
.custom-options-section {
  background: var(--gold-pale); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 1.2rem;
}
.custom-options-title {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--warm-brown);
  margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.custom-option { margin-bottom: 1rem; }
.custom-opt-label { font-weight: 500; color: var(--warm-brown); }
.required-star { color: #e74c3c; margin-left: 3px; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.radio-label, .checkbox-label-opt {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 20px;
  padding: 0.35rem 0.85rem; font-size: 0.88rem; cursor: pointer;
  transition: all 0.2s;
}
.radio-label:hover, .checkbox-label-opt:hover { border-color: var(--gold); color: var(--warm-brown); }
.radio-label input, .checkbox-label-opt input { accent-color: var(--gold); }

/* ── Qty Controls ─────────────────────────── */
.qty-controls { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: 30px; overflow: hidden; width: fit-content; }
.qty-btn {
  background: var(--cream-dark); border: none; width: 36px; height: 36px;
  font-size: 1.1rem; cursor: pointer; transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: var(--gold-pale); }
.qty-input { width: 50px; text-align: center; border: none; outline: none; font-size: 0.95rem; background: var(--white); }

/* ── Cart Selections ──────────────────────── */
.cart-selections { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.4rem; }
.selection-pill {
  background: var(--gold-pale); color: var(--warm-brown);
  font-size: 0.75rem; padding: 0.15rem 0.65rem; border-radius: 20px;
  border: 1px solid var(--border);
}
.qty-mini { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.qty-mini button { background: var(--cream-dark); border: none; width: 28px; height: 28px; font-size: 1rem; cursor: pointer; transition: background 0.2s; }
.qty-mini button:hover { background: var(--gold-pale); }
.qty-mini .qty-input-sm { width: 40px; border: none; text-align: center; font-size: 0.85rem; padding: 0.2rem; }

/* ── Checkout Item Cards ──────────────────── */
.checkout-item-card {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--border);
}
.checkout-item-img {
  width: 56px; height: 56px; border-radius: 8px; overflow: hidden;
  background: var(--cream-dark); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.checkout-item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-item-body { flex: 1; min-width: 0; }
.checkout-item-name { font-size: 0.9rem; font-weight: 500; color: var(--text); }
.checkout-item-qty { font-size: 0.8rem; color: var(--text-muted); }
.checkout-item-price { font-weight: 600; font-size: 0.95rem; color: var(--warm-brown); flex-shrink: 0; }

/* ── Checkout Selections ──────────────────── */
.checkout-selections { margin-top: 0.4rem; }
.checkout-sel-row { display: flex; gap: 0.4rem; font-size: 0.78rem; line-height: 1.5; }
.sel-label { color: var(--text-muted); flex-shrink: 0; }
.sel-val { color: var(--warm-brown); font-weight: 500; }

/* ── Admin Image Gallery ──────────────────── */
.image-gallery-admin { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.5rem; }
.img-admin-card {
  width: 120px; height: 120px; border-radius: var(--radius); overflow: hidden;
  position: relative; border: 2px solid var(--border); flex-shrink: 0;
}
.img-admin-card img { width: 100%; height: 100%; object-fit: cover; }
.img-admin-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  opacity: 0; transition: opacity 0.2s;
}
.img-admin-card:hover .img-admin-overlay { opacity: 1; }
.img-btn {
  background: rgba(255,255,255,0.9); border: none; border-radius: 6px;
  width: 32px; height: 32px; font-size: 1rem; cursor: pointer; transition: transform 0.15s;
}
.img-btn:hover { transform: scale(1.12); }
.img-btn-delete:hover { background: #e74c3c; }
.img-primary-badge { background: var(--gold); color: var(--white); font-size: 0.65rem; padding: 0.1rem 0.4rem; border-radius: 4px; }
.primary-indicator {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--gold); color: var(--white);
  font-size: 0.65rem; text-align: center; padding: 2px 0;
}

/* ── Admin Custom Options List ────────────── */
.options-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.option-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 1rem; background: var(--cream);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.option-row-info { display: flex; align-items: flex-start; gap: 0.75rem; flex: 1; }
.option-index {
  background: var(--gold); color: var(--white); width: 24px; height: 24px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; flex-shrink: 0; margin-top: 2px;
}
.option-type-badge {
  display: inline-block; background: var(--cream-dark); border: 1px solid var(--border);
  border-radius: 20px; font-size: 0.7rem; padding: 0.1rem 0.55rem;
  color: var(--text-muted); margin-left: 0.4rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.required-badge {
  display: inline-block; background: #fff3cd; border: 1px solid #ffc107;
  border-radius: 20px; font-size: 0.7rem; padding: 0.1rem 0.55rem;
  color: #856404; margin-left: 0.3rem;
}
.option-choices { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.3rem; }
.choice-pill {
  display: inline-block; background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; font-size: 0.72rem; padding: 0.1rem 0.5rem; margin: 0 0.2rem;
}
.option-placeholder { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; font-style: italic; }
.add-option-form { background: var(--cream); border: 1px dashed var(--gold-light); border-radius: var(--radius); padding: 1.2rem; margin-top: 1rem; }
.add-option-form h4 { color: var(--warm-brown); margin-bottom: 1rem; }

/* ── Admin Table badges ───────────────────── */
.img-count-badge, .opt-count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; font-size: 0.75rem; font-weight: 600;
}
.img-count-badge { background: var(--gold-pale); color: var(--warm-brown); }
.opt-count-badge { background: #e2d9f3; color: #5a2d82; }

/* ── Upload Form ──────────────────────────── */
.upload-form { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ============================================
   v3 Additions: Tracking UI + Exit Intent
   ============================================ */

/* ── Admin Nav Divider ────────────────────── */
.admin-nav-divider {
  padding: 1rem 1.5rem 0.3rem;
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
}

/* ── Tracking Page Header ─────────────────── */
.tracking-page-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; margin-bottom: 1.5rem;
}

/* ── Alert Banner ─────────────────────────── */
.alert-banner {
  background: #fff3cd; border: 1px solid #ffc107;
  border-radius: var(--radius); padding: 0.85rem 1.2rem;
  font-size: 0.9rem; color: #856404;
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
}
.alert-banner a { color: var(--warm-brown); font-weight: 600; text-decoration: underline; }

/* ── Filter Bar ───────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.filter-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.filter-pill {
  padding: 0.3rem 0.9rem; border-radius: 20px; font-size: 0.82rem;
  border: 1.5px solid var(--border); color: var(--text-muted);
  background: var(--white); transition: all 0.2s;
}
.filter-pill:hover, .filter-pill.active {
  background: var(--gold); border-color: var(--gold); color: var(--white);
}

/* ── Abandoned Cart Cards ─────────────────── */
.abandoned-list { display: flex; flex-direction: column; gap: 1.25rem; }

.abandoned-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.2s;
}
.abandoned-card:hover { box-shadow: var(--shadow); }
.card-pending  { border-left: 4px solid #e74c3c; }
.card-contacted{ border-left: 4px solid #2d6a4f; }

.abandoned-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  flex-wrap: wrap; gap: 0.75rem; background: var(--cream);
}
.abandoned-user { display: flex; align-items: flex-start; gap: 0.75rem; }
.user-avatar { font-size: 1.6rem; line-height: 1; }
.user-contact-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.contact-chip {
  display: inline-block; font-size: 0.75rem; padding: 0.15rem 0.6rem;
  border-radius: 20px; border: 1px solid var(--border);
}
.phone-chip { background: #d4edda; color: #155724; border-color: #c3e6cb; }
.email-chip { background: #cff4fc; color: #055160; border-color: #b6effb; }
.guest-label { font-size: 0.78rem; color: var(--text-muted); }

.abandoned-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.time-ago { font-size: 0.78rem; color: var(--text-muted); }
.cart-value-badge {
  background: var(--gold-pale); color: var(--warm-brown);
  font-size: 0.85rem; font-weight: 700; padding: 0.2rem 0.7rem;
  border-radius: 20px; border: 1px solid var(--border);
}

/* ── Abandoned products list ──────────────── */
.abandoned-products { padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--border); }
.abandoned-product-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.4rem 0; border-bottom: 1px solid var(--border);
}
.abandoned-product-row:last-child { border-bottom: none; }
.abandoned-product-img {
  width: 44px; height: 44px; border-radius: 6px;
  overflow: hidden; background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.abandoned-product-img img { width:100%; height:100%; object-fit:cover; }
.abandoned-product-info { flex: 1; font-size: 0.88rem; }
.abandoned-product-info a:hover { color: var(--gold); }
.abandoned-product-qty { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; }
.abandoned-product-price { font-weight: 600; color: var(--warm-brown); font-size: 0.9rem; white-space: nowrap; }

/* ── Notes display ────────────────────────── */
.abandoned-notes-display {
  padding: 0.65rem 1.25rem; background: #fffbf0;
  border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted);
}

/* ── Action form ──────────────────────────── */
.abandoned-actions { padding: 0.85rem 1.25rem; }
.contact-form-inline {}
.notes-textarea {
  width: 100%; padding: 0.6rem 0.8rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.85rem;
  resize: vertical; margin-bottom: 0.6rem; background: var(--cream);
  transition: border-color 0.2s;
}
.notes-textarea:focus { outline: none; border-color: var(--gold); }
.contact-btn-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.btn-contact { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-save-notes { background: var(--cream-dark); color: var(--warm-brown); border: 1px solid var(--border); }
.btn-call { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; text-decoration: none; }

/* ── Visitor log table ────────────────────── */
.visitors-table td { font-size: 0.82rem; vertical-align: middle; }
.row-known-user { background: #f0fff4; }
.known-user-badge { font-size: 0.85rem; color: var(--warm-brown); font-weight: 500; }
.url-cell { max-width: 280px; word-break: break-all; }
.method-badge {
  display: inline-block; padding: 0.1rem 0.5rem; border-radius: 4px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}
.method-get  { background: #d1e7dd; color: #0f5132; }
.method-post { background: #cff4fc; color: #055160; }
.nowrap { white-space: nowrap; }
.mono { font-family: 'Courier New', monospace; }

/* ── Product views bar ────────────────────── */
.views-bar-wrap { display: flex; align-items: center; gap: 0.6rem; }
.views-bar {
  display: inline-block; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  min-width: 4px; max-width: 120px; transition: width 0.3s;
}
.phone-link { color: var(--gold); font-weight: 500; }
.phone-link:hover { color: var(--warm-brown); }

/* ── Pagination ───────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.5rem; padding: 1rem 0;
}
.pagination-info { font-size: 0.85rem; color: var(--text-muted); }

/* ── Exit-Intent Popup ────────────────────── */
#exitIntentOverlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s;
}
#exitIntentOverlay.ei-visible {
  pointer-events: all; opacity: 1;
}
.ei-backdrop {
  position: absolute; inset: 0;
  background: rgba(28, 16, 8, 0.65);
  backdrop-filter: blur(3px);
}
.ei-modal {
  position: relative; z-index: 1;
  background: var(--white); border-radius: 20px;
  padding: 2.5rem 2rem; max-width: 400px; width: 90%;
  text-align: center; box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  border-top: 4px solid var(--gold);
}
#exitIntentOverlay.ei-visible .ei-modal {
  transform: translateY(0) scale(1);
}
.ei-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  background: var(--cream-dark); border: none; border-radius: 50%;
  width: 28px; height: 28px; font-size: 0.8rem;
  cursor: pointer; color: var(--text-muted); transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.ei-close:hover { background: var(--border); color: var(--text); }
.ei-candle { font-size: 3rem; margin-bottom: 0.75rem; animation: flicker 2.5s ease-in-out infinite; }
.ei-tag { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.5rem; }
.ei-title { font-family: var(--font-serif); font-size: 1.7rem; color: var(--warm-brown); margin-bottom: 0.75rem; }
.ei-sub { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.ei-sub strong { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.05em; }
.ei-actions { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.ei-actions .btn-primary { width: 100%; max-width: 240px; }
.ei-dismiss {
  background: none; border: none; color: var(--text-muted);
  font-size: 0.82rem; cursor: pointer; text-decoration: underline;
  transition: color 0.2s;
}
.ei-dismiss:hover { color: var(--text); }
