:root {
  --ink: #25201f;
  --muted: #756a66;
  --paper: #f7f2ec;
  --paper-2: #efe5db;
  --white: #fffdf9;
  --wine: #5a1f2d;
  --wine-2: #732c3d;
  --terracotta: #a85d45;
  --sand: #d6bea8;
  --line: rgba(61, 43, 37, .12);
  --shadow: 0 18px 45px rgba(65, 37, 29, .12);
  --shadow-soft: 0 8px 24px rgba(65, 37, 29, .09);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% -10%, rgba(168,93,69,.12), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

.app-shell { max-width: 1180px; margin: 0 auto; min-height: 100vh; }
.topbar {
  position: relative;
  top: auto;
  z-index: 30;
  height: 72px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(18px);
  background: rgba(247, 242, 236, .86);
  border-bottom: 1px solid rgba(80, 55, 46, .08);
}
.brand-button { border: 0; background: transparent; display: flex; gap: 10px; align-items: center; padding: 0; text-align: left; color: var(--ink); cursor: pointer; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--wine); font-size: 18px; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font: 650 12px/1.1 Georgia, "Times New Roman", serif; letter-spacing: .12em; }
.brand-copy small { color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.top-actions { display: flex; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,253,249,.7); color: var(--ink); font-size: 22px; cursor: pointer; }
.badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 20px; display: grid; place-items: center; background: var(--wine); color: white; font-size: 10px; font-weight: 700; }

main { padding: 0 16px 104px; }
.view { display: none; animation: viewIn .26s ease both; }
.view.active { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.hero {
  position: relative;
  overflow: hidden;
  margin: 14px 0 32px;
  min-height: 430px;
  border-radius: var(--radius-xl);
  padding: 38px 26px 28px;
  color: #fff8ef;
  background:
    linear-gradient(135deg, rgba(44,20,23,.96), rgba(90,31,45,.92) 54%, rgba(142,76,57,.88)),
    url("https://static.wixstatic.com/media/f7a68c_6d3b526fb976415988dc3ed68298e9c9~mv2.webp/v1/fill/w_900,h_700,al_c,q_70/file.webp") center/cover;
  box-shadow: var(--shadow);
}
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 22%, rgba(255,214,174,.26), transparent 35%); pointer-events: none; }
.hero-glow { position:absolute; width: 180px; height:180px; border-radius:50%; border:1px solid rgba(255,255,255,.14); right:-36px; top:-52px; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.eyebrow { margin: 0 0 10px; color: var(--terracotta); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.eyebrow.light { color: #e9cbb4; }
.hero h1, .page-head h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
.hero h1 { margin: 0 0 14px; font-size: clamp(42px, 11vw, 74px); line-height: .93; }
.hero p:not(.eyebrow) { max-width: 540px; margin: 0; color: rgba(255,248,239,.82); line-height: 1.6; font-size: 14px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.primary-btn, .secondary-btn, .light-btn, .checkout-btn { border:0; border-radius: 999px; padding: 14px 19px; font-weight: 750; cursor:pointer; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.primary-btn { background: var(--wine); color:white; box-shadow: 0 8px 18px rgba(90,31,45,.22); }
.hero .primary-btn { background: #fff7ec; color: var(--wine); box-shadow:none; }
.secondary-btn { border:1px solid rgba(255,255,255,.28); color:white; background: rgba(255,255,255,.05); }
.primary-btn:active, .secondary-btn:active, .light-btn:active, .checkout-btn:active { transform: scale(.98); }
.hero-card { position:absolute; right:20px; bottom:18px; z-index:2; width:118px; height:118px; border-radius:50%; border:1px solid rgba(255,255,255,.18); display:grid; place-items:center; opacity:.74; }
.stamp { text-align:center; font: 500 26px/1 Georgia, serif; }
.stamp small { font: 700 8px/1 sans-serif; letter-spacing:.15em; }
.compass { position:absolute; font-size:72px; opacity:.12; }

.section-block { margin: 34px 0; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:16px; margin: 0 2px 16px; }
.section-heading h2, .discovery-card h2 { margin:0; font: 400 28px/1.05 Georgia, "Times New Roman", serif; letter-spacing:-.02em; }
.text-link { border:0; background:transparent; color:var(--wine); font-size:12px; font-weight:750; padding:7px; cursor:pointer; }
.horizontal-cards { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(235px, 78vw); gap:14px; overflow-x:auto; padding: 2px 2px 12px; scroll-snap-type:x proximity; scrollbar-width:none; }
.horizontal-cards::-webkit-scrollbar { display:none; }

.discovery-card { margin: 36px 0; min-height:220px; border-radius:var(--radius-xl); padding:28px; color:#fff8ef; display:flex; flex-direction:column; justify-content:space-between; gap:24px; background: linear-gradient(140deg, #4b2026, #6f2d3d 54%, #9d5d4a); box-shadow:var(--shadow-soft); }
.discovery-card p:not(.eyebrow) { color:rgba(255,248,239,.76); line-height:1.55; font-size:14px; max-width:560px; }
.light-btn { width:max-content; background:#fff8ef; color:var(--wine); }

.page-head { padding: 28px 2px 18px; }
.page-head h1 { margin:0 0 10px; font-size: clamp(34px, 8vw, 58px); line-height:1; }
.subtle { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
.searchbox { display:flex; align-items:center; gap:9px; border:1px solid var(--line); background:rgba(255,253,249,.78); padding: 0 15px; border-radius:999px; min-height:50px; box-shadow: 0 4px 14px rgba(70,40,30,.04); }
.searchbox span { color:var(--muted); font-size:20px; }
.searchbox input { flex:1; width:100%; border:0; outline:0; background:transparent; color:var(--ink); font-size:14px; }
.chips { display:flex; gap:8px; overflow-x:auto; padding:14px 0 17px; scrollbar-width:none; }
.chips::-webkit-scrollbar { display:none; }
.chip { flex:0 0 auto; border:1px solid var(--line); background:var(--white); color:var(--muted); border-radius:999px; padding:10px 14px; font-size:12px; cursor:pointer; }
.chip.active { background:var(--wine); color:white; border-color:var(--wine); }

.product-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:13px; }
.product-card { position:relative; overflow:hidden; background:var(--white); border:1px solid rgba(85,60,49,.08); border-radius:20px; box-shadow:0 7px 22px rgba(75,45,34,.06); scroll-snap-align:start; }
.product-image-wrap { position:relative; aspect-ratio: .83; background:var(--paper-2); overflow:hidden; cursor:pointer; }
.product-image { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.product-card:active .product-image { transform:scale(1.02); }
.ribbon { position:absolute; left:9px; top:9px; max-width:70%; padding:6px 8px; border-radius:999px; background:rgba(255,253,249,.92); backdrop-filter:blur(10px); color:var(--wine); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.favorite-btn { position:absolute; right:8px; top:8px; width:34px; height:34px; border:0; border-radius:50%; background:rgba(255,253,249,.92); color:var(--wine); font-size:18px; display:grid; place-items:center; cursor:pointer; }
.favorite-btn.is-fav { background:var(--wine); color:white; }
.product-body { padding:13px 12px 12px; }
.product-category { margin:0 0 4px; color:var(--terracotta); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.09em; }
.product-name { margin:0; min-height:2.8em; font:500 14px/1.38 Georgia, serif; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:12px; }
.product-price { font-weight:800; font-size:13px; }
.add-btn { width:37px; height:37px; border:0; border-radius:50%; background:var(--wine); color:white; font-size:19px; display:grid; place-items:center; cursor:pointer; }
.add-btn[disabled] { opacity:.35; cursor:not-allowed; }
.out-stock { color:#9a4e43; font-size:10px; font-weight:700; }

.journal-preview, .journal-grid { display:grid; gap:14px; }
.journal-preview { grid-template-columns:1fr; }
.journal-card { overflow:hidden; border-radius:22px; background:var(--white); border:1px solid rgba(85,60,49,.08); box-shadow:var(--shadow-soft); }
.journal-card a { display:grid; grid-template-columns: 118px 1fr; min-height:132px; }
.journal-image { width:100%; height:100%; object-fit:cover; background:var(--paper-2); }
.journal-body { padding:15px; display:flex; flex-direction:column; justify-content:center; }
.journal-meta { color:var(--terracotta); font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.journal-title { margin:6px 0 7px; font:500 17px/1.18 Georgia,serif; }
.journal-excerpt { margin:0; color:var(--muted); font-size:11px; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

.empty-state { text-align:center; padding:52px 22px; color:var(--muted); }
.empty-state > span { font-size:42px; color:var(--wine); opacity:.65; }
.empty-state h2 { color:var(--ink); margin:10px 0 7px; font:500 24px/1.1 Georgia,serif; }
.empty-state p { margin:0 auto 18px; max-width:320px; font-size:13px; line-height:1.5; }
.cart-head { display:flex; align-items:end; justify-content:space-between; gap:12px; }
.pill { flex:0 0 auto; background:var(--paper-2); color:var(--wine); border-radius:999px; padding:8px 11px; font-size:11px; font-weight:700; }
.cart-items { display:grid; gap:12px; }
.cart-item { display:grid; grid-template-columns:86px 1fr; gap:12px; padding:10px; background:var(--white); border:1px solid var(--line); border-radius:20px; }
.cart-item img { width:86px; height:104px; object-fit:cover; border-radius:14px; background:var(--paper-2); }
.cart-item-body { min-width:0; display:flex; flex-direction:column; justify-content:space-between; gap:7px; }
.cart-item-name { margin:2px 26px 0 0; font:500 15px/1.25 Georgia,serif; }
.cart-item-price { font-size:12px; font-weight:800; }
.cart-line-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.qty { display:flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.qty button { width:34px; height:32px; border:0; background:transparent; cursor:pointer; }
.qty span { min-width:24px; text-align:center; font-size:12px; font-weight:700; }
.remove-btn { border:0; background:transparent; color:#965344; font-size:11px; cursor:pointer; }
.cart-summary { margin-top:18px; padding:20px; border-radius:24px; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow-soft); }
.summary-line { display:flex; justify-content:space-between; align-items:center; font-size:15px; }
.summary-line strong { font-size:20px; }
.summary-note { color:var(--muted); font-size:11px; line-height:1.45; }
.checkout-btn { width:100%; display:flex; justify-content:space-between; align-items:center; margin-top:14px; background:var(--wine); color:white; border-radius:16px; padding:16px 18px; }
.checkout-btn:disabled { opacity:.55; cursor:wait; }
.secure-note { text-align:center; color:var(--muted); font-size:10px; margin:10px 0 0; }

.bottom-nav {
  position:fixed;
  left:50%;
  bottom:0;
  z-index:40;
  transform:translateX(-50%);
  width:min(100%, 1180px);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  padding:8px 8px calc(8px + var(--safe-bottom));
  border-top:1px solid var(--line);
  background:rgba(255,253,249,.94);
  backdrop-filter:blur(20px);
}
.nav-item { position:relative; border:0; background:transparent; color:#887a74; display:grid; place-items:center; gap:2px; min-height:52px; cursor:pointer; }
.nav-item > span:first-child { font-size:21px; }
.nav-item small { font-size:9px; font-weight:650; }
.nav-item.active { color:var(--wine); }
.nav-badge { position:absolute; top:1px; right:calc(50% - 19px); min-width:16px; height:16px; border-radius:20px; padding:0 4px; display:grid; place-items:center; background:var(--wine); color:white; font-size:8px; font-weight:800; }

.toast { position:fixed; z-index:70; left:50%; bottom:calc(82px + var(--safe-bottom)); transform:translate(-50%, 16px); width:max-content; max-width:calc(100% - 34px); padding:11px 14px; border-radius:999px; background:#2e2523; color:white; font-size:12px; box-shadow:0 12px 30px rgba(0,0,0,.2); opacity:0; pointer-events:none; transition:.24s ease; }
.toast.show { opacity:1; transform:translate(-50%,0); }

.modal-backdrop { position:fixed; inset:0; z-index:60; display:flex; align-items:flex-end; justify-content:center; padding:14px; background:rgba(26,18,16,.52); backdrop-filter:blur(4px); }
.product-modal { position:relative; width:min(100%, 620px); max-height:90vh; overflow:auto; border-radius:30px 30px 22px 22px; background:var(--paper); box-shadow:0 24px 80px rgba(0,0,0,.26); }
.modal-close { position:sticky; float:right; top:12px; margin:12px 12px -48px 0; z-index:2; width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,253,249,.92); font-size:24px; cursor:pointer; }
.modal-image { width:100%; aspect-ratio:1.05; object-fit:cover; background:var(--paper-2); }
.modal-body { padding:22px; }
.modal-body h2 { margin:5px 0 8px; font:500 30px/1.04 Georgia,serif; }
.modal-price { font-size:18px; font-weight:800; margin:0 0 15px; }
.modal-desc { color:var(--muted); font-size:13px; line-height:1.65; }
.modal-actions { display:flex; gap:9px; margin-top:18px; }
.modal-actions > * { flex:1; text-align:center; }
.modal-site-link { border:1px solid var(--line); border-radius:999px; padding:14px 16px; font-size:12px; font-weight:750; background:var(--white); }

.skeleton-row::before { content:""; width:100%; height:210px; border-radius:22px; background:linear-gradient(90deg,#eee5dd 25%,#f7f2ec 37%,#eee5dd 63%); background-size:400% 100%; animation:shine 1.2s infinite; }
@keyframes shine { 0% { background-position:100% 0; } 100% { background-position:0 0; } }

@media (min-width: 700px) {
  .topbar { padding-inline:28px; }
  main { padding-inline:28px; }
  .hero { padding:58px; min-height:510px; }
  .hero-card { width:170px; height:170px; right:50px; bottom:44px; }
  .horizontal-cards { grid-auto-columns:minmax(250px, 31%); }
  .product-grid { grid-template-columns:repeat(3,1fr); gap:18px; }
  .journal-grid { grid-template-columns:repeat(2,1fr); }
  .journal-preview { grid-template-columns:repeat(2,1fr); }
  .discovery-card { flex-direction:row; align-items:end; padding:38px; }
}
@media (min-width: 1000px) {
  .product-grid { grid-template-columns:repeat(4,1fr); }
  .bottom-nav { border:1px solid var(--line); border-bottom:0; border-radius:22px 22px 0 0; width:min(720px, calc(100% - 28px)); }
}

/* ===== Candles Adventure Web App V2 ===== */
:root {
  --success:#315b43;
  --danger:#945345;
}

button, input, select { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(168,93,69,.24);
  outline-offset: 2px;
}
.sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }

.network-banner {
  position:fixed; inset:0 0 auto; z-index:100; padding:8px 14px; text-align:center;
  background:#302725; color:#fff; font-size:11px; font-weight:700; letter-spacing:.01em;
}
.network-banner:not(.hidden) + .app-shell .topbar { top:32px; }

.topbar { gap:8px; }
.top-actions { gap:5px; }
.icon-btn { width:40px; height:40px; font-size:19px; }
.install-btn { font-size:18px; }
#moreBtn { font-size:14px; letter-spacing:1px; font-weight:900; }

.assurance-strip {
  display:flex; gap:8px; overflow-x:auto; margin:-16px 0 26px; padding:0 2px 6px; scrollbar-width:none;
}
.assurance-strip::-webkit-scrollbar { display:none; }
.assurance-strip span {
  flex:0 0 auto; padding:9px 12px; border:1px solid var(--line); border-radius:999px;
  background:rgba(255,253,249,.72); color:var(--muted); font-size:10px; font-weight:700;
}
.section-block.compact { margin-top:26px; }

.quick-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.quick-card {
  min-width:0; min-height:122px; border:1px solid rgba(85,60,49,.09); border-radius:20px; padding:15px;
  background:var(--white); box-shadow:0 7px 20px rgba(75,45,34,.05); display:flex; flex-direction:column;
  align-items:flex-start; text-align:left; color:var(--ink); cursor:pointer;
}
button.quick-card { width:100%; }
.quick-icon { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; margin-bottom:12px; background:var(--paper-2); color:var(--wine); font-size:18px; }
.quick-card strong { font:500 16px/1.15 Georgia,serif; }
.quick-card small { margin-top:5px; color:var(--muted); font-size:10px; line-height:1.35; }
.quick-card:active { transform:scale(.985); }

.muted-link { color:var(--muted); }
.danger-link { color:var(--danger); }

.search-clear { border:0; background:transparent; color:var(--muted); width:28px; height:28px; border-radius:50%; cursor:pointer; font-size:19px; }
.search-clear:hover { background:var(--paper-2); }

.shop-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 2px 14px; }
.result-count { color:var(--muted); font-size:11px; font-weight:700; }
.toolbar-actions { display:flex; align-items:center; gap:8px; }
.stock-toggle { display:flex; align-items:center; gap:5px; color:var(--muted); font-size:10px; font-weight:700; cursor:pointer; white-space:nowrap; }
.stock-toggle input { accent-color:var(--wine); }
.sort-select select { max-width:140px; border:1px solid var(--line); border-radius:999px; padding:8px 28px 8px 10px; background:var(--white); color:var(--muted); font-size:10px; font-weight:700; }

.product-card { transition:transform .2s ease, box-shadow .2s ease; }
.product-card:hover { box-shadow:0 12px 28px rgba(75,45,34,.09); }
.sale-price { color:var(--wine); }
.old-price { display:block; color:#9c918c; text-decoration:line-through; font-size:9px; margin-bottom:1px; }
.card-status { display:block; color:var(--success); font-size:9px; font-weight:750; margin-top:2px; }
.add-btn { transition:transform .15s ease, background .15s ease; }
.add-btn:active { transform:scale(.92); }

.finder-card {
  border:1px solid var(--line); border-radius:28px; padding:21px; background:var(--white); box-shadow:var(--shadow-soft);
}
.finder-step { display:flex; align-items:flex-start; gap:12px; }
.finder-step h2 { margin:0; font:400 25px/1.08 Georgia,serif; letter-spacing:-.02em; }
.step-number { flex:0 0 34px; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; background:var(--wine); color:white; font:700 12px/1 sans-serif; }
.second-step { margin-top:27px; padding-top:25px; border-top:1px solid var(--line); }
.choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:18px; }
.choice-card {
  min-height:116px; border:1px solid var(--line); border-radius:18px; background:var(--paper); padding:14px; text-align:left; display:flex; flex-direction:column; align-items:flex-start; cursor:pointer;
}
.choice-card > span { font-size:24px; color:var(--wine); margin-bottom:9px; }
.choice-card strong { font:500 15px/1.15 Georgia,serif; }
.choice-card small { margin-top:5px; color:var(--muted); font-size:9px; line-height:1.35; }
.choice-card.active { background:var(--wine); color:white; border-color:var(--wine); }
.choice-card.active > span, .choice-card.active small { color:rgba(255,255,255,.78); }
.wide-choice { grid-column:1/-1; min-height:94px; }
.format-chips { display:flex; gap:8px; overflow-x:auto; padding:16px 0 4px; scrollbar-width:none; }
.format-chips::-webkit-scrollbar { display:none; }
.format-chip { flex:0 0 auto; border:1px solid var(--line); background:var(--paper); color:var(--muted); border-radius:999px; padding:10px 13px; font-size:11px; cursor:pointer; }
.format-chip.active { background:var(--wine); color:white; border-color:var(--wine); }
.finder-submit { margin-top:20px; }

.resource-grid { display:grid; gap:10px; }
.resource-card { display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:12px; padding:14px; border:1px solid var(--line); border-radius:18px; background:var(--white); }
.resource-card > span { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:var(--paper-2); color:var(--wine); font-size:18px; }
.resource-card strong { display:block; font:500 15px/1.2 Georgia,serif; }
.resource-card small { display:block; margin-top:3px; color:var(--muted); font-size:10px; line-height:1.35; }
.resource-card b { color:var(--wine); }

.journal-searchbox { margin-bottom:18px; }
.cart-secondary-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:9px; }
.cart-secondary-actions .text-link { padding-inline:0; }

.scroll-top { position:fixed; z-index:45; right:16px; bottom:calc(84px + var(--safe-bottom)); width:42px; height:42px; border:1px solid var(--line); border-radius:50%; background:rgba(255,253,249,.94); color:var(--wine); box-shadow:var(--shadow-soft); font-size:18px; cursor:pointer; }

.product-stock-pill { display:inline-flex; align-items:center; gap:5px; margin:0 0 10px; padding:6px 9px; border-radius:999px; background:#edf4ef; color:var(--success); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.product-stock-pill.out { background:#f6e9e6; color:var(--danger); }
.modal-price-row { display:flex; align-items:baseline; gap:8px; margin-bottom:15px; }
.modal-price-row .modal-price { margin:0; }
.modal-old-price { color:#9c918c; text-decoration:line-through; font-size:12px; }
.modal-helper { margin:14px 0 0; padding:12px 13px; border-radius:14px; background:var(--paper-2); color:var(--muted); font-size:11px; line-height:1.45; }
.modal-actions { flex-wrap:wrap; }
.modal-actions .buy-now-btn { background:var(--terracotta); color:#fff; }
.modal-inline-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.modal-inline-actions button { border:1px solid var(--line); background:var(--white); border-radius:999px; padding:10px 12px; color:var(--wine); font-size:10px; font-weight:750; cursor:pointer; }

.sheet-backdrop { position:fixed; inset:0; z-index:65; display:flex; align-items:flex-end; justify-content:center; background:rgba(26,18,16,.5); backdrop-filter:blur(4px); padding:10px; }
.simple-sheet { position:relative; width:min(100%,620px); max-height:88vh; overflow:auto; border-radius:28px 28px 20px 20px; padding:0 20px 24px; background:var(--paper); box-shadow:0 24px 80px rgba(0,0,0,.25); }
.sheet-handle { width:42px; height:4px; border-radius:5px; margin:9px auto 0; background:rgba(60,45,40,.18); }
.sheet-close { position:absolute; right:10px; top:7px; float:none; margin:0; }
.sheet-content-head { padding:24px 36px 16px 0; }
.sheet-content-head h2 { margin:4px 0 7px; font:400 30px/1.04 Georgia,serif; }
.sheet-content-head p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.sheet-menu { display:grid; gap:9px; }
.sheet-link { display:grid; grid-template-columns:38px 1fr auto; gap:11px; align-items:center; padding:12px; border-radius:16px; background:var(--white); border:1px solid var(--line); }
.sheet-link > span:first-child { width:38px; height:38px; border-radius:50%; display:grid; place-items:center; background:var(--paper-2); color:var(--wine); }
.sheet-link strong { display:block; font:500 14px/1.2 Georgia,serif; }
.sheet-link small { color:var(--muted); font-size:9px; }
.sheet-note { margin-top:14px; padding:13px; border-radius:15px; background:var(--paper-2); color:var(--muted); font-size:10px; line-height:1.45; }
.install-steps { margin:14px 0 0; padding-left:20px; color:var(--muted); font-size:12px; line-height:1.7; }
.install-cta { width:100%; margin-top:15px; }

.welcome-mark { width:58px; height:58px; border-radius:50%; display:grid; place-items:center; background:var(--wine); color:white; font-size:25px; margin-bottom:15px; }
.welcome-points { display:grid; gap:8px; margin:16px 0; }
.welcome-point { display:flex; gap:10px; align-items:flex-start; padding:10px 12px; border-radius:14px; background:var(--white); border:1px solid var(--line); }
.welcome-point b { color:var(--wine); }
.welcome-point div { font-size:11px; line-height:1.4; color:var(--muted); }
.welcome-actions { display:flex; gap:9px; margin-top:16px; }
.welcome-actions > * { flex:1; }

@media (max-width:390px) {
  .brand-copy strong { font-size:10px; }
  .brand-copy small { display:none; }
  .brand-mark { width:35px; height:35px; }
  .icon-btn { width:36px; height:36px; }
  .topbar { padding-inline:11px; }
  main { padding-inline:12px; }
  .quick-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .quick-card { min-height:115px; padding:13px; }
  .shop-toolbar { align-items:flex-start; }
  .toolbar-actions { flex-direction:column; align-items:flex-end; }
}

@media (min-width:700px) {
  .quick-grid { grid-template-columns:repeat(4,1fr); }
  .quick-card { min-height:142px; }
  .choice-grid { grid-template-columns:repeat(3,1fr); }
  .wide-choice { grid-column:auto; min-height:116px; }
  .finder-card { padding:30px; }
  .resource-grid { grid-template-columns:repeat(2,1fr); }
  .modal-actions { flex-wrap:nowrap; }
}

@media (min-width:1000px) {
  .quick-card:hover, .resource-card:hover, .choice-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-soft); }
  .finder-card { max-width:820px; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
.secondary-sheet-btn { border:1px solid var(--line); border-radius:999px; padding:14px 18px; background:var(--white); color:var(--wine); font-weight:750; cursor:pointer; }

/* ===== Candles Adventure Web App V3 ===== */
.brand-logo {
  display:block !important;
  width:36px !important; height:36px !important;
  min-width:36px !important; min-height:36px !important;
  max-width:36px !important; max-height:36px !important;
  flex:0 0 36px !important;
  object-fit:contain !important;
  border-radius:10px;
  background:#fff;
  border:1px solid rgba(61,43,37,.10);
  box-shadow:0 3px 10px rgba(45,28,23,.07);
}
.ui-icon { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; display:block; }
.icon-btn { display:grid; place-items:center; }
.icon-btn .ui-icon { width:19px; height:19px; }
.status-dot { position:absolute; top:3px; right:3px; width:8px; height:8px; border-radius:50%; background:var(--terracotta); border:2px solid var(--paper); }
#accountDot { background:var(--success); }
.nav-icon { height:24px; display:grid; place-items:center; }
.nav-icon .ui-icon { width:22px; height:22px; }
.nav-item > span.nav-icon:first-child { font-size:inherit; }
.empty-icon { display:grid; place-items:center; margin-inline:auto; }
.empty-icon .ui-icon { width:42px; height:42px; }

.account-content { display:grid; gap:14px; }
.account-card {
  display:flex; align-items:center; gap:14px; padding:18px; border:1px solid var(--line); border-radius:22px;
  background:var(--white); box-shadow:var(--shadow-soft);
}
.account-card > div { min-width:0; }
.account-card strong { display:block; font:500 18px/1.15 Georgia,serif; }
.account-card small { display:block; margin-top:4px; color:var(--muted); font-size:11px; line-height:1.4; }
.account-avatar { width:50px; height:50px; flex:0 0 50px; display:grid; place-items:center; border-radius:50%; background:var(--wine); color:#fff; font-size:20px; overflow:hidden; }
.account-avatar img { width:100%; height:100%; object-fit:cover; }
.account-hero { align-items:flex-start; }
.account-meta { display:flex; flex-wrap:wrap; gap:7px; margin-top:8px; }
.account-meta span { padding:6px 9px; border-radius:999px; background:var(--paper-2); color:var(--muted); font-size:9px; font-weight:700; }
.loyalty-card { display:grid; grid-template-columns:1fr auto; gap:16px; align-items:center; padding:22px; border-radius:24px; color:#fff8ef; background:linear-gradient(135deg,#4b2026,#6f2d3d 58%,#9d5d4a); box-shadow:var(--shadow); }
.loyalty-card .eyebrow { color:#e8c0ad; }
.loyalty-balance { font:400 46px/1 Georgia,serif; letter-spacing:-.04em; }
.loyalty-balance small { display:block; margin-top:6px; color:rgba(255,248,239,.72); font:700 9px/1.2 sans-serif; letter-spacing:.13em; text-transform:uppercase; }
.loyalty-status { width:64px; height:64px; display:grid; place-items:center; border-radius:50%; border:1px solid rgba(255,255,255,.2); font-size:25px; }
.account-actions { display:flex; flex-wrap:wrap; gap:9px; }
.account-actions .primary-btn, .account-actions .secondary-sheet-btn { flex:1; min-width:150px; text-align:center; }
.account-login-card { display:block; padding:24px; }
.account-login-card h2 { margin:0 0 8px; font:400 28px/1.05 Georgia,serif; }
.account-login-card p { color:var(--muted); font-size:12px; line-height:1.55; margin:0 0 18px; }
.account-login-card .primary-btn { width:100%; }
.account-extras { margin-top:28px; }
.push-card { display:grid; grid-template-columns:44px 1fr auto; gap:12px; align-items:center; padding:15px; border:1px solid var(--line); border-radius:20px; background:var(--white); }
.push-card-icon { width:44px; height:44px; display:grid; place-items:center; border-radius:50%; background:var(--paper-2); color:var(--wine); }
.push-card-icon .ui-icon { width:21px; height:21px; }
.push-card strong { display:block; font:500 15px/1.2 Georgia,serif; }
.push-card small { display:block; margin-top:3px; color:var(--muted); font-size:9px; line-height:1.35; }
.push-card button { border:0; border-radius:999px; padding:9px 12px; background:var(--wine); color:#fff; font-size:10px; font-weight:750; cursor:pointer; }
.push-card button[disabled] { background:var(--paper-2); color:var(--muted); cursor:not-allowed; }

.sheet-link-button { width:100%; text-align:left; color:var(--ink); cursor:pointer; }
.push-ready-note { margin-top:12px; padding:13px; border-radius:15px; background:#edf4ef; color:var(--success); font-size:10px; line-height:1.45; }

/* Fenêtre produit plus compacte et plus lisible sur ordinateur. */
@media (min-width:700px) {
  .modal-backdrop { align-items:center; padding:24px; }
  .product-modal { width:min(900px, calc(100% - 48px)); max-height:78vh; border-radius:26px; overflow:hidden; }
  #modalContent { display:grid; grid-template-columns:minmax(280px,.82fr) minmax(390px,1.18fr); min-height:0; max-height:78vh; }
  .modal-image { width:100%; height:100%; min-height:430px; max-height:78vh; aspect-ratio:auto; object-fit:cover; }
  .modal-body { min-width:0; overflow:auto; padding:28px 30px 26px; }
  .modal-body h2 { font-size:clamp(25px,2.4vw,34px); line-height:1.06; }
  .modal-desc { font-size:12px; line-height:1.55; }
  .modal-helper { font-size:10px; }
  .modal-actions { display:grid; grid-template-columns:1fr 1fr; }
  .modal-actions .modal-site-link { grid-column:1/-1; }
  .modal-close { position:absolute; right:13px; top:13px; margin:0; float:none; }
}

@media (max-width:699px) {
  .product-modal { max-height:86vh; }
  .modal-image { max-height:43vh; aspect-ratio:1.15; }
  .modal-body { padding:18px; }
  .modal-body h2 { font-size:25px; }
}

@media (max-width:520px) {
  .topbar { padding-inline:10px; }
  .top-actions { gap:3px; }
  .icon-btn { width:34px; height:34px; }
  .brand-logo { width:36px; height:36px; flex-basis:36px; }
  .brand-button { gap:7px; }
  .brand-copy strong { font-size:9px; letter-spacing:.08em; }
  .brand-copy small { display:none; }
}
@media (max-width:390px) {
  .brand-copy { display:none; }
  .brand-logo { width:38px; height:38px; flex-basis:38px; }
  .top-actions { gap:4px; }
  .icon-btn { width:35px; height:35px; }
}


/* ===== Correctifs PC V3.1 ===== */
.bottom-nav .nav-item {
  grid-template-rows:26px 14px;
  align-content:center;
  gap:3px;
}
.bottom-nav .nav-icon {
  width:28px; height:26px;
  display:grid !important; place-items:center !important;
  color:inherit; opacity:1 !important; visibility:visible !important;
}
.bottom-nav .nav-icon svg {
  display:block !important;
  width:23px !important; height:23px !important;
  fill:none !important; stroke:currentColor !important;
  stroke-width:1.9 !important;
  opacity:1 !important; visibility:visible !important;
}
.bottom-nav .nav-item small { line-height:1; }

/* Le header défile avec la page : seule la navigation basse reste fixe. */
.topbar { position:relative !important; top:auto !important; }

@media (max-width:520px) {
  .brand-logo {
    width:34px !important; height:34px !important;
    min-width:34px !important; min-height:34px !important;
    max-width:34px !important; max-height:34px !important;
    flex-basis:34px !important;
  }
}
@media (max-width:390px) {
  .brand-logo {
    width:34px !important; height:34px !important;
    min-width:34px !important; min-height:34px !important;
    max-width:34px !important; max-height:34px !important;
    flex-basis:34px !important;
  }
}

/* V3.3 — teaser Passeport Explorateur (contenu exclusif site) */
.passport-teaser, .passport-sheet-link {
  display:grid; grid-template-columns:44px 1fr auto; gap:12px; align-items:center;
  margin-top:12px; padding:15px; border:1px solid var(--line); border-radius:20px;
  background:var(--white); color:inherit; text-decoration:none;
}
.passport-teaser-icon, .passport-sheet-link>span:first-child {
  width:44px; height:44px; display:grid; place-items:center; border-radius:50%;
  background:var(--paper-2); color:var(--wine); font-size:19px;
}
.passport-teaser strong, .passport-sheet-link strong { display:block; font:500 15px/1.2 Georgia,serif; }
.passport-teaser small, .passport-sheet-link small { display:block; margin-top:3px; color:var(--muted); font-size:9px; line-height:1.35; }
.passport-teaser>span:last-child, .passport-sheet-link>span:last-child { color:var(--wine); font-weight:800; }
