/* Lume Perfumes — Minimalist Monochrome Luxury E-Commerce Stylesheet */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

:root {
  --bg: #ffffff;
  --surface: #f7f6f4;
  --ink: #0f0f10;
  --ink-soft: #4a4a4e;
  --border: #e5e4e0;
  --dark: #0e0e10;
  --dark-card: #18181b;
  --dark-border: #2c2c31;
  --dark-muted: #c8c8ce;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--ink); color: #fff; padding: 10px 16px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* Announcement */
.announcement-bar {
  background: var(--dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  text-align: center;
}
.announcement-bar .dot { opacity: 0.45; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
}
.brand-word {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}
.brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--ink); }

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.bag-btn:hover { background: #26262a; }
.bag-count {
  min-width: 22px; height: 22px;
  background: #ffffff; color: var(--ink);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}

/* Typography & Buttons */
.eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow-light { color: #b5b5be; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.06;
}
h1 em, h2 em { font-style: italic; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border-color 0.16s, opacity 0.16s;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-block { width: 100%; }

.btn-primary { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.btn-primary:hover:not(:disabled) { background: #27272c; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover:not(:disabled) { background: var(--ink); color: #ffffff; }

.btn-white { background: #ffffff; color: var(--dark); border-color: #ffffff; }
.btn-white:hover:not(:disabled) { background: #e8e8ec; }

/* Hero */
.hero { padding: 56px 0 68px; border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.9rem, 5.6vw, 4.7rem); margin-bottom: 18px; }
.hero-lead { margin: 0 0 28px; font-size: 16px; color: var(--ink-soft); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stats strong { display: block; font-size: 18px; font-weight: 700; }
.hero-stats span { font-size: 12px; color: var(--ink-soft); }

.hero-visual { position: relative; background: var(--surface); border: 1px solid var(--border); }
.hero-img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.hero-caption {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 16px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--ink-soft);
  border-top: 1px solid var(--border);
}

/* Sections */
.section { padding: 76px 0; }
.section h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin-bottom: 14px; }
.section-tint { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--dark); color: #ffffff; }
.dark-lead { color: var(--dark-muted); max-width: 58ch; margin: 0; font-size: 15px; }
.muted { color: var(--ink-soft); }

/* Trio Builder */
.trio-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 32px;
}
.preset-label { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #a1a1aa; margin-bottom: 10px; }
.preset-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset-chip {
  background: var(--dark-card); color: #ffffff; border: 1px solid var(--dark-border);
  padding: 9px 13px; font-size: 12px; font-weight: 500; cursor: pointer;
}
.preset-chip:hover { border-color: #ffffff; }

.trio-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: start; }

.trio-slots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px;
}
.trio-slot {
  min-height: 156px;
  background: var(--dark-card);
  border: 1px dashed #3f3f46;
  padding: 16px 14px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
}
.trio-slot.is-filled { border-style: solid; border-color: #ffffff; }
.trio-slot-num { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #a1a1aa; }
.trio-slot strong { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.15; }
.trio-slot small { display: block; font-size: 11.5px; color: #b4b4bc; }
.trio-slot-remove {
  align-self: flex-start; background: transparent; border: 0; padding: 0;
  color: #d4d4d8; font-size: 11px; text-decoration: underline; cursor: pointer;
}

.trio-summary-bar {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  padding: 18px 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.trio-summary-bar strong { display: block; font-size: 14px; }
.trio-summary-bar span { font-size: 12.5px; color: var(--dark-muted); }

.trio-picker {
  background: var(--dark-card); border: 1px solid var(--dark-border); padding: 18px;
}
.trio-picker-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 14px; font-size: 12px; color: var(--dark-muted);
}
.mini-tabs { display: flex; gap: 4px; }
.mini-tab {
  background: transparent; color: #b4b4bc; border: 1px solid var(--dark-border);
  padding: 6px 10px; font-size: 11px; font-weight: 600; cursor: pointer;
}
.mini-tab.is-active { background: #ffffff; color: var(--dark); border-color: #ffffff; }

.trio-picker-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  max-height: 290px; overflow-y: auto; padding-right: 4px;
}
.trio-pick-btn {
  text-align: left; background: #101013; color: #ffffff; border: 1px solid var(--dark-border);
  padding: 10px 12px; cursor: pointer; display: grid; gap: 2px;
}
.trio-pick-btn:hover { border-color: #ffffff; }
.trio-pick-btn strong { font-size: 13px; font-weight: 600; }
.trio-pick-btn span { font-size: 11px; color: #a1a1aa; }

/* Catalog */
.catalog-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 32px;
}
.catalog-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-pill {
  min-height: 40px; padding: 0 15px; background: transparent; color: var(--ink);
  border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.filter-pill.is-active { background: var(--ink); color: #ffffff; border-color: var(--ink); }

.search-box input {
  min-height: 40px; width: min(320px, 100%); padding: 0 14px;
  border: 1px solid var(--border); background: var(--surface);
  font-family: var(--sans); font-size: 13px; color: var(--ink);
}
.search-box input:focus { outline: 2px solid var(--ink); outline-offset: -1px; background: #fff; }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px;
}

.product-card {
  border: 1px solid var(--border); background: #ffffff;
  display: flex; flex-direction: column;
  transition: border-color 0.16s, transform 0.16s;
}
.product-card:hover { border-color: var(--ink); transform: translateY(-2px); }

.product-media {
  position: relative; background: var(--surface); border-bottom: 1px solid var(--border);
  aspect-ratio: 4/4.3; overflow: hidden;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-number {
  position: absolute; top: 12px; left: 12px;
  background: #ffffff; border: 1px solid var(--border);
  padding: 4px 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
}
.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--ink); color: #ffffff;
  padding: 4px 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}

.product-body {
  padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 6px;
}
.product-meta-row {
  display: flex; justify-content: space-between; font-size: 11px;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft);
}
.product-body h3 {
  margin: 2px 0 0; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.1;
}
.product-inspired { margin: 0; font-size: 12px; color: var(--ink-soft); }
.product-profile {
  margin: 4px 0 8px; font-size: 12.5px; color: var(--ink); font-weight: 500;
}
.product-card-actions {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
}
.btn-card-add {
  min-height: 42px; padding: 0 12px; background: var(--ink); color: #fff;
  border: 1px solid var(--ink); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.btn-card-add:hover { background: #27272c; }
.btn-card-notes {
  min-height: 42px; padding: 0 12px; background: transparent; color: var(--ink);
  border: 1px solid var(--border); font-size: 12px; font-weight: 600; cursor: pointer;
}
.btn-card-notes:hover { border-color: var(--ink); }

.empty-state { text-align: center; padding: 48px 16px; color: var(--ink-soft); }

/* Scent Finder Quiz */
.quiz-intro { text-align: center; max-width: 560px; margin: 0 auto 32px; }
.quiz-card {
  max-width: 820px; margin: 0 auto; background: #ffffff; border: 1px solid var(--border); padding: 28px;
}
.quiz-group { margin-bottom: 22px; }
.quiz-label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 10px;
}
.quiz-options { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-opt {
  min-height: 42px; padding: 0 16px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); font-size: 13px; font-weight: 500; cursor: pointer;
}
.quiz-opt.is-active { background: var(--ink); color: #ffffff; border-color: var(--ink); }

.quiz-results {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.quiz-match {
  border: 1px solid var(--border); padding: 16px; background: var(--surface);
  display: flex; flex-direction: column; gap: 6px;
}
.quiz-match strong { font-family: var(--serif); font-size: 22px; }
.quiz-match span { font-size: 12px; color: var(--ink-soft); }
.quiz-match button { margin-top: auto; }

/* Craft Section */
.craft-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.craft-img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border: 1px solid var(--border); }
.craft-list { display: grid; gap: 20px; margin-top: 24px; }
.craft-list article { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.craft-list h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.craft-list p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* Gifting */
.gifting-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.gifting-grid .btn { margin-top: 24px; }
.coming-next-card {
  background: var(--dark-card); border: 1px solid var(--dark-border); padding: 28px;
}
.coming-next-card ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; font-size: 14px; color: var(--dark-muted); }
.coming-next-card strong { color: #ffffff; }

/* Footer */
.site-footer { padding: 56px 0 36px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.footer-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); max-width: 44ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 44px; }
.footer-links > div { display: grid; gap: 8px; align-content: start; }
.footer-links strong { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.footer-links a, .footer-link-btn {
  font-size: 13px; color: var(--ink-soft); text-decoration: none;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-family: var(--sans);
}
.footer-links a:hover, .footer-link-btn:hover { color: var(--ink); text-decoration: underline; }
.disclaimer { margin: 22px 0 10px; font-size: 11.5px; color: var(--ink-soft); line-height: 1.6; }
.copyright { margin: 0; font-size: 12px; color: var(--ink-soft); }

/* Cart Drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.5); }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 100vw); background: #ffffff;
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.25);
}
.drawer-head, .modal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 22px; border-bottom: 1px solid var(--border);
}
.drawer-head h2, .modal-head h2 { font-size: 26px; }
.icon-close {
  width: 38px; height: 38px; background: transparent; border: 1px solid var(--border);
  font-size: 16px; cursor: pointer; color: var(--ink);
}
.icon-close:hover { border-color: var(--ink); }

.shipping-progress-box { padding: 14px 22px; background: var(--surface); border-bottom: 1px solid var(--border); }
.shipping-progress-box p { margin: 0 0 8px; font-size: 12.5px; }
.progress-track { height: 6px; background: #dfdeda; overflow: hidden; }
.progress-fill { height: 100%; background: var(--ink); transition: width 0.25s ease; }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; display: grid; gap: 14px; align-content: start; }
.cart-empty { text-align: center; padding: 48px 12px; color: var(--ink-soft); font-size: 14px; }
.cart-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.cart-item img { width: 56px; height: 64px; object-fit: cover; background: var(--surface); border: 1px solid var(--border); }
.cart-item strong { display: block; font-size: 14px; }
.cart-item small { display: block; font-size: 12px; color: var(--ink-soft); }
.qty-row { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn {
  width: 28px; height: 28px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-weight: 700;
}
.cart-item-price { font-weight: 700; font-size: 14px; }

.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--border); background: var(--surface); }
.delivery-select-wrap { margin-bottom: 14px; }
.delivery-select-wrap label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.delivery-select-wrap select { width: 100%; min-height: 40px; padding: 0 10px; border: 1px solid var(--border); background: #fff; font-family: var(--sans); font-size: 13px; }

.totals-list { display: grid; gap: 6px; margin-bottom: 16px; font-size: 13.5px; }
.totals-list > div { display: flex; justify-content: space-between; }
.totals-grand { padding-top: 8px; border-top: 1px solid var(--border); font-size: 16px; }

/* Modals */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-card {
  width: min(540px, 100%); max-height: 92vh; overflow-y: auto;
  background: #ffffff; border: 1px solid var(--ink);
}
.modal-card--sm { width: min(460px, 100%); }

.checkout-summary {
  padding: 14px 22px; background: var(--surface); border-bottom: 1px solid var(--border);
  font-size: 13px; display: grid; gap: 4px;
}
.checkout-form { padding: 20px 22px 24px; display: grid; gap: 14px; }
.checkout-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.checkout-form input {
  min-height: 42px; padding: 0 12px; border: 1px solid var(--border);
  font-family: var(--sans); font-size: 14px;
}
.eft-box {
  background: var(--surface); border: 1px solid var(--border); padding: 14px; font-size: 12.5px;
}
.eft-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.copy-mini {
  background: var(--ink); color: #fff; border: 0; padding: 6px 12px; font-size: 11px; font-weight: 600; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.eft-box p { margin: 0; line-height: 1.65; }
.checkout-actions { display: grid; gap: 10px; }
.checkout-note { margin: 0; font-size: 12px; color: var(--ink-soft); text-align: center; }

#notes-body, .info-body { padding: 20px 22px 24px; font-size: 14px; }
.notes-pyramid { display: grid; gap: 10px; margin: 16px 0 20px; }
.notes-row { padding: 10px 12px; background: var(--surface); border: 1px solid var(--border); }
.notes-row small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

/* Toast */
.toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 120; background: var(--ink); color: #ffffff;
  padding: 12px 20px; font-size: 13px; font-weight: 600;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .trio-grid, .craft-grid, .gifting-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}
@media (max-width: 600px) {
  .trio-slots { grid-template-columns: 1fr; }
  .trio-picker-list { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
}
