/* =====================================================================
   RESPAR CARTOONS — v3 LAYER
   Store · pages · account · help · news · CMS sections · UX system
   Built strictly on the original tokens (styles.css :root) so the
   visual identity is unchanged. Mobile-first; breakpoints 600/720/1080.
   ===================================================================== */

/* ---------- 0. Base & utilities ---------- */
[hidden] { display: none !important; }
svg.ico { width: 18px; height: 18px; flex: none; }
.btn svg.ico { width: 20px; height: 20px; }
.btn-sm svg.ico { width: 16px; height: 16px; }
mark { background: rgba(255, 214, 102, .35); color: inherit; border-radius: 4px; padding: 0 2px; }
.on-light mark, :is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) mark { background: #ffe9a8; }
.muted { color: rgba(255, 255, 255, .6); }
:is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) .muted { color: var(--ink-soft); }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 2px; font-weight: 700; font-size: .84rem; color: var(--sun); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: transparent; transition: text-decoration-color .2s; cursor: pointer; }
.link-btn:hover { text-decoration-color: currentColor; }
.link-btn svg.ico { width: 15px; height: 15px; }
.link-btn.danger { color: #ff8fae; }
:is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) .link-btn, .drawer .link-btn, .on-light .link-btn { color: var(--violet); }
.drawer .link-btn.danger, :is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) .link-btn.danger { color: #d61f5b; }
.chip-btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .85); font-weight: 700; font-size: .8rem; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease-spring), background .2s, border-color .2s; }
.chip-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
:is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) .chip-btn { border-color: #e4dbf3; background: #fff; color: var(--ink); }
.btn-ghost-dark { --btn-bg: #fff; --btn-fg: var(--ink); --btn-shadow: #d9cdee; border: 1px solid #e4dbf3; }
.btn-ghost-dark::after { opacity: .2; }
.btn-danger { --btn-bg: linear-gradient(135deg, #ff6b8f, #e23a6c); --btn-fg: #fff; --btn-shadow: #a3173f; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; filter: grayscale(.3); }
.btn.added { animation: addPop .5s var(--ease-spring); }
@keyframes addPop { 40% { transform: scale(.92); } 70% { transform: scale(1.06); } }
.sample-tag { display: inline-flex; vertical-align: middle; margin-left: 10px; padding: 3px 8px; border-radius: 7px; font-family: var(--font-display); font-size: .58rem; letter-spacing: .14em; font-weight: 700; color: #7a5200; background: #ffe9a8; text-transform: uppercase; }
.field-note { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }
.field-note a { color: var(--violet); font-weight: 700; }
.page-narrow { max-width: 860px; }

/* ---------- 1. Header utilities, announcement, mobile extras ---------- */
.nav-utils { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nu-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; backdrop-filter: blur(10px); transition: transform .3s var(--ease-spring), background .2s, border-color .2s; }
.nu-btn svg { width: 19px; height: 19px; }
.nu-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .32); }
.nu-btn.route-active, .nu-btn[aria-current="page"] { background: #fff; color: var(--ink); }
.nu-count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-display); font-size: .62rem; font-weight: 800; color: #fff; background: var(--coral); box-shadow: 0 0 0 2px var(--night); font-style: normal; }
.nu-count.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.5); } }
#wishBtn, #accountBtn { display: none; }
.burger { flex: none; }
.nav-shell { gap: 10px; }
.nav-links a.route-active { color: var(--ink); background: #fff; }
@media (min-width: 720px) { #wishBtn, #accountBtn { display: grid; } .nav-utils { gap: 6px; } }
@media (min-width: 1080px) {
  .nav-utils { margin-left: 0; }
  .nu-btn { width: 40px; height: 40px; }
}
@media (min-width: 1080px) and (max-width: 1239px) {
  .nav-links a { padding: 9px 9px; font-size: .82rem; }
  .brand-text small { display: none; }
}
@media (max-width: 359px) { .brand-text { display: none; } }

.announce { position: relative; margin: -10px calc(-1 * var(--pad-x)) 10px; padding: 8px var(--pad-x); color: var(--ink); background: var(--grad-brand); font-size: .84rem; font-weight: 700; overflow: hidden; transition: margin .28s, opacity .28s, max-height .28s; max-height: 120px; }
.announce.tone-mint { background: linear-gradient(120deg, var(--mint), var(--sky)); }
.announce.tone-dark { background: #1c0f3f; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.announce.tone-sun { background: var(--sun); }
.announce.closing { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
.announce-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.announce-inner p { margin: 0; line-height: 1.35; }
.announce-inner a { color: inherit; font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.announce-inner a svg { width: 14px; height: 14px; }
.announce-x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(27, 16, 53, .12); color: inherit; }
.announce-x svg { width: 15px; height: 15px; }
.announce-x:hover { background: rgba(27, 16, 53, .22); }
@media (min-width: 1080px) { .announce { margin-top: -14px; margin-bottom: 12px; } }
:root { --announce-h: 0px; }
.site-header.scrolled .announce { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; }
body.has-announce .hero { padding-top: calc(var(--header-h) + var(--announce-h) + 40px); }
h1[tabindex="-1"]:focus, h1[tabindex="-1"]:focus-visible, h2[tabindex="-1"]:focus-visible { outline: none; }

.m-extras { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.m-extras a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; font-weight: 700; font-size: .9rem; }
.m-extras a svg { width: 17px; height: 17px; color: var(--sun); }
.m-extras a:hover { background: rgba(255, 255, 255, .16); }

/* ---------- 2. Toasts, confirm dialog, local ribbon ---------- */
.toasts { position: fixed; z-index: 400; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(94vw, 440px); display: grid; gap: 10px; pointer-events: none; }
.toast-item { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 11px 10px 11px 14px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -18px rgba(8, 4, 22, .65), 0 0 0 1px rgba(27, 16, 53, .06); font-size: .9rem; font-weight: 600; animation: toastIn .45s var(--ease-spring); }
.toast-item.out { animation: toastOut .26s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(.97); } }
.t-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none; background: #efe7fd; color: var(--violet); }
.t-ico svg { width: 16px; height: 16px; }
.t-success .t-ico { background: #dcfaee; color: #0f8a5f; }
.t-error .t-ico { background: #ffe1ea; color: #d61f5b; }
.t-warn .t-ico { background: #fff1cc; color: #a26b00; }
.t-msg { flex: 1; line-height: 1.35; }
.t-act { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 13px; font-weight: 800; font-size: .78rem; white-space: nowrap; }
.t-act:hover { background: var(--violet); }
.t-x { border: 0; background: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink-soft); }
.t-x:hover { background: #f3eefb; }
.t-x svg { width: 15px; height: 15px; }
@media (min-width: 720px) { .toasts { left: auto; right: 22px; bottom: 22px; transform: none; } }

.rc-dialog { position: fixed; inset: 0; z-index: 320; display: grid; place-items: center; padding: 20px; }
.rc-dialog-backdrop { position: absolute; inset: 0; background: rgba(8, 4, 22, .62); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.rc-dialog.open .rc-dialog-backdrop { opacity: 1; }
.rc-dialog-card { position: relative; width: 100%; max-width: 420px; padding: 26px 24px 22px; border-radius: var(--r-lg); background: #fff; color: var(--ink); text-align: center; box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .25s, transform .4s var(--ease-spring); }
.rc-dialog.open .rc-dialog-card { opacity: 1; transform: none; }
.rc-dialog-ico { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: #efe7fd; color: var(--violet); }
.rc-dialog-ico.danger { background: #ffe1ea; color: #d61f5b; }
.rc-dialog-ico svg { width: 26px; height: 26px; }
.rc-dialog-card h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 8px; }
.rc-dialog-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: .94rem; }
.rc-dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rc-dialog-actions .btn { min-height: 46px; flex: 1 1 140px; }

.local-ribbon { position: fixed; z-index: 150; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(96vw, 720px); display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 16px; background: #fff4d6; color: #5c3d00; font-size: .8rem; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); border: 1px solid #ffd666; }
.local-ribbon p { margin: 0; flex: 1; line-height: 1.35; }
.lr-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tangerine); flex: none; animation: ping 2s infinite; }
.lr-btn { flex: none; border: 0; border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: .76rem; background: #5c3d00; color: #fff; text-decoration: none; }
.lr-btn + .lr-btn { background: transparent; color: #5c3d00; border: 1px solid rgba(92, 61, 0, .3); }
body.has-ribbon .toasts { bottom: 86px; }
body.has-ribbon .to-top { bottom: 86px; }

/* ---------- 3. Shared view system ---------- */
.view { min-height: 70vh; background: var(--night); }
.view-enter > * { animation: viewIn .5s var(--ease-out) backwards; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
.page { position: relative; padding: calc(var(--header-h) + var(--announce-h) + 18px) 0 clamp(60px, 9vw, 110px); }
.page-hero { position: relative; overflow: hidden; padding: 10px 0 clamp(26px, 4vw, 44px); isolation: isolate; }
.ph-glow { position: absolute; inset: -30% -10% auto; height: 520px; z-index: -1; pointer-events: none; background: radial-gradient(40% 60% at 15% 40%, rgba(255, 92, 138, .28), transparent 70%), radial-gradient(40% 70% at 85% 30%, rgba(139, 92, 246, .35), transparent 70%); }
.ph-grid { display: grid; gap: 18px; align-items: end; margin-top: 14px; }
.ph-copy { display: grid; gap: 14px; }
.ph-title { font-size: clamp(2.1rem, 7.2vw, 4rem); }
.ph-copy .lead { margin: 0; }
.ph-art { display: none; position: relative; height: 180px; }
.ph-art img { position: absolute; bottom: 0; width: 150px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); animation: bob 5s ease-in-out infinite; }
.ph-art img:first-child { right: 120px; width: 130px; animation-delay: -1.5s; }
.ph-art img:last-child { right: 0; }
@media (min-width: 900px) { .ph-grid { grid-template-columns: 1fr 300px; } .ph-art { display: block; } }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; color: rgba(255, 255, 255, .55); min-width: 0; }
.crumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; padding: 4px 2px; border-radius: 6px; }
.crumbs a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.crumbs svg.sep { width: 13px; height: 13px; opacity: .5; }
.crumbs [aria-current] { color: #fff; max-width: 48ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) .crumbs li, .article-hero .crumbs li { color: rgba(255, 255, 255, .55); }

.search-box { position: relative; display: flex; align-items: center; margin-top: 22px; max-width: 680px; }
.search-box > svg.ico { position: absolute; z-index: 2; left: 20px; width: 21px; height: 21px; color: var(--sun); pointer-events: none; }
.search-box input { width: 100%; min-height: 60px; padding: 0 92px 0 54px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.02rem; font-weight: 600; outline: none; backdrop-filter: blur(14px); transition: border-color .2s, box-shadow .2s, background .2s; }
.search-box input::placeholder { color: rgba(255, 255, 255, .5); font-weight: 500; }
.search-box input:focus { border-color: var(--sun); background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 5px rgba(255, 214, 102, .16); }
.search-box input::-webkit-search-cancel-button { display: none; }
.sb-clear { position: absolute; z-index: 2; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; }
.sb-clear:hover { background: rgba(255, 255, 255, .24); }
.sb-kbd { position: absolute; z-index: 2; right: 60px; font: 700 .72rem var(--font-body); padding: 3px 8px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .6); }
.sb-clear:not([hidden]) ~ .sb-kbd { display: none; }
@media (hover: none) { .sb-kbd { display: none; } }
.pop-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .55); }

.state-block { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 10px; padding: clamp(30px, 6vw, 60px) 20px; }
.state-art { position: relative; width: 150px; height: 140px; display: grid; place-items: center; }
.state-blob { position: absolute; inset: 14px; border-radius: 46% 54% 50% 50%; background: radial-gradient(circle at 40% 35%, rgba(255, 214, 102, .5), rgba(139, 92, 246, .35) 70%); filter: blur(2px); animation: blob 8s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 56% 44% 40% 60%; transform: rotate(8deg) scale(1.04); } }
.state-art img { position: relative; width: 120px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .4)); animation: bob 4s ease-in-out infinite; }
.state-block h2 { font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.45rem); margin: 6px 0 0; }
.state-block p { margin: 0; max-width: 46ch; color: rgba(255, 255, 255, .7); }
:is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) .state-block p, .drawer .state-block p, .acct-main .state-block p { color: var(--ink-soft); }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.skel { border-radius: var(--r-lg); padding: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 10px; }
.skel i, .skel b { display: block; border-radius: 12px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.skel i { aspect-ratio: 5 / 4; }
.skel b { height: 14px; width: 80%; }
.skel b + b { width: 50%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* light content wrapper (help, account, legal, article body) */
.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container {
  position: relative; color: var(--ink);
  box-shadow: 0 0 0 100vmax var(--cream); clip-path: inset(0 -100vmax);
  background: var(--cream);
  padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(20px, 4vw, 40px);
}
.page-help, .page-account, .page-legal, .page-article { padding-bottom: 0; }
.page-help > .container:last-child, .page-account > .container:last-child, .page-legal > .container:last-child { padding-bottom: clamp(60px, 9vw, 110px); }
.page-article > .article-related { padding-bottom: clamp(60px, 9vw, 110px); }

/* ---------- 4. Home additions ---------- */
.hero-highlights { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-highlights li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .82rem; font-weight: 700; backdrop-filter: blur(10px); }
.hero-highlights li span { font-size: 1rem; }
.showcase-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: clamp(40px, 6vw, 64px) 0 20px; }
.showcase-head h3 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); }
.cat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.cat-tile { position: relative; display: grid; gap: 2px; padding: 14px 14px 14px 92px; min-height: 84px; align-content: center; border-radius: 22px; text-decoration: none; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; transition: transform .35s var(--ease-spring), border-color .2s, background .2s; }
.cat-tile:hover { transform: translateY(-4px); border-color: rgba(255, 214, 102, .5); background: rgba(255, 255, 255, .1); }
.cat-tile b { font-family: var(--font-display); font-size: .92rem; }
.cat-tile small { color: rgba(255, 255, 255, .6); font-size: .74rem; font-weight: 600; }
.ct-imgs { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 70px; height: 64px; }
.ct-imgs img { position: absolute; width: 40px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px; box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .6); transition: transform .4s var(--ease-spring); }
.ct-imgs img:first-child { left: 0; top: 2px; transform: rotate(-8deg); }
.ct-imgs img:nth-child(2) { left: 24px; top: 6px; transform: rotate(6deg); }
.cat-tile:hover .ct-imgs img:first-child { transform: rotate(-14deg) translateY(-3px); }
.cat-tile:hover .ct-imgs img:nth-child(2) { transform: rotate(10deg) translateY(-3px); }
@media (min-width: 900px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }

#news { background: radial-gradient(60% 40% at 80% 10%, rgba(56, 189, 248, .14), transparent 70%), var(--night); }
.news-home { display: grid; gap: 18px; }
.news-stack { display: grid; gap: 18px; }
.news-home-foot { display: flex; justify-content: center; margin-top: 28px; }
@media (min-width: 900px) { .news-home { grid-template-columns: 1.3fr 1fr; } }

.nl-manage { margin: 10px 0 0; font-size: .82rem; }
.nl-manage a { color: rgba(255, 255, 255, .7); font-weight: 600; }
.nl-manage a:hover { color: var(--sun); }
.offer-grid { counter-reset: none; }
@media (min-width: 1080px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
.media-kit { display: grid; gap: 18px; margin-top: 30px; padding: clamp(20px, 4vw, 34px); border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(255, 214, 102, .14), rgba(192, 132, 252, .12)); border: 1px solid rgba(255, 255, 255, .14); scroll-margin-top: calc(var(--header-h) + 20px); }
.mk-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--sun); color: var(--ink); box-shadow: 0 14px 26px -12px rgba(255, 214, 102, .8); }
.mk-icon svg { width: 30px; height: 30px; }
.mk-copy h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-bottom: 6px; }
.mk-copy p { margin: 0 0 10px; color: rgba(255, 255, 255, .75); }
.mk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.mk-list li { display: inline-flex; align-items: center; gap: 6px; }
.mk-list svg { width: 15px; height: 15px; color: var(--mint); }
.mk-actions { display: grid; gap: 10px; justify-items: start; align-content: center; }
.mk-meta { font-size: .76rem; color: rgba(255, 255, 255, .6); }
.mk-soon { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: .82rem; font-weight: 700; color: var(--sun); }
@media (min-width: 900px) { .media-kit { grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; } .mk-actions { justify-items: end; } }

.help-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-top: 14px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 16px 30px -20px rgba(27, 16, 53, .4); border: 1px solid #efe7fb; transition: transform .35s var(--ease-spring), box-shadow .3s; }
.help-card > span { font-size: 1.5rem; }
.help-card div { flex: 1; display: grid; gap: 2px; }
.help-card small { color: var(--ink-soft); font-size: .8rem; }
.help-card > svg { width: 20px; height: 20px; color: var(--violet); }
.help-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -22px rgba(27, 16, 53, .5); }

/* contact: errors + dynamic fields */
.form-errors { padding: 14px 16px; border-radius: 16px; background: #fff0f4; border: 2px solid #ffc2d3; color: #8f1640; font-size: .88rem; outline: none; }
.form-errors:focus-visible { box-shadow: 0 0 0 4px rgba(255, 92, 138, .25); }
.form-errors b { display: block; margin-bottom: 6px; }
.form-errors ul { margin: 0; padding-left: 18px; }
.form-errors a { color: inherit; font-weight: 700; }
.dyn-fields { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.dyn-fields.open { grid-template-rows: 1fr; }
.dyn-fields > .dyn-inner { overflow: hidden; min-height: 0; }
.dyn-fields.open > .dyn-inner { padding: 16px; border-radius: 20px; background: #f7f2ff; border: 1px dashed #d9ccf0; }
.dyn-fields.flash .dyn-inner { animation: dynFlash .8s ease; }
@keyframes dynFlash { 30% { background: #efe4ff; border-color: var(--violet); } }
.dyn-title { margin: 0 0 12px; font-weight: 800; font-size: .88rem; color: var(--ink); }
.dyn-grid { display: grid; gap: 14px; }
@media (min-width: 720px) { .dyn-grid { grid-template-columns: 1fr 1fr; } .dyn-grid .field.full, .dyn-grid .field:has(textarea) { grid-column: 1 / -1; } }
.field .help { font-size: .76rem; color: var(--ink-soft); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b5cf6' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field.invalid select { border-color: var(--coral); background-color: #fff5f8; }
#charCount.near { color: var(--tangerine); }
.form-success.err { background: radial-gradient(circle at 50% 30%, #fff, #fff4f0); }
.form-success.err h3 { color: #b8285a; }

/* newsletter preference form (account) */
.prefs-form { display: grid; gap: 18px; padding: clamp(18px, 4vw, 30px); border-radius: var(--r-lg); background: #fff; border: 1px solid #efe7fb; box-shadow: 0 30px 60px -40px rgba(27, 16, 53, .4); }
.prefs-form .nl-topics { border: 0; margin: 0; padding: 0; }
.prefs-form legend { font-weight: 800; font-size: .88rem; margin-bottom: 10px; color: var(--ink); }
.prefs-form .nl-topic { color: var(--ink); background: #fbf8ff; border-color: #ece4f7; }
.prefs-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prefs-form .nl-status.show { color: var(--ink); }
.preview-banner.light { background: #fff4d6; border: 1px solid #ffd666; color: #5c3d00; font-size: .86rem; }
.preview-banner svg.ico { width: 20px; height: 20px; margin-top: 1px; color: #a26b00; }

/* video playlist featured badge */
.v-feat { display: inline-flex; padding: 2px 7px; margin-left: 6px; border-radius: 6px; font-size: .58rem; font-family: var(--font-display); letter-spacing: .1em; font-weight: 700; color: var(--ink); background: var(--sun); vertical-align: middle; }

/* ---------- 5. CMS custom sections ---------- */
.section.sp-compact { padding-top: clamp(50px, 7vw, 80px) !important; padding-bottom: clamp(50px, 7vw, 80px) !important; }
.section.sp-roomy { padding-top: clamp(110px, 14vw, 180px) !important; padding-bottom: clamp(110px, 14vw, 180px) !important; }
.section.has-bg-img { background-image: linear-gradient(rgba(13, 8, 32, var(--sec-overlay, .7)), rgba(13, 8, 32, var(--sec-overlay, .7))), var(--sec-img) !important; background-size: cover !important; background-position: center !important; }
.section.on-light.has-bg-img { background-image: linear-gradient(rgba(255, 245, 233, var(--sec-overlay, .7)), rgba(255, 245, 233, var(--sec-overlay, .7))), var(--sec-img) !important; }
.cs-section { position: relative; overflow: hidden; }
.cs-section.theme-light { background: var(--cream); color: var(--ink); }
.cs-section.theme-lilac { background: var(--lilac-50); color: var(--ink); }
.cs-section.theme-dark { background: var(--night); }
.cs-section.theme-brand { background: radial-gradient(70% 60% at 20% 10%, rgba(255, 92, 138, .3), transparent 70%), radial-gradient(60% 60% at 90% 90%, rgba(139, 92, 246, .35), transparent 70%), var(--night-2); }
.cs-band { position: relative; display: grid; gap: 18px; align-items: center; padding: clamp(24px, 5vw, 48px); border-radius: var(--r-xl); background: var(--grad-brand); color: var(--ink); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(255, 92, 138, .6); }
.cs-band-art img { width: min(220px, 60%); margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); animation: bob 5s ease-in-out infinite; }
.cs-band-copy { display: grid; gap: 12px; justify-items: start; }
.cs-band-copy .eyebrow { background: rgba(255, 255, 255, .5); border-color: rgba(27, 16, 53, .1); color: var(--ink); }
.cs-band-copy h2 { font-size: clamp(1.6rem, 4.6vw, 2.6rem); }
.cs-band-copy h2 .grad-text { background: var(--ink); -webkit-background-clip: text; background-clip: text; }
.cs-band-copy p { margin: 0; max-width: 56ch; font-weight: 600; }
.cs-band-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (min-width: 800px) { .cs-band { grid-template-columns: 240px 1fr; } }
.cs-features { display: grid; gap: 16px; }
.cs-feature { padding: 22px; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 24px 50px -34px rgba(27, 16, 53, .45); border: 1px solid #efe7fb; transition: transform .4s var(--ease-spring); }
.theme-dark .cs-feature, .theme-brand .cs-feature { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.cs-feature:hover { transform: translateY(-5px); }
.cs-f-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-size: 1.5rem; background: var(--lilac-50); margin-bottom: 12px; }
.theme-dark .cs-f-ico, .theme-brand .cs-f-ico { background: rgba(255, 255, 255, .1); }
.cs-feature h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 6px; }
.cs-feature p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.theme-dark .cs-feature p, .theme-brand .cs-feature p { color: rgba(255, 255, 255, .7); }
@media (min-width: 720px) { .cs-features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.cs-imagetext { display: grid; gap: 26px; align-items: center; }
.cs-it-media img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow-pop); aspect-ratio: 4 / 3; object-fit: cover; }
.cs-it-copy { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) { .cs-imagetext { grid-template-columns: 1fr 1fr; gap: 56px; } .cs-imagetext.img-right .cs-it-media { order: 2; } }
.cs-md p { margin: 0 0 12px; max-width: 62ch; }
.cs-md a { color: var(--violet); font-weight: 700; }
.theme-dark .cs-md a, .theme-brand .cs-md a { color: var(--sun); }
.cs-rich { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-list { display: grid; gap: 10px; }
.cs-faq { max-width: 820px; margin: 0 auto; }

/* FAQ item (shared by help centre + custom sections) */
.faq-item { border-radius: 18px; background: #fff; border: 1px solid #ece4f7; color: var(--ink); transition: box-shadow .3s, border-color .2s; scroll-margin-top: calc(var(--header-h) + 30px); }
.faq-item[open] { border-color: #d9ccf0; box-shadow: 0 18px 40px -28px rgba(27, 16, 53, .45); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 800; font-size: .98rem; cursor: pointer; border-radius: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex: none; color: var(--violet); transition: transform .35s var(--ease-spring); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item summary:hover { background: #fbf8ff; }
.faq-a { padding: 0 18px 16px; color: var(--ink-soft); font-size: .94rem; line-height: 1.6; }
.faq-a p { margin: 0 0 10px; }
.faq-a a { color: var(--violet); font-weight: 700; }
.faq-a ul { margin: 0 0 10px; padding-left: 20px; }
.faq-foot { display: flex; justify-content: flex-end; border-top: 1px dashed #ece4f7; padding-top: 6px; }
.theme-dark .faq-item, .theme-brand .faq-item { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.theme-dark .faq-a, .theme-brand .faq-a { color: rgba(255, 255, 255, .75); }
.theme-dark .faq-item summary:hover, .theme-brand .faq-item summary:hover { background: rgba(255, 255, 255, .05); }

/* ---------- 6. Product cards — v3 additions ---------- */
.p-wish { position: absolute; z-index: 4; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(13, 8, 32, .55); color: #fff; backdrop-filter: blur(8px); transition: transform .3s var(--ease-spring), background .2s; }
.p-wish:hover { transform: scale(1.1); background: rgba(13, 8, 32, .75); }
.p-wish svg { width: 19px; height: 19px; }
.p-card .p-sale { top: 60px; right: 14px; width: 54px; height: 54px; font-size: .82rem; }
[data-wish] .h-on { display: none; }
[data-wish][aria-pressed="true"] .h-on { display: block; color: var(--coral); animation: heart .45s var(--ease-spring); }
[data-wish][aria-pressed="true"] .h-off { display: none; }
@keyframes heart { 40% { transform: scale(1.35); } }
#pvWish[aria-pressed="true"] { color: var(--coral); background: rgba(255, 92, 138, .16); border-color: rgba(255, 92, 138, .5); }
.p-badge.feat { background: var(--sun); }
.avail { display: inline-flex !important; align-items: center; gap: 6px; }
.avail i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(94, 234, 180, .2); }
.avail.soon i { background: var(--lilac); box-shadow: 0 0 0 3px rgba(192, 132, 252, .2); }
.btn-icon-only .lbl { display: inline; }
.p-actions .btn-icon-only { padding: 0 14px; gap: 6px; }
@media (max-width: 380px) { .btn-icon-only .lbl { display: none; } }
.price.sm b { font-size: 1rem; }
.price.sm s { font-size: .78rem; }

.mini-row { display: grid; gap: 12px; }
@media (min-width: 720px) { .mini-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .mini-row { grid-template-columns: repeat(4, 1fr); } }
.mini-col { display: grid; gap: 10px; }
.mini-p { --pa: var(--sun); display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, transform .3s var(--ease-spring); }
.mini-p:hover { border-color: color-mix(in srgb, var(--pa) 60%, transparent); transform: translateY(-2px); }
.mini-img { display: block; width: 56px; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: color-mix(in srgb, var(--pa) 30%, #1d1040); }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-t { display: block; font-weight: 800; font-size: .88rem; line-height: 1.25; text-decoration: none; margin-bottom: 2px; }
.mini-t:hover { color: var(--sun); }
.mini-p .price b { font-size: .95rem; }
.mini-add { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); transition: transform .3s var(--ease-spring); }
.mini-add:hover { transform: scale(1.1) rotate(90deg); }
.mini-add svg { width: 18px; height: 18px; }
.drawer .mini-p { background: #fbf8ff; border-color: #ece4f7; color: var(--ink); }
.drawer .mini-p .price b { color: var(--ink); }
.drawer .mini-p .price s { color: #a79cbf; }
.drawer .mini-t:hover { color: var(--violet); }

/* ---------- 7. Shop page ---------- */
.page-shop .page-hero { padding-bottom: 20px; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad-x)); padding: 8px var(--pad-x) 14px; }
.cat-chips::-webkit-scrollbar { display: none; }
.shop-layout { display: grid; gap: 26px; align-items: start; }
.shop-main { min-width: 0; }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.shop-bar .shop-count { margin: 0; }
.shop-bar .shop-count b { color: #fff; }
.shop-bar-r { display: flex; gap: 8px; align-items: center; }
.filters-toggle { min-height: 44px; }
.fcount { min-width: 20px; height: 20px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 5px; background: var(--coral); color: #fff; font-size: .66rem; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-chips:empty { display: none; }
.a-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 214, 102, .4); background: rgba(255, 214, 102, .12); color: #fff; font-weight: 700; font-size: .78rem; }
.a-chip svg { width: 14px; height: 14px; }
.a-chip:hover { background: rgba(255, 214, 102, .22); }
.a-clear { border: 0; background: none; color: rgba(255, 255, 255, .7); font-weight: 700; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.page-grid { min-height: 300px; }
.shop-grid.is-empty { display: block; }
.shop-more { margin-top: clamp(40px, 6vw, 70px); }
.shop-more:empty { display: none; }
.more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.more-head h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
.page-shop .shop-trust { margin-top: clamp(40px, 6vw, 70px); }

/* filters: mobile bottom sheet → desktop sidebar */
.shop-side { position: fixed; inset: auto 0 0 0; z-index: 230; max-height: 86vh; display: none; flex-direction: column; border-radius: 28px 28px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .6); transform: translateY(100%); transition: transform .45s var(--ease-out); }
.shop-side.open { transform: none; }
.shop-side[aria-hidden="false"], .shop-side.open { display: flex; }
.shop-side.open { box-shadow: 0 0 0 100vmax rgba(8, 4, 22, .6), 0 -30px 60px -20px rgba(0, 0, 0, .6); }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; border-bottom: 1px solid #f0eaf8; }
.side-head h2 { font-family: var(--font-display); font-size: 1.1rem; margin: 0; }
.side-close { color: var(--ink) !important; background: #f3eefb !important; border-color: transparent !important; }
.side-body { overflow-y: auto; padding: 8px 18px 14px; display: grid; gap: 4px; }
.side-foot { display: flex; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #f0eaf8; }
.side-foot .btn { flex: 1; }
.f-group { border: 0; margin: 0; padding: 12px 0; border-bottom: 1px dashed #ece4f7; display: grid; gap: 4px; }
.f-group legend { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); padding: 0 0 8px; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.f-opt:hover { background: #f7f2ff; }
.f-opt input { width: 19px; height: 19px; accent-color: var(--violet); flex: none; }
.f-opt span { flex: 1; }
.f-opt small { font-size: .72rem; font-weight: 700; color: var(--ink-soft); background: #f3eefb; padding: 2px 7px; border-radius: 999px; }
.f-switch { display: flex; align-items: center; gap: 12px; padding: 14px 6px; font-weight: 700; cursor: pointer; }
.f-switch input { position: absolute; opacity: 0; }
.f-switch .sw { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #e4dbf3; transition: background .2s; flex: none; }
.f-switch .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-spring); }
.f-switch input:checked + .sw { background: var(--coral); }
.f-switch input:checked + .sw::after { transform: translateX(18px); }
.f-switch input:focus-visible + .sw { outline: 3px solid var(--violet); outline-offset: 2px; }
@media (min-width: 1080px) {
  .shop-layout { grid-template-columns: 250px 1fr; gap: 34px; }
  .shop-side { display: flex !important; position: sticky; top: calc(var(--header-h) + 20px); inset: auto; z-index: 1; transform: none; max-height: calc(100vh - var(--header-h) - 40px); border-radius: 24px; background: rgba(255, 255, 255, .05); color: #fff; border: 1px solid rgba(255, 255, 255, .1); box-shadow: none; }
  .side-head { border-color: rgba(255, 255, 255, .08); }
  .side-close, .side-apply, .filters-toggle { display: none !important; }
  .side-foot { border-color: rgba(255, 255, 255, .08); padding-bottom: 14px; }
  .side-foot .btn-ghost-dark { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; --btn-shadow: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); }
  .f-group { border-color: rgba(255, 255, 255, .1); }
  .f-group legend { color: rgba(255, 255, 255, .55); }
  .f-opt:hover { background: rgba(255, 255, 255, .06); }
  .f-opt input { accent-color: var(--sun); }
  .f-opt small { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
  .f-switch .sw { background: rgba(255, 255, 255, .18); }
  .page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1240px) { .page-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 8. Product view — v3 additions ---------- */
.pv-back span { white-space: nowrap; }
.pv-crumbs a { color: inherit; text-decoration: none; }
.pv-crumbs a:hover { color: var(--sun); }
.pv-stage { cursor: zoom-in; }
.pv-enlarge { position: absolute; z-index: 4; right: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(13, 8, 32, .6); color: #fff; backdrop-filter: blur(8px); transition: transform .3s var(--ease-spring); }
.pv-enlarge:hover { transform: scale(1.1); }
.pv-enlarge svg { width: 20px; height: 20px; }
.pv-gal-hint { margin: 10px 0 0; font-size: .74rem; color: rgba(255, 255, 255, .5); text-align: center; font-weight: 600; }
.pv-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; }
.pv-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(94, 234, 180, .2); }
.pv-status.soon i { background: var(--lilac); box-shadow: 0 0 0 4px rgba(192, 132, 252, .2); }
.pv-status b { color: var(--mint); }
.pv-status.soon b { color: var(--lilac); }
.pv-status span { color: rgba(255, 255, 255, .6); }
.pv-total { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: rgba(255, 255, 255, .1); }
.pv-lic { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .75); }
.pv-lic svg { color: var(--mint); }
.pv-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pv-qty-l { font-weight: 800; font-size: .86rem; }
.pv-qty small { flex-basis: 100%; color: rgba(255, 255, 255, .6); font-size: .8rem; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); padding: 3px; }
.stepper button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: inherit; }
.stepper button:hover:not([disabled]) { background: rgba(255, 255, 255, .14); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper button svg { width: 16px; height: 16px; }
.stepper input, .stepper output { width: 46px; text-align: center; border: 0; background: none; color: inherit; font-weight: 800; font-size: 1rem; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.stepper.sm button { width: 30px; height: 30px; }
.stepper.sm output { width: 30px; font-size: .9rem; }
.pv-add { --btn-bg: var(--grad-brand); --btn-shadow: #b8285a; --btn-fg: var(--ink); }
.pv-buy { align-items: stretch; }
.pv-heart { flex: none !important; display: grid; place-items: center; width: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; transition: transform .3s var(--ease-spring), background .2s; }
.pv-heart:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .14); }
.pv-heart svg { width: 24px; height: 24px; }
.pv-usage { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: rgba(255, 255, 255, .78); }
.pv-acc .faq { margin-bottom: 14px; }
.pv-acc .faq p { margin: 4px 0 0; }
.pv-mobile-buy .pv-add { min-height: 46px; }
.fbt { margin-top: clamp(34px, 5vw, 56px); padding: clamp(18px, 4vw, 30px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.fbt h2 { font-size: clamp(1.15rem, 3vw, 1.5rem); margin-bottom: 18px; }
.fbt-row { display: grid; gap: 10px; }
.fbt-plus { display: none; }
.fbt-item { position: relative; display: grid; grid-template-columns: auto 52px 1fr auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; transition: border-color .2s, background .2s; }
.fbt-item:has(input:checked) { border-color: rgba(255, 214, 102, .55); background: rgba(255, 214, 102, .07); }
.fbt-item.is-main { cursor: default; }
.fbt-item input { width: 20px; height: 20px; accent-color: var(--sun); }
.fbt-img img { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 7px; }
.fbt-t { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.fbt-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .14); }
.fbt-total { display: grid; gap: 2px; }
.fbt-total span { font-size: .8rem; color: rgba(255, 255, 255, .6); font-weight: 600; }
.fbt-total b { font-family: var(--font-display); font-size: 1.5rem; }
.fbt-total small { color: var(--mint); font-weight: 800; font-size: .8rem; }
@media (min-width: 900px) {
  .fbt-row { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .fbt-plus { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; color: rgba(255, 255, 255, .45); }
  .fbt-item { grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; text-align: left; }
  .fbt-item input { position: absolute; top: 12px; right: 12px; }
  .fbt-img { grid-row: 1 / span 3; }
  .fbt-img img { width: 64px; }
}

/* ---------- 9. Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 240; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 4, 22, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 440px); display: flex; flex-direction: column; background: #fff; color: var(--ink); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .45s var(--ease-out); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #f0eaf8; }
.drawer-head h2 { font-family: var(--font-display); font-size: 1.15rem; margin: 0; }
.drawer-head h2 span { color: var(--ink-soft); font-size: .9rem; }
.drawer .pv-icon { color: var(--ink); background: #f3eefb; border-color: transparent; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 18px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #f0eaf8; background: #fcfaff; display: grid; gap: 10px; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cart-line { --pa: var(--sun); display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 10px; border-radius: 18px; border: 1px solid #f0eaf8; background: #fff; animation: viewIn .35s var(--ease-out); }
.cl-img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; background: color-mix(in srgb, var(--pa) 35%, #fff); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-info { display: grid; gap: 4px; min-width: 0; }
.cl-title { font-weight: 800; font-size: .92rem; line-height: 1.25; text-decoration: none; }
.cl-title:hover { color: var(--violet); }
.cl-info small { color: var(--ink-soft); font-size: .76rem; font-weight: 600; }
.cl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.cart-line .stepper { border-color: #e4dbf3; background: #fbf8ff; }
.cart-line .stepper button:hover:not([disabled]) { background: #efe7fd; }
.cl-fixed { font-size: .78rem; font-weight: 700; color: var(--ink-soft); padding: 6px 10px; border-radius: 999px; background: #f6f2fc; }
.cl-price { display: grid; justify-items: end; line-height: 1.1; }
.cl-price b { font-family: var(--font-display); font-size: 1.02rem; }
.cl-price s { font-size: .74rem; color: #a79cbf; }
.cl-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.cl-actions .link-btn { font-size: .76rem; padding: 4px 0; }
.cart-recs { margin-top: 22px; }
.cart-recs h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin: 0 0 10px; }
.cart-sum { margin: 0; display: grid; gap: 6px; }
.cart-sum div { display: flex; justify-content: space-between; font-size: .9rem; }
.cart-sum dt { color: var(--ink-soft); font-weight: 600; }
.cart-sum dd { margin: 0; font-weight: 700; }
.cart-sum .disc dd { color: #0f8a5f; }
.cart-sum .tot { padding-top: 8px; margin-top: 2px; border-top: 1px dashed #e4dbf3; }
.cart-sum .tot dt { color: var(--ink); font-weight: 800; }
.cart-sum .tot dd { font-family: var(--font-display); font-size: 1.3rem; }
.cart-tax { margin: 0; font-size: .74rem; color: var(--ink-soft); }
.cart-foot-row { display: flex; justify-content: space-between; }
.co-panel { margin-top: 18px; padding: 16px; border-radius: 18px; background: #f3fbf7; border: 1px solid #b9ecd6; outline: none; animation: viewIn .35s var(--ease-out); }
.co-panel.warn { background: #fff8e6; border-color: #ffd666; }
.co-panel.err { background: #fff0f4; border-color: #ffc2d3; }
.co-panel > b { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.co-panel p { margin: 8px 0 0; font-size: .86rem; color: var(--ink-soft); }
.co-panel p b { color: var(--ink); }
.co-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.co-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .86rem; font-weight: 700; }
.co-list em { font-size: .78rem; color: var(--ink-soft); }
.co-actions { margin-top: 12px; }
.co-panel .dlg-dev { font-size: .74rem; margin-top: 12px; }
.drawer .state-block { padding-top: 20px; }
.drawer .state-art { width: 130px; height: 120px; }

/* ---------- 10. Search palette ---------- */
.palette { position: fixed; inset: 0; z-index: 270; display: flex; justify-content: center; align-items: flex-start; padding: max(10px, 8vh) 12px 12px; }
.palette-backdrop { position: absolute; inset: 0; background: rgba(8, 4, 22, .65); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.palette.open .palette-backdrop { opacity: 1; }
.palette-card { position: relative; width: min(100%, 640px); max-height: min(78vh, 640px); display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .2s, transform .35s var(--ease-spring); }
.palette.open .palette-card { opacity: 1; transform: none; }
.palette-input { display: flex; align-items: center; gap: 12px; padding: 0 14px 0 18px; border-bottom: 1px solid #f0eaf8; }
.palette-input > svg { width: 21px; height: 21px; color: var(--violet); flex: none; }
.palette-input input { flex: 1; min-height: 62px; border: 0; outline: none; background: none; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.palette-input input::-webkit-search-cancel-button { display: none; }
.kbd-btn { border: 1px solid #e4dbf3; background: #fbf8ff; border-radius: 8px; padding: 5px 9px; font-size: .72rem; font-weight: 800; color: var(--ink-soft); }
.palette-results { overflow-y: auto; padding: 8px 8px 14px; overscroll-behavior: contain; }
.pr-group { padding: 6px 4px; }
.pr-group h3 { margin: 6px 10px 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); }
.pr-group ul { list-style: none; margin: 0; padding: 0; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 10px 6px; }
.pr-chips .chip-btn { color: var(--ink); background: #f6f2fc; border-color: #ece4f7; }
.pr-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; text-decoration: none; outline: none; }
.pr-item:hover, .pr-item:focus-visible { background: #f3eefb; }
.pr-item:focus-visible { box-shadow: inset 0 0 0 2px var(--violet); }
.pr-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f3eefb; color: var(--violet); flex: none; overflow: hidden; }
.pr-ico img { width: 100%; height: 100%; object-fit: cover; }
.pr-t { flex: 1; display: grid; min-width: 0; }
.pr-t b { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-t small { font-size: .76rem; color: var(--ink-soft); }
.pr-go { width: 16px !important; height: 16px !important; color: #c5b8de; }
.pr-item:hover .pr-go, .pr-item:focus-visible .pr-go { color: var(--violet); }
.pr-empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 20px; }
.pr-empty img { width: 90px; }
.pr-empty p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.pr-empty a { color: var(--violet); font-weight: 700; }

/* ---------- 11. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(6, 3, 18, .94); opacity: 0; transition: opacity .25s; }
.lightbox.open { opacity: 1; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 60px 12px 20px; width: 100%; height: 100%; align-content: center; }
.lb-figure img { max-width: min(94vw, 1100px); max-height: 78vh; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); object-fit: contain; transform: scale(.96); transition: transform .4s var(--ease-spring); }
.lightbox.open .lb-figure img { transform: none; }
.lb-figure figcaption { color: rgba(255, 255, 255, .75); font-size: .86rem; text-align: center; max-width: 60ch; }
.lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(8px); }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 599px) { .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; } }

/* ---------- 12. News ---------- */
.news-card { --nc: var(--lilac); display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .45s var(--ease-spring), border-color .3s, box-shadow .4s; }
.news-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--nc) 60%, transparent); box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--nc) 80%, transparent); }
.nc-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #1d1040; }
.nc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.news-card:hover .nc-media img { transform: scale(1.05); }
.nc-sample { position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: 8px; font-family: var(--font-display); font-size: .58rem; letter-spacing: .12em; font-weight: 700; background: rgba(13, 8, 32, .7); color: rgba(255, 255, 255, .9); text-transform: uppercase; backdrop-filter: blur(6px); }
.nc-sample.inline { position: static; background: rgba(255, 255, 255, .12); }
.nc-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.nc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; color: rgba(255, 255, 255, .6); }
.nc-cat { display: inline-flex; padding: 4px 10px; border-radius: 999px; color: var(--ink); background: var(--nc); text-decoration: none; font-weight: 800; }
.nc-body h3 { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.25; margin: 0; }
.nc-body h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease-out); }
.nc-body h3 a:hover { background-size: 100% 2px; }
.nc-body h3 a::after { content: ""; position: absolute; inset: 0; }
.news-card { position: relative; }
.nc-body p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.nc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; color: color-mix(in srgb, var(--nc) 75%, #fff); }
.nc-more svg { width: 15px; height: 15px; transition: transform .3s var(--ease-spring); }
.news-card:hover .nc-more svg { transform: translateX(4px); }
.news-card.big .nc-body h3 { font-size: clamp(1.3rem, 3.2vw, 1.9rem); }
.news-card.big .nc-media { aspect-ratio: 16 / 10; }
.news-stack .news-card { flex-direction: row; }
.news-stack .nc-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 150px; }
@media (max-width: 599px) { .news-stack .news-card { flex-direction: column; } .news-stack .nc-media { aspect-ratio: 16 / 9; min-height: 0; } }
.news-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .news-grid { grid-template-columns: repeat(3, 1fr); } .news-main .news-grid { grid-template-columns: repeat(2, 1fr); } }
.news-layout { display: grid; gap: 26px; align-items: start; }
.news-lead { margin-bottom: 18px; }
@media (min-width: 900px) { .news-lead .news-card { flex-direction: row; } .news-lead .nc-media { flex: 0 0 55%; aspect-ratio: auto; min-height: 320px; } .news-lead .nc-body { justify-content: center; padding: 28px; } }
@media (min-width: 1080px) { .news-layout { grid-template-columns: 1fr 300px; } }
.news-upcoming { padding: 20px; border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(192, 132, 252, .18), rgba(56, 189, 248, .08)); border: 1px solid rgba(255, 255, 255, .12); position: sticky; top: calc(var(--header-h) + 20px); }
.news-upcoming h2 { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1rem; margin: 0 0 14px; }
.news-upcoming h2 svg { color: var(--lilac); }
.news-upcoming ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.news-upcoming li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.news-upcoming time { display: grid; place-items: center; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .1); font-family: var(--font-display); font-weight: 800; font-size: .74rem; text-align: center; line-height: 1.1; padding: 4px; }
.news-upcoming b { display: block; font-size: .9rem; line-height: 1.25; }
.news-upcoming small { color: rgba(255, 255, 255, .6); font-size: .74rem; }
.news-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 4vw, 30px); border-radius: var(--r-xl); background: var(--grad-brand); color: var(--ink); }
.news-cta b { font-family: var(--font-display); font-size: 1.2rem; }
.news-cta p { margin: 4px 0 0; font-weight: 600; }

/* article */
.page-article { padding-top: 0; }
.article-hero { position: relative; padding: calc(var(--header-h) + var(--announce-h) + 18px) 0 clamp(26px, 4vw, 40px); background: radial-gradient(60% 80% at 20% 0%, color-mix(in srgb, var(--nc) 30%, transparent), transparent 70%), var(--night); }
.article-hero .container { display: grid; gap: 14px; }
.article-title { font-size: clamp(1.9rem, 6vw, 3.2rem); }
.article-hero .lead { margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg.ico { width: 16px; height: 16px; color: var(--sun); }
.article-cover { margin: 0 0 30px; }
.ac-btn { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; box-shadow: 0 30px 60px -36px rgba(27, 16, 53, .6); }
.ac-btn img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease-out); }
.ac-btn:hover img { transform: scale(1.02); }
.article-cover figcaption { margin-top: 10px; font-size: .8rem; color: var(--ink-soft); text-align: center; }
.prose { font-size: clamp(1rem, 2.2vw, 1.08rem); line-height: 1.75; color: #3a2e57; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.25rem, 3.4vw, 1.6rem); color: var(--ink); margin: 1.8em 0 .5em; line-height: 1.2; }
.prose h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); margin: 1.5em 0 .4em; }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--violet); font-weight: 700; }
.prose ul { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--coral); background: #fff; border-radius: 0 16px 16px 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.md-fig { margin: 1.6em 0; }
.md-fig img { width: 100%; border-radius: 18px; cursor: zoom-in; }
.md-fig figcaption { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0; }
.article-pn { display: grid; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px dashed #e4dbf3; }
.pn { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid #ece4f7; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease-spring), border-color .2s; }
.pn:hover { transform: translateY(-3px); border-color: #d9ccf0; }
.pn small { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 800; color: var(--violet); text-transform: uppercase; letter-spacing: .08em; }
.pn small svg { width: 14px; height: 14px; }
.pn b { font-size: .95rem; line-height: 1.3; }
.pn.next { text-align: right; justify-items: end; }
@media (min-width: 720px) { .article-pn { grid-template-columns: 1fr 1fr; } }
.article-related { padding-top: clamp(30px, 5vw, 50px); background: var(--night); box-shadow: 0 0 0 100vmax var(--night); clip-path: inset(0 -100vmax); }
.article-related h2 { font-size: clamp(1.3rem, 3.4vw, 1.8rem); margin-bottom: 18px; }
.page-article > .container .preview-banner { margin-top: 0; }
.article-hero .preview-banner { margin: 0; }

/* ---------- 13. Help centre ---------- */
.help-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.help-cat { display: grid; justify-items: start; gap: 4px; padding: 14px; border-radius: 20px; border: 2px solid #ece4f7; background: #fff; text-align: left; color: var(--ink); transition: transform .3s var(--ease-spring), border-color .2s, box-shadow .3s; }
.help-cat span { font-size: 1.5rem; }
.help-cat b { font-size: .9rem; }
.help-cat small { font-size: .74rem; color: var(--ink-soft); line-height: 1.35; }
.help-cat:hover { transform: translateY(-3px); border-color: #d9ccf0; }
.help-cat[aria-pressed="true"] { border-color: var(--violet); box-shadow: 0 16px 30px -20px rgba(139, 92, 246, .7); background: #faf6ff; }
@media (min-width: 720px) { .help-cats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .help-cats { grid-template-columns: repeat(7, 1fr); } }
.help-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.help-tools .shop-count { margin: 0; color: var(--ink-soft); }
.help-tools .shop-count b { color: var(--ink); }
.help-tools div { display: flex; gap: 14px; }
.faq-group { margin-top: 22px; }
.faq-group h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 12px; }
.help-contact { margin-top: clamp(40px, 6vw, 70px); }
.help-contact h2 { font-size: clamp(1.4rem, 3.6vw, 2rem); margin-bottom: 18px; }
.hc-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .hc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .hc-grid { grid-template-columns: repeat(4, 1fr); } }
.hc-card { display: grid; gap: 6px; padding: 20px; border-radius: 22px; background: #fff; border: 1px solid #ece4f7; text-decoration: none; color: var(--ink); box-shadow: 0 20px 40px -32px rgba(27, 16, 53, .5); transition: transform .35s var(--ease-spring), box-shadow .3s; }
.hc-card span { font-size: 1.7rem; }
.hc-card small { color: var(--ink-soft); font-size: .84rem; }
.hc-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(27, 16, 53, .55); }

/* ---------- 14. Account ---------- */
.acct-banner { margin-bottom: 22px; align-items: center; flex-wrap: wrap; }
.acct-banner p { flex: 1 1 260px; }
.acct-banner.is-sample { background: repeating-linear-gradient(-45deg, #fff4d6 0 14px, #fff0c7 14px 28px); }
.acct-layout { display: grid; gap: 22px; align-items: start; }
.acct-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad-x)); padding: 2px var(--pad-x) 8px; }
.acct-nav::-webkit-scrollbar { display: none; }
.acct-nav a, .acct-out { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid #e4dbf3; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .86rem; white-space: nowrap; }
.acct-nav a:hover { border-color: #cbbbe8; }
.acct-nav a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.acct-nav svg.ico { width: 17px; height: 17px; }
.acct-nav .nu-count { position: static; box-shadow: none; }
.acct-lock { display: inline-grid; opacity: .5; }
.acct-lock svg.ico { width: 13px !important; height: 13px !important; }
@media (min-width: 900px) {
  .acct-layout { grid-template-columns: 250px 1fr; gap: 32px; }
  .acct-nav { flex-direction: column; overflow: visible; margin: 0; padding: 10px; border-radius: 24px; background: #fff; border: 1px solid #ece4f7; position: sticky; top: calc(var(--header-h) + 20px); }
  .acct-nav a, .acct-out { border: 0; border-radius: 14px; background: none; }
  .acct-nav a.on { background: var(--ink); }
  .acct-lock { margin-left: auto; }
  .acct-nav .nu-count { margin-left: auto; }
}
.acct-out { border: 0; background: none; color: #d61f5b; cursor: pointer; }
.acct-main { min-width: 0; }
.acct-h { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.5rem); margin: 0 0 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.acct-h small { font-family: var(--font-body); font-size: .78rem; font-weight: 600; color: var(--ink-soft); margin-left: 6px; }
.acct-h-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.acct-h-row .acct-h { margin: 0; }
.acct-card { padding: clamp(18px, 4vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1px solid #ece4f7; box-shadow: 0 30px 60px -44px rgba(27, 16, 53, .5); margin-bottom: 16px; }
.acct-card h3 { font-family: var(--font-display); font-size: 1.02rem; margin: 0 0 4px; }
.acct-card .muted { margin: 0 0 12px; font-size: .88rem; }
.acct-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.acct-head h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 0; }
.acct-head p { margin: 2px 0; color: var(--ink-soft); }
.acct-head small { color: var(--ink-soft); font-size: .78rem; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad-brand); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); flex: none; }
.acct-form { display: grid; gap: 16px; justify-items: start; }
.acct-form .dyn-grid { width: 100%; }
.field input:disabled { opacity: .65; cursor: not-allowed; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.acct-stats a { display: grid; justify-items: center; gap: 4px; padding: 16px 10px; border-radius: 20px; background: #fff; border: 1px solid #ece4f7; text-decoration: none; color: var(--ink); text-align: center; transition: transform .3s var(--ease-spring); }
.acct-stats a:hover { transform: translateY(-3px); }
.acct-stats b { font-family: var(--font-display); font-size: 1.5rem; color: var(--violet); }
.acct-stats span { font-size: .78rem; font-weight: 700; color: var(--ink-soft); }
.purchase-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .purchase-grid { grid-template-columns: repeat(2, 1fr); } }
.purchase { --pa: var(--sun); display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid #ece4f7; }
.pu-img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; background: color-mix(in srgb, var(--pa) 35%, #fff); }
.pu-img img { width: 100%; height: 100%; object-fit: cover; }
.purchase b { font-size: .95rem; }
.purchase small { display: block; color: var(--ink-soft); font-size: .76rem; margin: 4px 0 10px; }
.pu-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dl-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.dl-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid #ece4f7; }
.dl-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f3eefb; color: var(--violet); }
.dl-list b { font-size: .92rem; }
.dl-list small { display: block; color: var(--ink-soft); font-size: .76rem; }
@media (max-width: 479px) { .dl-list li { grid-template-columns: auto 1fr; } .dl-list .btn { grid-column: 1 / -1; } }
.table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid #ece4f7; background: #fff; }
table.orders { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.orders th, .orders td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #f3eefb; vertical-align: top; }
.orders thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); background: #fbf8ff; }
.orders tbody tr:last-child > * { border-bottom: 0; }
.ord-st { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; text-transform: capitalize; background: #dcfaee; color: #0f6e4c; }
.ord-st.refunded { background: #f3eefb; color: var(--ink-soft); }
.ord-st.pending { background: #fff1cc; color: #8a5a00; }
.acct-wish { padding: 16px; border-radius: var(--r-lg); background: var(--night-2); color: #fff; }
@media (min-width: 720px) { .acct-wish { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .acct-wish { grid-template-columns: repeat(3, 1fr); } }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px dashed #ece4f7; font-weight: 700; font-size: .92rem; }
.set-row small { display: block; font-weight: 600; font-size: .76rem; color: var(--ink-soft); }
.auth-card { max-width: 480px; padding: clamp(20px, 4vw, 32px); border-radius: var(--r-xl); background: #fff; border: 1px solid #ece4f7; box-shadow: 0 40px 80px -50px rgba(27, 16, 53, .55); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #f3eefb; margin-bottom: 20px; }
.auth-tabs button { border: 0; background: none; padding: 11px; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--ink-soft); }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 14px -8px rgba(27, 16, 53, .4); }
.auth-form { display: grid; gap: 14px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); }
.pw-toggle:hover { background: #f3eefb; }
.auth-forgot { justify-self: center; }
.auth-status:empty { display: none; }
.auth-status { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: .86rem; background: #fff8e6; border: 1px solid #ffd666; color: #5c3d00; }
.auth-perks { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px dashed #ece4f7; display: grid; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.auth-perks li { display: flex; align-items: center; gap: 10px; }
.auth-perks svg { color: var(--violet); }
.auth-note { display: flex; gap: 8px; margin: 18px 0 0; font-size: .82rem; color: var(--ink-soft); }
.auth-note a { color: var(--violet); font-weight: 700; }
.or { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .78rem; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: #ece4f7; }

/* ---------- 15. Legal ---------- */
.legal-layout { display: grid; gap: 26px; align-items: start; }
.legal-toc { padding: 18px; border-radius: 22px; background: #fff; border: 1px solid #ece4f7; font-size: .86rem; }
.legal-toc b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin: 0 0 8px; }
.legal-toc b:not(:first-child) { margin-top: 16px; }
.legal-toc ol, .legal-toc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.legal-toc a { color: var(--ink); font-weight: 600; text-decoration: none; }
.legal-toc a:hover { color: var(--violet); text-decoration: underline; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 250px 1fr; gap: 44px; } .legal-toc { position: sticky; top: calc(var(--header-h) + 20px); } }
.legal-body { max-width: 760px; }
.legal-sec { scroll-margin-top: calc(var(--header-h) + 24px); padding-top: 8px; }
.legal-sec h2 { font-family: var(--font-display); font-size: clamp(1.1rem, 3vw, 1.35rem); margin: 18px 0 8px; }
.legal-template { margin-bottom: 24px; }
mark.ph { background: #ffe9a8; color: #6b4600; padding: 1px 4px; border-radius: 5px; font-weight: 700; border-bottom: 2px dashed #e0a800; }
.legal-contact { margin-top: 30px; padding-top: 18px; border-top: 1px dashed #e4dbf3; color: var(--ink-soft); }
.legal-contact a { color: var(--violet); font-weight: 700; }

/* ---------- 16. Admin gateway ---------- */
.gw-card { display: grid; justify-items: center; text-align: center; gap: 16px; margin-top: 20px; padding: clamp(26px, 5vw, 50px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.gw-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--grad-brand); color: var(--ink); }
.gw-ico svg { width: 34px; height: 34px; }
.gw-card h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.gw-card > p { margin: 0; color: rgba(255, 255, 255, .75); max-width: 56ch; }
.gw-card .preview-banner { text-align: left; max-width: 620px; margin: 0; }
.gw-card code { background: rgba(92, 61, 0, .1); padding: 1px 5px; border-radius: 5px; }
.page-admin-gw .crumbs { margin-bottom: 4px; }

/* ---------- 17. Focus, touch & motion polish ---------- */
.p-wish:focus-visible, .mini-add:focus-visible, .nu-btn:focus-visible, .pv-heart:focus-visible, .pv-enlarge:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.drawer :focus-visible, .palette :focus-visible, :is(.light-body, .page-help > .container, .page-account > .container, .page-legal > .container, .page-article > .container) :focus-visible, .page-help > .container :focus-visible, .page-account > .container :focus-visible, .page-legal > .container :focus-visible, .page-article > .container :focus-visible, .shop-side :focus-visible, .rc-dialog :focus-visible { outline-color: var(--violet); }
@media (hover: none) {
  .p-card:hover, .news-card:hover, .cat-tile:hover, .hc-card:hover { transform: none; }
  .p-peek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .view-enter > *, .toast-item, .cart-line, .co-panel { animation: none !important; }
  .grad-text { animation: none; }
}
@media print {
  .site-header, .site-footer, .to-top, .toasts, .drawer, .palette, .local-ribbon, .acct-nav, .legal-toc { display: none !important; }
  .page-legal > .container, .page-article > .container { box-shadow: none; clip-path: none; }
}

/* icon sizing for sprite <svg> inside legacy icon buttons */
.pv-icon svg, .pv-back svg, .pv-nav svg { width: 19px; height: 19px; flex: none; }
.pv-icon { flex: none; }
