/* =========================================================
   Elvor — site styles
   ========================================================= */

/* ---------- fonts (self-hosted, subset by unicode-range) ---------- */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-cyrillic-400.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-cyrillic-600.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Cormorant; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Cormorant; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Cormorant; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-500.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-latin-ext-500-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: Cormorant; font-style: italic; font-weight: 500; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-500-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- tokens ---------- */
:root {
  --bg: #f6f2ec;
  --bg-2: #efe9e0;
  --wall: #ebe4d9;
  --paper: #fffdf9;
  --ink: #2b2d31;
  --ink-2: #4a4c52;
  --muted: #67655f; /* 5.1:1 on --bg (WCAG AA) */
  --line: #e2dacd;
  --accent: #b5653f;
  --accent-ink: #8f4b2c;
  --sage: #7d8a86;
  --ok: #4f7d5b;
  --warn: #c08a2d;
  --err: #b4442f;
  --radius: 14px;
  --shadow-art: 0 1px 1px rgba(30, 24, 18, .08), 0 6px 10px -4px rgba(30, 24, 18, .18), 0 22px 40px -18px rgba(30, 24, 18, .35);
  --shadow-soft: 0 10px 30px -18px rgba(30, 24, 18, .35);
  --serif: Cormorant, "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sofa: #b9ab98; --sofa-back: #a89a87; --sofa-seat: #c8bba8; --sofa-leg: #6d5f50; --plant: #6f8a74; --pot: #d7cbbb;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .stats dt, .value strong, .big-404 { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.lead { font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 600; color: var(--accent); margin-bottom: 1.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.error { color: var(--err); font-weight: 500; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 22px -12px rgba(43, 45, 49, .8); }
.btn-primary:hover { background: #17181b; transform: translateY(-2px); }
.btn-primary:disabled { background: #a9a6a1; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { border-color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(0, 0, 0, .4); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; aspect-ratio: 330 / 100; transition: transform .4s var(--ease); }
.brand:hover .brand-logo { transform: translateY(-1px); }
.brand-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 14ch; line-height: 1.3; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { text-decoration: none; padding: .55em 1em; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background .2s; }
.main-nav a:hover { background: var(--bg-2); }
.main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; font-size: .78rem; font-weight: 600; }
.lang-switch a { text-decoration: none; padding: .35em .55em; border-radius: 6px; color: var(--muted); }
.lang-switch a[aria-current] { color: var(--ink); background: var(--bg-2); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; }
.cart-btn:hover { background: var(--bg-2); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; place-items: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 6vw, 80px) 0 clamp(40px, 6vw, 90px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(181, 101, 63, .12), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.hero-title { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .96; margin-bottom: .35em; }
.hero-title span { display: block; }
.hero-title em { display: block; font-style: italic; color: var(--accent); padding-left: .6em; }
.stats { display: flex; gap: clamp(18px, 4vw, 44px); margin: 2.4em 0 0; padding-top: 1.6em; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.stats dd { margin: .3em 0 0; font-size: .82rem; color: var(--muted); max-width: 16ch; }

.hero-wall { position: relative; aspect-ratio: 1 / 1.02; --mx: 0; --my: 0; }
.wall-item { position: absolute; display: block; transition: transform .8s var(--ease); transform: translate(calc(var(--mx) * var(--d) * 9px), calc(var(--my) * var(--d) * 9px)); }
.wall-item .canvas { animation: floaty 9s ease-in-out infinite; animation-delay: calc(var(--d) * -2.3s); }
.wall-item:hover .canvas { box-shadow: 0 30px 60px -22px rgba(30, 24, 18, .5); }
.wall-1 { left: 4%; top: 6%; width: 42%; }
.wall-2 { left: 51%; top: 0; width: 45%; }
.wall-3 { left: 0; top: 58%; width: 30%; }
.wall-4 { left: 34%; top: 53%; width: 34%; }
.wall-5 { left: 72%; top: 62%; width: 26%; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(.3deg); } }

/* stretched canvas look */
.canvas {
  position: relative; aspect-ratio: var(--ar, 3/4); background: #ddd5c8; overflow: hidden;
  box-shadow: var(--shadow-art); border-radius: 2px;
  transition: box-shadow .4s var(--ease), aspect-ratio .5s var(--ease);
}
.canvas > img, .canvas .canvas-img { width: 100%; height: 100%; object-fit: cover; }
.canvas::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .014) 0 1px, transparent 1px 2px),
    linear-gradient(90deg, rgba(0, 0, 0, .12), transparent 3%, transparent 97%, rgba(0, 0, 0, .16)),
    linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 4%, transparent 96%, rgba(0, 0, 0, .14));
  mix-blend-mode: multiply;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: #f3eee6; padding: 24px 0; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex-shrink: 0; }
.mq-word { white-space: nowrap; line-height: 1; }
.mq-a { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.55rem, 2.6vw, 2.2rem); color: #f6f1e9; }
.mq-b { font-family: var(--sans); text-transform: uppercase; letter-spacing: .24em; font-size: .76rem; font-weight: 600; color: #c9c1b4; }
.mq-sep { width: 9px; height: 9px; border: 1.5px solid var(--accent); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .marquee { padding: 18px 0; } .marquee-group { gap: 26px; padding-right: 26px; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-title { margin-bottom: .8em; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 2em; }
.section-head .section-title { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature svg { color: var(--accent); margin-bottom: 18px; }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); }
.product-card { min-width: 0; }
.product-link { text-decoration: none; display: block; }
.product-media {
  background: linear-gradient(180deg, var(--wall), #e4dccf); border-radius: var(--radius);
  aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 14%; overflow: hidden; position: relative;
}
.product-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .04)); }
.product-media .canvas { width: 100%; max-height: 100%; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.product-media .canvas[style*="--ar:30/40"], .product-media .canvas[style*="--ar:40/60"] { width: 82%; }
.product-link:hover .canvas { transform: translateY(-6px) scale(1.03); box-shadow: 0 30px 46px -22px rgba(30, 24, 18, .55); }
.product-info { padding: 14px 4px 0; }
.product-info h3 { font-size: 1.35rem; margin: 0 0 .15em; }
.product-info p { margin: 0; font-size: .86rem; }
.price { font-weight: 600; margin-top: .3em !important; }

/* ---------- custom CTA demo ---------- */
.custom-cta { background: var(--ink); color: #f3eee6; }
.custom-cta .lead { color: #cfc8bd; }
.custom-cta .btn-primary { background: #f3eee6; color: var(--ink); }
.custom-cta .btn-primary:hover { background: #fff; }
.custom-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.demo-frame { position: relative; aspect-ratio: 1; background: #34363b; border-radius: 22px; display: grid; place-items: center; overflow: hidden; }
.demo-canvas { width: 50%; aspect-ratio: 5/7; position: relative; overflow: hidden; box-shadow: 0 0 0 9999px rgba(20, 21, 24, .55), 0 0 0 2px #f3eee6; z-index: 1; }
.demo-img { position: absolute; width: 170%; max-width: none; left: -35%; top: -12%; animation: demo-pan 10s var(--ease) infinite; }
@keyframes demo-pan { 0%, 100% { transform: translate(0, 0) rotate(0) scale(1); } 30% { transform: translate(14%, 6%) rotate(0) scale(1); } 55% { transform: translate(10%, 4%) rotate(90deg) scale(1.1); } 80% { transform: translate(-6%, -2%) rotate(0) scale(1.2); } }
.demo-cursor { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #f3eee6; border: 5px solid rgba(181, 101, 63, .9); z-index: 2; left: 50%; top: 50%; animation: demo-cursor 10s var(--ease) infinite; }
@keyframes demo-cursor { 0%, 100% { transform: translate(-40px, -20px); } 30% { transform: translate(30px, 10px) scale(.85); } 55% { transform: translate(90px, 120px); } 80% { transform: translate(-60px, 60px) scale(.85); } }
.demo-chips { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; z-index: 2; }
.demo-chips span { font-size: .72rem; padding: .3em .8em; border-radius: 99px; border: 1px solid #5a5c62; color: #cfc8bd; }
.demo-chips span.on { background: #f3eee6; color: var(--ink); border-color: #f3eee6; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.8em 0 2.2em; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-size: 1.6rem; color: var(--accent); line-height: 1.1; }
.steps strong { font-weight: 600; }
.steps span { color: #b7b0a5; font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.2em 2.4em 1.2em 0; font-family: var(--serif); font-size: 1.35rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; transition: transform .3s; color: var(--accent); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--ink-2); padding-bottom: 1.2em; margin: 0; }

/* ---------- page heads / crumbs ---------- */
.crumbs { padding-top: 22px; font-size: .82rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding: clamp(24px, 4vw, 50px) 0 clamp(20px, 3vw, 36px); }

/* ---------- catalog ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: .5em 1.05em; border-radius: 99px; text-decoration: none; font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips-small .chip { font-size: .8rem; padding: .4em .9em; }
.count { margin: 0 0 0 auto; font-size: .88rem; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.product-card.hide { display: none; }

/* ---------- product page ---------- */
.product-page { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 70px); padding: 30px 0 20px; align-items: start; }
.product-stage { position: sticky; top: 100px; }
.stage-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.stage-view[data-stage="canvas"] { background: linear-gradient(180deg, var(--wall), #e2d9cb); border-radius: 20px; padding: clamp(30px, 7%, 70px); display: grid; place-items: center; min-height: 420px; }
.canvas-lg { width: min(100%, 520px); max-height: 70vh; }
.canvas-lg[style*="--ar:30/40"], .canvas-lg[style*="--ar:40/60"], .canvas-lg[style*="--ar:50/70"], .canvas-lg[style*="--ar:60/90"], .canvas-lg[style*="--ar:80/120"] { width: min(78%, 440px); }
.product-side h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.size-picker { border: 0; padding: 0; margin: 1.6em 0 1em; }
.size-picker legend, .ed-step { font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.size-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: .75em .8em; cursor: pointer; font-weight: 600; font-size: .92rem; transition: all .2s; }
.size-opt span:hover { border-color: var(--ink); }
.size-opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.size-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.size-ico { display: block; height: 22px; aspect-ratio: var(--ar); border: 1.5px solid currentColor; border-radius: 2px; flex-shrink: 0; max-width: 22px; }
.price-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); margin: 1em 0; }
.price-line strong { font-size: 1.2rem; }
.toast-inline { margin-top: 12px; color: var(--ok); font-weight: 600; }
.specs { margin: 2em 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: .8em 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 500; }

/* ---------- room scene (true-to-scale) ---------- */
.room { position: relative; container-type: inline-size; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #e9e1d5 0%, #e3d9cb 78%, #cdbfac 78%, #c2b39f 100%); }
.room-wall { position: absolute; inset: 0 0 22% 0; background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, .5), transparent 60%); }
.room-art { position: absolute; left: 50%; transform: translateX(-50%); width: calc(var(--w) * .23cqi); top: max(3cqi, calc(35cqi - var(--h) * .23cqi)); transition: width .5s var(--ease), top .5s var(--ease); z-index: 1; }
.room-art .canvas { width: 100%; aspect-ratio: var(--w) / var(--h); box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 1.4cqi 2cqi -1cqi rgba(30, 24, 18, .45); }
.room-sofa { position: absolute; width: 46cqi; left: 27cqi; bottom: 16%; z-index: 2; }
.room-plant { position: absolute; width: 9cqi; left: 77cqi; bottom: 16%; z-index: 2; }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 9cqi); }

/* ---------- custom editor ---------- */
.editor { display: grid; grid-template-columns: 370px 1fr; gap: clamp(20px, 3vw, 40px); padding-bottom: 80px; align-items: start; }
.editor-side { display: grid; gap: 14px; position: sticky; top: 96px; }
.ed-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.ed-step { display: flex; align-items: center; gap: 10px; font-family: var(--sans); line-height: 1.2; }
.ed-step span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .74rem; letter-spacing: 0; }
.editor .size-options { grid-template-columns: repeat(3, 1fr); }
.editor .size-opt span { padding: .6em .55em; font-size: .86rem; gap: 7px; }
.size-group-label { font-size: .76rem; color: var(--muted); margin: 0 0 6px; }
.more-sizes { margin-top: 10px; }
.more-sizes summary { cursor: pointer; font-size: .86rem; font-weight: 600; padding: 6px 0; list-style: none; display: flex; align-items: center; gap: 6px; }
.more-sizes summary::-webkit-details-marker { display: none; }
.more-sizes summary::before { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); font-weight: 400; transition: transform .25s; }
.more-sizes[open] summary::before { transform: rotate(45deg); }
.more-sizes summary small { color: var(--muted); font-weight: 400; }
.more-sizes .size-options { margin-top: 6px; animation: in .3s var(--ease); }
.orient { display: flex; gap: 6px; margin-top: 10px; }
.orient label { flex: 1; }
.orient input { position: absolute; opacity: 0; }
.orient span { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: .55em; cursor: pointer; font-size: .86rem; font-weight: 500; }
.orient input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.orient input:disabled + span { opacity: .4; cursor: not-allowed; }
.orient input:focus-visible + span { outline: 2px solid var(--accent); }
.o-ico { width: 12px; height: 16px; border: 1.5px solid currentColor; border-radius: 2px; }
.o-l { width: 16px; height: 12px; }
[data-controls][aria-disabled="true"] { opacity: .45; pointer-events: none; filter: grayscale(1); }
.tool-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.tool { display: grid; place-items: center; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; transition: all .2s; }
.tool:hover { border-color: var(--ink); background: #fff; }
.tool:active { transform: scale(.94); }
.range { display: block; margin: 8px 0 12px; }
.range span { display: flex; justify-content: space-between; font-size: .84rem; font-weight: 600; margin-bottom: 4px; }
.range output { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--ink); height: 28px; }
.quality { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .84rem; padding-top: 12px; border-top: 1px solid var(--line); }
.quality small { grid-column: 1 / -1; color: var(--muted); }
.q-bar { grid-column: 1 / -1; height: 5px; background: var(--bg-2); border-radius: 9px; overflow: hidden; margin-top: 4px; }
.q-bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--ok); transition: width .4s var(--ease), background .4s; }
.quality[data-level="good"] .q-bar i { background: #7d9b5b; }
.quality[data-level="fair"] .q-bar i { background: var(--warn); }
.quality[data-level="low"] .q-bar i { background: var(--err); }
.quality[data-level="low"] strong { color: var(--err); }
.ed-buy .price-line { margin-top: 0; border-top: 0; padding-top: 0; }
.added { margin-top: 12px; }
.added p { color: var(--ok); font-weight: 600; }
.upload-status { margin-top: 10px; font-size: .85rem; }
.upload-status .bar { height: 5px; background: var(--bg-2); border-radius: 9px; overflow: hidden; margin-bottom: 6px; }
.upload-status .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }

.editor-main { min-width: 0; }
.ed-stage {
  position: relative; height: clamp(440px, 72vh, 760px); border-radius: 22px; overflow: hidden; touch-action: none;
  background: radial-gradient(ellipse at 50% 30%, #f4efe7, #e2d9cb); display: grid; place-items: center;
}
.ed-frame { position: relative; width: 300px; height: 400px; transition: width .45s var(--ease), height .45s var(--ease); outline: none; }
.ed-frame.ready { cursor: grab; }
.ed-frame.dragging { cursor: grabbing; }
.ed-frame.dragging, .ed-frame.dragging * { transition: none !important; }
.ed-ghost, .ed-img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.ed-ghost, .ed-img { transition: transform .45s var(--ease); will-change: transform; }
.ed-frame.adjusting .ed-img, .ed-frame.adjusting .ed-ghost { transition: none; }
.ed-ghost { opacity: .22; filter: saturate(.6); }
.ed-clip { position: absolute; inset: 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 28px 50px -24px rgba(30, 24, 18, .6); }
.ed-clip::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(0, 0, 0, .1), transparent 2.5%, transparent 97.5%, rgba(0, 0, 0, .12)); }
.ed-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s; background:
  linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .75) calc(33.33% - .5px) calc(33.33% + .5px), transparent 0, transparent calc(66.66% - .5px), rgba(255, 255, 255, .75) calc(66.66% - .5px) calc(66.66% + .5px), transparent 0),
  linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .75) calc(33.33% - .5px) calc(33.33% + .5px), transparent 0, transparent calc(66.66% - .5px), rgba(255, 255, 255, .75) calc(66.66% - .5px) calc(66.66% + .5px), transparent 0);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.ed-frame.dragging .ed-grid, .ed-frame.adjusting .ed-grid { opacity: 1; }
.ed-dims { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); white-space: nowrap; background: rgba(255, 255, 255, .7); padding: .2em .8em; border-radius: 99px; }
.dropzone {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px;
  border: 2px dashed #b9ae9e; background: rgba(255, 253, 249, .88); cursor: pointer; transition: all .25s; color: var(--ink-2);
}
.dropzone strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.dropzone span:not(.btn) { font-size: .82rem; color: var(--muted); }
.dropzone small { font-size: .74rem; color: var(--muted); }
.dropzone .btn { pointer-events: none; padding: .7em 1.3em; font-size: .85rem; }
.dropzone:hover, .ed-stage.over .dropzone { border-color: var(--accent); background: rgba(255, 248, 240, .95); }
.ed-stage.over .ed-frame { transform: scale(1.02); }
.ed-stage.over::after { content: ""; position: absolute; inset: 10px; border: 2px dashed var(--accent); border-radius: 16px; pointer-events: none; }
.ed-hint { margin-top: 44px; }
.ed-wall .room { max-height: 72vh; }
.wall-preview { background: #ddd5c8 center / cover no-repeat; }
/* editor: cells (single photo or collage), overlays, design panel, animated views */
.ed-cells { position: absolute; inset: 0; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 28px 50px -24px rgba(30, 24, 18, .6); }
.ed-cell { position: absolute; transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease); }
.ed-frame.dragging .ed-cell, .ed-frame.adjusting .ed-cell { transition: none; }
.ed-cell .ed-clip { box-shadow: none; }
.ed-cell.active::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px var(--accent); z-index: 2; }
.cell-add { position: absolute; inset: 0; display: none; place-items: center; align-content: center; gap: 2px; border: 1.5px dashed #c9bba7; background: #faf6f0; color: var(--muted); cursor: pointer; font: inherit; z-index: 1; }
.cell-add span { font-size: 1.6rem; line-height: 1; color: var(--accent); }
.cell-add small { font-size: .72rem; }
.ed-cell.empty .cell-add { display: grid; }
.ed-cell.empty.active .cell-add { border-color: var(--accent); background: #fff8f0; }
.ed-vignette { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ed-texts { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.ed-text { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; max-width: 96%; text-align: center; line-height: 1.15; pointer-events: auto; cursor: move; user-select: none; touch-action: none; }
.ed-text:hover, .ed-text.dragging { outline: 1px dashed rgba(255, 255, 255, .85); outline-offset: 4px; }
.ed-layouts { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: var(--bg); }
.ed-layouts summary { cursor: pointer; font-size: .86rem; font-weight: 600; }
.layout-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; margin-top: 10px; }
.layout-opt { position: relative; }
.layout-opt input { position: absolute; opacity: 0; pointer-events: none; }
.layout-opt span { display: grid; place-items: center; height: 54px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; transition: all .2s; }
.layout-opt svg rect { fill: #d9cfc1; }
.layout-opt input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.layout-opt input:checked + span svg rect { fill: var(--accent); }
.layout-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fee { color: var(--accent); font-weight: 600; }
[data-design][aria-disabled="true"] { opacity: .45; pointer-events: none; filter: grayscale(1); }
.ed-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ed-tabs .chip { font-size: .82rem; padding: .45em .95em; }
.filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: 330px; overflow: auto; padding: 2px; }
.filter-opt { display: grid; gap: 4px; padding: 4px; border: 1px solid transparent; border-radius: 10px; background: none; cursor: pointer; font: inherit; font-size: .74rem; color: var(--ink); }
.filter-opt canvas { width: 100%; height: auto; aspect-ratio: 1; border-radius: 7px; background: #ece5da; }
.filter-opt:hover { border-color: var(--line); }
.filter-opt.on { border-color: var(--ink); background: var(--bg); font-weight: 600; }
.tool-row-2 { grid-template-columns: 1fr 1fr; }
.btn-sm { padding: .55em .8em; font-size: .8rem; }
.pane-title { font-family: var(--sans); font-size: .9rem; font-weight: 600; margin: 4px 0 2px; }
.ed-pane .pane-title ~ .pane-title { margin-top: 18px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 4px; }
.swatch { display: grid; justify-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: .7rem; color: var(--muted); }
.swatch i { width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .2s; }
.swatch-blur i { background: radial-gradient(circle at 35% 35%, #fff, #c6b8a5 55%, #8d7f6c); filter: blur(.6px); }
.swatch:hover i { transform: scale(1.08); }
.swatch:disabled, .ai-opt:disabled { opacity: .45; cursor: wait; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ai-opt { position: relative; min-height: 64px; display: flex; align-items: flex-end; padding: 8px 10px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 600; color: #fff; text-align: left; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); transition: transform .2s; }
.ai-opt:hover { transform: translateY(-1px); }
.ai-oil { background: linear-gradient(135deg, #6b3f22, #c08a3e 55%, #2f4a5c); }
.ai-impressionist { background: linear-gradient(135deg, #8fb3d9, #e9c7a3 50%, #9bbf8a); }
.ai-vangogh { background: radial-gradient(circle at 70% 30%, #f1d24a 0 14%, transparent 15%), linear-gradient(135deg, #1d3d7a, #3a6fb0 60%, #e0b43c); }
.ai-watercolor { background: radial-gradient(circle at 30% 40%, #f2a7b5, transparent 45%), radial-gradient(circle at 70% 60%, #9fd0e0, transparent 50%), #f6efe4; color: #3a3330; text-shadow: none; }
.ai-charcoal { background: linear-gradient(135deg, #2a2a2a, #8a8580 60%, #e8e2d6); }
.ai-popart { background: radial-gradient(rgba(0, 0, 0, .13) 1.5px, transparent 2px) 0 0 / 8px 8px, linear-gradient(135deg, #ff4f7b, #ffd23f 50%, #2ec4f1); }
.ai-anime { background: linear-gradient(160deg, #ffb6c8, #a8c8ff 60%, #fff3c4); color: #2b2d31; text-shadow: none; }
.ai-renaissance { background: radial-gradient(circle at 40% 35%, #d9a66b, #5a3418 60%, #1d120a); }
.studio-status { margin: 12px 0 4px; font-size: .84rem; }
.studio-status .bar { height: 5px; border-radius: 9px; overflow: hidden; background: #ece5da; margin-bottom: 6px; }
.bar.indeterminate i { display: block; height: 100%; width: 40%; background: var(--accent); border-radius: 9px; animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
.text-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 10px; background: var(--bg); }
.text-item input[type="text"] { width: 100%; padding: .55em .7em; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .9rem; background: #fff; }
.text-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.text-row select { padding: .4em .5em; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .84rem; background: #fff; }
.text-colors { display: flex; gap: 5px; }
.tc { width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); cursor: pointer; }
.tc.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; cursor: pointer; }
.wall-preview { position: relative; overflow: hidden; }
.wall-light { position: absolute; inset: -20%; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 250, 238, .28) 48%, transparent 58%); animation: wallLight 9s ease-in-out infinite; }
@keyframes wallLight { 0%, 15% { transform: translateX(-60%); } 60%, 100% { transform: translateX(60%); } }
.ed-wall .room { animation: roomBreathe 18s ease-in-out infinite alternate; }
@keyframes roomBreathe { from { transform: scale(1); } to { transform: scale(1.025); } }
.ed-live { padding: 0; }
.live-scene { position: relative; height: clamp(420px, 66vh, 700px); border-radius: 22px; display: grid; place-items: center; perspective: 1400px; touch-action: pan-y;
  background: radial-gradient(ellipse at 50% 35%, #f7f1e8, #ded3c3 70%, #cfc2ae); overflow: hidden; }
.live-art { position: relative; width: min(62%, calc(52vh * var(--ar, 3/4))); aspect-ratio: var(--ar, 3/4); background: #fff center / cover no-repeat; border-radius: 2px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, .12), 0 40px 70px -30px rgba(30, 24, 18, .7), inset 0 0 0 1px rgba(0, 0, 0, .05);
  transform-style: preserve-3d; transition: transform .25s ease-out; animation: liveIdle 7s ease-in-out infinite; }
.live-scene.tracking .live-art { animation: none; }
@keyframes liveIdle { 0%, 100% { transform: rotateX(4deg) rotateY(-9deg); } 50% { transform: rotateX(-3deg) rotateY(9deg); } }
.live-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0, 0, 0, .03) 0 1px, transparent 1px 3px); }
.live-glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .6), transparent 55%); animation: glareIdle 7s ease-in-out infinite; }
.live-scene.tracking .live-glare { animation: none; }
@keyframes glareIdle { 0%, 100% { --gx: 25%; --gy: 20%; opacity: .7; } 50% { --gx: 75%; --gy: 35%; opacity: 1; } }
.live-shadow { position: absolute; bottom: 8%; left: 50%; width: 46%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(40, 30, 20, .28), transparent 70%); filter: blur(6px); }
@property --gx { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
@property --gy { syntax: "<percentage>"; inherits: true; initial-value: 25%; }
@media (prefers-reduced-motion: reduce) { .wall-light, .ed-wall .room, .live-art, .live-glare { animation: none !important; } }
.keys { white-space: nowrap; }

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: 1fr 420px; gap: clamp(20px, 4vw, 50px); align-items: start; padding-bottom: 80px; }
.cart-items { display: grid; gap: 14px; }
.cart-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0 80px; }
.cart-empty .btn { margin: 4px; }
.cart.is-empty .checkout { display: none; }
.cart-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; animation: in .4s var(--ease); }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.cart-thumb { background: var(--wall); border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; padding: 14%; }
.cart-thumb .canvas { width: 100%; max-height: 100%; }
.cart-thumb .canvas img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { font-size: 1.25rem; margin: 0 0 .2em; }
.cart-item p { margin: 0; font-size: .86rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 10px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; border-radius: 50%; }
.qty button:hover { background: var(--bg-2); }
.qty output { min-width: 26px; text-align: center; font-weight: 600; }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .82rem; text-decoration: underline; align-self: start; }
.remove:hover { color: var(--err); }
.item-price { font-weight: 600; text-align: right; margin-top: 8px; }
.checkout { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: sticky; top: 96px; display: grid; gap: 12px; }
.checkout h2 { font-size: 1.8rem; margin-bottom: .2em; }
.field { display: grid; gap: 5px; }
.field > span { font-size: .82rem; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: .8em .95em; transition: border-color .2s, box-shadow .2s; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(43, 45, 49, .08); background: #fff; }
.field.invalid input { border-color: var(--err); }
.field-error { color: var(--err); font-size: .78rem; min-height: 0; }
.delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); border-radius: 12px; padding: 4px; border: 1px solid var(--line); }
.delivery-toggle input { position: absolute; opacity: 0; }
.delivery-toggle span { display: block; text-align: center; padding: .7em; border-radius: 9px; cursor: pointer; font-weight: 600; font-size: .9rem; transition: all .2s; }
.delivery-toggle input:checked + span { background: var(--ink); color: #fff; }
.delivery-toggle input:focus-visible + span { outline: 2px solid var(--accent); }
.delivery-fields { display: grid; gap: 12px; animation: in .3s var(--ease); }
.check { display: flex; gap: 10px; align-items: start; font-size: .85rem; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--ink); width: 17px; height: 17px; flex-shrink: 0; }
.summary { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: .92rem; }

/* ---------- about ---------- */
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.value { background: var(--paper); padding: 26px 22px; display: grid; gap: 4px; }
.value strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.value span { color: var(--muted); font-size: .9rem; }
.about-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-block { border-top: 1px solid var(--ink); padding: 22px 0; }
.about-block .num { font-family: var(--serif); color: var(--accent); font-size: 1.1rem; }
.about-block p { color: var(--ink-2); }

/* ---------- thanks / 404 ---------- */
.thanks { padding: 70px 0 110px; display: grid; justify-items: center; }
.thanks-art { width: 150px; margin-bottom: 30px; }
.thanks-fill { position: absolute; inset: 0; background: linear-gradient(135deg, #e9c9a8, #b5653f 60%, #2b2d31); animation: fillup 1.4s var(--ease); }
@keyframes fillup { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.big-404 { font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem); line-height: 1; margin: 0; color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: #232428; color: #cfc8bd; padding: 60px 0 26px; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 84px; height: 84px; color: #f3eee6; margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #9d968b; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-meta p { font-size: .9rem; }
.site-footer .lang-switch a { color: #9d968b; }
.site-footer .lang-switch a[aria-current] { background: #34363b; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a3c41; font-size: .78rem; color: #aaa397; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 500; opacity: 0; transition: all .35s var(--ease); z-index: 90; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll (JS only) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .editor { grid-template-columns: 320px 1fr; }
  .brand-tag { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .main-nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; z-index: -1; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1.15rem; padding: .8em 1em; }
  .header-actions { margin-left: auto; }
  .hero-grid, .custom-cta-grid, .product-page, .cart, .editor { grid-template-columns: 1fr; }
  .hero-wall { max-width: 560px; width: 100%; margin: 10px auto 0; }
  .feature-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-stage, .editor-side, .checkout { position: static; }
  .editor-main { order: -1; }
  .ed-stage { height: min(68vh, 560px); }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 66px; gap: 12px; }
  .main-nav { inset: 66px 0 auto 0; }
  .brand-logo { height: 36px; }
  .lang-switch { font-size: .72rem; }
  .lang-switch a { padding: .3em .4em; }
  .stats { gap: 16px; }
  .stats dt { font-size: 1.8rem; }
  .product-grid { gap: 12px; }
  .product-info h3 { font-size: 1.1rem; }
  .feature-grid, .about-blocks { grid-template-columns: 1fr; }
  .size-options, .editor .size-options { grid-template-columns: repeat(3, 1fr); }
  .cart-item { grid-template-columns: 84px 1fr; }
  .cart-item .remove { grid-column: 2; justify-self: start; }
  .checkout { padding: 18px; }
  .count { margin-left: 0; width: 100%; }
  .keys { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (hover: none) { .keys { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .marquee { display: none; } }

/* ---------- language menu with flags ---------- */
.flag { display: block; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex-shrink: 0; }
.lang-menu { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); cursor: pointer; font-weight: 700; font-size: .82rem; letter-spacing: .04em; list-style: none; transition: border-color .2s, box-shadow .2s; user-select: none; }
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover, .lang-menu[open] .lang-btn { border-color: var(--ink); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .4); }
.lang-btn .chev { transition: transform .25s var(--ease); opacity: .7; }
.lang-menu[open] .chev { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(30, 24, 18, .45); z-index: 60; animation: in .2s var(--ease); }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-weight: 500; }
.lang-list a:hover { background: var(--bg-2); }
.lang-list a[aria-current] { font-weight: 700; }
.lang-list i { margin-left: auto; font-style: normal; color: var(--accent); }
.lang-switch a { display: inline-flex; align-items: center; gap: 7px; }
.nav-langs { display: none; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer-langs a { padding: .45em .7em; font-size: .85rem; }
.footer-langs a span, .nav-langs a span { letter-spacing: 0; }

/* ---------- consent banner ---------- */
.consent { position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(440px, calc(100% - 40px)); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 24px 60px -24px rgba(30, 24, 18, .55); animation: in .4s var(--ease); }
.consent p { font-size: .88rem; color: var(--ink-2); margin-bottom: .8em; }
.consent .consent-title { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin-bottom: .3em; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1; padding: .8em 1em; }

/* ---------- footer legal ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: .84rem; }
.footer-legal a, .link-btn { color: #cfc8bd; text-decoration: none; }
.footer-legal a:hover, .link-btn:hover { color: #fff; text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.company { font-style: normal; font-size: .9rem; line-height: 1.7; }
.company a { text-decoration: none; }

/* ---------- legal pages ---------- */
.legal { padding: 10px 0 70px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.legal section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.legal h2 { font-size: 1.5rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* ---------- checkout extras ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check a { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .nav-langs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 1em 0; border-top: 1px solid var(--line); margin-top: 8px; }
  .nav-langs a { padding: .5em .8em; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; }
}
@media (max-width: 560px) {
  .lang-btn { height: 38px; padding: 0 9px 0 8px; gap: 6px; }
  .consent { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 16px; }
}

/* artist / credit */
.artist { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink-2); margin-top: -.3em; }
.artist span { font-style: normal; color: var(--muted); font-size: 1.05rem; }
.card-artist { font-size: .82rem !important; color: var(--ink-2); font-style: italic; margin-bottom: 2px !important; }
.credit { margin-top: 1.2em; }
.credit a { color: inherit; }

/* ---------- inspiration ---------- */
.insp-section { padding-bottom: 50px; }
.mockup-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mockup { margin: 0; border-radius: 18px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.mockup img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.mockup:hover img { transform: scale(1.025); }
.mockup figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; font-family: var(--serif); font-size: 1.2rem; flex-wrap: wrap; }
.mockup figcaption .link-arrow { font-family: var(--sans); font-size: .85rem; }
.masonry { columns: 3 280px; column-gap: 18px; }
.photo { break-inside: avoid; margin: 0 0 18px; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.photo img { width: 100%; height: auto; display: block; }
.photo figcaption { font-size: .74rem; color: var(--muted); padding: 8px 12px; }
.photo figcaption a { color: inherit; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teaser { position: relative; display: block; border-radius: 16px; overflow: hidden; text-decoration: none; }
.teaser img { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.teaser:hover img { transform: scale(1.04); }
.teaser span { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 253, 249, .92); padding: .45em .9em; border-radius: 99px; font-weight: 600; font-size: .85rem; }
@media (max-width: 900px) { .mockup-grid, .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- SEO text, category links, guides ---------- */
.seo-text h2 { font-size: 1.5rem; margin-top: 1.4em; }
.seo-text p { color: var(--ink-2); }
.cat-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.cat-links a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cat-links a:hover { border-color: currentColor; }
.page-head .lead + .lead { margin-top: .6em; }
.product-side .eyebrow a { text-decoration: none; }
.artwork-note + .muted { font-size: .92rem; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: .5em; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.guide-card .num { font-family: var(--serif); color: var(--accent); }
.guide-card h3 { margin: 0; font-size: 1.25rem; }
.guide-card p { margin: 0; color: var(--ink-2); font-size: .92rem; flex: 1; }
.guide-card .link-arrow { align-self: flex-start; font-size: .85rem; }
.article { padding: 10px 0 40px; }
.article h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.article section { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; }
.article h2 { font-size: 1.5rem; }
.article p, .article li { color: var(--ink-2); }
.article ul { padding-left: 1.2em; }
.article li { margin-bottom: .4em; }
.article-cta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 2em; }
.table-wrap { overflow-x: auto; margin: 1em 0; }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: .55em .8em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table-wrap thead th { color: var(--muted); font-weight: 600; }

/* =========================================================
   Flowers & gifts (partner BM Inspiration Flower Gallery)
   ========================================================= */
:root { --rose: #c9877a; --rose-bg: #f3e6e1; }
.shop-hero { padding: clamp(18px, 3vw, 40px) 0 clamp(18px, 2.5vw, 28px); }
.shop-hero h1 { margin-bottom: .3em; }
.shop-hero .eyebrow a { text-decoration: none; }
.perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.perks li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.perks svg { color: var(--accent); flex-shrink: 0; }
.perks strong { display: block; font-size: .95rem; }
.perks span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; }

.dept-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); margin: 10px auto 38px; }
.dept-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--wall); text-decoration: none; color: #fff; isolation: isolate; }
.dept-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dept-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(25, 18, 14, .62)); z-index: 0; }
.dept-tile:hover img { transform: scale(1.06); }
.dept-name { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.1; }
.dept-name small { display: block; font-family: var(--sans); font-size: .76rem; letter-spacing: .06em; opacity: .9; margin-top: 4px; }

.shop-tools { display: grid; gap: 14px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-tools-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.shop-tools-end { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.shop-tools .count { margin: 0; }
.search-box input, .sort-box select { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: .55em 1.1em; font-size: .9rem; min-height: 40px; }
.search-box input { width: min(240px, 60vw); }
.search-box input:focus, .sort-box select:focus { outline: none; border-color: var(--ink); }
.sort-box { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.sort-box select { color: var(--ink); cursor: pointer; }

.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px) clamp(12px, 1.8vw, 22px); }
.g-card { position: relative; min-width: 0; }
.g-link { display: block; text-decoration: none; color: inherit; }
.g-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--wall); }
.g-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s var(--ease); }
.g-media .g-alt { opacity: 0; }
.g-link:hover .g-media img { transform: scale(1.045); }
@media (hover: hover) { .g-link:hover .has-alt .g-alt { opacity: 1; } }
.g-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; }
.badge { background: rgba(255, 253, 249, .92); color: var(--ink); font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: .3em .7em; border-radius: 99px; backdrop-filter: blur(6px); }
.badge-sale { background: var(--accent); color: #fff; }
.g-info { padding: 12px 2px 0; }
.g-info h3 { font-size: 1.25rem; margin: 0 0 .15em; overflow-wrap: anywhere; }
.g-info p { margin: 0; }
.g-price { display: block; font-weight: 600; margin-top: .35em; }
.g-price small { font-weight: 500; color: var(--muted); }
.g-price s, .g-price-big s { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: .3em; }
.g-quick { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(30, 24, 18, .5); transition: transform .25s var(--ease), background .25s, color .25s; }
.g-quick:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.g-quick.done { background: var(--ok); color: #fff; }
.g-quick.done svg { transform: rotate(45deg) scale(0); }
.g-quick svg { transition: transform .3s var(--ease); }

/* product page */
.g-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding: 20px 0 10px; align-items: start; }
.g-gallery { position: sticky; top: 96px; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; background: var(--wall); scrollbar-width: none; aspect-ratio: 4 / 5; max-height: 78vh; }
.g-track::-webkit-scrollbar { display: none; }
.g-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.g-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; }
.g-nav { position: absolute; top: calc(50% - 40px); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .9); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-soft); transition: background .2s; }
.g-nav:hover { background: #fff; }
.g-prev { left: 12px; }
.g-next { right: 12px; }
.g-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.g-thumb { flex: 0 0 68px; height: 84px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--wall); opacity: .7; transition: opacity .2s, border-color .2s; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb.on, .g-thumb:hover { opacity: 1; border-color: var(--ink); }
.g-side h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: .2em; overflow-wrap: anywhere; }
.g-side .eyebrow a { text-decoration: none; }
.g-price-big { font-size: 1.6rem; font-weight: 600; margin: .2em 0 .9em; }
.variant-picker { border: 0; padding: 0; margin: 0 0 18px; }
.variant-picker legend { font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-options .size-opt span { padding: .65em 1.1em; }
.g-buy { display: flex; gap: 12px; align-items: center; }
.g-buy .qty { margin: 0; height: 52px; padding: 0 6px; }
.g-buy .btn { flex: 1; height: 52px; }
.g-side .perks { grid-template-columns: 1fr; gap: 8px; margin: 24px 0; }
.g-side .perks li { padding: 10px 14px; }
.g-desc { color: var(--ink-2); }
.g-original { border-top: 1px solid var(--line); padding: 2px 0; }
.g-original:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 1em; }
.g-original summary { cursor: pointer; list-style: none; padding: .9em 2em .9em 0; font-weight: 600; font-size: .92rem; position: relative; }
.g-original summary::-webkit-details-marker { display: none; }
.g-original summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.2rem; transition: transform .3s; }
.g-original[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.g-original ul { margin: 0 0 1em; padding-left: 1.1em; color: var(--ink-2); font-size: .92rem; }
.g-original p { color: var(--ink-2); font-size: .95rem; }

.shop-teaser { background: linear-gradient(180deg, var(--bg) 0%, var(--rose-bg) 55%, var(--bg) 100%); }
.shop-teaser .lead { margin: .4em 0 0; }
.shop-teaser .eyebrow { margin-bottom: .6em; }

/* cart: flowers */
.cart-thumb-photo { padding: 0; overflow: hidden; }
.cart-thumb-photo img { width: 100%; height: 100%; object-fit: cover; }
.cart-item.gone { opacity: .5; }
.flowers-fields { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 6px; margin: 4px 0; display: grid; gap: 12px; background: color-mix(in srgb, var(--rose-bg) 45%, var(--paper)); }
.flowers-fields legend { font-family: var(--serif); font-size: 1.35rem; padding: 0 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field select { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); padding: .8em .95em; font-size: 16px; }
.field.invalid select { border-color: var(--err); }

@media (max-width: 1180px) {
  .menu-btn { display: grid; }
  .main-nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease); margin: 0; z-index: -1; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .3); }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1.15rem; padding: .8em 1em; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 1080px) {
  .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dept-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .g-page { grid-template-columns: 1fr; }
  .g-gallery { position: static; }
  .perks { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .main-nav { inset: 66px 0 auto 0; }
  .dept-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-grid { gap: 18px 12px; }
  .g-info h3 { font-size: 1.05rem; }
  .g-quick { width: 38px; height: 38px; top: 8px; right: 8px; }
  .shop-tools-end, .search-box, .search-box input { width: 100%; }
  .sort-box { width: 100%; justify-content: space-between; }
  .field-row { grid-template-columns: 1fr; }
  .g-nav { display: none; }
  .shop-tools .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .shop-tools .chips::-webkit-scrollbar { display: none; }
  .shop-tools .chip { flex-shrink: 0; }
  .dept-tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* =========================================================
   Home — premium house of art, flowers and candles
   ========================================================= */
.wall-photo { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--wall); box-shadow: var(--shadow-art); animation: floaty 9s ease-in-out infinite; animation-delay: calc(var(--d) * -2.3s); outline: 1px solid rgba(255, 255, 255, .6); outline-offset: -8px; }
.wall-photo img { width: 100%; height: 100%; object-fit: cover; }
.wall-item:hover .wall-photo { box-shadow: 0 30px 60px -22px rgba(30, 24, 18, .5); }

.worlds { padding-bottom: clamp(40px, 6vw, 80px); }
.worlds-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 2.4em; }
.worlds-head .section-title { margin: 0; }
.worlds-head .lead { margin: 0; }
.worlds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.world { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.world:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(30, 24, 18, .55); }
.world-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(180deg, var(--wall), #e2d8ca); display: grid; place-items: center; }
.world-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.world:hover .world-media > img { transform: scale(1.05); }
.world-canvas { width: 62%; transition: transform 1.1s var(--ease); }
.world:hover .world-canvas { transform: scale(1.04) translateY(-4px); }
.world-body { padding: 22px 24px 26px; display: grid; gap: 6px; }
.world-body .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.world-body h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 0; }
.world-body p { color: var(--ink-2); margin: 0 0 8px; }
.world-body .link-arrow { justify-self: start; }

/* the promise: dark, quiet, premium */
.promise { background: var(--ink); color: #f3eee6; position: relative; overflow: hidden; }
.promise::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 50vw; height: 50vw; background: radial-gradient(closest-side, rgba(181, 101, 63, .22), transparent); pointer-events: none; }
.promise .section-title { color: #f6f1e9; }
.promise .feature { background: transparent; border-color: rgba(243, 238, 230, .14); }
.promise .feature:hover { border-color: rgba(243, 238, 230, .4); box-shadow: none; }
.promise .feature svg { color: #d9a07e; }
.promise .feature h3 { color: #f6f1e9; }
.promise .feature p { color: #c9c1b4; }

@media (max-width: 900px) {
  .worlds-head { grid-template-columns: 1fr; }
  .worlds-grid { grid-template-columns: 1fr; }
  .world { display: grid; grid-template-columns: 42% 1fr; }
  .world-media { aspect-ratio: auto; min-height: 220px; }
}
@media (max-width: 560px) {
  .world { grid-template-columns: 1fr; }
  .world-media { aspect-ratio: 4 / 3; }
}
