/* ==========================================================================
   Tema 4 · evantaiul de culori — component CSS (hand-written, loaded after styles.css).
   A colour studio in the colours of YourPrint: pink #E947A5, raspberry #CC3366,
   yellow #FCD63C, cyan #47D6E8, indigo #271F71, violet #7169BD. Big colour fields, round corners,
   swatch strips as dividers. No GPU filters of any kind (iOS Safari rule): shadows, gradients, masks, clip-path.
   ========================================================================== */

:root {
  --indigo: #271F71; --violet: #7169BD; --pink: #E947A5; --rasp: #CC3366; --rasp-d: #B22A57; --yellow: #FCD63C; --cyan: #47D6E8;
  --ink: #1E1A4D; --text: #333333; --muted: #5E6275; --studio: #F4F6F9; --line: #E6E8F0;
  --hdr-h: 74px;
}
@media (max-width: 1023px) { :root { --hdr-h: 68px; } }

/* ---------- 1. Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: #FFFFFF; color: var(--text); font-family: Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
html.noscroll, html.noscroll body { overflow: hidden; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--yellow); }
.ms { font-family: 'Material Symbols Rounded'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24; -webkit-user-select: none; user-select: none; overflow: hidden; flex-shrink: 0; }
.ms.fill { font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24; }
.tnum { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--indigo); color: #fff; padding: 12px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
@media (pointer: coarse) { input, select, textarea { font-size: 16px !important; } }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.odot { width: 9px; height: 9px; border-radius: 50%; background: #9AA0AE; flex: none; display: inline-block; }
.odot.is-open { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.22); }
.odot.is-closed { background: #F59E0B; box-shadow: 0 0 0 3px rgba(245,158,11,.22); }

/* buttons: pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; font: 700 15px/1.15 Figtree, sans-serif; white-space: nowrap; transition: background-color .2s, color .2s, transform .2s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn-main { background: var(--rasp); color: #fff; }
.btn-main:hover { background: var(--rasp-d); }
.btn-soft { background: var(--t1, #F1F2F7); color: var(--ink); }
.btn-soft:hover { background: var(--t2, #E6E8F0); }
.btn-ink { background: var(--indigo); color: #fff; }
.btn-ink:hover { background: #1B1554; }
.btn-white { background: #fff; color: #1A1446; }
.btn-white:hover { background: var(--studio); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.rbtn { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); transition: background-color .2s, color .2s, opacity .2s; }
.rbtn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rbtn:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }

/* section heads */
.sec { padding: 64px 0; }
@media (min-width: 768px) { .sec { padding: 96px 0; } }
.sec-grey { background: var(--studio); }
.sec.sec-tight { padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 768px) { .sec.sec-tight { padding-top: 32px; padding-bottom: 32px; } }
/* section heads: a swatch-chip tag with a code-style label, a big display title, a lead under it */
.sec-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 30px; max-width: 920px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 44px; } }
.tag { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 5px; border-radius: 11px; background: #fff; color: var(--ink); font: 700 13.5px/1 Figtree, sans-serif; letter-spacing: .01em; margin: 0 0 16px; box-shadow: 0 0 0 1px rgba(39,31,113,.09); }
.tag-sw { width: 24px; height: 24px; border-radius: 7px; background: var(--c); box-shadow: inset 0 -5px 0 rgba(0,0,0,.09); flex: none; }
.sec-grey .tag { box-shadow: none; }
.tag.is-dark { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.tag.is-on-pink { background: #fff; box-shadow: none; color: #1A1446; }
.h2 { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: clamp(36px, 5.2vw, 68px); line-height: .98; letter-spacing: -0.035em; color: var(--ink); margin: 0; }
.sec-lead { font-size: 18px; line-height: 1.55; color: #4A4E63; max-width: 52ch; margin: 18px 0 0; }
.ev-swipe { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ev-swipe::-webkit-scrollbar { display: none; }

/* ---------- 2. Floating header ---------- */
.hdr { position: -webkit-sticky; position: sticky; top: 0; z-index: 70; padding: 10px 12px 0; pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.hdr > * { pointer-events: auto; }
.hdr.is-away { transform: translateY(calc(-100% - 16px)); }
.hdr-bar { max-width: 1320px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: 0 1px 0 rgba(39,31,113,.06), 0 12px 32px -16px rgba(39,31,113,.32); }
.hdr-row { height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 10px 0 16px; }
@media (max-width: 1023px) { .hdr-row { height: 58px; padding: 0 7px 0 12px; gap: 8px; } }
.hdr-logo { flex: none; display: flex; align-items: center; border-radius: 10px; }
.hdr-logo img { height: 42px; width: auto; display: block; }
@media (max-width: 1023px) { .hdr-logo { min-height: 44px; } .hdr-logo img { height: 36px; } }
.hdr-dots { display: none; }
@media (min-width: 1024px) { .hdr-dots { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 999px; background: var(--studio); flex: none; position: relative; isolation: isolate; } }
.hdot { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -2px 0 rgba(0,0,0,.14); transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.hdot::before { content: ''; position: absolute; inset: -11px; border-radius: 50%; z-index: -1; }
.hdot:hover { transform: translateY(-2px) scale(1.15); }
.hdot[aria-current="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.hdot-tip { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 4px); background: var(--indigo); color: #fff; font: 700 12px/1 Figtree, sans-serif; padding: 7px 10px; border-radius: 9px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.hdot:hover .hdot-tip, .hdot:focus-visible .hdot-tip { opacity: 1; transform: translate(-50%, 0); }
.hdr-nav { display: none; }
@media (min-width: 1024px) { .hdr-nav { display: flex; align-items: center; gap: 2px; flex: none; } }
.hnav { height: 42px; padding: 0 12px; border-radius: 14px; font: 650 15px/1 Figtree, sans-serif; color: var(--ink); display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; transition: background-color .15s; }
.hnav:hover, .hnav[aria-expanded="true"] { background: var(--studio); }
.hnav[aria-expanded="true"] .ms { transform: rotate(180deg); }
.hnav .ms { transition: transform .2s; }
.hide-lg { display: none; }
@media (min-width: 1280px) { .hide-lg { display: inline-flex; } }
.hsearch { display: none; position: relative; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--studio); color: var(--muted); flex: 1 1 auto; min-width: 170px; max-width: 360px; margin-left: auto; transition: box-shadow .15s; }
@media (min-width: 1024px) { .hsearch { display: flex; } }
.hsearch.is-m { display: flex; max-width: none; margin: 0; height: 48px; }
.hsearch input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; font: 500 14.5px Figtree, sans-serif; color: var(--ink); height: 100%; }
.hsearch input::placeholder { color: #7A7F92; }
.hsearch:focus-within { box-shadow: 0 0 0 2px var(--indigo); background: #fff; }
.kbd { font: 700 11px/1 Figtree, sans-serif; color: var(--muted); border: 1px solid #D9DCE5; border-radius: 7px; padding: 4px 6px; flex: none; }
@media (max-width: 1359px) { .kbd { display: none; } }
.hdr-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
@media (min-width: 1024px) { .hdr-actions { margin-left: 0; } }
.hbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); background: var(--studio); transition: background-color .15s; flex: none; }
.hbtn:hover { background: #E7EAF2; }
.hbtn-call { background: var(--rasp); color: #fff; }
.hbtn-call:hover { background: var(--rasp-d); }
.hbtn-txt { display: none; font: 700 14px/1 Figtree, sans-serif; }
@media (min-width: 1280px) { .hbtn-call { width: auto; padding: 0 16px 0 13px; border-radius: 999px; } .hbtn-txt { display: inline; } }
.cart-n { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--yellow); color: var(--indigo); font: 800 10px/18px Figtree, sans-serif; text-align: center; }
@media (min-width: 1024px) { .hbtn-search, .hbtn-menu { display: none; } .hdr-search-m { display: none !important; } }
.hdr-search-m { padding: 0 8px 8px; }
.hdr-search-m[hidden] { display: none; }

/* search suggestions */
.ev-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 90; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px rgba(39,31,113,.06), 0 30px 60px -18px rgba(39,31,113,.38); padding: 8px; max-height: min(460px, 62vh); overflow-y: auto; }
.hsearch:not(.is-m) .ev-suggest { left: auto; right: -10px; width: 440px; }
.ev-suggest[hidden] { display: none; }
.sg { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 16px; text-align: left; }
.sg:hover, .sg.is-active { background: var(--t1); }
.sg mark { background: var(--t3); color: inherit; border-radius: 4px; padding: 0 2px; }
.sg-sw { width: 44px; height: 44px; border-radius: 14px; background: var(--t2); display: flex; align-items: center; justify-content: center; flex: none; }
.sg-sw .pg { width: 34px; height: 34px; }
.sg-pr { font: 700 12.5px/1.2 Figtree, sans-serif; color: var(--ink); white-space: nowrap; }

/* catalogue panel (desktop): the 8 categories as swatch strips, one price list at a time */
/* it opens over the page (absolute inside the sticky header), so nothing below it moves */
.catalog-panel { position: absolute; left: 12px; right: 12px; top: 100%; max-width: 1320px; margin: 10px auto 0; background: #fff; border-radius: 28px; box-shadow: 0 0 0 1px rgba(39,31,113,.05), 0 36px 70px -24px rgba(39,31,113,.42); display: grid; grid-template-columns: 290px minmax(0, 1fr); overflow: hidden; max-height: calc(100vh - 110px); animation: cp-in .22s cubic-bezier(.2,.8,.2,1) both; }
.catalog-panel[hidden] { display: none; }
@keyframes cp-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cp-side { background: var(--studio); padding: 14px; display: flex; flex-direction: column; gap: 5px; overflow-y: auto; }
.cp-cat { display: flex; align-items: stretch; min-height: 46px; border-radius: 13px; overflow: hidden; background: #fff; text-align: left; box-shadow: inset 6px 0 0 var(--c); transition: box-shadow .2s; }
.cp-cat:hover { box-shadow: inset 11px 0 0 var(--c); }
.cp-nm { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 12px 0 20px; font: 700 14px/1.2 Figtree, sans-serif; color: var(--ink); transition: background-color .2s, color .2s; }
.cp-steps { display: flex; flex: none; }
.cp-steps i { width: 11px; }
.cp-steps i:nth-child(1) { background: var(--t1); }
.cp-steps i:nth-child(2) { background: var(--t2); }
.cp-steps i:nth-child(3) { background: var(--t3); }
.cp-n { flex: none; display: flex; align-items: center; justify-content: center; min-width: 40px; padding: 0 8px; background: var(--c); color: var(--f); font: 800 12.5px/1 Figtree, sans-serif; }
.cp-cat[aria-pressed="true"] .cp-nm { background: var(--c); color: var(--f); }
.cp-main { padding: 24px 28px 22px; overflow-y: auto; display: flex; flex-direction: column; }
.cp-list { display: flex; flex-direction: column; flex: 1; }
.cp-list[hidden] { display: none; }
.cp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.cp-eyebrow { display: block; font: 800 12px/1.2 Figtree, sans-serif; letter-spacing: .05em; color: var(--muted); }
.cp-title { display: block; font: 800 30px/1.05 'Bricolage Grotesque', Figtree, sans-serif; letter-spacing: -.025em; color: var(--ink); margin-top: 6px; }
.cp-all { display: inline-flex; align-items: center; gap: 4px; font: 700 14px/1 Figtree, sans-serif; color: var(--ink); background: var(--t2); padding: 11px 16px; border-radius: 999px; white-space: nowrap; }
.cp-all:hover { background: var(--c); color: var(--f); }
.cp-pl { list-style: none; margin: 0 0 18px; padding: 0; }
.cp-pl.cols-2 { columns: 2; column-gap: 18px; }
.cp-pl.cols-3 { columns: 3; column-gap: 14px; }
.cp-pl li { break-inside: avoid; }
.cp-pl button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 12px; font-size: 14px; line-height: 1.3; color: var(--text); }
.cp-pl button:hover { background: var(--t1); color: var(--ink); }
.cp-pl .pr { font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; background: var(--t1); border-radius: 999px; padding: 3px 9px; }
.cp-pl button:hover .pr { background: #fff; }
.cp-foot { margin-top: auto; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--t1); }
.cp-strip { display: flex; gap: 2px; flex: none; }
.cp-strip i { width: 11px; height: 34px; border-radius: 4px; }
.cp-foot-t { flex: 1; min-width: 0; font: 600 13.5px/1.35 Figtree, sans-serif; color: var(--muted); }
.cp-foot-t b { color: var(--ink); }
.cp-fan { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--c); color: var(--f); font: 700 14px/1 Figtree, sans-serif; white-space: nowrap; }

/* drawer (phones and tablets) */
.ev-drawer { position: fixed; inset: 0; z-index: 1000; }
.ev-drawer[hidden] { display: none; }
.dw-backdrop { position: absolute; inset: 0; background: rgba(30,26,77,.5); }
.dw-panel { position: absolute; top: 8px; right: 8px; bottom: 8px; width: min(400px, calc(100% - 40px)); background: #fff; border-radius: 28px; display: flex; flex-direction: column; overflow: hidden; box-shadow: -24px 0 48px -16px rgba(20,16,60,.35); animation: dw-in .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes dw-in { from { transform: translateX(108%); } to { transform: none; } }
.dw-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 10px 18px; }
.dw-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px 12px; }
.dw-quick a, .dw-quick button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 66px; padding: 8px 4px; border-radius: 20px; background: var(--studio); font: 700 13px/1.1 Figtree, sans-serif; color: var(--ink); }
.dw-quick a:first-child { background: var(--rasp); color: #fff; }
.dw-scroll { flex: 1; overflow-y: auto; padding: 0 12px 12px; overscroll-behavior: contain; }
.dw-label { font: 800 11px/1.2 Figtree, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 6px 8px; }
.dw-cat { border-radius: 20px; margin-bottom: 6px; border: 1.5px solid #EEF0F5; transition: background-color .2s; }
.dw-cat[open] { background: var(--t1); border-color: transparent; }
.dw-cat summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; min-height: 56px; cursor: pointer; font: 700 15px/1.2 Figtree, sans-serif; color: var(--ink); border-radius: 18px; }
.dw-cat summary::-webkit-details-marker { display: none; }
.dw-sw { width: 40px; height: 40px; border-radius: 13px; background: var(--c); color: var(--f); display: flex; align-items: center; justify-content: center; flex: none; }
.dw-n { font-size: 12px; color: var(--muted); font-weight: 700; }
.dw-exp { color: var(--muted); transition: transform .2s; }
.dw-cat[open] .dw-exp { transform: rotate(180deg); }
.dw-cat ul { list-style: none; margin: 0; padding: 0 10px; }
.dw-cat li button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 4px; min-height: 46px; text-align: left; font-size: 14.5px; line-height: 1.3; color: var(--text); border-top: 1px solid rgba(39,31,113,.09); }
.dw-cat li button span:last-child { font-size: 12.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dw-all { display: inline-flex; align-items: center; gap: 4px; margin: 2px 14px 10px; min-height: 44px; font: 700 14px/1 Figtree, sans-serif; color: var(--ink); }
.dw-links { display: flex; flex-direction: column; }
.dw-links a { display: flex; align-items: center; min-height: 50px; padding: 0 8px; font: 650 15px/1.2 Figtree, sans-serif; color: var(--ink); border-bottom: 1px solid #EEF0F5; }
.dw-foot { padding: 12px 14px 14px; border-top: 1px solid #EEF0F5; }
.dw-open { display: flex; justify-content: center; align-items: center; gap: 8px; font: 600 13px/1.3 Figtree, sans-serif; color: var(--muted); margin: 0 0 10px; }

/* ---------- 3. Studio: the swatch fan + the card ---------- */
.studio { position: relative; background: var(--studio); margin-top: calc(-1 * var(--hdr-h)); padding: calc(var(--hdr-h) + 30px) 0 56px; overflow: clip; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
/* the fan column sits above the morph layer, the card below it */
.studio-left { position: relative; z-index: 3; min-width: 0; }
.studio-right { position: relative; z-index: 1; min-width: 0; }
@media (min-width: 1024px) {
  .studio { padding-bottom: 28px; }
  .studio-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
}
/* app.js sizes the fan so the whole column fits the window, so it can stay in view from 640px tall */
@media (min-width: 1024px) and (min-height: 640px) { .studio-left { position: -webkit-sticky; position: sticky; top: 92px; } }
.studio-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 650 13px/1.2 Figtree, sans-serif; color: var(--ink); background: #fff; padding: 8px 14px 8px 12px; border-radius: 999px; margin: 0; box-shadow: 0 1px 0 rgba(39,31,113,.05); }
.studio-h1 { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: clamp(36px, 4vw, 58px); line-height: .98; letter-spacing: -0.038em; color: var(--ink); margin: 16px 0 12px; }
.h1-pal { position: relative; display: inline-block; white-space: nowrap; }
.h1-chips { position: absolute; left: 0; right: 0; bottom: -.1em; height: .13em; display: flex; gap: 3px; }
.h1-chips i { flex: 1; border-radius: 3px; }
.h1-chips i:nth-child(1) { background: var(--cyan); }
.h1-chips i:nth-child(2) { background: var(--violet); }
.h1-chips i:nth-child(3) { background: var(--yellow); }
.h1-chips i:nth-child(4) { background: var(--rasp); }
.h1-chips i:nth-child(5) { background: var(--indigo); }
.h1-chips i:nth-child(6) { background: var(--pink); }
.studio-lead { font-size: 17px; line-height: 1.55; color: #4A4E63; max-width: 46ch; margin: 0; }
@media (min-width: 1024px) and (max-height: 860px) { .studio-h1 { font-size: clamp(34px, 3.4vw, 48px); margin: 12px 0 8px; } .studio-lead { font-size: 15.5px; } }
@media (min-width: 1024px) and (max-height: 740px) { .studio { padding-top: calc(var(--hdr-h) + 16px); } .studio-lead { display: none; } .studio-h1 { font-size: clamp(32px, 3vw, 42px); } }
@media (max-width: 1023px) {
  .studio-intro { text-align: center; }
  .studio-lead { margin: 0 auto; }
  .studio-right { width: 100%; max-width: 760px; margin: 0 auto; }
}
@media (max-width: 639px) {
  .studio { padding-top: calc(var(--hdr-h) + 18px); padding-bottom: 36px; }
  .studio-h1 { font-size: 34px; margin: 12px 0 8px; }
  .studio-lead { display: none; }
}

/* the stage: the rivet is the pivot; --L blade length, --bw blade width, --R dial radius come from app.js */
.fan-stage { --pb: calc(var(--bw, 84px) / 2 + 18px); position: relative; height: calc(var(--L, 300px) + var(--lift, 18px) + 56px); margin-top: 8px; touch-action: pan-y pinch-zoom; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; isolation: isolate; }
.fan-stage.is-dragging { cursor: grabbing; }
@media (max-width: 1023px) { .fan-stage { margin: 8px -16px 0; overflow: hidden; } }
@media (min-width: 768px) and (max-width: 1023px) { .fan-stage { margin: 12px -32px 0; } }
.fan-glow { position: absolute; left: 50%; bottom: 0; width: calc(var(--L, 300px) * 2.2); height: calc(var(--L, 300px) * 1.3); transform: translateX(-50%); background: radial-gradient(closest-side at 50% 76%, #FFFFFF 0%, rgba(255,255,255,.7) 45%, rgba(255,255,255,0) 100%); z-index: -2; pointer-events: none; }
.fan-scale { position: absolute; left: 50%; bottom: var(--pb); transform: translateX(-50%); z-index: -1; pointer-events: none; overflow: visible; }
/* the reading position: an indigo pin riding on the dial, pointing at the open blade */
.fan-needle { position: absolute; left: 50%; bottom: var(--pb); width: 18px; margin-left: -9px; height: calc(var(--R, 330px) + 34px); transform-origin: 50% 100%; z-index: 0; pointer-events: none; opacity: 0; }
.fan-needle i { position: absolute; left: 2px; top: 0; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: radial-gradient(circle at 50% 50%, #FFFFFF 0 2.6px, var(--indigo) 3.2px); box-shadow: 0 2px 4px rgba(20,16,60,.3); }
.fan { position: absolute; left: 50%; bottom: var(--pb); width: 0; height: 0; z-index: 1; }
.blade { position: absolute; left: calc(var(--bw, 84px) / -2); bottom: calc(var(--bw, 84px) / -2); width: var(--bw, 84px); height: var(--L, 300px); transform-origin: 50% calc(100% - var(--bw, 84px) / 2); display: flex; flex-direction: column; padding: 0; margin: 0; border: 0; border-radius: calc(var(--bw, 84px) * .2) calc(var(--bw, 84px) * .2) calc(var(--bw, 84px) / 2) calc(var(--bw, 84px) / 2); background: #fff; overflow: hidden; color: var(--ink); text-align: center; cursor: inherit; will-change: transform; transform: rotate(0deg); box-shadow: 0 0 0 1px rgba(39,31,113,.07), 0 2px 3px rgba(30,26,77,.12), 0 16px 28px -14px rgba(30,26,77,.45); -webkit-tap-highlight-color: transparent; }
.blade:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }
.bl-tip { position: relative; flex: 0 0 30%; background: var(--c); color: var(--f); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: calc(var(--bw, 84px) * .13) calc(var(--bw, 84px) * .12); text-align: left; min-height: 0; }
.bl-no { font: 800 calc(var(--bw, 84px) * .15)/1 Figtree, sans-serif; }
.bl-name { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: calc(var(--bw, 84px) * .185); line-height: 1.02; letter-spacing: -.01em; opacity: var(--a, 1); }
/* a stacked blade shows its name along the edge that the deck leaves uncovered */
.bl-edge { position: absolute; top: calc(var(--bw, 84px) * .1); bottom: calc(var(--bw, 84px) * .08); writing-mode: vertical-rl; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: var(--efs, calc(var(--bw, 84px) * .145)); line-height: 1; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; color: var(--f); opacity: calc(1 - var(--a, 1)); pointer-events: none; }
.blade[data-side="r"] .bl-edge { right: calc(var(--bw, 84px) * .07); }
.blade[data-side="l"] .bl-edge { left: calc(var(--bw, 84px) * .07); transform: rotate(180deg); }
.bl-chip { flex: 1 1 0; border-top: 2px solid #fff; position: relative; min-height: 0; }
.bl-chip i { position: absolute; left: calc(var(--bw, 84px) * .12); bottom: 3px; font: 700 8px/1 Figtree, sans-serif; font-style: normal; color: var(--chip-ink, rgba(30,26,77,.55)); letter-spacing: .02em; white-space: nowrap; opacity: var(--a, 1); }
.bl-base { flex: 0 0 33%; border-top: 2px solid #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: calc(var(--bw, 84px) * .14) 4px 0; gap: 4px; background: #fff; min-height: 0; }
.bl-base > * { opacity: var(--a, 1); }
.bl-code { font: 800 calc(var(--bw, 84px) * .14)/1 Figtree, sans-serif; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.bl-from { font: 650 calc(var(--bw, 84px) * .115)/1.15 Figtree, sans-serif; color: var(--muted); }
.is-compact .bl-chip i, .is-compact .bl-from { display: none; }
.rivet { position: absolute; left: 50%; bottom: var(--pb); width: calc(var(--bw, 84px) * .42); height: calc(var(--bw, 84px) * .42); transform: translate(-50%, 50%); z-index: 300; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 34% 30%, #FFFFFF 0%, #EEF0F4 20%, #BCC1CC 58%, #7D8293 100%); box-shadow: 0 3px 6px rgba(20,16,60,.35), inset 0 -2px 3px rgba(0,0,0,.22), inset 0 2px 2px rgba(255,255,255,.85); }
.rivet::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; z-index: -1; background: conic-gradient(from 20deg, #D9DCE4, #FFFFFF, #AEB3C0, #F3F4F7, #C3C7D1, #FFFFFF, #D9DCE4); box-shadow: 0 2px 6px rgba(20,16,60,.32); }
.rivet-slot { position: absolute; left: 20%; right: 20%; top: 50%; height: 4px; margin-top: -2px; border-radius: 3px; background: linear-gradient(#5F6475, #9EA3B1); box-shadow: inset 0 1px 1px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.75); }
/* the dial's small print: how to turn it (left), which blade is open (right) */
.fan-tag { position: absolute; left: 0; bottom: 6px; z-index: 2; margin: 0; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; background: #fff; color: var(--muted); font: 700 12.5px/1 Figtree, sans-serif; box-shadow: 0 1px 0 rgba(39,31,113,.06); pointer-events: none; white-space: nowrap; }
.tag-touch { display: none; }
@media (pointer: coarse) { .tag-fine { display: none; } .tag-touch { display: inline; } }
.fan-read { position: absolute; right: 0; bottom: 8px; z-index: 2; margin: 0; font: 700 13px/1 Figtree, sans-serif; color: var(--muted); pointer-events: none; }
.fan-read b { font: 800 24px/1 'Bricolage Grotesque', Figtree, sans-serif; color: var(--ink); letter-spacing: -.02em; margin-right: 2px; }
@media (max-width: 1023px) { .fan-tag { left: 16px; } .fan-read { right: 16px; } }
@media (min-width: 768px) and (max-width: 1023px) { .fan-tag { left: 32px; } .fan-read { right: 32px; } }

/* the blade names as colour pills, under the fan (a scrolling row on phones) */
.fan-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 14px; }
.lg { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px 0 8px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 13px/1 Figtree, sans-serif; white-space: nowrap; box-shadow: 0 1px 0 rgba(39,31,113,.06); transition: background-color .2s, color .2s; flex: none; }
.lg:hover { background: var(--t1); }
.lg-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lg[aria-pressed="true"] { background: var(--c); color: var(--f); }
.lg[aria-pressed="true"] .lg-dot { background: #fff; box-shadow: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .fan-legend { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; } }
@media (min-width: 1024px) { .fan-legend { gap: 4px; } .lg { height: 34px; padding: 0 11px 0 7px; gap: 6px; font-size: 12.5px; } .lg-dot { width: 12px; height: 12px; } }
@media (max-width: 1023px) { .lg { height: 40px; padding: 0 14px 0 10px; font-size: 13.5px; } }
@media (max-width: 639px) {
  .fan-legend { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 10px -16px 0; padding: 2px 16px 4px; }
  .fan-legend::-webkit-scrollbar { display: none; }
  .lg { height: 44px; }
}

/* the card the active blade opens into */
.scard { position: relative; background: #fff; border-radius: 32px; overflow: hidden; }
.scard:focus { outline: none; }
.scard-band { position: relative; isolation: isolate; color: var(--f); padding: 22px 26px 34px; }
.band-base, .band-wipe { position: absolute; inset: 0; z-index: -1; }
.band-wipe { clip-path: inset(0 0 100% 0); }
.band-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.band-code { font: 800 12px/1 Figtree, sans-serif; letter-spacing: .12em; padding: 8px 11px; border-radius: 999px; background: #fff; color: var(--ink); }
.band-name { font: 750 15px/1.2 Figtree, sans-serif; }
.band-from { margin-left: auto; font: 800 14px/1 Figtree, sans-serif; background: #fff; color: var(--ink); padding: 8px 13px; border-radius: 999px; white-space: nowrap; }
.band-h { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.02; letter-spacing: -.03em; margin: 16px 0 0; max-width: 19ch; }
.band-label { font: 650 14px/1.3 Figtree, sans-serif; margin: 10px 0 0; }
.band-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; display: flex; gap: 2px; background: #fff; padding-top: 2px; }
.band-strip i { flex: 1; }
.scard-body { position: relative; padding: 22px 26px 26px; container-type: inline-size; }
.scard-intro { margin: 0; font-size: 16px; line-height: 1.6; color: #3A3D52; max-width: 62ch; }
.scard-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }
.scard-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 22px 2px 10px; font: 800 12px/1.2 Figtree, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.scard-sub-n { letter-spacing: 0; text-transform: none; font-weight: 700; font-size: 13px; }
.srows { display: grid; gap: 8px; }
@container (min-width: 480px) {
  .srows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .srow { position: relative; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 12px 14px; }
  .srow > .min-w-0 { width: 100%; }
  .srow-go { position: absolute; right: 12px; top: 20px; }
}
.srow { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: #F5F6FA; min-height: 62px; transition: background-color .2s, transform .2s; }
.srow:hover { background: var(--t1); transform: translateY(-2px); }
.srow-sw { width: 46px; height: 46px; border-radius: 14px; background: var(--t2); display: flex; align-items: center; justify-content: center; flex: none; }
.srow-sw .pg { width: 36px; height: 36px; }
.srow-nm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 700 13.5px/1.25 Figtree, sans-serif; color: var(--ink); }
.srow-pr { display: block; font: 600 12px/1.3 Figtree, sans-serif; color: var(--muted); margin-top: 2px; }
.srow-go { color: var(--ink); opacity: .45; transition: transform .2s, opacity .2s; }
.srow:hover .srow-go { opacity: 1; transform: translateX(2px); }
@media (max-width: 639px) {
  .scard { border-radius: 26px; }
  .scard-band { padding: 18px 18px 32px; }
  .scard-body { padding: 18px 16px 20px; }
  .band-h { font-size: 28px; margin-top: 14px; }
  .band-from { margin-left: 0; }
  .scard-ctas .btn { flex: 1 1 auto; padding: 0 16px; }
}
/* the morph layer: positioned over the card band by app.js, painted under the fan and over the card */
.ev-flyer { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; pointer-events: none; opacity: 0; overflow: hidden; transform-origin: 50% 50%; }
.fl-solid, .fl-blade { position: absolute; inset: 0; }
.fl-solid { background: var(--c, #fff); }

/* live widgets inside the card */
.ev-widget { container-type: inline-size; display: flex; flex-direction: column; }
.wbox { flex: 1; display: flex; flex-direction: column; gap: 14px; background: var(--t1); border-radius: 24px; padding: 14px; }
.ev-wrow { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
@container (min-width: 440px) { .ev-wrow { flex-direction: row; align-items: flex-start; } }
.ev-wprev { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; }
.ev-pad { position: relative; width: 196px; height: 156px; background: #fff; border-radius: 18px; display: flex; align-items: center; justify-content: center; padding: 8px; }
@container (max-width: 439px) { .ev-pad { width: 100%; height: 176px; } .ev-pad svg { max-width: 260px; } }
.ev-pad-stamp svg { width: 128px; height: 128px; }
.ev-pad-gift svg { max-height: 100%; }
.ev-size { position: absolute; right: 8px; bottom: 8px; font: 700 10.5px/1 Figtree, sans-serif; color: var(--muted); background: var(--studio); padding: 4px 7px; border-radius: 7px; }
.ev-wctl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.ev-wlabel { margin: 0; font: 800 11px/1.3 Figtree, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.ev-wline { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-wqty { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 650 13px/1.2 Figtree, sans-serif; color: var(--muted); }
.ev-dims { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.ev-unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 650 12px/1 Figtree, sans-serif; color: var(--muted); pointer-events: none; }
.ev-winp { display: block; width: 100%; height: 40px; padding: 0 12px; border-radius: 13px; border: 1.5px solid rgba(39,31,113,.12); background: #fff; font: 600 14px/1 Figtree, sans-serif; color: var(--ink); outline: none; }
.ev-winp:focus { border-color: var(--d, var(--indigo)); box-shadow: 0 0 0 3px var(--t2); }
.ev-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 13px; border-radius: 999px; background: #fff; border: 1.5px solid rgba(39,31,113,.1); color: var(--ink); font: 650 13px/1.15 Figtree, sans-serif; transition: background-color .15s, border-color .15s, color .15s; }
.ev-chip:hover { border-color: var(--d, var(--indigo)); }
.ev-chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: var(--f); }
.ev-chip:disabled { opacity: .4; cursor: not-allowed; }
.ev-presets .ev-chip { padding: 0 10px; }
.ev-seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 3px; gap: 2px; border: 1.5px solid rgba(39,31,113,.1); }
.ev-seg button { min-height: 30px; padding: 0 12px; border-radius: 999px; font: 650 13px/1 Figtree, sans-serif; color: var(--ink); transition: background-color .15s, color .15s; }
.ev-seg button:hover { background: var(--t1); }
.ev-seg button[aria-pressed="true"] { background: var(--c); color: var(--f); }
.ev-step { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; border: 1.5px solid rgba(39,31,113,.1); padding: 2px; }
.ev-step button { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.ev-step button:hover { background: var(--t1); }
.ev-step input { width: 64px; height: 32px; text-align: center; border: 0; background: transparent; font: 800 14px/1 Figtree, sans-serif; color: var(--ink); outline: none; font-variant-numeric: tabular-nums; }
.ev-step input:focus-visible { background: var(--t1); border-radius: 8px; }
.ev-step:focus-within { box-shadow: 0 0 0 2px var(--d, var(--indigo)); border-color: transparent; }
.ev-swatches { display: inline-flex; align-items: center; gap: 7px; }
.ev-swatch { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.ev-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.ev-check { display: inline-flex; align-items: center; gap: 7px; font: 650 13px/1.25 Figtree, sans-serif; color: var(--ink); cursor: pointer; }
.ev-check input { width: 18px; height: 18px; accent-color: var(--rasp); flex: none; }
.ev-check.is-lg { font-size: 14px; }
.ev-wfoot { margin-top: auto; }
.ev-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 14px 12px 16px; }
.ev-plabel { display: block; font: 800 11px/1.2 Figtree, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ev-pline { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.ev-pline.is-warn { color: #8A4B00; font-weight: 650; }
.ev-pright { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.ev-ptotal { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.ev-ptotal.is-quote { font-size: 21px; }
.ev-wqv { display: inline-flex; align-items: center; gap: 3px; margin-top: 6px; font: 750 13px/1 Figtree, sans-serif; color: var(--rasp); }
.ev-wqv:hover { text-decoration: underline; }
.ev-qnote { display: block; font: 650 12px/1.4 Figtree, sans-serif; color: #8A4B00; margin-top: 4px; }
.ev-qnote a { text-decoration: underline; }
.ev-qnote.is-box { background: #FFF5D6; border-radius: 14px; padding: 9px 12px; margin: 0; }
.ev-imprint { transform: rotate(-3deg); transform-origin: 50% 50%; }
.ev-imprint.is-pressed { animation: ev-press .35s ease; }
@keyframes ev-press { 0% { transform: scale(1.07) rotate(-3deg); opacity: .35; } 100% { transform: scale(1) rotate(-3deg); opacity: 1; } }
/* phones: every control at least 44px tall */
@media (max-width: 767px) {
  .ev-chip, .ev-seg button { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .ev-seg button { min-height: 44px; }
  .ev-step button { width: 44px; height: 44px; }
  .ev-step input { width: 64px; height: 44px; }
  .ev-winp { height: 46px; }
  .ev-swatches { gap: 12px; }
  .ev-swatch { width: 30px; height: 30px; }
  .ev-swatch::before { content: ''; position: absolute; inset: -7px; }
  .ev-check { min-height: 44px; font-size: 14px; }
  .ev-check input { width: 20px; height: 20px; }
  .ev-wqv { min-height: 44px; margin-top: 0; }
}

/* ---------- 4. Cadouri personalizate (a pink field, right after the studio) ---------- */
.sec.sec-gift { padding: 40px 0 8px; }
@media (min-width: 768px) { .sec.sec-gift { padding: 56px 0 16px; } }
.gifts { position: relative; background: var(--pink); color: #1A1446; border-radius: 40px; padding: 34px 18px 22px; overflow: hidden; }
@media (min-width: 768px) { .gifts { padding: 52px 48px 34px; } }
.gifts-grid { display: grid; gap: 30px; }
@media (min-width: 1024px) { .gifts-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 48px; } }
.gifts .h2 { color: #1A1446; }
.gifts-lead { font-size: 17px; line-height: 1.55; margin: 16px 0 0; max-width: 44ch; font-weight: 500; }
.gift-try { margin-top: 24px; }
.gift-try label { display: block; font: 750 14px/1.3 Figtree, sans-serif; margin-bottom: 9px; }
.gift-field { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 18px; background: #fff; border-radius: 999px; box-shadow: 0 14px 28px -18px rgba(26,20,70,.6); max-width: 440px; }
.gift-field:focus-within { box-shadow: 0 0 0 3px #1A1446; }
.gift-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font: 750 17px/1 Figtree, sans-serif; color: #1A1446; }
.gift-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 4px 22px; }
.gcard { display: flex; flex-direction: column; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 28px 44px -26px rgba(26,20,70,.6); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.gcard-a { transform: rotate(-2deg); }
.gcard-b { transform: rotate(2deg) translateY(20px); }
.gcard:hover { transform: rotate(0deg) translateY(-4px); }
.gpad { aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; }
.gbody { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.gtop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; }
.gtop h3 { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: -.015em; margin: 0; color: var(--ink); }
.gtop span { font: 800 13px/1.3 Figtree, sans-serif; color: var(--rasp); }
.gbody p { font-size: 13.5px; line-height: 1.5; color: #4A4E63; margin: 8px 0 14px; }
.gbody .btn { margin-top: auto; }
@media (max-width: 639px) {
  .gift-cards { gap: 10px; padding: 0 0 16px; }
  .gcard { border-radius: 22px; }
  .gbody { padding: 12px 12px 14px; }
  .gtop h3 { font-size: 16px; }
  .gbody p { display: none; }
  .gbody .btn { margin-top: 10px; padding: 0 10px; font-size: 13.5px; }
  .gbody .btn .ms { display: none; }
}
.gift-more { margin-top: 28px; display: flex; align-items: flex-start; gap: 14px; }
.gift-more-l { font: 800 13px/1.2 Figtree, sans-serif; margin: 13px 0 0; flex: none; }
.gift-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; padding: 2px; }
@media (max-width: 767px) {
  .gift-more { flex-direction: column; align-items: stretch; gap: 10px; }
  .gift-more-l { margin: 0; }
  /* one scrolling row that fades out at the right edge of the field, so it reads as more to come */
  .gift-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -18px; padding: 2px 18px; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
  .gift-chips::-webkit-scrollbar { display: none; }
}
.gchip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 5px; border-radius: 999px; background: rgba(255,255,255,.94); font: 700 13.5px/1 Figtree, sans-serif; color: #1A1446; white-space: nowrap; transition: transform .2s, background-color .2s; }
.gchip:hover { background: #fff; transform: translateY(-2px); }
.gchip-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.gchip-ic .pg { width: 26px; height: 26px; }
.gchip:nth-child(3n+2) .gchip-ic { background: var(--cyan); }
.gchip:nth-child(3n) .gchip-ic { background: #D9D6F2; }
.gchip-pr { font-weight: 600; color: var(--muted); }

/* ---------- 5. Mostre cu preț (one paint chip per product) ---------- */
.ptabs { display: flex; gap: 8px; margin-bottom: 22px; }
.ptab { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12px 8px 8px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; color: var(--ink); transition: background-color .2s, color .2s, transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.ptab:hover { box-shadow: inset 0 0 0 1.5px var(--c); }
.ptab-sw { display: flex; flex-direction: column; gap: 2px; width: 16px; height: 44px; flex: none; }
.ptab-sw i { flex: 1; border-radius: 3px; }
.ptab-sw i:nth-child(1) { background: var(--t2); }
.ptab-sw i:nth-child(2) { background: var(--t3); }
.ptab-sw i:nth-child(3) { background: var(--c); }
.ptab-t { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ptab-code { font: 700 11.5px/1 Figtree, sans-serif; color: var(--muted); letter-spacing: .02em; }
.ptab-n { font: 750 14px/1.15 Figtree, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptab[aria-selected="true"] { background: var(--c); color: var(--f); box-shadow: 0 14px 24px -16px rgba(30,26,77,.6); transform: translateY(-3px); }
.ptab[aria-selected="true"] .ptab-code { color: inherit; opacity: .8; }
.ptab[aria-selected="true"] .ptab-sw i { background: #fff; opacity: .45; }
.ptab[aria-selected="true"] .ptab-sw i:nth-child(2) { opacity: .7; }
.ptab[aria-selected="true"] .ptab-sw i:nth-child(3) { opacity: 1; }
@media (max-width: 1023px) {
  .ptabs { overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 4px 16px 6px; }
  .ptabs::-webkit-scrollbar { display: none; }
  .ptab { flex: none; }
}
@media (min-width: 768px) and (max-width: 1023px) { .ptabs { margin: 0 -32px 16px; padding: 4px 32px 6px; } }
.ptrack { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding: 8px 16px 24px; margin: 0 -16px; scroll-padding-left: 16px; }
.ptrack::-webkit-scrollbar { display: none; }
.ptrack:focus { outline: none; }
@media (min-width: 560px) { .ptrack { grid-auto-columns: calc((100% - 2 * 14px) / 2.4); } }
@media (min-width: 768px) { .ptrack { grid-auto-columns: calc((100% - 3 * 16px) / 3.3); gap: 16px; margin: 0 -32px; padding: 8px 32px 24px; scroll-padding-left: 32px; } }
@media (min-width: 1024px) { .ptrack { grid-auto-columns: calc((100% - 4 * 16px) / 5); margin: 0; padding: 8px 0 24px; scroll-padding-left: 0; } }
/* the paint chip: mostly colour (one of three tint steps), a punched hole, a perforated price stub */
.sw { position: relative; display: flex; flex-direction: column; text-align: left; border-radius: 24px; overflow: hidden; scroll-snap-align: start; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(39,31,113,.07), 0 18px 32px -24px rgba(39,31,113,.5); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.sw:hover { transform: translateY(-6px) rotate(-.8deg); }
.sw-face { position: relative; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); padding: 14px 16px 18px; min-height: 280px; }
.sw-top { display: flex; justify-content: space-between; align-items: center; }
.sw-code { font: 800 12px/1 Figtree, sans-serif; letter-spacing: .06em; }
.sw-hole { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 3px rgba(20,16,60,.35); }
.sw-pg { display: block; width: 78px; height: 78px; margin: 16px 0 0; }
.sw-pg .pg { width: 100%; height: 100%; display: block; }
.sw-name { margin-top: auto; padding-top: 18px; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: 23px; line-height: 1.04; letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sw-meta { margin-top: 8px; font: 700 12.5px/1.25 Figtree, sans-serif; opacity: .86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 12px 13px 16px; background: #fff; }
.sw-foot::before { content: ''; position: absolute; left: 6px; right: 6px; top: -3px; height: 6px; background: radial-gradient(circle, #fff 2.2px, transparent 2.7px) 0 0 / 11px 6px repeat-x; }
.sw-val { min-width: 0; font: 600 12px/1.2 Figtree, sans-serif; color: var(--muted); }
.sw-val b { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 23px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.sw-go { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--studio); color: var(--ink); font-size: 0; transition: background-color .2s, color .2s, transform .2s; }
.sw:hover .sw-go, .sw:focus-visible .sw-go { background: var(--c); color: var(--f); transform: translateX(2px); }
@media (max-width: 639px) { .sw-face { min-height: 250px; } .sw-name { font-size: 21px; } }
.pfoot { display: flex; align-items: center; gap: 16px; margin-top: 2px; }
.pscrub { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 30px; cursor: pointer; }
.pscrub[hidden] { display: flex; visibility: hidden; }
.pscrub i { flex: 1; max-width: 56px; height: 10px; border-radius: 4px; background: var(--bg); opacity: .4; transition: height .25s cubic-bezier(.2,.8,.2,1), opacity .25s; }
.pscrub i.is-in { height: 26px; opacity: 1; }
.pscrub i:hover { opacity: .85; }
.pcount { font: 700 13px/1 Figtree, sans-serif; color: var(--muted); white-space: nowrap; }

/* ---------- 6. Trei culori, trei pași (overlapping colour cards) ---------- */
.how-row { list-style: none; margin: 0; padding: 0; display: grid; }
.how-card { position: relative; background: var(--c); color: var(--f); border-radius: 30px; padding: 22px 24px 22px; display: flex; flex-direction: column; box-shadow: 0 28px 44px -28px rgba(30,26,77,.55); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.how-card:nth-child(1) { transform: rotate(-2deg); z-index: 1; }
.how-card:nth-child(2) { transform: rotate(1.5deg); z-index: 2; }
.how-card:nth-child(3) { transform: rotate(-1deg); z-index: 3; }
.how-card:hover { transform: rotate(0deg) translateY(-6px); z-index: 4; }
@media (max-width: 767px) { .how-card + .how-card { margin-top: -10px; } }
@media (min-width: 768px) {
  .how-row { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 10px; }
  .how-card { min-height: 340px; padding: 26px 28px 24px; }
  .how-card + .how-card { margin-left: -18px; }
  .how-card:nth-child(2) { transform: rotate(1.5deg) translateY(22px); }
  .how-card:nth-child(2):hover { transform: rotate(0deg) translateY(16px); }
}
.how-step { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 700 13.5px/1 Figtree, sans-serif; background: rgba(255,255,255,.62); color: var(--ink); padding: 5px 14px 5px 5px; border-radius: 999px; }
.how-n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 800 13px/1 Figtree, sans-serif; }
.how-h { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: clamp(52px, 6vw, 84px); line-height: .9; letter-spacing: -.045em; margin: 24px 0 14px; }
.how-p { font-size: 16px; line-height: 1.55; margin: 0 0 18px; max-width: 34ch; }
.how-p a { font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.how-chips { margin-top: auto; align-self: flex-end; display: flex; align-items: flex-end; gap: 3px; }
.how-chips i { width: 13px; border-radius: 4px; background: #fff; }
.how-chips i:nth-child(1) { height: 14px; opacity: .3; }
.how-chips i:nth-child(2) { height: 20px; opacity: .5; }
.how-chips i:nth-child(3) { height: 26px; opacity: .72; }
.how-chips i:nth-child(4) { height: 32px; }

/* ---------- 7. Pachete gata asortate ---------- */
.packs { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 12px; scroll-padding-left: 16px; }
@media (min-width: 768px) { .packs { margin: 0 -32px; padding: 4px 32px 12px; scroll-padding-left: 32px; } }
@media (min-width: 960px) { .packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 0; } }
.pack { position: relative; flex: 0 0 86%; scroll-snap-align: start; background: var(--c); color: var(--f); border-radius: 32px; padding: 26px 20px 20px; display: flex; flex-direction: column; }
@media (min-width: 560px) { .pack { flex-basis: 58%; } }
@media (min-width: 960px) { .pack { padding: 28px 24px 24px; } }
.pack-code { font: 800 12.5px/1 Figtree, sans-serif; letter-spacing: .05em; margin: 0 0 14px; opacity: .85; }
.pack-title { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: -.03em; margin: 0; }
.pack-sub { margin: 10px 0 0; font-size: 15.5px; line-height: 1.45; font-weight: 500; }
/* the three products joined like a strip of swatches, each in its own chapter's tint */
.pack-pal { list-style: none; margin: 22px 0 0; padding: 0; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; gap: 3px; }
.pack-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; background: var(--t2); color: var(--ink); min-height: 72px; text-align: left; transition: background-color .2s; }
.pack-item:hover { background: var(--t3); }
.pack-pg { width: 48px; height: 48px; flex: none; }
.pack-pg .pg { width: 100%; height: 100%; display: block; }
.pack-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pack-n { font: 750 15.5px/1.2 Figtree, sans-serif; }
.pack-pr { font: 600 13px/1.2 Figtree, sans-serif; color: #3A3D52; }
.pack-no { font: 800 11px/1 Figtree, sans-serif; letter-spacing: .06em; background: var(--c); color: var(--f); padding: 6px 8px; border-radius: 8px; flex: none; }
.pack-cta { margin-top: 18px; min-height: 52px; border-radius: 999px; background: var(--indigo); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; font: 750 15px/1.2 Figtree, sans-serif; text-align: center; transition: background-color .2s; }
.pack-cta:hover { background: #1B1554; }
.pack.on-dark .pack-cta { background: #fff; color: var(--rasp-d); }
.pack.on-dark .pack-cta:hover { background: var(--studio); }

/* ---------- 8. The indigo closing zone: why us + the shop ---------- */
.zone { position: relative; background: var(--indigo); color: #fff; padding: 0 0 64px; margin-top: 24px; }
@media (min-width: 768px) { .zone { margin-top: 40px; padding-bottom: 80px; } }
.zone-strip { display: flex; height: 18px; gap: 2px; background: #fff; }
.zone-strip i { flex: 1; }
.why-head { padding-top: 64px; max-width: 900px; }
@media (min-width: 768px) { .why-head { padding-top: 88px; } }
.zone .h2 { color: #fff; }
.why-lead { color: rgba(255,255,255,.84); font-size: 17px; line-height: 1.55; margin: 18px 0 0; max-width: 56ch; }
.why-sw { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .why-sw { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .why-sw { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 48px; } }
.why-sw li { display: flex; flex-direction: column; gap: 3px; }
.ws-name { flex: 1; display: flex; align-items: flex-end; min-height: 128px; padding: 16px; border-radius: 20px 20px 6px 6px; background: var(--c); color: var(--f); font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.06; letter-spacing: -.015em; }
.ws-code { padding: 10px 16px; border-radius: 6px 6px 16px 16px; background: #fff; color: var(--ink); font: 800 12px/1 Figtree, sans-serif; letter-spacing: .06em; }
@media (min-width: 1024px) { .ws-name { min-height: 168px; font-size: 21px; } }
/* the shop as one big swatch card: the map is its colour field */
.loc { margin-top: 48px; display: grid; gap: 12px; background: #fff; color: var(--text); border-radius: 40px; padding: 12px; }
@media (min-width: 1024px) { .loc { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); margin-top: 64px; } }
.loc-field { position: relative; border-radius: 30px; overflow: hidden; min-height: 300px; background: #EEF0F7; order: 2; }
@media (min-width: 640px) { .loc-field { min-height: 380px; } }
@media (min-width: 1024px) { .loc-field { order: 0; min-height: 0; } }
.loc-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.loc-field iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.loc-info { padding: 20px 14px 16px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 640px) { .loc-info { padding: 28px 28px 24px; } }
.loc-code { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 800 13px/1 Figtree, sans-serif; letter-spacing: .06em; color: var(--muted); }
.loc-sw { display: inline-flex; gap: 2px; }
.loc-sw i { width: 8px; height: 22px; border-radius: 3px; }
.loc-sw i:nth-child(1) { background: var(--cyan); }
.loc-sw i:nth-child(2) { background: var(--pink); }
.loc-sw i:nth-child(3) { background: var(--yellow); }
.loc-name { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: clamp(34px, 3.6vw, 50px); line-height: 1; letter-spacing: -.035em; color: var(--ink); margin: -4px 0 0; }
.loc-addr { margin: -6px 0 0; font-size: 15.5px; line-height: 1.5; color: #4A4E63; }
.loc-open { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: var(--studio); padding: 7px 13px 7px 11px; border-radius: 999px; font: 650 13px/1.2 Figtree, sans-serif; color: var(--ink); margin: 0; }
.loc-week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.loc-week li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 64px; border-radius: 10px; background: var(--indigo); color: #fff; text-align: center; }
.loc-week li:first-child { border-radius: 18px 8px 8px 18px; }
.loc-week li:last-child { border-radius: 8px 18px 18px 8px; }
.loc-week b { font: 800 17px/1 'Bricolage Grotesque', Figtree, sans-serif; }
.loc-week span { font: 700 11px/1 Figtree, sans-serif; opacity: .86; }
.loc-week li.is-off { background: var(--studio); color: var(--muted); }
.loc-week li.is-today { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rasp); }
@media (max-width: 380px) { .loc-week span { font-size: 9.5px; } }
.loc-pills { display: flex; flex-direction: column; gap: 8px; }
.loc-pills a { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--c); color: #1A1446; transition: transform .2s; min-width: 0; }
.loc-pills a:hover { transform: translateX(3px); }
.lp-v { font: 800 17px/1.1 Figtree, sans-serif; min-width: 0; overflow-wrap: anywhere; }
.lp-k { margin-left: auto; font: 650 13px/1.2 Figtree, sans-serif; opacity: .85; white-space: nowrap; }
@media (max-width: 400px) { .lp-k { display: none; } }
.loc-go { margin-top: auto; }

/* ---------- 9. Footer (continues the indigo zone) ---------- */
.ft { background: var(--indigo); color: rgba(255,255,255,.82); }
.ft-top { display: grid; gap: 30px; padding-top: 8px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 1024px) { .ft-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; } }
.ft-brand p { font-size: 14px; line-height: 1.6; margin: 18px 0 0; max-width: 44ch; }
.ft-brand .ft-open { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); padding: 7px 13px 7px 11px; border-radius: 999px; font: 650 13px/1.2 Figtree, sans-serif; }
/* the newsletter: a yellow swatch card with chips fanning out of its corner */
.nl { position: relative; background: var(--yellow); color: var(--indigo); border-radius: 30px; padding: 26px 20px 18px; overflow: hidden; }
@media (min-width: 640px) { .nl { padding: 30px 30px 20px; } }
.nl-fan { position: absolute; right: 22px; top: -12px; display: flex; pointer-events: none; }
.nl-fan i { width: 16px; height: 74px; margin-left: -4px; border-radius: 0 0 7px 7px; transform-origin: 50% 0; box-shadow: -1px 0 0 rgba(39,31,113,.12); }
.nl-fan i:nth-child(1) { background: var(--cyan); transform: rotate(18deg); }
.nl-fan i:nth-child(2) { background: var(--violet); transform: rotate(9deg); }
.nl-fan i:nth-child(3) { background: var(--pink); transform: rotate(0deg); }
.nl-fan i:nth-child(4) { background: var(--rasp); transform: rotate(-9deg); }
.nl-fan i:nth-child(5) { background: #fff; transform: rotate(-18deg); }
.nl-code { font: 800 12.5px/1 Figtree, sans-serif; letter-spacing: .06em; margin: 0 0 10px; opacity: .8; }
.nl-h { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); line-height: 1; letter-spacing: -.035em; margin: 0; max-width: 12ch; }
.nl-p { margin: 10px 0 16px; font-size: 15.5px; line-height: 1.5; font-weight: 500; max-width: 40ch; }
.nl-field { display: flex; align-items: stretch; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 28px -18px rgba(39,31,113,.6); min-height: 56px; }
.nl-field:focus-within { box-shadow: 0 0 0 3px var(--indigo); }
.nl-pre { display: flex; align-items: center; padding-left: 16px; font: 800 13px/1 Figtree, sans-serif; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.nl-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 0 12px; font: 600 16px/1 Figtree, sans-serif; color: var(--ink); }
.nl-tab { flex: none; background: var(--rasp); color: #fff; font: 750 15px/1 Figtree, sans-serif; padding: 0 20px; min-height: 56px; transition: background-color .2s; }
.nl-tab:hover { background: var(--rasp-d); }
.nl-tab:focus-visible { outline-offset: -4px; outline-color: #fff; }
@media (max-width: 479px) { .nl-field { flex-wrap: wrap; } .nl-pre { display: none; } .nl-field input { height: 54px; flex-basis: 100%; } .nl-tab { flex: 1 1 100%; } }
.nl-msg { min-height: 20px; margin: 10px 2px 0; font: 750 14px/1.4 Figtree, sans-serif; }
.nl-msg.is-ok { color: var(--ink); }
.nl-msg.is-err { color: #9E1F48; }
.ft-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 24px; padding: 40px 0; }
@media (min-width: 640px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-pal { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .ft-cols { grid-template-columns: 1.35fr 1fr 1.15fr; } .ft-pal { grid-column: auto; } }
.ft-h { font: 800 13px/1.2 Figtree, sans-serif; letter-spacing: .05em; color: var(--yellow); margin: 0 0 14px; }
.ft-sw { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
@media (max-width: 479px) { .ft-sw { grid-template-columns: minmax(0, 1fr); } }
.ft-sw a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: rgba(255,255,255,.88); font-size: 14.5px; line-height: 1.3; }
.ft-sw a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fsw { display: flex; gap: 2px; flex: none; }
.fsw i { width: 9px; height: 26px; border-radius: 3px; }
.ft-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; font-size: 14.5px; }
.ft-list a, .ft-list button { color: rgba(255,255,255,.86); display: inline-flex; align-items: center; gap: 10px; text-align: left; min-height: 40px; min-width: 44px; transition: color .15s; }
.ft-list a:hover, .ft-list button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .ft-list a, .ft-list button { min-height: 44px; } }
.ft-pills { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ft-pills a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--c); color: #1A1446; font: 800 16px/1 Figtree, sans-serif; max-width: 100%; }
.ft-pills small { font: 650 12.5px/1 Figtree, sans-serif; opacity: .85; }
.ft-addr-s { display: flex; gap: 10px; margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
.ft-addr-s .ms { color: var(--cyan); }
.ft-legal { display: flex; flex-direction: column; gap: 18px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.7); }
@media (min-width: 1024px) { .ft-legal { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; } }
.ft-copy p { margin: 0; }
.ft-copy p + p { margin-top: 4px; }
.ft-copy a { color: rgba(255,255,255,.9); text-decoration: underline; text-underline-offset: 2px; }
.ft-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: none; }
.ft-pill { min-height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; color: var(--indigo); font: 750 13px/1.2 Figtree, sans-serif; }
.ft-pill:hover { background: var(--yellow); }
.ft-badge { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px 8px; }
.ft-badge img { width: 168px; height: auto; display: block; }
/* the last strip of the page: tint steps of the six colours, closed by the credit as a wider white swatch */
.ft-end { display: flex; align-items: flex-end; gap: 3px; padding: 0 16px; }
@media (min-width: 768px) { .ft-end { padding: 0 32px; } }
.ft-end-chips { flex: 1; display: flex; align-items: flex-end; gap: 3px; min-width: 0; }
.ft-end-chips i { flex: 1; border-radius: 9px 9px 0 0; }
.ft-end-chips i:nth-child(3n+1) { height: 28px; }
.ft-end-chips i:nth-child(3n+2) { height: 38px; }
.ft-end-chips i:nth-child(3n) { height: 48px; }
/* the full indigo chip would vanish into the indigo footer: give it a light rim */
.ft-end-chips i:nth-child(15) { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.credit { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 78px; padding: 12px 22px 10px; background: #fff; color: var(--ink); border-radius: 16px 16px 0 0; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.credit:hover { transform: translateY(-4px); }
.credit-l { font: 700 11.5px/1 Figtree, sans-serif; color: var(--muted); }
.credit-n { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -.02em; }
.credit-c { font: 700 11px/1 Figtree, sans-serif; letter-spacing: .03em; color: var(--rasp); }
@media (max-width: 767px) {
  .ft-end-chips i:not(:nth-child(3n)) { display: none; }
  .ft-end-chips i:nth-child(3n) { height: 44px; }
  .credit { flex: 0 1 auto; padding: 12px 16px 10px; }
}

/* ---------- 13. Quick view ---------- */
.ev-qv { width: min(880px, calc(100% - 24px)); max-width: none; max-height: min(92vh, 900px); padding: 0; border: 0; border-radius: 32px; background: #fff; color: var(--text); box-shadow: 0 40px 80px -20px rgba(20,16,60,.55); overflow: hidden; }
.ev-qv::backdrop { background: rgba(30,26,77,.55); }
.ev-qv[open] { animation: qv-in .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes qv-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.ev-qv-scroll { max-height: min(92vh, 900px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 639px) {
  .ev-qv { width: 100%; max-height: 94vh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .ev-qv-scroll { max-height: 94vh; }
  .ev-qv[open] { animation-name: qv-up; }
  @keyframes qv-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
}
.qv-band { position: relative; background: var(--c); color: var(--f); padding: 14px 16px 30px 20px; }
@media (min-width: 640px) { .qv-band { padding: 16px 18px 36px 28px; } }
.qv-bandtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qv-crumb { display: inline-flex; align-items: center; gap: 9px; font: 700 13px/1.2 Figtree, sans-serif; min-width: 0; }
.qv-code { background: #fff; color: var(--ink); font: 800 11px/1 Figtree, sans-serif; letter-spacing: .12em; padding: 6px 9px; border-radius: 999px; flex: none; }
.qv-x { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.qv-x:hover { background: var(--studio); }
.qv-hero { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.qv-ic { width: 80px; height: 80px; border-radius: 26px; background: var(--t1); display: flex; align-items: center; justify-content: center; flex: none; box-shadow: 0 14px 26px -14px rgba(30,26,77,.5); }
.qv-ic .pg { width: 60px; height: 60px; }
.qv-title { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 34px); line-height: 1.04; letter-spacing: -.025em; margin: 0; }
.qv-from { margin: 7px 0 0; font: 750 14px/1.3 Figtree, sans-serif; }
.qv-strip { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; display: flex; gap: 2px; background: #fff; padding-top: 2px; }
.qv-strip i { flex: 1; }
.qv-grid { display: grid; gap: 18px; padding: 20px; }
@media (min-width: 640px) { .qv-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 26px 28px 28px; } }
.qv-aside { display: flex; flex-direction: column; gap: 10px; }
.qv-desc { font-size: 15px; line-height: 1.6; color: #3A3D52; margin: 0 0 4px; }
.qv-note { display: flex; gap: 9px; font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0; background: var(--studio); border-radius: 16px; padding: 11px 12px; }
.qv-note .ms { color: var(--d); }
.qv-note a { font-weight: 750; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.qv-note.is-mine { background: var(--t1); color: var(--ink); }
.qv-note.is-mine b { font-weight: 750; }
.qv-grp { margin-top: 18px; }
.qv-grp:first-child { margin-top: 0; }
.qv-lab { font: 800 11px/1.2 Figtree, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 9px; }
.ev-qv .ev-chip { min-height: 40px; font-size: 13.5px; padding: 0 15px; }
.ev-qv .ev-step button { width: 40px; height: 40px; }
.ev-qv .ev-step input { width: 78px; height: 40px; font-size: 15px; }
.ev-field { display: block; width: 100%; height: 46px; padding: 0 12px; border-radius: 14px; border: 1.5px solid rgba(39,31,113,.14); background: #fff; font: 700 15px/1 Figtree, sans-serif; color: var(--ink); outline: none; font-variant-numeric: tabular-nums; }
.ev-field:focus { border-color: var(--d, var(--indigo)); box-shadow: 0 0 0 3px var(--t2); }
.qv-sum { margin-top: 22px; background: var(--t1); border-radius: 22px; padding: 16px 18px; }
.qv-sumrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 2px dashed rgba(39,31,113,.16); }
.qv-total { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.qv-cta { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .qv-cta { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .ev-qv .ev-chip { min-height: 44px; min-width: 44px; } .ev-qv .ev-step button { width: 44px; height: 44px; } .ev-qv .ev-step input { height: 44px; } }

/* ---------- 14. Toast ---------- */
.ev-toast { position: fixed; left: 50%; bottom: 22px; z-index: 3000; transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 32px); }
.ev-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast-in { display: flex; align-items: center; gap: 12px; background: var(--indigo); color: #fff; font: 700 14px/1.35 Figtree, sans-serif; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 20px 40px -12px rgba(20,16,60,.5); }
.toast-chips { display: flex; gap: 2px; flex: none; }
.toast-chips i { width: 7px; height: 24px; border-radius: 3px; }
.toast-chips i:nth-child(1) { background: var(--cyan); }
.toast-chips i:nth-child(2) { background: var(--pink); }
.toast-chips i:nth-child(3) { background: var(--yellow); }

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .how-card, .gcard-a, .gcard-b, .how-card:hover, .gcard:hover, .sw:hover, .ptab { transition: none; }
  .sw:hover { transform: none; }
}
