/* ==========================================================================
   Floris — storefront demo
   Palette: brandbook + two accessible additions
     --coral  #EB6C6C  brand coral → decoration only (logo, hearts, line-art, focus)
     --rose   #BE3F48  deeper coral → text links, prices, buttons (5.3:1 on bg, white on it 5.3:1)
     --muted  #685654  secondary text (6.6:1) — replaces #8a7070 (4.4:1)
   Type: Montserrat 400 for reading, 500/600 for UI, 300 only ≥ 32px. Script only as a large accent.
   ========================================================================== */
:root {
  --bg: #FDFAF7; --surface: #FFFFFF; --cream: #F9EED8; --cream-50: #FBF4E8;
  --peach: #FBC3AE; --peach-50: #FDEEE7;
  --coral: #EB6C6C; --rose: #BE3F48; --rose-700: #A9343E; --rose-50: #FBECEC;
  --ink: #2B2221; --muted: #685654; --line: #EADFD8; --line-2: #D9CBC2;
  --green: #3A5F38; --mint: #E5F4E4; --sage: #96C294; --forest: #073505;
  --r-sm: 10px; --r: 16px; --r-lg: 24px;
  --shadow: 0 1px 2px rgba(43,34,33,0.06), 0 8px 24px -12px rgba(43,34,33,0.07);
  --shadow-lg: 0 24px 60px -20px rgba(43,34,33,0.07);
  --hd: 72px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { font-family: Montserrat, system-ui, sans-serif; font-size: 16px; line-height: 1.6; font-weight: 400; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.script { font-family: Allura, cursive; font-weight: 400; color: var(--rose); letter-spacing: 0; }
.muted { color: var(--muted); }
.green { color: var(--green); }
.hidden { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; letter-spacing: -.005em; }
.h-display { font-size: clamp(30px, 3.2vw, 44px); font-weight: 300; line-height: 1.12; letter-spacing: -.015em; }
.h-page { font-size: clamp(28px, 3vw, 40px); font-weight: 300; letter-spacing: -.015em; }
.h-sec { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.01em; }
.eyebrow { font-size: 16px; font-weight: 400; color: var(--muted); }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.small { font-size: 14px; }
.xs { font-size: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-700); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border: 1.5px solid var(--line-2); background: var(--surface); }
.btn-line:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link { color: var(--rose); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--rose-700); }
.arrow-link { color: var(--rose); font-weight: 600; font-size: 16px; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link:hover { color: var(--rose-700); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--cream-50); }
.icon-btn svg { width: 22px; height: 22px; }
.count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--rose); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; line-height: 1.1; }
.count:empty { display: none; }

/* ---------- utility bar + header ---------- */
.util { background: var(--cream-50); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 24px; }
.util span { display: inline-flex; align-items: center; gap: 8px; }
.util b { color: var(--ink); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3FA15B; flex: none; }
.hd { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; height: var(--hd); gap: 24px; }
.logo img { height: 40px; width: auto; }
.mainnav { display: flex; gap: 4px; margin: 0 auto; }
.mainnav a { padding: 10px 14px; border-radius: 999px; font-size: 16px; font-weight: 400; transition: background .2s; }
.mainnav a:hover { background: var(--cream-50); }
.mainnav a.on { background: var(--rose-50); color: var(--rose-700); }
.mainnav a.builder { color: var(--rose); }
.hd-actions { display: flex; align-items: center; gap: 4px; }
.burger { display: none; }
.searchbar { border-top: 1px solid var(--line); background: var(--bg); }
.searchbar form { display: flex; gap: 8px; padding: 12px 0; }
.searchbar input { flex: 1; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 16px; }
.searchbar input:focus { outline: none; border-color: var(--ink); }

/* mobile category strip (same categories as desktop nav) */
.catstrip { display: none; }

/* ---------- product card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; }
.card .im { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; background: #F4ECE4; }
/* white-background photos blend into the page → multiply onto a warm tint so every box reads as a box */
.card .im img, .slide img, .thumbs img, .line-item .th img { mix-blend-mode: multiply; }
.card .im::after, .slide::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(43,34,33,.07); pointer-events: none; }
.slide { position: relative; background: #F4ECE4; }
.zm { transform: scale(var(--z, 1)); transform-origin: var(--o, 50% 50%); }
.card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; box-shadow: 0 1px 2px rgba(0,0,0,0.07); }
.card .add { position: absolute; right: 12px; bottom: 12px; height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--shadow); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s, background .2s, color .2s; }
.card:hover .add, .card .add:focus-visible { opacity: 1; transform: none; }
.card .add:hover { background: var(--rose); color: #fff; }
.card .add svg { width: 18px; height: 18px; }
.card .body { padding: 12px 2px 0; display: grid; gap: 2px; }
.card h3 { font-size: 16px; font-weight: 400; line-height: 1.35; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .add { z-index: 2; }
.card .price { font-size: 16px; font-weight: 600; }
.card .price small { font-weight: 400; color: var(--muted); font-size: 14px; }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.stars { font-size: 14px; color: var(--muted); white-space: nowrap; }
.stars b { color: #C98A12; font-weight: 400; }
.today { font-size: 14px; color: var(--green); font-weight: 400; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- home: shop-first top ---------- */
.top { padding: 24px 0 56px; }
.top .grid { grid-template-columns: repeat(4, 1fr); }
.top .grid > .card:nth-child(9) { display: none; } /* 4 cols → 8 cards = two full rows */
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.trust li { display: flex; gap: 8px; align-items: center; }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.sec { padding: 72px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head p { margin-top: 6px; }
.alt { background: var(--cream-50); border-block: 1px solid var(--line); }

/* category tiles */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat { display: grid; gap: 12px; }
.cat .im { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--cream); }
.cat .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.cat:hover b { color: var(--rose-700); }
.cat b { font-weight: 600; font-size: 16px; display: block; }
.cat span { font-size: 14px; color: var(--muted); }
.cat.builder .im { background: var(--peach-50); display: grid; place-items: center; }
.cat.builder .im svg { width: 82%; height: 82%; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font-size: 16px; font-weight: 400; transition: border-color .2s, background .2s; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* builder teaser + occasion cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--peach-50); border-radius: var(--r-lg); padding: 48px; }
.teaser .stagemini { aspect-ratio: 1; background: var(--surface); border-radius: var(--r-lg); display: grid; place-items: center; }
.teaser .stagemini svg { width: 86%; height: 86%; }
.steps-list { list-style: none; counter-reset: s; display: grid; gap: 12px; margin: 22px 0 28px; }
.steps-list li { counter-increment: s; display: flex; gap: 14px; align-items: center; font-size: 16px; }
.steps-list li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--line-2); display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.occ-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.occ-card .im { aspect-ratio: 16/9; overflow: hidden; }
.occ-card .im img { width: 100%; height: 100%; object-fit: cover; }
.occ-card .in { padding: 28px; display: grid; gap: 12px; align-content: start; }
.occ-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; }
.occ-card ul li::before { content: "·"; margin-right: 8px; color: var(--coral); font-weight: 600; }
.occ-card .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* info / how */
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; max-width: 1040px; }
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.facts svg { width: 26px; height: 26px; color: var(--green); margin-top: 1px; }
.facts h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.facts p { font-size: 16px; color: var(--muted); max-width: 46ch; }

/* reviews */
.quotes { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.quotes figure { display: grid; gap: 12px; }
.quotes blockquote { font-size: 18px; line-height: 1.6; }
.quotes figcaption { font-size: 16px; color: var(--muted); }
.quotes figcaption b { color: var(--ink); font-weight: 600; }
.q-main blockquote { font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; line-height: 1.45; letter-spacing: -.005em; max-width: 30ch; }
.q-side { display: grid; gap: 32px; }
.tagpill { justify-self: start; font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); }
.gscore { display: flex; align-items: center; gap: 14px; }
.gscore b { font-size: 40px; font-weight: 300; line-height: 1.1; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.cinfo { display: grid; gap: 18px; align-content: start; }
.cinfo > div { display: flex; gap: 14px; }
.cinfo .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--rose); flex: none; }
.cinfo .ic svg { width: 20px; height: 20px; }
.cinfo small { display: block; font-size: 14px; color: var(--muted); }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 380px; border: 1px solid var(--line); background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* footer */
footer.ft { background: var(--forest); color: #E4EEDF; padding: 56px 0 28px; margin-top: 0; }
.ft .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft img { height: 48px; margin-bottom: 14px; }
.ft h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.ft ul { list-style: none; display: grid; gap: 8px; font-size: 16px; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft .copy { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #BFD3BB; }

/* ---------- category page ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 20px 0 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head { padding-bottom: 20px; display: grid; gap: 8px; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 20px; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.shop { display: grid; grid-template-columns: 248px 1fr; gap: 40px; align-items: start; padding-bottom: 80px; }
.filters { position: sticky; top: calc(var(--hd) + 20px); display: grid; gap: 4px; max-height: calc(100vh - var(--hd) - 40px); overflow: auto; padding-right: 6px; }
.fgroup { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filters { padding-left: 5px; margin-left: -5px; }
.fgroup h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 16px; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--rose); flex: none; }
.opt .n { margin-left: auto; color: var(--muted); font-size: 14px; }
.opt .sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.toolbar .res { font-size: 16px; color: var(--muted); }
.toolbar .res b { color: var(--ink); }
.toolbar .sp { flex: 1; }
.select { min-height: 44px; padding: 0 40px 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface) 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' stroke='%232B2221' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; font-size: 16px; font-weight: 400; cursor: pointer; }
.fbtn { display: none; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--rose-50); color: var(--rose-700); font-size: 14px; font-weight: 400; }
.pill:hover { background: #F6DCDC; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--r); }
.quote-band { margin-top: 40px; background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 8px 0 72px; align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; position: sticky; top: calc(var(--hd) + 20px); }
.thumbs { display: grid; gap: 12px; align-content: start; }
.thumbs button { aspect-ratio: 4/5; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; background: var(--cream); }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r-lg); scrollbar-width: none; background: var(--cream); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; aspect-ratio: 4/5; scroll-snap-align: start; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: none; }
.pinfo { display: grid; gap: 20px; }
.pinfo h1 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; letter-spacing: -.015em; }
.pprice { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pprice b { font-size: 30px; font-weight: 600; }
.pprice span { color: var(--muted); font-size: 16px; }
.deliv { display: flex; gap: 12px; align-items: flex-start; background: var(--mint); color: #1F3D1E; border-radius: var(--r); padding: 14px 16px; font-size: 16px; }
.deliv svg { width: 22px; height: 22px; flex: none; color: var(--green); margin-top: 1px; }
.lbl { font-size: 14px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 10px; }
.lbl span { font-weight: 400; color: var(--muted); }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size { border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 12px 8px; text-align: center; background: var(--surface); transition: border-color .2s, background .2s; }
.size b { display: block; font-size: 16px; font-weight: 600; }
.size small { display: block; font-size: 14px; color: var(--muted); }
.size .p { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.size.on { border-color: var(--ink); background: var(--cream-50); box-shadow: inset 0 0 0 1px var(--ink); }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.addon { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; background: var(--surface); text-align: left; font-size: 14px; font-weight: 400; transition: border-color .2s, background .2s; }
.addon .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--cream-50); display: grid; place-items: center; flex: none; color: var(--rose); }
.addon em { margin-left: auto; font-style: normal; color: var(--muted); font-weight: 400; white-space: nowrap; }
.addon.on { border-color: var(--ink); background: var(--cream-50); box-shadow: inset 0 0 0 1px var(--ink); }
.addon.on .ic { background: var(--ink); color: #fff; }
.field { width: 100%; min-height: 48px; padding: 12px 16px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(43,34,33,.08); }
.field.err { border-color: var(--rose); }
textarea.field { resize: vertical; min-height: 88px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.errmsg { font-size: 14px; color: var(--rose-700); margin-top: 8px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); height: 48px; }
.qty button { width: 44px; height: 100%; font-size: 20px; line-height: 1.1; border-radius: 999px; }
.qty button:hover { background: var(--cream-50); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty span, .qty input { min-width: 36px; width: 44px; text-align: center; font-weight: 600; border: 0; background: none; }
.qty.sm { height: 38px; }
.qty.sm button { width: 36px; font-size: 18px; }
.qty.sm span { min-width: 24px; width: 28px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.buy .btn-line { grid-column: 1 / -1; }
.quick-n { display: flex; gap: 8px; flex-wrap: wrap; }
.quick-n .chip { min-height: 40px; padding: 0 14px; font-size: 14px; }
.colorpick { display: flex; gap: 10px; flex-wrap: wrap; }
.colorpick button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 400; background: var(--surface); }
.colorpick button i { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.colorpick button.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.comp { list-style: none; display: grid; gap: 8px; }
.comp li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.comp li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex: none; }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1.1; }
details.acc[open] summary::after { content: "–"; }
details.acc .in { padding-bottom: 18px; color: var(--muted); font-size: 16px; display: grid; gap: 10px; }
.buybar { display: none; }

/* ---------- builder ---------- */
.bld { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding-bottom: 80px; }
.stage { position: sticky; top: calc(var(--hd) + 20px); background: var(--peach-50); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 16px; }
.stage .canvas { aspect-ratio: 1 / .95; background: var(--surface); border-radius: var(--r); display: grid; place-items: center; position: relative; overflow: hidden; }
.stage .canvas svg { width: 92%; height: 92%; overflow: visible; }
.stage .canvas .ph { position: absolute; text-align: center; color: var(--muted); font-size: 16px; pointer-events: none; transition: opacity .3s; }
.stage .canvas .ph .script { font-size: 40px; display: block; line-height: 1.1; }
.stage .tot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage .tot b { font-size: 28px; font-weight: 600; }
.stage .tot small { display: block; color: var(--muted); font-size: 14px; }
.bstep { border-bottom: 1px solid var(--line); padding: 24px 0; }
.bstep:first-child { padding-top: 0; }
.bstep h3 { font-size: 18px; font-weight: 600; display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.bstep h3 + p { margin-top: -10px; }
.bstep h3 i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.bstep > p { color: var(--muted); font-size: 14px; margin: 0 0 16px 42px; }
.frow { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 8px; transition: border-color .2s; }
.frow.has { border-color: var(--ink); }
.frow svg { width: 40px; height: 40px; flex: none; }
.frow .n { flex: 1; font-size: 16px; font-weight: 400; line-height: 1.3; }
.frow .n small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 6px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 400; }
.swatch i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.swatch.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sumlist { list-style: none; display: grid; gap: 6px; font-size: 16px; }
.sumlist li { display: flex; justify-content: space-between; gap: 12px; }
.sumlist li span:last-child { white-space: nowrap; }
.stocknote { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-left: 42px; margin-top: 8px; }
.fl { transform-box: fill-box; transform-origin: center; }
.fl.pop { animation: pop .3s ease-out both; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }

/* ---------- drawer / sheet / modal ---------- */
.scrim { position: fixed; inset: 0; background: rgba(43,34,33,.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 100; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; display: flex; flex-direction: column; }
.drawer.on { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.drawer.left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.left.on { transform: none; }
.drawer > header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer > header h2 { font-size: 20px; font-weight: 400; }
.drawer .body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer > footer { border-top: 1px solid var(--line); padding: 16px 20px 20px; display: grid; gap: 10px; background: var(--surface); }
.line-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item .th { width: 72px; height: 90px; border-radius: var(--r-sm); overflow: hidden; background: var(--cream); }
.line-item .th img, .line-item .th svg { width: 100%; height: 100%; object-fit: cover; }
.line-item b { font-weight: 600; font-size: 16px; display: block; }
.line-item small { color: var(--muted); font-size: 14px; display: block; line-height: 1.45; }
.line-item .row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; }
.line-item .rm { font-size: 14px; color: var(--muted); text-decoration: underline; }
.sum { display: flex; justify-content: space-between; font-size: 16px; }
.sum.total { font-size: 18px; font-weight: 600; }
.freebar { height: 6px; border-radius: 3px; background: var(--cream); overflow: hidden; }
.freebar i { display: block; height: 100%; background: var(--green); transition: width .3s var(--ease); }
.emptycart { text-align: center; padding: 64px 12px; display: grid; gap: 14px; justify-items: center; color: var(--muted); }
.emptycart .script { font-size: 44px; line-height: 1.1; }
.menu-list { list-style: none; display: grid; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 400; }
.menu-list img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.menu-sub { display: grid; gap: 4px; padding: 16px 0; font-size: 16px; }
.menu-sub a { padding: 8px 0; color: var(--muted); }

.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal .box { background: var(--bg); border-radius: var(--r-lg); width: min(640px, 100%); max-height: calc(100vh - 40px); overflow: auto; position: relative; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .3s var(--ease); padding: 32px; visibility: hidden; }
.modal.on { pointer-events: auto; }
.modal.on .box { opacity: 1; transform: none; visibility: visible; }
.xbtn { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; line-height: 1.1; background: var(--surface); border: 1px solid var(--line); z-index: 2; }
.drawer > header .xbtn { position: static; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.f label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.upload { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); color: var(--muted); font-size: 16px; cursor: pointer; background: var(--surface); }

/* ---------- checkout ---------- */
.co { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; padding: 8px 0 80px; }
.co-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-bottom: 16px; display: grid; gap: 16px; }
.co-sec h2 { font-size: 20px; font-weight: 600; display: flex; gap: 12px; align-items: center; }
.co-sec h2 i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg.s3 { grid-template-columns: repeat(3, 1fr); }
.seg button { border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 14px 16px; text-align: left; background: var(--surface); transition: border-color .2s; }
.seg button b { display: block; font-weight: 600; font-size: 16px; }
.seg button small { display: block; color: var(--muted); font-size: 14px; }
.seg button.on { border-color: var(--ink); background: var(--cream-50); box-shadow: inset 0 0 0 1px var(--ink); }
.seg button:disabled { opacity: .45; cursor: not-allowed; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--rose); flex: none; margin-top: 2px; }
.co-sum { position: sticky; top: calc(var(--hd) + 20px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.co-sum h2 { font-size: 18px; font-weight: 600; }
.co-sum .line-item { grid-template-columns: 56px 1fr auto; padding: 10px 0; align-items: center; }
.co-sum .line-item .th { width: 56px; height: 70px; }
.blik { display: flex; gap: 8px; justify-content: center; }
.blik input { width: 48px; height: 60px; text-align: center; font-size: 26px; font-weight: 600; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); }
.blik input:focus { outline: none; border-color: var(--ink); }
.spinner { width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--rose); animation: spin 1s linear infinite; margin: 8px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.co-mobile-sum { display: none; }

/* confirmation */
.thanks { max-width: 640px; margin: 0 auto; padding: 48px 0 80px; text-align: center; display: grid; gap: 16px; }
.thanks .script { font-size: 64px; line-height: 1.1; }
.track { list-style: none; text-align: left; margin: 16px 0; display: grid; }
.track li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding-bottom: 22px; position: relative; color: var(--muted); }
.track li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.track li:last-child::before { display: none; }
.track .b { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; font-size: 14px; color: transparent; transition: .3s; }
.track li.done { color: var(--ink); }
.track li.done .b { background: var(--green); border-color: var(--green); color: #fff; }
.track li.now .b { border-color: var(--green); }
.track b { font-weight: 600; display: block; }
.track small { font-size: 14px; }

/* toast + owner push */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; background: var(--ink); color: #fff; padding: 12px 14px 12px 20px; border-radius: 999px; font-size: 16px; display: flex; gap: 14px; align-items: center; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); }
.toast.on { opacity: 1; transform: translate(-50%, 0); visibility: visible; transition: opacity .3s, transform .3s var(--ease); }
.toast button { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.push { position: fixed; top: 16px; right: 16px; width: min(360px, calc(100% - 32px)); z-index: 210; background: var(--surface); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; font-size: 14px; transform: translateY(-140%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.push.on { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.push img { width: 40px; height: 40px; border-radius: 10px; background: var(--cream-50); object-fit: contain; padding: 4px; flex: none; }
.push b { display: block; font-weight: 600; }
.push small { color: var(--muted); float: right; margin-left: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .wrap { padding: 0 24px; }
  .mainnav a { padding: 10px 10px; font-size: 14px; }
  .grid, .top .grid { grid-template-columns: repeat(3, 1fr); }
  .top .grid > .card:nth-child(9) { display: flex; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .shop { grid-template-columns: 220px 1fr; gap: 28px; }
  .grid.g3 { grid-template-columns: repeat(2, 1fr); }
  .co { grid-template-columns: 1fr 340px; gap: 28px; }
}
@media (max-width: 980px) {
  :root { --hd: 60px; }
  .util { display: none; }
  .mainnav { display: none; }
  .burger { display: grid; }
  .hd .wrap { gap: 8px; }
  .logo { margin-right: auto; }
  .logo img { height: 34px; }
  .catstrip { display: block; border-bottom: 1px solid var(--line); background: var(--bg); }
  .catstrip .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
  .catstrip .wrap::-webkit-scrollbar { display: none; }
  .catstrip a { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; font-size: 14px; font-weight: 400; background: var(--surface); }
  .catstrip a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
  .catstrip a.builder { color: var(--rose); border-color: #E7B9BC; }
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; }
  .fbtn { display: inline-flex; }
  .grid.g3 { grid-template-columns: repeat(3, 1fr); }
  .pdp, .bld, .co, .teaser, .contact { grid-template-columns: 1fr; gap: 28px; }
  .gallery, .stage, .co-sum { position: static; }
  .ft .cols { grid-template-columns: 1fr 1fr; }
  .co-sum.desk { display: none; }
  .co-mobile-sum { display: block; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top { padding: 16px 0 40px; }
  .grid, .top .grid, .grid.g3 { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .top .grid > .card:nth-child(9) { display: none; }
  .card .body { padding-top: 10px; }
  .card h3 { font-size: 16px; }
  .card .price { font-size: 16px; }
  .card .meta { flex-direction: column; gap: 0; }
  .card .today { font-size: 12px; }
  .card .add { opacity: 1; transform: none; padding: 0; width: 44px; right: 8px; bottom: 8px; }
  .card .add .t { display: none; }
  .badge { top: 8px; left: 8px; font-size: 12px; padding: 4px 8px; }
  .sec { padding: 48px 0; }
  .sec-head { margin-bottom: 20px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .split { grid-template-columns: 1fr; }
  .teaser { padding: 20px; gap: 20px; }
  .facts, .quotes { grid-template-columns: 1fr; gap: 28px; }
  .ft .cols { grid-template-columns: 1fr; gap: 28px; }
  .pdp { gap: 20px; padding-bottom: 120px; }
  .gallery { grid-template-columns: 1fr; margin: 0 -16px; }
  .slides { border-radius: 0; }
  .thumbs { display: none; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
  .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .2s, width .2s; }
  .dots i.on { background: var(--ink); width: 20px; border-radius: 4px; }
  .addons { grid-template-columns: 1fr; }
  .buy { display: none; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; box-shadow: 0 -8px 24px -12px rgba(43,34,33,0.07); }
  .buybar .pr { line-height: 1.2; }
  .buybar .pr b { display: block; font-size: 18px; font-weight: 600; }
  .buybar .pr small { color: var(--muted); font-size: 14px; }
  .buybar .btn { flex: 1; }
  .bld { padding-bottom: 120px; }
  .stage { padding: 12px; margin: 0 -4px; }
  .stage .canvas { aspect-ratio: 1 / .78; }
  .stage .tot { display: none; }
  .bstep > p, .stocknote { margin-left: 0; }
  .form-grid, .seg.s3 { grid-template-columns: 1fr; }
  .co-sec { padding: 20px 16px; }
  .modal { padding: 0; align-items: end; }
  .modal .box { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .blik input { width: 42px; height: 54px; font-size: 22px; }
  .thanks .script { font-size: 52px; }
  .quote-band { padding: 20px; }
  .toast { bottom: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- fixes after visual QA ---------- */
.catstrip a.builder.on { color: #fff; border-color: var(--ink); }
@media (min-width: 981px) {
  .stage .canvas { aspect-ratio: auto; height: min(560px, calc(100vh - var(--hd) - 150px)); }
}
@media (max-width: 980px) {
  .toolbar .res { order: 3; width: 100%; }
}
@media (max-width: 640px) {
  /* builder: keep the live preview pinned while tapping + / − */
  .stage { position: sticky; top: var(--hd); z-index: 5; margin: 0 -16px; padding: 8px 16px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .stage .canvas { aspect-ratio: auto; height: 200px; }
  .stage .canvas .ph .script { font-size: 30px; }
}
.catstrip .wrap { position: relative; }
.toast span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- builder preview: fit fix, fullscreen view, mobile thumbnail ---------- */
.stage .canvas { background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #FDF3EE 100%); }
.stage .canvas svg, .bfull .canvas svg { position: absolute; inset: 4%; width: 92%; height: 92%; }
.fullbtn { position: absolute; top: 12px; right: 12px; z-index: 2; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.fullbtn:hover { border-color: var(--ink); }
.bthumb { display: none; }
.modal .box.full { width: min(760px, 100%); }
.bfull { display: grid; gap: 16px; }
.bfull .canvas { position: relative; height: min(64vh, 580px); border-radius: var(--r); background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #FDF3EE 100%); }
.bfull .tot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bfull .tot b { display: block; font-size: 26px; font-weight: 600; }
.bfull .tot small { color: var(--muted); }
@media (max-width: 640px) {
  .stage { display: none; }
  .bthumb { display: block; position: relative; flex: none; width: 56px; height: 56px; border-radius: 12px; padding: 2px; background: var(--peach-50); border: 1px solid var(--line); }
  .bthumb svg { width: 100%; height: 100%; }
  .bthumb .exp { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: grid; place-items: center; }
  .modal .box.full { height: 100vh; max-height: 100vh; border-radius: 0; padding-top: 64px; }
  .bfull .canvas { height: calc(100vh - 220px); }
  .bfull .tot .btn { flex: 1; }
  .bfull .tot > div:last-child { width: 100%; }
}
@media (max-width: 640px) {
  .card .add { justify-content: center; gap: 0; padding: 0; width: 44px; }
  .card .add > :not(svg) { display: none !important; }
}

/* hero: lily needs the right edge of the text panel to itself */
@media (max-width: 640px) { .d-only { display: none; } }

/* mobile menu: visit info */
.menu-visit { display: grid; gap: 16px; margin-top: 8px; padding: 18px 16px; border-radius: var(--r); background: var(--cream-50); border: 1px solid var(--line); font-size: 16px; }
.menu-visit > div { display: flex; gap: 12px; align-items: flex-start; }
.menu-visit svg { width: 20px; height: 20px; flex: none; color: var(--rose); margin-top: 2px; }
.menu-visit b { display: block; font-weight: 600; margin-bottom: 2px; }
.menu-visit em { font-style: normal; font-weight: 400; color: var(--muted); }
.menu-visit em.open { color: var(--green); }

/* builder on phones: bigger floating preview card rising above the buy bar */
@media (max-width: 640px) {
  .bthumb { width: 104px; height: 116px; margin-top: -52px; align-self: flex-end; padding: 4px 4px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -10px rgba(43,34,33,0.07); }
  .bthumb::after { content: "Podgląd"; position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
  .bthumb .exp { top: -8px; right: -8px; width: 26px; height: 26px; font-size: 14px; }
  .bld .buybar { gap: 14px; }
  .bld { padding-bottom: 170px; }
}

/* ==========================================================================
   Hero — original Floris reference: paper + peach glow, big thin headline + script line,
   lead, buttons, stats, CSS-bloom lily (option A, stronger). No side photos.
   ========================================================================== */
.heroband { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: min(620px, calc(100vh - 150px)); margin-bottom: 32px;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(ellipse at 78% 40%, rgba(251,195,174,.6), transparent 55%), radial-gradient(ellipse at 10% 95%, rgba(251,195,174,.45), transparent 50%),
    linear-gradient(rgba(253,250,247,.55), rgba(253,250,247,.55)), url(../img/paper.jpg) center/cover; }
.heroband .txt { position: relative; z-index: 2; padding: 48px 56px; max-width: 800px; }
.heroband .eyebrow { color: var(--rose-700); font-size: 16px; }
.heroband h1 { font-size: clamp(40px, 4.6vw, 66px); font-weight: 300; line-height: 1.06; letter-spacing: -.015em; margin-top: 14px; }
.heroband h1 .script { display: block; font-size: 1.12em; line-height: 1.1; margin-top: 6px; white-space: nowrap; }
.heroband .lead { margin: 20px 0 28px; font-size: 18px; max-width: 520px; }
.heroband .ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.heroband .ctas .btn { min-height: 54px; padding-right: 26px; }
.heroband .ctas .btn-line { padding: 0 26px; background: rgba(255,255,255,.75); }
.heroband .promo-note { margin-top: 12px; }
.stats { list-style: none; display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stats li { font-size: 14px; color: var(--muted); max-width: 15ch; line-height: 1.4; }
.stats b { display: block; font-size: 28px; font-weight: 300; color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 2px; }
/* lily — option A bloom, more opacity than the lab version */
.heroband .lily { --lo: .72; position: absolute; z-index: 1; right: 6%; top: -5%; height: 112%; width: auto; pointer-events: none;
  transform-origin: 60% 100%; clip-path: circle(0% at 45% 38%); opacity: 0;
  animation: bloom 2.8s .25s cubic-bezier(.22,.8,.25,1) forwards, sway 9s 3.1s ease-in-out infinite; }
@keyframes bloom { 0% { clip-path: circle(0% at 45% 38%); transform: scale(.7) rotate(-8deg); opacity: 0; } 25% { opacity: var(--lo); } 100% { clip-path: circle(85% at 45% 38%); transform: none; opacity: var(--lo); } }
@keyframes sway { 50% { transform: rotate(-1.8deg); } }
.heroband .sticker { position: absolute; z-index: 3; right: 24%; bottom: 40px; display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 18px; padding: 14px 18px; font-size: 14px; box-shadow: 0 20px 50px -20px rgba(120,60,50,0.07); opacity: 0; animation: rise .3s 1.6s ease-out forwards; }
.heroband .sticker b { display: block; font-weight: 600; }
.heroband .sticker span { color: var(--muted); }
.heroband .sticker .dot { width: 10px; height: 10px; background: #3FA15B; box-shadow: 0 0 0 0 rgba(63,161,91,.6); animation: ping 1.8s infinite; }
.heroband .sticker .dot.off { background: var(--line-2); animation: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(63,161,91,0); } 100% { box-shadow: 0 0 0 0 rgba(63,161,91,0); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
/* promo button: the primary rose button with the discount in a white badge */
.btn-promo { background: var(--rose); color: #fff; padding: 0 26px 0 8px; gap: 12px; }
.btn-promo:hover { background: var(--rose-700); }
.btn-promo .off { background: #FFFFFF; color: var(--rose-700); border-radius: 999px; padding: 8px 12px; font-size: 14px; font-weight: 600; line-height: 1.1; }
.promo-note { font-size: 14px; color: var(--muted); }
.promo-note b { color: var(--rose-700); font-weight: 600; }
.promo-tag { display: inline-block; font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--rose-50); color: var(--rose-700); }
.sum.promo { color: var(--rose-700); font-weight: 600; }
@media (max-width: 1180px) {
  .heroband .lily { --lo: .4; right: -60px; height: 95%; top: 3%; }
  .heroband .sticker { display: none; }
}
@media (max-width: 640px) {
  .heroband { min-height: 0; margin-bottom: 24px; border-radius: var(--r); }
  .heroband .txt { padding: 28px 18px 26px; }
  .heroband .eyebrow { font-size: 14px; }
  .heroband h1 { font-size: 34px; margin-top: 10px; }
  .heroband h1 .script { font-size: 1.28em; }
  .heroband .lead { font-size: 16px; margin: 14px 0 20px; }
  .heroband .ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .heroband .ctas .btn { width: 100%; justify-content: center; }
  .stats { gap: 12px; margin-top: 24px; justify-content: space-between; flex-wrap: nowrap; }
  .stats li { font-size: 12px; letter-spacing: .03em; }
  .stats b { font-size: 22px; }
  .heroband .lily { --lo: .32; right: -70px; top: -16px; height: 340px; }
}
@media (prefers-reduced-motion: reduce) { .heroband .lily { animation: none !important; clip-path: none !important; opacity: var(--lo) !important; } .heroband .sticker { opacity: 1; } }

/* ==========================================================================
   Round checkboxes (filters + checkout) — circles in the site's style; colour filter = the colour itself
   ========================================================================== */
.opt { gap: 12px; min-height: 40px; }
.opt input[type=checkbox], .check input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; flex: none; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--surface) center/12px no-repeat; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opt:hover input[type=checkbox], .check:hover input[type=checkbox] { border-color: var(--ink); }
.opt input[type=checkbox]:checked, .check input[type=checkbox]:checked { background-color: var(--rose); border-color: var(--rose);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.opt input[type=checkbox]:focus-visible, .check input[type=checkbox]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(235,108,108,.35); }
.opt input.csw { width: 24px; height: 24px; background: var(--c); border: 1px solid rgba(43,34,33,.18); }
.opt input.csw:checked { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%232B2221' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat, var(--c);
  border-color: transparent; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--ink); }
.opt .n { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--cream-50); display: inline-grid; place-items: center; font-weight: 400; color: var(--muted); font-size: 12px; }
.filters { padding-left: 5px; margin-left: -5px; }
.fgroup h4 { font-size: 16px; color: var(--ink); font-weight: 600; }

/* ==========================================================================
   3D bouquet preview (js/builder-3d.js) — SVG stays underneath as instant fallback
   ========================================================================== */
.b3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; touch-action: none; cursor: grab; }
.b3d:active { cursor: grabbing; }
.has3d > svg { opacity: 0; transition: opacity .3s; }
.stage .canvas .ph, .stage .canvas .fullbtn { z-index: 2; }
.stage .canvas.has3d::after, .bfull .canvas.has3d::after { content: "↻ przeciągnij, aby obrócić"; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2;
  font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.bthumb .b3d { inset: 3px 3px 18px 3px; width: calc(100% - 6px); height: calc(100% - 21px); border-radius: 12px; pointer-events: none; }
.bfull .canvas { overflow: hidden; }
@media (max-width: 640px) {
  /* phones: a real 3D stage at the top of the builder; while scrolling, the same 3D moves into the floating card */
  .bld .stage { display: block; position: static; margin: 0 -4px; padding: 8px; border-radius: var(--r-lg); border: 0; }
  .bld .stage .canvas { aspect-ratio: auto; height: 340px; }
  .bld .stage .tot { display: none; }
}

/* 3D stage: soft studio backdrop like a product render */
.stage .canvas, .bfull .canvas, .bthumb { background: radial-gradient(ellipse at 50% 38%, #FBF9F7 0%, #F0ECE8 55%, #E4DFDA 100%); }
.stage { background: #F3EEEA; }


/* ==========================================================================
   UX audit fixes
   ========================================================================== */
/* hit targets ≥ 44px */
.qty.sm { height: auto; }
.qty.sm button { width: 44px; height: 44px; }
.swatch { min-height: 44px; padding: 0 16px 0 8px; }
.fullbtn { min-height: 44px; padding: 0 16px; }
.colorpick button, .quick-n .chip, .btn-sm { min-height: 44px; }
.opt { min-height: 44px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { padding-top: 8px; padding-bottom: 0; align-items: center; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 980px) { .catstrip a { min-height: 44px; } }
/* tooltips for icon buttons: shown on hover (pointer devices) and on keyboard focus; display:none so they never cause overflow */
.qty button, .drawer > header .xbtn { position: relative; } /* tooltip anchors (icon-btn, xbtn, bthumb are already positioned) */
[data-tip]::before { content: attr(data-tip); display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 300; background: var(--ink); color: #fff;
  font: 400 12px/1.4 Montserrat, sans-serif; padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
[data-tip][data-tip-align="start"]::before { right: auto; left: 0; }
.bthumb[data-tip]::before { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
@media (hover: hover) { [data-tip]:hover::before { display: block; } }
[data-tip]:focus-visible::before { display: block; }
/* surfaces: raised = 1px border first */
.modal .box { border: 1px solid var(--line); }
.drawer { border-left: 1px solid var(--line); }
.drawer.left { border-left: 0; border-right: 1px solid var(--line); }
.push { border: 1px solid var(--line); }
/* motion: ease-out on enter, ease-in on exit, token durations */
.scrim { transition: opacity .2s ease-in; } .scrim.on { transition: opacity .3s ease-out; }
.drawer { transition: transform .2s ease-in, visibility 0s .2s; } .drawer.on { transition: transform .3s ease-out; }
.modal .box { transition: opacity .2s ease-in, transform .2s ease-in, visibility 0s .2s; } .modal.on .box { transition: opacity .3s ease-out, transform .3s ease-out; }
.toast { transition: opacity .2s ease-in, transform .2s ease-in, visibility 0s .2s; } .toast.on { transition: opacity .3s ease-out, transform .3s ease-out; }
.push { transition: transform .2s ease-in, visibility 0s .2s; } .push.on { transition: transform .3s ease-out; }
.has3d > svg { transition: opacity .3s ease-out; }
/* typography: large figures get display line-height */
.stage .tot b, .bfull .tot b, .pprice b, .stats b, .gscore b, .buybar .pr b { line-height: 1.2; }
/* builder: labels, optional markers, empty state, confirmation, 8pt spacing */
.optl { font-weight: 400; font-size: 14px; color: var(--muted); }
.flabel { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.stage .canvas .ph { pointer-events: auto; z-index: 3; display: grid; gap: 8px; justify-items: center; max-width: 280px; padding: 24px; background: rgba(253,250,247,.94); border: 1px solid var(--line); border-radius: var(--r); }
.stage .canvas .ph h3 { font-size: 18px; font-weight: 600; color: var(--ink); }
.stage .canvas .ph p { font-size: 14px; }
.stage .canvas.has3d::after, .bfull .canvas.has3d::after { background: none; padding: 0; color: var(--muted); text-shadow: 0 0 6px #fff, 0 0 2px #fff; }
.confirm { display: grid; gap: 16px; padding-right: 32px; }
.confirm .row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.btn-danger { background: #A32A35; color: #fff; }
.btn-danger:hover { background: #8A222C; }
.bstep h3 { margin-bottom: 16px; }
.bstep h3 + p { margin-top: -8px; }
.bstep > p { margin: 0 0 16px 40px; }
.stocknote { margin-left: 40px; }
.frow { gap: 16px; padding: 8px 12px; }
.swatches, .chips { gap: 8px; }
.sumlist { gap: 8px; }
#bErr { margin: 0 0 8px; }
.searchbar input { padding-left: 44px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23685654' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E") no-repeat 16px center; }
@media (max-width: 640px) {
  .bthumb { height: 120px; margin-top: -56px; padding: 4px 4px 20px; }
  .bld .buybar { gap: 16px; padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .bstep > p, .stocknote { margin-left: 0; }
}

/* still render of the 3D bouquet (home teaser, category tile) */
.teaser .stagemini, .cat.builder .im { background: radial-gradient(ellipse at 50% 38%, #FBF9F7 0%, #F0ECE8 55%, #E4DFDA 100%); }
.teaser .stagemini, .cat.builder .im { position: relative; }
.b3d-still { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }

/* sort menu: custom listbox in the site's style (replaces the native select) */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; text-align: left; color: var(--ink); }
.dd-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 248px; list-style: none; padding: 8px; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.dd-list li { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; border-radius: 10px; font-size: 16px; cursor: pointer; white-space: nowrap; }
.dd-list li:hover { background: var(--cream-50); }
.dd-list li:focus { outline: none; background: var(--cream-50); box-shadow: inset 0 0 0 2px var(--coral); }
.dd-list li[aria-selected="true"] { font-weight: 600; }
.dd-list li[aria-selected="true"]::after { content: ""; margin-left: auto; width: 14px; height: 14px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23BE3F48' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 980px) { .dd-list { left: 0; right: auto; } }

/* ---------- sale prices ---------- */
.card .price .now, .pprice .now, .stage .tot .now, .buybar .now { color: var(--rose); }
.card .price s, .stage .tot s, .buybar s { font-weight: 400; color: var(--muted); font-size: 14px; }
.disc { position: absolute; top: 12px; right: 12px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--rose-700); border: 1.5px solid var(--rose); font-size: 14px; font-weight: 600; }
.pprice s { font-size: 18px; color: var(--muted); }
.disc-inline { font-size: 14px; font-weight: 600; color: #fff; background: var(--rose); padding: 4px 12px; border-radius: 999px; }
.promo-until { font-size: 14px; color: var(--muted); margin-top: -12px; }
@media (max-width: 640px) { .disc { width: 44px; height: 44px; top: 8px; right: 8px; font-size: 12px; } }

/* ---------- product tabs ---------- */
.ptabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptabs button { min-height: 44px; padding: 0 2px; font-size: 16px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.ptabs button:hover { color: var(--ink); }
.ptabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--rose); }
.ppanel { padding-top: 16px; display: grid; gap: 16px; font-size: 16px; }
.ppanel .note { font-size: 14px; }
.dlist { list-style: none; display: grid; }
.dlist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dlist li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; transform: translateY(-2px); }
.dlist li span { flex: 1; }
.dlist b { font-weight: 600; white-space: nowrap; }
.spec { display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; }
.spec dt { color: var(--muted); }

/* ---------- perks icon row (home) ---------- */
.perks { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; text-align: center; }
.perks li { display: grid; justify-items: center; gap: 4px; }
.perks svg { width: 48px; height: 48px; color: var(--rose); margin-bottom: 8px; }
.perks h3 { font-size: 18px; font-weight: 400; }
.perks p { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .perks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .perks { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .perks li:last-child { grid-column: 1 / -1; } }

/* ---------- builder: help call + similar bouquets ---------- */
.helpcall { background: var(--surface); }
.helpcall svg { width: 18px; height: 18px; flex: none; color: var(--rose); }
.similar { padding: 8px 0 72px; }
.similar .grid { margin-top: 24px; }
@media (max-width: 640px) { .bld { padding-bottom: 32px; } .similar { padding-bottom: 170px; } .bld .stage .helpcall { margin-top: 8px; } }

.pprice .disc-inline { color: #fff; font-size: 14px; }
.size .p.now { color: var(--rose); }
.buybar .pr b, .buybar .pr small { white-space: nowrap; }
@media (max-width: 640px) { .buybar s { display: none; } }
