/* O'life Natural EU shop — layer on top of Mono theme (product-landing) */
:root {
  --sw-yellow: #FFE600;
  --sw-yellow-soft: #FFF8C2;
  --ink: #1d1a1b;
  --muted: #6f6a6c;
  --line: #ece9e4;
  --cream: #faf8f3;
  --sale: #e5484d;
  --radius: 18px;
  --topbar-h: 58px;
  --tabbar-h: 62px;
}
html { -webkit-tap-highlight-color: transparent; }
body { background: #fff; color: var(--ink); padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 992px) { body { padding-bottom: 0; } }
h1, h2, h3, h4, h5, h6 { color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; }
.text-muted2 { color: var(--muted) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 900; height: var(--topbar-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 8px; }
.topbar .logo img { height: 34px; width: auto; display: block; }
.topbar .spacer { flex: 1; }
.topbar .desk-nav { display: none; gap: 26px; margin-left: 32px; font-weight: 600; font-size: 15px; }
.topbar .desk-nav a { text-decoration: none; opacity: .75; }
.topbar .desk-nav a:hover, .topbar .desk-nav a.active { opacity: 1; }
@media (min-width: 992px) { .topbar .desk-nav { display: flex; } }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; font-size: 21px; color: var(--ink);
  text-decoration: none; cursor: pointer;
}
.icon-btn:hover { background: #f4f2ee; }
.badge-dot {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.badge-dot:empty, .badge-dot[data-n="0"] { display: none; }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 7px 12px; }
.announce b { color: var(--sw-yellow); }

/* ---------- Stories (category bubbles) ---------- */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 16px 4px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; width: 76px; text-align: center; background: none; border: 0; padding: 0; cursor: pointer; scroll-snap-align: start; }
.story .ring {
  width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, var(--sw-yellow), #ffb200, var(--sw-yellow));
}
.story .ring img, .story .ring span {
  width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; object-fit: cover; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.story small { font-size: 12px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story.active .ring { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sw-yellow);
  display: grid; grid-template-columns: 1.25fr 1fr; min-height: 250px; margin-top: 10px;
}
.hero .txt { padding: 22px 18px; z-index: 1; align-self: center; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 3rem); font-weight: 800; line-height: 1.05; margin-bottom: 10px; }
.hero p { font-size: 15px; max-width: 30rem; margin-bottom: 18px; color: #3b3637; }
.hero .img { position: relative; }
.hero .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) { .hero p { font-size: 13.5px; } .hero .btn-pill { padding: 10px 16px; font-size: 14px; } }
@media (min-width: 768px) {
  .hero { grid-template-columns: 1.2fr 1fr; min-height: 400px; }
  .hero .txt { padding: 48px 56px; }
}
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 40px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff !important; font-weight: 700; font-size: 15px; padding: 12px 24px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .2s;
}
.btn-pill:active { transform: scale(.97); }
.btn-pill.light { background: #fff; color: var(--ink) !important; border-color: #fff; }
.btn-pill.yellow { background: var(--sw-yellow); color: var(--ink) !important; border-color: var(--sw-yellow); }
.btn-pill.outline { background: transparent; color: var(--ink) !important; }
.btn-pill.block { width: 100%; }
.btn-pill[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Toolbar (search + view toggle) ---------- */
.toolbar { display: flex; gap: 10px; align-items: center; margin: 22px 0 14px; }
.search { flex: 1; position: relative; }
.search input {
  width: 100%; height: 44px; border-radius: 22px; border: 1px solid var(--line); background: #f7f6f3; padding: 0 16px 0 42px; font-size: 15px;
}
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.seg { display: inline-flex; background: #f2f0ec; border-radius: 22px; padding: 3px; }
.seg a, .seg button { border: 0; background: none; width: 40px; height: 38px; border-radius: 19px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: var(--muted); text-decoration: none; }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* ---------- Product grid (explore style) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .pgrid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.pcard { position: relative; display: block; text-decoration: none; }
.pcard .media { position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--cream); }
.pcard .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: opacity .35s, transform .5s; }
.pcard .media img.alt { opacity: 0; object-fit: cover; padding: 0; mix-blend-mode: normal; }
@media (hover: hover) { .pcard:hover .media img.alt { opacity: 1; } .pcard:hover .media img { transform: scale(1.03); } }
.pcard .tag {
  position: absolute; left: 8px; top: 8px; background: #fff; border-radius: 20px; padding: 3px 9px; font-size: 11px; font-weight: 700;
}
.pcard .tag.sale { background: var(--sale); color: #fff; }
.pcard .tag.soon { background: var(--ink); color: #fff; }
.pcard .heart, .pcard .quick {
  position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center; font-size: 17px; cursor: pointer; z-index: 2;
}
.pcard .heart { right: 8px; top: 8px; }
.pcard .quick { right: 8px; bottom: 8px; background: var(--ink); color: #fff; }
.pcard .info { padding: 9px 2px 4px; }
.pcard .title { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 4px; }
.price { font-weight: 800; font-size: 15px; }
.price s { color: var(--muted); font-weight: 500; font-size: .85em; margin-left: 6px; }
.price .from { font-weight: 500; font-size: .8em; color: var(--muted); margin-right: 3px; }
.heart.on i::before { content: "\f415"; color: var(--sale); } /* bi-heart-fill */
.is-hidden { display: none !important; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty i { font-size: 44px; display: block; margin-bottom: 10px; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 36px 0; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { background: var(--cream); border-radius: 14px; padding: 16px; font-size: 13px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.trust i { font-size: 22px; }

/* ---------- Feed (vertical snap) ---------- */
body.feed-page { padding-bottom: 0; background: #000; overflow: hidden; }
.feed { height: 100dvh; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.feed::-webkit-scrollbar { display: none; }
.reel { position: relative; height: 100dvh; scroll-snap-align: start; scroll-snap-stop: always; background: #111; color: #fff; overflow: hidden; }
.reel .slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reel .slides::-webkit-scrollbar { display: none; }
.reel .slide { flex: 0 0 100%; height: 100%; scroll-snap-align: center; background: #f4f2ee; display: flex; align-items: center; justify-content: center; }
.reel .slide img { width: 100%; height: 100%; object-fit: contain; }
@media (max-aspect-ratio: 3/4) { .reel .slide img { object-fit: cover; } }
.reel .shade { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0)); pointer-events: none; }
.reel .meta { position: absolute; left: 16px; right: 84px; bottom: calc(22px + env(safe-area-inset-bottom)); }
.reel .meta .cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--sw-yellow); }
.reel .meta h2 { color: #fff; font-size: 20px; font-weight: 800; line-height: 1.2; margin: 6px 0 6px; }
.reel .meta .price { color: #fff; font-size: 18px; }
.reel .meta .price s { color: rgba(255,255,255,.6); }
.reel .meta .btn-pill { margin-top: 12px; padding: 10px 20px; font-size: 14px; }
.reel .actions { position: absolute; right: 12px; bottom: calc(110px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; align-items: center; }
.reel .actions button, .reel .actions a {
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(0,0,0,.38); backdrop-filter: blur(6px); color: #fff;
  font-size: 24px; display: flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
}
.reel .actions small { display: block; font-size: 11px; text-align: center; margin-top: 3px; font-weight: 600; }
.reel .dots { position: absolute; top: calc(70px + env(safe-area-inset-top)); left: 0; right: 0; display: flex; gap: 4px; justify-content: center; padding: 0 16px; }
.reel .dots span { flex: 1; max-width: 46px; height: 3px; border-radius: 2px; background: rgba(0,0,0,.18); }
.reel .dots span.on { background: var(--ink); }
.reel .burst { position: absolute; left: 50%; top: 45%; font-size: 96px; color: #fff; transform: translate(-50%,-50%) scale(0); opacity: 0; pointer-events: none; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.reel .burst.go { animation: burst .8s ease forwards; }
@keyframes burst { 30% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; } 60% { transform: translate(-50%,-50%) scale(.95); opacity: 1; } 100% { transform: translate(-50%,-60%) scale(1); opacity: 0; } }
.feed-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 6px;
  padding: calc(10px + env(safe-area-inset-top)) 10px 10px; background: linear-gradient(to bottom, rgba(255,255,255,.85), rgba(255,255,255,0));
}
.feed-top .chips { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.feed-top .chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; border: 1px solid rgba(0,0,0,.12); background: rgba(255,255,255,.9); border-radius: 20px; padding: 7px 13px; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (min-width: 992px) {
  .feed { max-width: 480px; margin: 0 auto; }
  .feed-top { max-width: 480px; margin: 0 auto; }
}

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 992px) { .pdp { grid-template-columns: 1.15fr 1fr; gap: 48px; padding-top: 28px; } }
.gallery { position: relative; margin: 0 -12px; }
@media (min-width: 992px) { .gallery { margin: 0; position: sticky; top: calc(var(--topbar-h) + 20px); align-self: start; } }
.gallery .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1/1; background: var(--cream); }
@media (min-width: 992px) { .gallery .track { border-radius: var(--radius); } }
.gallery .track::-webkit-scrollbar { display: none; }
.gallery .track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.gallery .count { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,.55); color: #fff; border-radius: 14px; font-size: 12px; font-weight: 700; padding: 3px 10px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px 0; scrollbar-width: none; }
@media (min-width: 992px) { .thumbs { padding: 12px 0 0; } }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { flex: 0 0 62px; height: 62px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--cream); }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { padding-top: 18px; }
.buybox .cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.buybox h1 { font-size: clamp(1.4rem, 3.2vw, 2rem); font-weight: 800; line-height: 1.2; margin: 6px 0 10px; }
.buybox .price { font-size: 24px; }
.buybox .vat { font-size: 12px; color: var(--muted); }
.opt-label { font-size: 13px; font-weight: 700; margin: 20px 0 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.opts button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.opts button.na { opacity: .45; text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 30px; height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 18px; }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.buyrow { display: flex; gap: 10px; margin-top: 20px; align-items: center; }
.buyrow .btn-pill { flex: 1; height: 50px; }
.perks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks i { font-size: 18px; }
.desc { border-top: 1px solid var(--line); margin-top: 26px; }
.desc details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.desc summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.desc summary::after { content: "+"; font-size: 20px; line-height: 1; }
.desc details[open] summary::after { content: "–"; }
.desc .body { padding-top: 12px; font-size: 15px; line-height: 1.65; color: #3d393a; }
.desc .body ul { padding-left: 18px; }
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 800; background: #fff;
  border-top: 1px solid var(--line); padding: 10px 14px; display: flex; gap: 12px; align-items: center;
  transform: translateY(130%); transition: transform .25s ease;
}
.sticky-buy.show { transform: none; }
.sticky-buy .t { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 992px) { .sticky-buy { display: none; } }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 6px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
@media (min-width: 768px) { .hscroll { grid-auto-columns: 30%; } }
@media (min-width: 1200px) { .hscroll { grid-auto-columns: 23%; } }

/* ---------- Bottom tab bar (mobile) ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); display: flex;
}
.tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; border: 0; background: none; position: relative; }
.tabbar i { font-size: 22px; }
.tabbar .on { color: var(--ink); }
.tabbar .badge-dot { top: 6px; right: calc(50% - 22px); }
.feed-page .tabbar { background: rgba(0,0,0,.6); border-color: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.feed-page .tabbar a, .feed-page .tabbar button { color: rgba(255,255,255,.7); }
.feed-page .tabbar .on { color: #fff; }
.feed-page .reel .meta { bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom)); }
.feed-page .reel .actions { bottom: calc(var(--tabbar-h) + 100px + env(safe-area-inset-bottom)); }
@media (min-width: 992px) { .tabbar { display: none; } .feed-page .tabbar { display: flex; max-width: 480px; margin: 0 auto; } }

/* ---------- Drawers (cart / sheet) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1990; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; z-index: 2000; background: #fff; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2,.8,.2,1);
  left: 0; right: 0; bottom: 0; max-height: 88dvh; border-radius: 22px 22px 0 0; transform: translateY(105%);
}
@media (min-width: 768px) {
  .drawer { left: auto; top: 0; bottom: 0; width: 420px; max-height: none; border-radius: 0; transform: translateX(105%); }
}
.drawer.show { transform: none; }
.drawer .grab { width: 40px; height: 4px; border-radius: 2px; background: #ddd; margin: 8px auto 0; }
@media (min-width: 768px) { .drawer .grab { display: none; } }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.drawer header h5 { margin: 0; font-weight: 800; }
.drawer .items { flex: 1; overflow-y: auto; padding: 6px 18px; }
.drawer footer { border-top: 1px solid var(--line); padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--cream); }
.line .n { font-size: 14px; font-weight: 600; line-height: 1.3; }
.line .v { font-size: 12px; color: var(--muted); }
.line .qty { height: 34px; margin-top: 6px; }
.line .qty button { width: 32px; font-size: 15px; }
.line .rm { border: 0; background: none; color: var(--muted); font-size: 18px; }
.tot { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.ship-meter { font-size: 13px; margin: 4px 0 12px; }
.ship-meter .bar { height: 6px; border-radius: 3px; background: #eee; margin-top: 6px; overflow: hidden; }
.ship-meter .bar span { display: block; height: 100%; background: var(--ink); border-radius: 3px; transition: width .3s; }

/* ---------- Toast ---------- */
.toast-x {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 3000;
  background: var(--ink); color: #fff; border-radius: 30px; padding: 11px 20px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: all .25s; white-space: nowrap; display: flex; gap: 8px; align-items: center;
}
.toast-x.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 992px) { .toast-x { bottom: 28px; } }

/* ---------- Fullscreen menu tweaks ---------- */
.fullscreen-menu { z-index: 2500; }
.fullscreen-menu h2 a { text-decoration: none; }
.fullscreen-menu .fm-close { cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); margin-top: 48px; padding: 36px 0 24px; font-size: 14px; }
.site-footer a { text-decoration: none; opacity: .8; }
.site-footer a:hover { opacity: 1; }
.site-footer h6 { font-weight: 800; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; font-size: 26px; opacity: .7; }

/* Mobile density */
@media (max-width: 575.98px) { .container { padding: 0 12px; } }
.pdp > * { min-width: 0; }
.opts button { text-align: left; }
/* Feed: show whole product above the caption instead of cropping packshots */
.reel .slide { background: #fff; padding: calc(64px + env(safe-area-inset-top)) 0 calc(var(--tabbar-h) + 150px + env(safe-area-inset-bottom)); }
.reel .slide img, .reel .slide img { object-fit: contain !important; }
.reel .shade { height: 52%; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 100%); }

/* policy pages */
.policy p, .policy ul { margin-bottom: .9rem; }
.policy h5 { margin-top: 1.8rem !important; }
.policy a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* cookie consent */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; padding: 12px; padding-bottom: calc(12px + var(--tabbar-h) + env(safe-area-inset-bottom)); pointer-events: none; }
.cc[hidden] { display: none; }
.cc-card { pointer-events: auto; max-width: 560px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: 0 18px 50px -12px rgba(0,0,0,.35); border: 1px solid var(--line); padding: 20px; }
.cc-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 6px; }
.cc-text { font-size: 14px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }
.cc-text a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cc-prefs { border-top: 1px solid var(--line); margin: 0 0 14px; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cc-row b { display: block; font-size: 14px; color: var(--ink); }
.cc-row small { display: block; font-size: 12.5px; color: var(--muted); }
.cc-row input { width: 42px; height: 24px; flex: 0 0 42px; appearance: none; -webkit-appearance: none; background: #d9d5cf; border-radius: 24px; position: relative; cursor: pointer; transition: background .2s; }
.cc-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cc-row input:checked { background: var(--ink); }
.cc-row input:checked::after { transform: translateX(18px); }
.cc-row input:disabled { opacity: .55; cursor: not-allowed; }
.cc-row input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-btns .btn-pill { width: 100%; justify-content: center; padding: 11px 14px; font-size: 14px; }
.cc-btns .cc-wide { grid-column: 1 / -1; }
.cc-btns .is-hidden { display: none !important; }
@media (min-width: 768px) {
  .cc { left: auto; right: 20px; bottom: 20px; padding: 0; }
  .cc-card { width: 440px; }
}

/* 3D viewer slide (designs published from the CRM via /3d/manifest.json) */
.gallery .track .v3d { flex: 0 0 100%; width: 100%; height: 100%; position: relative; scroll-snap-align: center; background: radial-gradient(120% 90% at 50% 35%, #fff 0%, var(--cream) 65%); overflow: hidden; }
.v3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.v3d-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 14px; pointer-events: none; }
.v3d-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 12px; color: #555; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 14px; white-space: nowrap; pointer-events: none; transition: opacity .5s; }
.v3d.used .v3d-hint { opacity: 0; }
.v3d-designs { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; padding: 0 12px; }
.v3d-designs button { border: 1.5px solid var(--ink); background: #fff; border-radius: 14px; font-size: 12px; font-weight: 700; padding: 4px 10px; }
.v3d-designs button.on { background: var(--ink); color: #fff; }
.v3d:has(.v3d-designs) .v3d-hint { bottom: 52px; }
.thumbs button.t3d { font-weight: 900; font-size: 15px; color: var(--ink); background: linear-gradient(135deg, #ffe36b, #ffb3c1); }
