/* =====================================================================
   Nylna site shell (loaded last): one panoramic background behind every page
   (it used to fill only the title band), side menu on desktop / drop-down on
   phones, account drop-down menu, product share buttons.
   ===================================================================== */
:root {
  --sidenav-w: 264px; --topbar-h: 66px;
  --muted-ink: #5f7189;
  --on-bg: #eef6fd; --on-bg-muted: rgba(226, 238, 250, .78); --on-bg-link: #8fd3fb; --on-bg-line: rgba(255, 255, 255, .14);
  --shell-glass: rgba(3, 22, 48, .62);
}
@media (prefers-color-scheme: dark) { :root { --muted-ink: #91a6be; } }

body.storefront { background: #031630; }

/* ---- the background ---- */
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; isolation: isolate; pointer-events: none; }
.site-bg.has-img .pano-bg {
  background: linear-gradient(100deg, rgba(3,22,48,.94) 0%, rgba(11,59,140,.82) 45%, rgba(2,119,189,.55) 100%), var(--hero-img) center / cover no-repeat;
  animation: kenburns 32s ease-in-out infinite alternate; }
.site-bg .orb-1 { top: -140px; left: 6%; }
.site-bg .orb-2 { bottom: -160px; right: 34%; }

/* ---- text sitting on the background is light; cards and other surfaces keep their own ink ---- */
.site-shell { color: var(--on-bg); --muted: var(--on-bg-muted); }
:where(.site-shell) a { color: var(--on-bg-link); }
.site-shell :where(.card, .tile, .glass-card, .cat-chip, .trust-stat, .review-card, .reply, .auth-card, .special-cta, .tabs a, .round-btn,
  .promo-banner, .acct-menu, .recover-way, .phone-field, .badge.muted, input, select, textarea) { color: var(--text); --muted: var(--muted-ink); }
.site-shell a.stat, .site-shell .card.news { color: var(--text); } /* these two ask for "color: inherit" with a heavier selector */
:where(.card, .tile, .glass-card, .trust-stat, .review-card, .reply, .auth-card, .special-cta, .acct-menu) a { color: var(--primary); }
.site-shell .section .eyebrow { background: rgba(255,255,255,.12); color: #bfe9ff; border-color: rgba(255,255,255,.25); }
.site-shell .section.alt { background: rgba(255,255,255,.035); border-color: var(--on-bg-line); }
.site-shell .soft-head { border-bottom-color: var(--on-bg-line); }
.site-shell .minor-link a:hover { color: #fff; }
.site-shell .card-head h1, .site-shell > main > .container > h1 { color: #fff; }

/* no more title band / hero panel: the content sits straight on the background */
.pano-hero::after { display: none; }
.home-hero { min-height: 0; padding: 46px 0 40px; }
.features-strip { margin-top: 0; }
.category-strip { margin-top: 0; }
.cta-band { background: rgba(255,255,255,.05); border-block: 1px solid var(--on-bg-line); }
footer.site { background: linear-gradient(180deg, rgba(8,37,79,.7) 0%, rgba(3,22,48,.92) 100%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---- shell ---- */
.site-shell { margin-inline-start: var(--sidenav-w); min-height: 100vh; display: flex; flex-direction: column; }
.site-shell > main { flex: 1; }

.topbar { background: var(--shell-glass); border-bottom: 1px solid var(--on-bg-line); z-index: 50; }
.topbar.scrolled { background: rgba(3, 22, 48, .82); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.topbar .container { flex-wrap: nowrap; min-height: var(--topbar-h); padding-top: 0; padding-bottom: 0; gap: 12px; }
.topbar .brand { color: #fff; display: none; }
.topbar .brand small { color: #8fb3d6; }
.nav-end { margin-inline-start: auto; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); transition: background .2s; }
.menu-btn:hover { background: rgba(255,255,255,.18); }
body.nav-open .menu-btn { background: linear-gradient(135deg, var(--primary), #0b93dc); border-color: transparent; }

.top-search { flex: 1; max-width: 440px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: 99px; color: #cfe6f7;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); transition: background .2s, border-color .2s; }
.top-search:focus-within { background: rgba(255,255,255,.16); border-color: #7fd0fb; }
.top-search input { background: transparent; border: 0; color: #fff; padding: 10px 0; border-radius: 0; }
.top-search input:focus { box-shadow: none; outline: none; }
.top-search input::placeholder { color: rgba(255,255,255,.62); }

/* ---- sections menu (desktop: fixed side panel) ---- */
.sidenav { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 40; width: var(--sidenav-w); display: flex; flex-direction: column; gap: 16px;
  padding: 18px 14px; overflow-y: auto; scrollbar-width: thin;
  background: linear-gradient(180deg, rgba(3,22,48,.78), rgba(8,37,79,.6)); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-inline-end: 1px solid var(--on-bg-line); box-shadow: -10px 0 40px rgba(0,0,0,.18); }
.sidenav .brand { color: #fff; padding: 4px 6px 16px; border-bottom: 1px solid var(--on-bg-line); }
.sidenav .brand small { color: #8fb3d6; }
.side-links { display: grid; gap: 4px; }
.side-links a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: #c9dcf0; font-weight: 600;
  transition: background .2s, color .2s; }
.side-links a .ico { color: #7fd0fb; transition: transform .2s; }
.side-links a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.side-links a:hover .ico { transform: scale(1.1); }
.side-links a.active { color: #fff; background: linear-gradient(270deg, rgba(41,169,232,.34), rgba(41,169,232,.06)); box-shadow: inset 0 0 0 1px rgba(127,208,251,.22); }
.side-links a.active .ico { color: #fff; }
.side-links a.active::before { content: ''; position: absolute; inset-block: 9px; inset-inline-start: -14px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #7fd0fb, var(--sky)); }

/* ---- account menu ---- */
.acct { position: relative; }
.acct > summary { list-style: none; cursor: pointer; gap: 6px; user-select: none; }
.acct > summary::-webkit-details-marker { display: none; }
.acct > summary .ico:last-child { transition: transform .2s; }
.acct[open] > summary .ico:last-child { transform: rotate(180deg); }
.acct-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; width: 260px; display: grid; gap: 2px; padding: 8px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(3,22,48,.38); animation: acct-in .18s ease-out; }
@keyframes acct-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.acct-who { padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.acct-who b { display: block; }
.acct-who small { color: var(--muted); }
.acct-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--text); font-weight: 600; }
.acct-menu a .ico { color: var(--primary); }
.acct-menu a:hover { background: var(--surface-2); text-decoration: none; }
.acct-menu a.active { background: var(--primary-soft); color: var(--primary); }
.acct-menu a.acct-out { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; color: var(--bad); }
.acct-menu a.acct-out .ico { color: var(--bad); }

/* ---- product page: ask on WhatsApp + share ---- */
.ask-btn { margin-top: 10px; }
.share-row { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
.share-label { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.share-btns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sh { display: grid; place-items: center; height: 46px; padding: 0; border: 0; border-radius: 14px; color: #fff; cursor: pointer; font: inherit;
  transition: transform .15s, box-shadow .2s, filter .2s; }
.sh:hover { transform: translateY(-2px); text-decoration: none; filter: brightness(1.07); }
.sh-wa { background: linear-gradient(135deg, #1fae55, #25d366); box-shadow: 0 6px 16px rgba(37,211,102,.3); }
.sh-fb { background: #1877f2; box-shadow: 0 6px 16px rgba(24,119,242,.3); }
.sh-tg { background: linear-gradient(135deg, #229ed9, #2aabee); box-shadow: 0 6px 16px rgba(34,158,217,.3); }
.sh-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 6px 16px rgba(214,36,159,.3); }
.share-row .share-msg { margin: 8px 0 0; font-size: .85rem; color: var(--ok); }
.share-row .share-msg:empty { display: none; }

/* ---- product page: trial, back-in-stock, video, related products, phone buy bar ---- */
.trial-note { display: flex; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 600; font-size: .92rem; }
.trial-ribbon { position: absolute; bottom: 10px; inset-inline-end: 10px; z-index: 2; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 800; color: #fff;
  background: linear-gradient(120deg, #14804a, #1fa463); box-shadow: 0 4px 12px rgba(20,128,74,.35); }
.notify-done { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 0; padding: 10px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 700; }
.pvideo { width: 100%; margin-top: 12px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.pvideo-play { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.pvideo-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.pvideo-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 6px 20px rgba(0,0,0,.5)); }
.pvideo-label { position: absolute; bottom: 10px; inset-inline-start: 12px; padding: 3px 12px; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font-weight: 700; font-size: .85rem; }
.pvideo iframe { display: block; width: 100%; height: 100%; border: 0; }
.related { margin-top: 30px; }
.related h2 { margin: 0 0 12px; }
.swipe-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; }
.swipe-row > .card { flex: 0 0 clamp(210px, 23%, 260px); margin: 0; scroll-snap-align: start; }
.buybar { display: none; }

/* ---- opportunity discount countdown ---- */
.promo-timer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 10px 12px;
  border-radius: 14px; background: rgba(255, 255, 255, .75); color: #b42d00; font-weight: 700; font-size: .92rem; }
.pt-cells { display: flex; align-items: baseline; gap: 4px; direction: ltr; unicode-bidi: isolate; flex-direction: row-reverse; }
.pt-cells b { min-width: 38px; padding: 4px 6px; border-radius: 10px; text-align: center; font-size: 1.15rem; font-variant-numeric: tabular-nums; color: #fff;
  background: linear-gradient(135deg, #ff3d3d, #ff8a00); }
.pt-cells small { font-size: .7rem; color: #8a5a3c; margin-inline-end: 4px; }
@media (prefers-color-scheme: dark) { .promo-timer { background: rgba(0, 0, 0, .25); color: #ffb48a; } .pt-cells small { color: #e9c2a6; } }

/* ---- bundles ---- */
.bundle-tag { background: linear-gradient(120deg, #e9e3ff, #d8ccff); color: #4b2fa8; display: inline-flex; align-items: center; gap: 4px; }
.save-tag { background: var(--ok-soft); color: var(--ok); }
.bundle-count { position: absolute; bottom: 10px; inset-inline-start: 10px; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: #fff; background: rgba(8, 37, 79, .78); }
.bundle-card .product-media { background: radial-gradient(circle at 30% 20%, #efe9ff, var(--surface-2) 70%); }
.bundle-card .product-icon { color: #6d4fd8; }
.bundle-hint { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 11px 14px; border-radius: 14px; color: #4b2fa8; font-size: .92rem;
  background: linear-gradient(120deg, #f2eeff, #e9e3ff); border: 1px solid #d8ccff; }
.bundle-hint span { flex: 1; }
.bundle-hint:hover { text-decoration: none; border-color: #6d4fd8; }
.bundle-h { margin: 16px 0 8px; }
.bundle-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.bundle-items li { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.bi-thumb { flex: none; width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.bi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bi-name { flex: 1; min-width: 0; display: grid; }
.bi-name a { color: var(--text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bi-price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.bundle-total { margin: 4px 0 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--border); }
.bundle-total del { color: var(--muted); }
.bundle-save-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 0; padding: 8px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 700; }
.summary-line.bundle-save { color: var(--ok); font-weight: 700; }
.bundle-row { grid-template-columns: minmax(0, 3fr) minmax(0, 1.3fr) 90px; }
@media (prefers-color-scheme: dark) {
  .bundle-tag, .bundle-hint { background: #241c45; color: #c9b8ff; border-color: #3b2f6e; }
  .bundle-card .product-media { background: radial-gradient(circle at 30% 20%, #241c45, var(--surface-2) 70%); }
}
@media (max-width: 640px) { .bundle-row { grid-template-columns: 1fr 1fr; } .bundle-row .field:first-child { grid-column: 1 / -1; } }

/* ---- review attachments: the form ---- */
.rv-attach { margin: 4px 0 14px; }
.rv-title { margin: 0 0 8px; font-weight: 700; }
.rv-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rv-btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 76px; margin: 0; padding: 10px 6px;
  border-radius: 16px; border: 1.5px dashed var(--border); background: var(--surface-2); color: var(--primary); font: inherit; font-weight: 700; font-size: .88rem;
  text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.rv-btn:hover, .rv-btn:focus-within { border-color: var(--primary); background: var(--primary-soft); }
.rv-btn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.rv-rec[hidden] { display: none; }
.rv-rec.on { border-style: solid; border-color: var(--bad); background: var(--bad-soft); color: var(--bad); animation: promo-pulse 1.4s ease-in-out infinite; }
.rv-audio-file.rv-small { grid-column: 1 / -1; min-height: 0; flex-direction: row; padding: 4px; border: 0; background: none; color: var(--muted); font-size: .8rem; font-weight: 600; }
.rv-audio-file.rv-small .ico { width: 16px; height: 16px; }
.rv-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.rv-previews:empty { display: none; }
.rv-chip { position: relative; display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; }
.rv-chip img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.rv-chip audio { height: 36px; max-width: 230px; }
.rv-chip .rv-ico { font-size: 1.4rem; }
.rv-x { position: absolute; top: -8px; inset-inline-end: -8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--bad); color: #fff; font-size: 1.05rem; line-height: 1; cursor: pointer; }
.rv-msg { margin: 8px 0 0; color: var(--bad); font-size: .88rem; font-weight: 600; }
.rv-msg:empty { display: none; }
.rv-hint { margin: 8px 0 0; }
.rv-clear { margin-top: 8px; }

/* ---- review attachments: on the review card ---- */
.rv-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.rv-shots.n1 { grid-template-columns: 1fr; }
.rv-shots.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-shot { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); cursor: zoom-in; }
.rv-shots.n1 .rv-shot { aspect-ratio: 16 / 10; }
.rv-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rv-video { display: block; width: 100%; max-height: 360px; border-radius: 12px; background: #000; }
.rv-voice { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 99px; background: var(--primary-soft); color: var(--primary); }
.rv-voice audio { flex: 1; min-width: 0; height: 36px; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.9); cursor: zoom-out; animation: acct-in .18s ease-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.rv-admin-media { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.rv-admin-media img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.rv-admin-media video { width: 220px; max-height: 160px; border-radius: 10px; background: #000; }
.rv-admin-media audio { height: 40px; }

/* ---- phones (almost every visitor): short pages, two products per row, swipe rows, sticky buy bar ---- */
@media (max-width: 900px) {
  .buybar:not([hidden]) { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 55; align-items: center; gap: 12px; color: var(--text);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--glass-strong); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border); box-shadow: 0 -10px 30px rgba(3,22,48,.25); transform: translateY(110%); transition: transform .25s; }
  .buybar.on { transform: none; }
  .buybar-info { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
  .buybar-info b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .9rem; }
  .buybar-info .num { color: var(--primary); font-weight: 800; }
  .buybar .btn { flex: none; padding: 11px 18px; }
  body.buybar-on .wa-float { bottom: 88px; }
  body.buybar-on footer.site { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .section-head { margin-bottom: 22px; }
  .features-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature { flex-direction: column; gap: 8px; padding: 14px 10px; text-align: center; }
  .feature div span { display: none; }
  .feature-ico { width: 44px; height: 44px; border-radius: 13px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 16px 12px; align-items: center; text-align: center; border-radius: 18px; }
  .tile p, .tile-more { display: none; }
  .tile h3 { margin-top: 6px; font-size: .98rem; }
  .tile-ico { width: 50px; height: 50px; border-radius: 15px; }

  .grid.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid.swipe { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .grid.swipe > * { flex: 0 0 62%; min-width: 0; scroll-snap-align: start; }
  .grid.swipe > * > .card, .grid.swipe > .card { height: 100%; margin: 0; }
  .pano-item { flex-basis: 62%; }
  .review-item { flex-basis: 86%; }
  .swipe-row { margin-inline: -16px; padding-inline: 16px; gap: 10px; }
  .swipe-row > .card { flex-basis: 46%; }

  .card.product { padding: 10px; border-radius: 16px; margin-bottom: 0; }
  .card.product .product-media { margin-bottom: 8px; border-radius: 12px; }
  .card.product .product-media .ico { width: 40px; height: 40px; }
  .card.product .tags .muted-tag { display: none; }
  .card.product .type-tag { font-size: .68rem; padding: 1px 8px; margin-bottom: 2px; }
  .card.product h3 { margin: 4px 0 2px; font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card.product .social-proof { gap: 2px 8px; font-size: .72rem; margin: 0 0 4px; }
  .card.product .sp-buyers { padding: 1px 7px; }
  .card.product .stars { font-size: .8rem; letter-spacing: 0; }
  .card.product .price { margin: 2px 0 6px; font-size: 1.08rem; }
  .card.product .price .muted.small, .card.product .price .sdg { display: block; font-size: .7rem; }
  .card.product .promo-line { font-size: .72rem; }
  .card.product .btn { padding: 8px 6px; font-size: .84rem; }
  .card.product .special-actions { grid-template-columns: 1fr; gap: 6px; }
  .card.product .promo-ribbon { top: 6px; inset-inline-end: 6px; padding: 3px 8px; font-size: .7rem; }
  .card.product .trial-ribbon { bottom: 6px; inset-inline-end: 6px; padding: 2px 8px; font-size: .66rem; }
  .card.product .media-badge, .card.product .cond-badge { font-size: .66rem; }
}

/* ---- admin: bulk WhatsApp messages ---- */
.bc-audience { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.bc-opt[hidden], .bc-list label[hidden] { display: none; }
.bc-list { max-height: 320px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 14px;
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.bc-preview { margin: 6px 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.bc-preview.bad { background: var(--bad-soft); color: var(--bad); }
.bc-preview .muted { margin-top: 4px; }
.bc-sample { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface); color: var(--text); border: 1px dashed var(--border); }

/* ---- desktop: the floating WhatsApp button clears the side menu ---- */
@media (min-width: 961px) {
  .wa-float { inset-inline-start: calc(var(--sidenav-w) + 22px); }
  .pano-track { padding-inline: max(16px, calc((100vw - var(--sidenav-w) - 1180px) / 2 + 16px)); }
}

/* ---- tablets and phones: no side panel; the sections drop down under the top bar ---- */
@media (max-width: 960px) {
  :root { --topbar-h: 62px; }
  .site-shell { margin-inline-start: 0; }
  .menu-btn { display: grid; }
  .topbar .brand { display: flex; }
  .top-search { display: none; }
  .sidenav { top: var(--topbar-h); bottom: auto; inset-inline: 0; width: auto; max-height: calc(100vh - var(--topbar-h)); padding: 10px 14px 16px;
    border-inline-end: 0; border-bottom: 1px solid var(--on-bg-line); border-radius: 0 0 22px 22px; background: rgba(3,22,48,.95);
    box-shadow: 0 30px 60px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .22s, transform .22s, visibility 0s .22s; }
  body.nav-open .sidenav { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }
  .sidenav .brand { display: none; }
  .side-links a.active::before { display: none; }
}
@media (max-width: 520px) {
  .topbar .container { gap: 8px; }
  .topbar .brand span { display: none; }
  .nav-end .btn.sm { padding: 6px 10px; }
  .acct-menu { position: fixed; top: var(--topbar-h); inset-inline: 10px; width: auto; max-height: calc(100vh - var(--topbar-h) - 20px); overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg.has-img .pano-bg, .acct-menu { animation: none; }
  .sidenav { transition: none; }
}
@media print {
  .site-bg, .sidenav, .menu-btn, .top-search, .acct { display: none !important; }
  .site-shell { margin: 0; color: #000; }
  body.storefront { background: #fff; }
}
