/* === V11: COMPACT 2-COL MOBILE + ALWAYS-STICKY HEADER + MULTI-BED CART + ZERO BA OVERLAP === */
:root {
  --white: #fdf8f3;
  --pure: #ffffff;
  --warm: #f5f0eb;
  --warm-2: #ebe4dc;
  --rose: #e4a4bd;
  --rose-deep: #c97f9c;
  --rose-soft: rgba(228, 164, 189, 0.18);
  --sage-soft: #eef2ee;
  --ink: #262626;
  --ink-2: #525252;
  --ink-3: #78716C;
  --line: rgba(38, 38, 38, 0.08);
  --line-strong: rgba(38, 38, 38, 0.18);
  --accent: #e85d2a;
  --accent-hover: #cf4a19;
  --accent-soft: rgba(232, 93, 42, 0.10);
  --dark-bg: #161616;
  --dark-card: #212121;
  --r-lg: 24px;
  --r-md: 14px;
  --r-pill: 999px;
  --ease-ed: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: 'League Spartan', 'Tektur', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'League Spartan', 'Jura', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip preserves position: sticky in iOS Safari! */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.52;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.mono { font-family: var(--font-mono); }
.wl-only { display: none; }
body.is-wl [data-wl-hide] { display: none !important; }
body.is-wl .wl-only { display: inline; }

.wide-wrap { width: min(1880px, calc(100% - 48px)); margin-inline: auto; }

/* SOFTLY ANALOG GRAIN OVERLAY */
.grain-overlay {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.038; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* TRUE CUSTOM CURSOR ON DESKTOP */
.custom-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor label,
  html.has-custom-cursor summary,
  html.has-custom-cursor input,
  html.has-custom-cursor [role="button"] { cursor: none !important; }
  .custom-cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid #ffffff; background: #ffffff; mix-blend-mode: difference;
    pointer-events: none; z-index: 9999; transform: translate(-100px, -100px);
    transition: width 0.45s var(--ease-ed), height 0.45s var(--ease-ed), opacity 0.25s ease; opacity: 0;
  }
  .custom-cursor::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #000000; opacity: 0.55; }
  .custom-cursor.is-visible { opacity: 1; }
  .custom-cursor.is-hover { width: 56px; height: 56px; }
  .custom-cursor.is-hidden-iframe { opacity: 0 !important; }
}

.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--rose));
  transform-origin: left; transform: scaleX(0); z-index: 120; pointer-events: none;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.25; text-align: center;
  white-space: normal; overflow-wrap: break-word; max-width: 100%; min-width: 0;
  transition: background 0.5s var(--ease-ed), color 0.5s var(--ease-ed), border-color 0.5s var(--ease-ed), transform 0.5s var(--ease-ed);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-full { width: 100%; }
.btn-accent { background: var(--accent); color: #ffffff; box-shadow: 0 8px 22px -6px rgba(232, 93, 42, 0.42); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: #ffffff; }
.btn-dark:hover { background: #3f3a38; }
.btn-light { background: var(--pure); color: var(--ink); }
.btn-light:hover { background: var(--warm); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--rose-deep); background: var(--rose-soft); }

/* === SLIM TOP STRIP & ALWAYS-STICKY HEADER === */
.top-strip { background: var(--ink); color: rgba(253, 248, 243, 0.90); font-size: 12.5px; padding: 7px 0; }
.top-strip-row { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 6px 12px; text-align: center; white-space: nowrap; overflow: hidden; }
.strip-sep { opacity: 0.45; }
.strip-phone { color: #ffffff; font-weight: 700; }
.strip-link { color: var(--rose); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(253, 248, 243, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38, 38, 38, 0.06);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: var(--rose); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color 0.35s var(--ease-ed); }
.nav-links a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--ink); padding: 6px 10px; border-radius: var(--r-pill); }
.header-phone:hover { background: var(--rose-soft); }
.header-cart-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700;
}
.header-cart-pill[hidden] { display: none !important; }
.header-cart-pill b { background: rgba(255,255,255,0.22); padding: 1px 6px; border-radius: var(--r-pill); font-size: 11.5px; }

/* === GSAP STAGGERED MENU === */
.sm-toggle-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); background: var(--pure);
  color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 0.35s var(--ease-ed), background 0.35s var(--ease-ed);
}
.sm-toggle-btn:hover { border-color: var(--rose-deep); background: var(--rose-soft); }
.sm-toggle-text-wrap { position: relative; height: 1.25em; overflow: hidden; display: inline-block; }
.sm-toggle-text-inner { display: flex; flex-direction: column; line-height: 1.25em; }
.sm-toggle-icon { position: relative; width: 13px; height: 13px; display: inline-block; flex-shrink: 0; }
.sm-plus-h, .sm-plus-v { position: absolute; background: currentColor; border-radius: 2px; }
.sm-plus-h { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.sm-plus-v { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }

.sm-backdrop {
  position: fixed; inset: 0; z-index: 95; background: rgba(22, 22, 22, 0.42); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.sm-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sm-scope { position: fixed; inset: 0; z-index: 100; pointer-events: none; overflow: hidden; }
.sm-prelayers, .sm-panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(520px, 92vw); }
.sm-prelayers { z-index: 1; }
.sm-prelayer { position: absolute; inset: 0; }
.sm-panel {
  z-index: 2; background: var(--white); border-left: 1px solid var(--line);
  padding: 24px 28px 32px; display: flex; flex-direction: column; overflow-y: auto; pointer-events: none;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.16);
}
.sm-scope.is-open .sm-panel { pointer-events: auto; }
.sm-panel-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.sm-eyebrow, .sm-socials-title { font-size: 10px; font-weight: 900; letter-spacing: 0.4em; text-transform: uppercase; color: var(--ink-3); }
.sm-close-inside { background: var(--ink); color: #fff; border: 0; border-radius: var(--r-pill); padding: 7px 14px; font-size: 12.5px; font-weight: 700; }
.sm-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sm-nav-list li { overflow: hidden; }
.sm-link { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; }
.sm-num { font-size: 12.5px; color: var(--rose-deep); font-weight: 700; }
.sm-label {
  display: inline-block; font-family: var(--font-head); font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--ink); transition: color 0.4s var(--ease-ed), transform 0.4s var(--ease-ed);
}
.sm-link:hover .sm-label { color: var(--rose-deep); transform: translateX(8px); }
.sm-footer { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.sm-socials-title { margin: 0 0 12px; }
.sm-socials-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 12px; }
.sm-social-link { font-size: 15px; font-weight: 700; color: var(--ink); }
.sm-meta { margin: 0; font-size: 12.5px; color: var(--ink-3); }

/* === HERO === */
.hero-full { position: relative; width: 100%; min-height: clamp(540px, 76vh, 800px); display: flex; align-items: center; overflow: hidden; background: #eae4dc; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(22,22,22,0.74) 0%, rgba(22,22,22,0.44) 45%, rgba(22,22,22,0.08) 100%); }
.hero-content-wrap { position: relative; z-index: 2; padding: 48px 0; }
.hero-card-copy { max-width: 650px; color: #ffffff; }
.hero-eyebrow { margin: 0 0 12px; font-size: 10.5px; font-weight: 900; letter-spacing: 0.34em; text-transform: uppercase; color: var(--rose); }
.hero-title { margin: 0 0 16px; font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4.2vw, 56px); line-height: 0.96; letter-spacing: -0.03em; }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--rose); font-size: 1.14em; }
.hero-lead { margin: 0 0 22px; font-size: clamp(15px, 1.2vw, 17.5px); color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.24); font-size: 13.5px; color: rgba(255,255,255,0.88); }
.hero-pillars strong { color: #ffffff; margin-right: 4px; }

/* === SEAMLESS INFINITE MARQUEE === */
.marquee-band { background: var(--ink); color: rgba(253, 248, 243, 0.90); overflow: hidden; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); display: flex; }
.marquee-track { display: flex; flex-shrink: 0; width: max-content; animation: marqueeInfinite 42s linear infinite; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; gap: 24px; padding-right: 24px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; white-space: nowrap; }
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-group i { font-style: normal; color: var(--rose); }
@keyframes marqueeInfinite { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* === SECTIONS & UTILITY LABELS === */
.sec { padding: 60px 0; }
.sec-white { background: var(--white); }
.sec-warm { background: var(--warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 14px 40px; align-items: end; margin-bottom: 26px; }
.eyebrow { margin: 0 0 8px; font-size: 10px; font-weight: 900; letter-spacing: 0.38em; text-transform: uppercase; color: var(--rose-deep); }
.sec-title { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3vw, 40px); line-height: 0.96; letter-spacing: -0.03em; }
.sec-lead { margin: 0; font-size: 15px; color: var(--ink-2); }

/* === CATALOG GRID === */
.tylko-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tylko-card {
  background: var(--pure); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 6px 24px -6px rgba(38, 38, 38, 0.05);
  transition: transform 0.8s var(--ease-ed), box-shadow 0.8s var(--ease-ed);
}
.tylko-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -12px rgba(38, 38, 38, 0.11); }
.tylko-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--warm); overflow: hidden; }
.card-photo { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-ed); }
.tylko-card:hover .card-photo { transform: scale(1.05); }
.tylko-tag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(38,38,38,0.84); color: #fff; font-size: 11px; font-weight: 600; }
.tylko-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tylko-swatches { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.c-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,0.16); padding: 0; transition: transform 0.25s var(--ease-ed); }
.c-dot:hover { transform: scale(1.14); }
.c-dot.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.c-count { margin-left: 4px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.tylko-card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.tylko-card-meta h3 { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.tylko-price { font-size: 14.5px; font-weight: 700; color: var(--accent); }
.tylko-desc { margin: 0 0 2px; font-size: 13.5px; color: var(--ink-2); flex: 1; }

/* === BALANCED STUDIO GRID === */
.studio-3col { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 22px; align-items: start; }
.studio-col-visual, .studio-col-controls { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.photo-studio-card {
  background: var(--pure); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 18px 46px -10px rgba(38, 38, 38, 0.08);
}
.photo-studio-viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--warm-2); overflow: hidden; }
.live-bed-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-bed-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; z-index: 1; }
.live-bed-video.is-playing { opacity: 1; }

.drawer-hotspot {
  position: absolute; left: 19%; width: 58%; bottom: 5%; height: 24%;
  background: transparent; border: 0; padding: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
}
.drawer-hotspot.is-hidden { display: none; }
.drawer-hotspot-tip {
  padding: 6px 14px; border-radius: var(--r-pill); background: rgba(38, 38, 38, 0.86); color: #ffffff;
  font-size: 12.5px; font-weight: 600; backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(4px); transition: opacity 0.25s var(--ease-ed), transform 0.25s var(--ease-ed); pointer-events: none;
}
.drawer-hotspot:hover .drawer-hotspot-tip, .drawer-hotspot:focus-visible .drawer-hotspot-tip { opacity: 1; transform: translateY(0); }

.studio-top-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; pointer-events: none; z-index: 2; }
.studio-badge-dark { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(38,38,38,0.84); color: #fff; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(8px); }
.studio-badge-light { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(253,248,243,0.94); color: var(--ink); font-size: 12px; font-weight: 700; }

.studio-state-bar { padding: 12px 14px; border-top: 1px solid var(--line); background: var(--pure); }
.studio-state-bar[hidden] { display: none !important; }
.studio-state-group { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.state-pill { padding: 8px 8px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--pure); color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.15; white-space: normal; text-align: center; min-width: 0; transition: all 0.35s var(--ease-ed); }
.state-pill.is-active { background: var(--ink); border-color: var(--ink); color: #ffffff; }

/* COLOR DRUM */
.color-drum-wrap { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #faf5ef; }
.drum-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; flex-wrap: wrap; }
.drum-label { font-size: 13px; color: var(--ink-2); }
.drum-label strong { color: var(--ink); }
.drum-arrows { display: flex; gap: 6px; }
.drum-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--pure); color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.drum-arrow:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.color-drum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.drum-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px; border-radius: 13px; border: 1px solid var(--line); background: var(--pure); color: var(--ink); text-align: center; min-width: 0; line-height: 1.12; transition: transform 0.35s var(--ease-ed), border-color 0.35s ease; }
.drum-item:hover { transform: translateY(-2px); border-color: var(--rose-deep); }
.drum-item.is-active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 6px 16px rgba(232,93,42,0.14); }
.fin-swatch { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.drum-item strong { font-size: 12px; }
.drum-item span { font-size: 10.5px; color: var(--ink-3); }

/* === YANDEX MAPS + EXACT ADDRESS AUTOCOMPLETE === */
.calc-step { background: var(--pure); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 4px 20px -4px rgba(38, 38, 38, 0.04); }
.calc-k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin: 0 0 12px; font-size: 10.5px; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.calc-k span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--rose); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0; flex-shrink: 0; }
.calc-k small { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--accent); font-size: 12.5px; }

.address-autocomplete { position: relative; margin-bottom: 10px; }
.delivery-input-row { display: flex; gap: 8px; align-items: center; }
.delivery-input-row input {
  flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--white); font-size: 13.5px; color: var(--ink);
}
.delivery-input-row input:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 3px var(--rose-soft); }
.delivery-cost-pill { padding: 9px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; flex-shrink: 0; }

.address-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--pure); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(22, 22, 22, 0.14); overflow: hidden; max-height: 240px; overflow-y: auto;
}
.addr-opt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; color: var(--ink); }
.addr-opt:last-child { border-bottom: 0; }
.addr-opt:hover { background: var(--warm); }
.addr-opt-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.addr-opt-title { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr-opt-sub { font-size: 11px; color: var(--ink-3); }
.addr-opt-price { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); flex-shrink: 0; }

.delivery-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.city-chip { padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--pure); color: var(--ink); font-size: 11.5px; font-weight: 600; line-height: 1.2; white-space: normal; text-align: center; }
.city-chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.yandex-map-wrap { width: 100%; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin-bottom: 8px; background: var(--warm); }
.real-map-box { display: block; width: 100%; height: 270px; border: 0; }
.delivery-route-summary { padding: 9px 11px; border-radius: 10px; background: var(--sage-soft); font-size: 12.5px; color: var(--ink); line-height: 1.38; }

/* === RIGHT COLUMN CONTROLS === */
.step1-rows { display: flex; flex-direction: column; gap: 10px; }
.model-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.tab-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 10px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--warm); color: var(--ink); text-align: left; min-width: 0; line-height: 1.18; }
.tab-choice strong { font-size: 13px; }
.tab-choice span { font-size: 11.5px; color: var(--ink-3); }
.tab-choice.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.tab-choice.is-active span { color: var(--rose); }

.size-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.size-btn { padding: 9px 6px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--pure); color: var(--ink); font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; white-space: normal; min-width: 0; }
.size-btn.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }

.opts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt-card { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--pure); }
.opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt-check { width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: transparent; margin-top: 1px; }
.opt-card.is-on { border-color: var(--ink); background: var(--warm); }
.opt-card.is-on .opt-check { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.opt-info strong { font-size: 13px; line-height: 1.18; }
.opt-info small { font-size: 11.5px; color: var(--ink-3); line-height: 1.25; }
.opt-price { grid-column: 2; font-size: 12px; color: var(--accent); font-weight: 700; }

/* === SUMMARY CARD + MULTI-BED CART === */
.sum-card { background: var(--dark-bg); color: #ffffff; border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.cart-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(228,164,189,0.35); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.cart-box[hidden] { display: none !important; }
.cart-box-head { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--rose); }
.cart-clear-btn { background: none; border: 0; color: rgba(255,255,255,0.6); font-size: 12px; text-decoration: underline; padding: 0; }
.cart-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 10px; background: rgba(255,255,255,0.05); font-size: 12.5px; }
.cart-row-info { display: flex; flex-direction: column; min-width: 0; }
.cart-row-info strong { color: #fff; font-size: 12.5px; line-height: 1.2; }
.cart-row-info span { color: rgba(255,255,255,0.65); font-size: 11px; }
.cart-row-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cart-row-price { font-family: var(--font-mono); font-size: 12px; color: #fff; font-weight: 700; }
.cart-del-btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; font-size: 13px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }

.sum-k { margin: 0; font-size: 12.5px; color: rgba(255,255,255,0.72); font-weight: 600; }
.sum-val { margin: 0; display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.sum-val span { font-size: 14px; color: rgba(255,255,255,0.65); }
.sum-val b { font-size: 34px; font-weight: 700; }
.sum-val i { font-style: normal; font-size: 20px; color: var(--rose); }
.sum-days { margin: 0; font-size: 12.5px; color: rgba(255,255,255,0.8); }
.sum-lines { list-style: none; margin: 2px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,0.14); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 10px; color: rgba(255,255,255,0.88); }
.sum-lines li b { font-family: var(--font-mono); font-size: 12.5px; color: #fff; flex-shrink: 0; }

.sum-mini-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.btn-add-bed {
  flex: 1; min-width: 180px; padding: 9px 14px; border-radius: var(--r-pill);
  border: 1px dashed var(--rose); background: rgba(228,164,189,0.12); color: #fff;
  font-size: 12.5px; font-weight: 700; text-align: center; transition: background 0.25s ease;
}
.btn-add-bed:hover { background: rgba(228,164,189,0.26); }
.sum-reset { background: none; border: 0; padding: 4px 0; color: rgba(255,255,255,0.65); font-size: 12px; font-weight: 600; text-decoration: underline; }

.sum-input-label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.85); }
.sum-input-label span { color: rgba(255,255,255,0.5); }
.sum-input-label input { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: var(--dark-card); color: #fff; padding: 9px 11px; font-size: 13px; line-height: 1.4; }
.sum-cta-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.sum-card .btn-outline { color: #fff; border-color: rgba(255,255,255,0.26); }
.sum-card .btn-outline:hover { background: rgba(228,164,189,0.16); border-color: var(--rose); }
.sum-footnote { margin: 0; font-size: 11.5px; color: rgba(255,255,255,0.56); line-height: 1.38; }

/* === GSAP MASONRY GALLERY === */
.masonry-gallery { position: relative; width: 100%; min-height: 300px; }
.masonry-item {
  position: absolute; top: 0; left: 0; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line); background: var(--warm);
  box-shadow: 0 10px 30px -10px rgba(38, 38, 38, 0.10); will-change: transform, width, height, opacity, filter;
}
.masonry-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(85%); transform: scale(1); transition: filter 1s var(--ease-ed), transform 1s var(--ease-ed); }
.masonry-item:hover img { filter: grayscale(0%); transform: scale(1.08); }
.masonry-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,22,22,0) 45%, rgba(22,22,22,0.78) 100%); opacity: 0; transition: opacity 0.6s var(--ease-ed); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; color: #ffffff; }
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay strong { font-family: var(--font-head); font-size: 14.5px; line-height: 1.2; }
.masonry-overlay span { font-size: 11.5px; color: var(--rose); margin-top: 2px; font-weight: 600; }

/* === SOFTLY DIARY TESTIMONIALS === */
.diary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.diary-card { background: var(--pure); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 8px 28px -8px rgba(38, 38, 38, 0.06); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; transition: transform 0.8s var(--ease-ed); }
.diary-card.tilt-left { transform: rotate(-0.8deg); }
.diary-card.tilt-right { transform: rotate(0.8deg); }
.diary-card:hover { transform: rotate(0deg) translateY(-3px); }
.diary-text { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.diary-sig { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.sig-line { width: 24px; height: 1px; background: var(--rose-deep); flex-shrink: 0; }
.diary-sig em { font-family: var(--font-serif); font-size: 18px; font-style: italic; font-weight: 600; color: var(--ink-2); }

/* === BEFORE / AFTER === */
.ba-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 740px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-clip { position: absolute; inset: 0; }
.ba-tag { position: absolute; top: 14px; padding: 6px 13px; border-radius: var(--r-pill); background: rgba(22,22,22,0.84); color: #fff; font-size: 12.5px; font-weight: 600; z-index: 3; max-width: 44%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-tag-left { left: 14px; }
.ba-tag-right { right: 14px; }
.ba-divider { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-50%); z-index: 4; pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; box-shadow: 0 10px 26px rgba(0,0,0,0.35); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 5; margin: 0; }

/* === SPLIT CRAFT === */
.split-banner { display: grid; grid-template-columns: 1fr 1fr; width: 100%; background: var(--dark-bg); color: #fff; }
.split-media { min-height: 440px; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: clamp(24px, 4vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.split-body .eyebrow { color: var(--rose); }
.split-body .sec-lead { color: rgba(255,255,255,0.78); }
.hs-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.hs-pill { padding: 7px 12px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,0.24); background: transparent; color: rgba(255,255,255,0.85); font-size: 12.5px; font-weight: 600; }
.hs-pill.is-active { background: var(--rose); border-color: var(--rose); color: var(--ink); }
.craft-detail-box { background: var(--dark-card); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md); padding: 18px; }
.craft-step { font-size: 11.5px; color: var(--rose); font-weight: 700; margin-bottom: 5px; }
.craft-detail-box h3 { margin: 0 0 6px; font-family: var(--font-head); font-size: 19px; }
.craft-detail-box p { margin: 0 0 10px; color: rgba(255,255,255,0.82); font-size: 14px; }
.craft-spec { padding: 8px 11px; border-radius: 8px; background: rgba(255,255,255,0.06); font-size: 12.5px; color: #fff; }

/* === COMBINED PROCESS + FAQ === */
.process-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.steps-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.step-card { background: var(--pure); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--rose-soft); color: var(--ink); font-weight: 700; font-size: 12.5px; margin-bottom: 8px; }
.step-card h3 { margin: 0 0 4px; font-family: var(--font-head); font-size: 15.5px; }
.step-card p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.faq-list { display: flex; flex-direction: column; gap: 9px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 16px; background: var(--pure); }
.faq-item summary { font-family: var(--font-head); font-size: 15px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-item summary::after { content: '+'; font-family: var(--font-mono); font-size: 18px; color: var(--rose-deep); transition: transform 0.35s var(--ease-ed); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 8px 0 0; color: var(--ink-2); font-size: 13.5px; }

/* === CTA & FOOTER === */
.cta-full { background: var(--ink); color: #fff; padding: 48px 0; }
.cta-full-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-full h2 { margin: 0 0 6px; font-family: var(--font-head); font-size: clamp(22px, 2.5vw, 32px); }
.cta-full p { margin: 0; color: rgba(255,255,255,0.78); max-width: 600px; font-size: 14.5px; }
.cta-phone-link { color: var(--rose); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-full-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 18px 0; font-size: 13.5px; color: var(--ink-3); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-link { color: var(--ink); font-weight: 700; }

.app-toast {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; z-index: 150; max-width: calc(100vw - 24px); text-align: center;
}
.app-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* === TABLET === */
@media (max-width: 1160px) {
  .nav-links, .header-phone { display: none; }
  .studio-3col { grid-template-columns: 1fr; }
  .split-banner { grid-template-columns: 1fr; }
  .split-media { min-height: 240px; }
  .process-faq-grid { grid-template-columns: 1fr; }
  .diary-grid { grid-template-columns: 1fr; }
  .diary-card.tilt-left, .diary-card.tilt-right { transform: none; }
}

/* === DENSE, CLEAN 2-COLUMN MOBILE (MINIMAL SCROLLING, ALWAYS-VISIBLE STICKY HEADER) === */
@media (max-width: 720px) {
  .wide-wrap { width: calc(100% - 20px); }
  .strip-hide-mob { display: none !important; }
  .top-strip { padding: 5px 0; font-size: 11.5px; }
  .header-row { min-height: 52px; }
  .brand { font-size: 15.5px; }
  .brand-mark { width: 28px; height: 28px; }
  .header-actions .btn-outline,
  .header-actions .btn-dark { display: none; }
  .sm-toggle-btn { padding: 7px 12px; font-size: 11px; }

  .sec { padding: 34px 0; }
  .sec-head-split { grid-template-columns: 1fr; gap: 6px; margin-bottom: 16px; }
  .sec-title { font-size: 22px; }
  .sec-lead { font-size: 13.5px; }

  /* Compact Hero */
  .hero-full { min-height: 410px; }
  .hero-content-wrap { padding: 28px 0; }
  .hero-title { font-size: 27px; margin-bottom: 10px; }
  .hero-lead { font-size: 14px; margin-bottom: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
  .hero-actions .btn-lg { padding: 11px 10px; font-size: 13px; }
  .hero-pillars { font-size: 12px; gap: 6px 14px; padding-top: 10px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(22,22,22,0.68) 0%, rgba(22,22,22,0.82) 100%); }

  /* Dense 2-column Catalog on mobile (3rd card spans full width cleanly) */
  .tylko-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tylko-grid .tylko-card:last-child { grid-column: 1 / -1; }
  .tylko-card-body { padding: 10px; gap: 6px; }
  .tylko-card-meta h3 { font-size: 14px; }
  .tylko-price { font-size: 12.5px; }
  .tylko-desc { font-size: 11.5px; line-height: 1.3; }
  .c-dot { width: 17px; height: 17px; }
  .c-count { display: none; }
  .tylko-card .btn { padding: 8px 10px; font-size: 12px; }

  /* Dense Configurator: 3 models in 1 row, 5 colors in 1 row, 2-col options! */
  .calc-step { padding: 12px; border-radius: 16px; }
  .calc-k { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 9px; }
  .studio-badge-dark, .studio-badge-light { font-size: 10.5px; padding: 4px 8px; }
  .studio-state-bar { padding: 9px 10px; }
  .studio-state-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .state-pill { padding: 7px 6px; font-size: 11.5px; }

  .color-drum-wrap { padding: 10px; }
  .color-drum { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .drum-item { padding: 7px 2px; border-radius: 10px; }
  .fin-swatch { width: 20px; height: 20px; }
  .drum-item strong { font-size: 10.5px; }
  .drum-item span { font-size: 9.5px; }

  .model-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tab-choice { padding: 8px 6px; }
  .tab-choice strong { font-size: 11.5px; }
  .tab-choice span { font-size: 10px; }

  .size-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .size-btn { padding: 8px 4px; font-size: 11px; }

  .opts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .opt-card { padding: 8px; gap: 6px; grid-template-columns: 16px minmax(0, 1fr); }
  .opt-check { width: 16px; height: 16px; font-size: 10px; }
  .opt-info strong { font-size: 11.5px; }
  .opt-info small { font-size: 10px; }
  .opt-price { font-size: 11px; }

  .real-map-box { height: 200px; }
  .sum-card { padding: 16px; gap: 10px; }
  .sum-val b { font-size: 28px; }

  /* ZERO OVERLAP on Before/After tags on mobile! */
  .ba-extra { display: none; }
  .ba-tag { font-size: 11px; padding: 4px 10px; top: 8px; }
  .ba-tag-left { left: 8px; }
  .ba-tag-right { right: 8px; }
  .ba-handle { width: 34px; height: 34px; font-size: 14px; }

  /* Keep 2x2 steps grid on mobile too! */
  .steps-2x2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .step-card { padding: 12px; }
  .step-card h3 { font-size: 13.5px; }
  .step-card p { font-size: 11.5px; }

  /* Always show full color in Masonry on touch devices (no hover!) */
  .masonry-item img { filter: grayscale(0%); }
  .masonry-overlay { opacity: 1; padding: 10px; }
  .masonry-overlay strong { font-size: 12px; }
  .masonry-overlay span { font-size: 10.5px; }

  .diary-card { padding: 16px; }
  .diary-text { font-size: 13.5px; }
}
