*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg-cream, #FAF7F2);
  color: var(--text, #2A2420);
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }

/* Announcement */
.announcement-bar {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 12px;
  letter-spacing: 0.02em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(182, 139, 66, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 12px;
}
.brand-logo { display: flex; align-items: center; }
.logo-svg { height: 46px; width: auto; object-fit: contain; }
.desktop-nav { display: none; gap: 24px; font-size: 0.92rem; font-weight: 500; }
.desktop-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(42, 36, 32, 0.12);
  background: var(--surface);
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #FAF7F2;
  font-weight: 600; font-size: 0.88rem;
  cursor: pointer;
}
.cart-label { display: none; }
.cart-badge {
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}

.search-drawer {
  border-top: 1px solid rgba(182, 139, 66, 0.16);
  background: var(--surface);
  padding: 10px 0;
}
.search-inner { display: flex; gap: 10px; align-items: center; }
.search-inner input {
  flex: 1; padding: 10px 14px;
  border: 1px solid rgba(42, 36, 32, 0.16);
  border-radius: 999px;
  font-size: 0.95rem;
  outline: none;
}
.btn-text { background: none; border: none; color: var(--muted); font-weight: 600; cursor: pointer; padding: 8px; }

/* Hero */
.hero-section {
  padding: 36px 0 44px;
  background: radial-gradient(circle at 85% 15%, rgba(182, 139, 66, 0.12), transparent 55%),
              radial-gradient(circle at 10% 80%, rgba(29, 107, 104, 0.08), transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.eyebrow-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(182, 139, 66, 0.14);
  color: #8A6422;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--font-heading, 'Cormorant Garamond', serif); margin: 0 0 12px; line-height: 1.15; }
.hero-copy h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; color: var(--primary); }
.hero-subtitle { font-size: 1rem; color: var(--muted); max-width: 56ch; margin: 0 0 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: var(--muted); font-weight: 500; }

.hero-emblem { display: flex; justify-content: center; }
.emblem-card {
  width: 100%; max-width: 380px;
  background: var(--surface);
  border: 1px solid rgba(182, 139, 66, 0.28);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(31, 27, 24, 0.06);
}
.emblem-logo { width: 85%; margin: 0 auto 14px; }
.emblem-caption { font-size: 0.88rem; color: var(--muted); margin: 0; font-style: italic; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.92rem;
  border: none; cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 44px;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: #FAF7F2; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-block { width: 100%; }

/* Sections */
.section-pad { padding: 48px 0; }
.section-alt { background: rgba(255, 255, 255, 0.65); border-top: 1px solid rgba(182, 139, 66, 0.12); border-bottom: 1px solid rgba(182, 139, 66, 0.12); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.section-kicker { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 6px; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.section-head p { color: var(--muted); margin: 0; font-size: 0.96rem; }

/* Category Pills */
.category-pills {
  display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; margin-bottom: 24px;
  justify-content: center;
}
.category-pills::-webkit-scrollbar { display: none; }
.pill {
  white-space: nowrap; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(42, 36, 32, 0.15);
  background: var(--surface); color: var(--text);
  font-weight: 600; font-size: 0.86rem; cursor: pointer; min-height: 40px;
}
.pill.active { background: var(--primary); color: #FAF7F2; border-color: var(--primary); }

/* Product Grid & Cards */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.product-card {
  background: var(--surface);
  border: 1px solid rgba(182, 139, 66, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 8px 24px rgba(31, 27, 24, 0.04);
}
.product-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #F6EFE3 0%, #EFE5D3 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.visual-placeholder {
  text-align: center; padding: 16px; color: #8A6422;
}
.visual-placeholder .cat-icon { font-size: 2rem; display: block; margin-bottom: 4px; }
.visual-placeholder .cat-name { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.prod-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #F3E5C8;
  font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.prod-body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.prod-intention { font-size: 0.76rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.05em; }
.prod-title { font-size: 1.3rem; margin: 0; color: var(--primary); }
.prod-desc { font-size: 0.88rem; color: var(--muted); margin: 0; flex: 1; }
.variant-select {
  width: 100%; padding: 9px 12px; border-radius: 10px;
  border: 1px solid rgba(42, 36, 32, 0.2); background: #FAF7F2;
  font-size: 0.86rem; font-weight: 500;
}
.prod-meta-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.prod-price { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.prod-weight { font-size: 0.78rem; color: var(--muted); }
.btn-add-cart {
  width: 100%; min-height: 44px; border-radius: 10px; border: none;
  background: var(--primary); color: #FAF7F2; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; transition: background 0.15s ease;
}
.btn-add-cart:hover { background: var(--teal); }

/* Oracle Banner */
.oracle-banner {
  background: linear-gradient(135deg, #1F1B18 0%, #2F2822 100%);
  color: #FAF7F2;
  border-radius: 22px;
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
  position: relative; overflow: hidden;
}
.oracle-banner h2 { color: #F3E5C8; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.oracle-banner p { color: #D7CEC3; max-width: 55ch; margin: 0 0 18px; }
.oracle-sigil { font-size: 4rem; color: rgba(201, 160, 80, 0.25); align-self: flex-end; line-height: 1; }

/* Pillars & FAQ */
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pillar-card {
  background: var(--surface); padding: 24px; border-radius: var(--radius);
  border: 1px solid rgba(182, 139, 66, 0.16);
}
.pillar-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 10px; }
.pillar-card h3 { font-size: 1.25rem; }
.pillar-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.faq-container { max-width: 780px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid rgba(182, 139, 66, 0.2);
  border-radius: 12px; padding: 14px 18px;
}
.faq-item summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--gold); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 0 0; font-size: 0.9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--primary); color: #E8E0D5; padding: 42px 0 24px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
.footer-logo { height: 52px; width: auto; background: #FAF7F2; padding: 6px 12px; border-radius: 10px; margin-bottom: 12px; }
.footer-desc { font-size: 0.88rem; color: #BEB4A7; margin: 0; }
.site-footer h4 { font-family: var(--font-heading); font-size: 1.15rem; color: #F3E5C8; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.88rem; color: #BEB4A7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: #9E9487;
}
.admin-subtle-link { opacity: 0.65; }
.admin-subtle-link:hover { opacity: 1; color: #F3E5C8; }

/* Cart Drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(20, 17, 14, 0.55); z-index: 90; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 440px;
  background: var(--bg-cream); z-index: 100;
  display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.2);
}
.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; background: var(--surface);
  border-bottom: 1px solid rgba(182, 139, 66, 0.2);
}
.drawer-header h3 { margin: 0; font-size: 1.4rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.cart-items-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  background: var(--surface); border-radius: 12px; padding: 12px;
  border: 1px solid rgba(42, 36, 32, 0.08);
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.cart-item-info h5 { margin: 0 0 2px; font-size: 0.94rem; }
.cart-item-sub { font-size: 0.78rem; color: var(--muted); }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid rgba(42, 36, 32, 0.16); background: #FAF7F2; cursor: pointer; font-weight: 700;
}

.shipping-box, .checkout-form {
  background: var(--surface); border-radius: 14px; padding: 16px;
  border: 1px solid rgba(182, 139, 66, 0.22);
}
.shipping-box h4, .checkout-form h4 { margin: 0 0 10px; font-size: 1.15rem; font-family: var(--font-heading); }
.weight-pill { font-size: 0.82rem; background: #FAF7F2; padding: 6px 10px; border-radius: 8px; margin-bottom: 10px; }
.field-label { display: block; font-size: 0.8rem; font-weight: 600; margin: 8px 0 6px; color: var(--muted); }
.input-field {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(42, 36, 32, 0.2); font-size: 0.9rem; background: #fff;
}
.shipping-eta { font-size: 0.8rem; color: var(--teal); font-weight: 600; margin-top: 8px; }
.free-ship-note { font-size: 0.78rem; color: #8A6422; margin-top: 4px; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
.payment-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.pay-opt {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid rgba(42, 36, 32, 0.18); border-radius: 10px; cursor: pointer; font-size: 0.86rem; font-weight: 500;
}
.drawer-footer {
  padding: 16px 20px; background: var(--surface);
  border-top: 1px solid rgba(182, 139, 66, 0.2);
}
.totals-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 6px; color: var(--muted); }
.total-grand { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin: 8px 0 12px; }

.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #FAF7F2; padding: 10px 18px;
  border-radius: 999px; font-size: 0.88rem; font-weight: 500; z-index: 120;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

/* Tablet & Desktop Breakpoints */
@media (min-width: 640px) {
  .cart-label { display: inline; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .category-pills { justify-content: center; }
}
@media (min-width: 960px) {
  .desktop-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; padding: 24px 0; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .oracle-banner { flex-direction: row; justify-content: space-between; align-items: center; padding: 44px; }
}


/* Product Lightbox & Carousel */
.product-card { cursor: pointer; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 27, 24, 0.08); }
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(20, 17, 14, 0.72); z-index: 110;
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.lightbox-card {
  position: relative; width: 100%; max-width: 860px; max-height: 92vh; overflow-y: auto;
  background: var(--surface); border-radius: 20px; padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.lightbox-close {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(42,36,32,0.16); background: #fff; cursor: pointer; font-weight: 700; z-index: 5;
}
.lightbox-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.lb-stage {
  position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #F6EFE3 0%, #EFE5D3 100%);
  display: flex; align-items: center; justify-content: center;
}
.lb-stage img { width: 100%; height: 100%; object-fit: cover; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px;
  border-radius: 999px; border: none; background: rgba(255,255,255,0.88); cursor: pointer; font-weight: 700;
}
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lb-thumb {
  width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: none;
}
.lb-thumb.active { border-color: var(--gold); }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 8px; flex-wrap: wrap; }
.lb-ship-box { background: #FAF7F2; border: 1px solid rgba(182,139,66,0.22); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
@media (min-width: 768px) {
  .lightbox-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
