/* PHOTOBRELOK design system — premium retro, warm nostalgia */
:root {
  --bg: #F5F1E8;
  --ink: #191715;
  --accent: #FFC400;
  --accent-press: #E6B000;
  --surface: #FFFFFF;
  --surface-2: #EDE7DA;
  --muted: #6B6560;
  --line: #D9D0BF;
  --line-strong: #191715;
  --danger: #B42318;
  --success: #067647;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 8px 28px rgba(25, 23, 21, 0.08);
  --font: var(--font-rubik), "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --hand: var(--font-caveat), "Caveat", "Comic Sans MS", cursive;
  --max: 1120px;
  --pad: 20px;
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --pad: 32px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
/* в @layer base — иначе правило перебивает утилиты text-* из Tailwind (кнопки становились «невидимыми») */
@layer base {
  button, input, select, textarea { font: inherit; color: inherit; }
}

.pb {
  min-height: 100vh;
}

.pb .wrap {
  width: min(100% - var(--pad) * 2, var(--max));
  margin-inline: auto;
  max-width: 100%;
  overflow-x: clip;
}

.pb .wrap-narrow {
  width: min(100% - var(--pad) * 2, 720px);
  margin-inline: auto;
}

/* Typography — Caveat for headings, Rubik for UI/buttons */
.pb h1, .pb h2, .pb h3 {
  margin: 0 0 0.5em;
  line-height: 1.12;
  letter-spacing: 0;
  font-family: var(--hand);
  font-weight: 700;
}

.pb h1 {
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1.05;
}

.pb h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
}

.pb h3 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
}

.pb .btn,
.pb .chip,
.pb .hero-meta,
.pb .stepper,
.pb .field label,
.pb summary {
  font-family: var(--font);
}

.pb .hand {
  font-family: var(--hand);
  font-weight: 700;
  line-height: 1.15;
}

.pb .lead {
  font-size: clamp(17px, 2.2vw, 19px);
  color: var(--ink);
  opacity: 0.88;
  max-width: 38em;
}

.pb .muted { color: var(--muted); }
.pb .small { font-size: 14px; }
.pb .center { text-align: center; }
.pb .center .lead { margin-inline: auto; }

.pb section {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .pb section { padding: 80px 0; }
}

/* Header */
.pb .hd {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.pb .hd .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pb .logo {
  font-family: var(--hand);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.pb .logo span { color: var(--accent); }

.pb .hd-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pb .hd-nav {
  display: inline-flex;
}

.pb .hd .btn-ghost {
  display: none;
}

@media (min-width: 640px) {
  .pb .hd .btn-ghost {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .pb .hd .btn-primary {
    padding-inline: 14px;
    font-size: 14px;
    min-height: 42px;
  }
  .pb .logo {
    font-size: 24px;
  }
}

/* Buttons */
.pb .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
}

.pb .btn:hover { transform: translateY(-1px); }
.pb .btn:active { transform: translateY(0); }
.pb .btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.pb .btn:disabled,
.pb .btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.pb .btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--ink);
  min-height: 52px;
  font-size: 17px;
  box-shadow: 3px 3px 0 var(--ink);
}

.pb .btn-primary:hover {
  background: var(--accent-press);
  box-shadow: 4px 4px 0 var(--ink);
}

.pb .btn-primary:active {
  box-shadow: 1px 1px 0 var(--ink);
}

.pb .btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.pb .btn-ghost:hover { background: rgba(25, 23, 21, 0.05); }

.pb .btn-quiet {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  min-height: 44px;
  padding-inline: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pb .btn-block { width: 100%; }

.pb .btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
}

/* Hero */
.pb .hero {
  padding: 36px 0 48px;
}

@media (min-width: 900px) {
  .pb .hero {
    padding: 56px 0 72px;
  }
  .pb .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }
}

.pb .hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.pb .hero-copy .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
}

.pb .hero h1 { margin-bottom: 16px; }

.pb .hero .lead {
  margin: 0 0 22px;
  max-width: 32em;
}

.pb .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}

.pb .hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pb .hero-meta strong {
  font-size: 18px;
  font-weight: 700;
}

.pb .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink);
}

.pb .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 16px;
  max-width: 100%;
}

.pb .hero-actions .btn-primary {
  max-width: 100%;
}

.pb .hero-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 34em;
}

.pb .hero-note strong { color: var(--ink); }

.pb .hero-visual {
  position: relative;
  margin-top: 28px;
}

@media (min-width: 900px) {
  .pb .hero-visual { margin-top: 0; }
}

.pb .hero-visual .photo-main {
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  max-height: 560px;
}

.pb .hero-video-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  aspect-ratio: 9 / 16;
  width: 100%;
  max-height: 640px;
  margin-inline: auto;
  box-shadow: 4px 4px 0 var(--ink);
}

.pb .hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.pb .hero-video-mute {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 2;
}

.pb .hero-video-mute:hover {
  transform: translateY(-1px);
}

.pb .hero-video-mute:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.pb .hero-video-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-family: var(--hand);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 2;
}

@media (min-width: 900px) {
  .pb .hero-video-wrap {
    max-width: 360px;
    max-height: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pb .hero-video {
    /* keep poster visible; playback is paused in JS */
  }
}

.pb .hero-visual .photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: var(--hand);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
}

/* How it works */
.pb .how {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.pb .steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 800px) {
  .pb .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.pb .step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.pb .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.pb .step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.pb .step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Constructor shell */
.pb .builder {
  background: #F5F1E8;
}

.pb .builder-shell {
  margin-top: 28px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pb .builder-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.pb .stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pb .stepper li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
}

.pb .stepper li[aria-current="step"] {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 600;
}

.pb .stepper li.done {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg);
}

.pb .stepper .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.pb .builder-body {
  display: grid;
  gap: 0;
}

@media (min-width: 980px) {
  .pb .builder-body {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .pb .builder-main {
    border-right: 1px solid var(--line);
  }
}

.pb .builder-main {
  padding: 22px 18px 28px;
}

.pb .builder-side {
  padding: 22px 18px 28px;
  background: linear-gradient(180deg, #FAF7F0 0%, var(--surface) 100%);
}

.pb .builder-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.pb .builder-nav .btn-primary { min-width: 200px; }

/* Dropzone */
.pb .dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 28px 18px;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.pb .dropzone:hover,
.pb .dropzone:focus-visible,
.pb .dropzone.drag {
  border-color: var(--ink);
  background: #FFF8E0;
  outline: none;
}

.pb .dropzone .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.pb .dropzone h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.pb .dropzone p {
  margin: 0 auto 16px;
  color: var(--muted);
  font-size: 15px;
  max-width: 28em;
}

/* Photo grid editor */
.pb .photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

@media (min-width: 560px) {
  .pb .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .pb .photo-grid { grid-template-columns: repeat(4, 1fr); }
}

.pb .photo-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  background: var(--surface-2);
  aspect-ratio: 1;
}

.pb .photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pb .photo-card .num {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.pb .photo-card .tools {
  position: absolute;
  inset: auto 6px 6px 6px;
  display: flex;
  gap: 6px;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.pb .photo-card:hover .tools,
.pb .photo-card:focus-within .tools {
  opacity: 1;
}

@media (hover: none) {
  .pb .photo-card .tools { opacity: 1; }
}

.pb .icon-btn {
  min-width: 36px;
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(25, 23, 21, 0.78);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  padding: 0 8px;
}

.pb .icon-btn:hover { background: rgba(25, 23, 21, 0.92); }
.pb .icon-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pb .icon-btn.danger { background: rgba(180, 35, 24, 0.9); }

.pb .counter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 14px;
}

.pb .progress-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 10px;
}

.pb .progress-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.25s ease;
}

/* Preview */
.pb .preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.pb .preview-title h3 {
  margin: 0;
  font-size: 18px;
}

.pb .preview-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.pb .preview-tabs button {
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
}

.pb .preview-tabs button[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.pb .product-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,196,0,0.18), transparent 45%),
    linear-gradient(180deg, #EDE6D6 0%, #F7F2E7 100%);
  padding: 18px 12px;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pb .film-strip {
  width: 100%;
  background: #111;
  border-radius: 18px;
  padding: 14px 12px;
  position: relative;
  overflow: hidden;
}

.pb .film-strip::before,
.pb .film-strip::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2218%22 height=%2211%22%3E%3Crect x=%222%22 y=%221%22 width=%228%22 height=%229%22 rx=%222.2%22 fill=%22%23F5F1E8%22/%3E%3C/svg%3E");
  background-size: 12px 8px;
  background-repeat: repeat-x;
  opacity: 0.95;
}

.pb .film-strip::before { top: 5px; }
.pb .film-strip::after { bottom: 5px; }

.pb .film-frames {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 2px;
  scrollbar-width: thin;
}

.pb .film-frame {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 3px;
  background: #2A2A2A;
  border: 1px solid #444;
  overflow: hidden;
  position: relative;
}

.pb .film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pb .film-frame .ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 18px;
}

.pb .keychain-wrap {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pb .keychain-canister {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
}

.pb .preview-empty {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 24px 12px;
}

.pb .preview-meta {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.pb .preview-meta .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.pb .preview-meta .row:last-child { border-bottom: 0; }

.pb .trust-line {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #FFF6D6;
  border: 1px solid #E8D48A;
  font-size: 13px;
  line-height: 1.45;
}

/* Forms */
.pb .form-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 640px) {
  .pb .form-grid.two { grid-template-columns: 1fr 1fr; }
}

.pb .field {
  display: grid;
  gap: 6px;
}

.pb .field label {
  font-size: 14px;
  font-weight: 600;
}

.pb .field .hint {
  font-size: 13px;
  color: var(--muted);
}

.pb .field input,
.pb .field select,
.pb .field textarea {
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px 14px;
  width: 100%;
}

.pb .field input:focus-visible,
.pb .field select:focus-visible,
.pb .field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--ink);
}

.pb .field.error input,
.pb .field.error select {
  border-color: var(--danger);
}

.pb .field .err {
  color: var(--danger);
  font-size: 13px;
}

.pb .radio-cards {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .pb .radio-cards.three { grid-template-columns: repeat(3, 1fr); }
}

.pb .radio-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.pb .radio-card:has(input:checked) {
  border-color: var(--ink);
  background: #FFF8E0;
  box-shadow: 2px 2px 0 var(--accent);
}

.pb .radio-card input {
  accent-color: var(--ink);
  margin-right: 8px;
}

.pb .radio-card .price-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* Summary */
.pb .summary-box {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 16px;
}

.pb .summary-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.pb .summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.pb .summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pb .alert {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  margin: 12px 0;
}

.pb .alert-info {
  background: #E8F1FF;
  border: 1px solid #B7D0FF;
  color: #123;
}

.pb .alert-warn {
  background: #FFF4D6;
  border: 1px solid #E8D48A;
}

.pb .alert-error {
  background: #FDECEC;
  border: 1px solid #F0B4B0;
  color: var(--danger);
}

.pb .alert-success {
  background: #E7F7EE;
  border: 1px solid #A7DEC0;
  color: var(--success);
}

/* Examples */
.pb .examples {
  background: #F0E8DA;
  border-block: 1px solid var(--line);
}

.pb .examples h2 {
  text-wrap: balance;
}

.pb .gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  align-items: start;
}

@media (min-width: 900px) {
  .pb .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 920px;
    margin-inline: auto;
  }
}

.pb .gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fffdf8;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 5px 0 var(--accent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pb .gallery figure:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.pb .gallery img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #F0E9DB;
}

.pb .gallery figcaption {
  padding: 12px 14px 14px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
  border-top: 1px solid var(--line);
  background: #fffdf8;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pb .gallery figcaption::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
}

.pb .gallery-wide {
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--accent);
  background: #fffdf8;
  max-width: 920px;
  margin-inline: auto;
}

.pb .gallery-wide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Price block */
.pb .price {
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--ink);
  max-width: 560px;
  margin: 0 auto;
}

.pb .price-label {
  margin: 0 0 4px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.pb .price .big {
  margin: 0 0 12px;
  font-family: var(--hand);
  font-size: clamp(56px, 12vw, 88px);
  font-weight: 700;
  line-height: 1;
}

.pb .price-text {
  margin: 0 auto 8px;
  max-width: 28em;
  font-size: 17px;
  line-height: 1.45;
}

.pb .price-sub {
  margin: 0 auto 20px;
  max-width: 28em;
  font-size: 15px;
  opacity: 0.85;
}

.pb .price .btn-primary {
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 rgba(25, 23, 21, 0.2);
  min-width: 200px;
}

.pb .price .guar {
  margin: 22px auto 0;
  padding-top: 16px;
  border-top: 2px dashed rgba(25, 23, 21, 0.35);
  font-size: 15px;
  max-width: 34em;
  line-height: 1.45;
}

/* Memories — horizontal swipe rail */
.pb .memories {
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.pb .memories-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 16px;
  padding: 8px 4px 18px;
  margin: 20px calc(var(--pad) * -1) 0;
  padding-inline: var(--pad);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.pb .memories-rail::-webkit-scrollbar {
  display: none;
}

.pb .memories-rail figure {
  margin: 0;
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: center;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--accent);
  background: var(--surface-2);
  line-height: 0;
}

.pb .memories-rail img {
  width: 100%;
  height: min(58vw, 360px);
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.pb .memories-hint {
  text-align: center;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Why */
.pb .why-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 800px) {
  .pb .why-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.pb .why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.pb .why-item:last-child {
  border-bottom: 1px solid var(--line);
}

.pb .why-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.pb .why-item h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.pb .why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Reviews */
.pb .review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 560px;
}

.pb .review-card blockquote {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
}

.pb .review-card cite {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.pb .faq {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.pb .faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.pb .faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.pb .faq summary::-webkit-details-marker { display: none; }

.pb .faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}

.pb .faq details[open] summary::after { content: "–"; }

.pb .faq summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.pb .faq details p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 52em;
}

/* Final CTA */
.pb .final {
  background: var(--ink);
  color: var(--bg);
}

.pb .final h2 { color: var(--accent); }

.pb .final .lead {
  color: rgba(245, 241, 232, 0.88);
}

.pb .final .btn-primary {
  box-shadow: 3px 3px 0 var(--accent);
}

/* Footer */
.pb footer {
  padding: 36px 0 100px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .pb footer { padding-bottom: 40px; }
}

.pb footer a { color: var(--ink); }

.pb .foot-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .pb .foot-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

/* Mobile sticky CTA */
.pb .mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(245, 241, 232, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  max-width: 100vw;
}

.pb .mobile-cta .btn {
  flex-shrink: 0;
}

.pb .mobile-cta .price-wrap {
  min-width: 0;
}

.pb .mobile-cta .price {
  font-weight: 700;
  font-size: 18px;
}

.pb .mobile-cta .btn {
  min-height: 48px;
  min-width: 160px;
}

@media (min-width: 768px) {
  .pb .mobile-cta { display: none; }
}

.pb .mobile-cta.hidden { display: none; }

/* Status toast */
.pb .toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 60;
  max-width: min(92vw, 420px);
  background: var(--ink);
  color: var(--bg);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  box-shadow: var(--shadow);
}

.pb .toast.err {
  background: var(--danger);
  color: #fff;
}

/* Language pill */
.pb .lang-btn {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.pb .lang-btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Utility */
.pb .mt-0 { margin-top: 0; }
.pb .mt-2 { margin-top: 8px; }
.pb .mt-3 { margin-top: 12px; }
.pb .mt-4 { margin-top: 16px; }
.pb .mt-6 { margin-top: 24px; }
.pb .mb-0 { margin-bottom: 0; }
.pb .stack-2 { display: grid; gap: 8px; }
.pb .stack-3 { display: grid; gap: 12px; }
.pb .row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pb .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Mobile polish */
@media (max-width: 767px) {
  :root { --pad: 16px; --header-h: 56px; }

  .pb { font-size: 16px; }
  .pb h1 { font-size: clamp(34px, 9vw, 42px); }
  .pb h2 { font-size: clamp(28px, 7vw, 34px); }

  .pb .hd .wrap { gap: 8px; }
  .pb .logo { font-size: 22px; }
  .pb .hd-actions { gap: 6px; }
  .pb .hd-how { display: none; }
  .pb .hd-actions .btn-primary {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
  .pb .lang-btn {
    min-height: 40px;
    min-width: 44px;
    padding: 8px 10px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .pb .hero { padding: 24px 0 36px; }
  .pb .hero-grid { display: block; }
  .pb .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pb .hero-actions .btn,
  .pb .hero-actions .btn-quiet {
    width: 100%;
    min-height: 52px;
  }
  .pb .hero-meta { gap: 8px; }
  .pb .hero-visual { margin-top: 22px; }
  .pb .hero-visual .photo-main {
    border-radius: 14px;
    max-height: 420px;
  }

  .pb section { padding: 40px 0; }
  .pb .steps { gap: 12px; }
  .pb .step { padding: 16px; gap: 12px; }
  .pb .step-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .pb .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .pb .gallery figure { box-shadow: 3px 3px 0 var(--accent); }
  .pb .gallery figcaption {
    padding: 10px;
    font-size: 13px;
    flex-direction: column;
    gap: 6px;
  }
  .pb .gallery figcaption::before { display: none; }
  .pb .gallery figcaption .btn { width: 100%; }

  .pb .price {
    padding: 28px 18px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .pb .price .big { font-size: clamp(52px, 14vw, 72px); }
  .pb .price .btn { width: 100%; }

  .pb .memories-rail figure {
    flex-basis: min(82vw, 300px);
  }
  .pb .memories-rail img {
    height: min(70vw, 320px);
  }

  .pb .builder-main,
  .pb .builder-side {
    padding: 16px 14px 22px;
  }

  .pb .final .btn {
    width: 100%;
    min-height: 52px;
  }
  .pb .final .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .pb footer { padding-bottom: 96px; }

  .pb .mobile-cta {
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .pb .mobile-cta .btn {
    min-height: 48px;
    min-width: 132px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .pb .gallery { grid-template-columns: 1fr; }
  .pb .hero-meta { flex-direction: column; align-items: flex-start; }
}

/* Language switch lives in the page header */
/* language toggle stays visible */
.pb .lang-btn {
  position: relative;
  z-index: 80;
}

/* Video instruction */
.pb .video-sec {
  background: var(--surface);
  border-block: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.pb .video-shell {
  position: relative;
  width: min(100%, 720px);
  margin: 22px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: linear-gradient(145deg, #2a2420 0%, #191715 45%, #3d2f18 100%);
  box-shadow: 8px 8px 0 var(--accent);
}

.pb .video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #111;
}

.pb .video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 196, 0, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(25, 23, 21, 0.15), rgba(25, 23, 21, 0.55));
  color: var(--bg);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}

.pb .video-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  padding-left: 4px;
  box-shadow: 3px 3px 0 rgba(25, 23, 21, 0.35);
}

.pb .video-play-text {
  font-family: var(--hand);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.pb .video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 196, 0, 0.95);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pb .video-hint {
  margin: 16px auto 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 15px;
}

.pb .steps-under-video {
  margin-top: 36px;
  text-align: left;
}

@media (max-width: 767px) {
  .pb .video-shell {
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--accent);
    scroll-margin-top: 64px;
  }
  .pb .video-play-icon {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }
  .pb .steps-under-video {
    margin-top: 28px;
  }

  /* Sticky mobile menu: logo + Как заказать + Отзывы + lang */
  .pb .hd {
    position: sticky;
    top: 0;
    z-index: 50;
    height: auto;
    min-height: 56px;
    padding: 8px 0;
    background: rgba(245, 241, 232, 0.96);
  }
  .pb .hd .wrap {
    height: auto;
    min-height: 44px;
    gap: 6px;
    width: min(100% - 16px, 900px);
  }
  .pb .logo {
    font-size: 18px;
    flex: 0 0 auto;
  }
  .pb .hd-actions {
    gap: 6px;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
  }
  .pb .hd .btn-ghost.hd-nav,
  .pb .hd-nav {
    display: inline-flex !important;
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
    font-family: var(--font);
    font-weight: 600;
    white-space: nowrap;
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }
  .pb .hd-order {
    display: none;
  }
  .pb .lang-btn {
    min-height: 38px;
    min-width: 40px;
    padding: 7px 8px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    flex-shrink: 0;
  }
}

/* Reviews wall — real client screenshots */
.pb .reviews-sec {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.pb .review-quote {
  margin: 0 auto 28px;
  max-width: 520px;
  box-shadow: 4px 4px 0 var(--accent);
}

.pb .review-quote blockquote {
  margin: 0 0 12px;
  font-family: var(--hand);
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.3;
  color: var(--ink);
}

.pb .review-quote cite {
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  font-family: var(--font);
}

.pb .reviews-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
  align-items: start;
}

@media (min-width: 900px) {
  .pb .reviews-wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1040px;
    margin-inline: auto;
  }
}

.pb .review-shot {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--surface-2);
  box-shadow: 4px 4px 0 var(--accent);
  line-height: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pb .review-shot:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.pb .review-shot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  max-height: 420px;
}

@media (max-width: 767px) {
  .pb .reviews-wall { gap: 10px; }
  .pb .review-shot {
    border-radius: 14px;
    box-shadow: 3px 3px 0 var(--accent);
  }
  .pb .review-shot img {
    max-height: 320px;
  }
  .pb .review-quote {
    margin-bottom: 20px;
    padding: 16px;
  }
}

/* Uniform review card crop */
.pb .review-shot {
  aspect-ratio: 3 / 4;
}

.pb .review-shot img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}

.pb .video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Include kit in price */
.pb .include-box {
  margin: 18px auto 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.55);
  border: 1.5px dashed rgba(25, 23, 21, 0.35);
  text-align: left;
  max-width: 320px;
}

.pb .include-title {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  text-align: center;
}

.pb .include-list {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.35;
}

.pb .include-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.pb .include-list li::before {
  content: "✓";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--font);
}

.pb .pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Header nav chips match lang button */
.pb .hd-nav,
.pb .hd .btn-ghost {
  font-family: var(--font) !important;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  min-height: 40px;
  padding: 8px 14px;
  box-shadow: none;
}

.pb .hd-nav:hover {
  background: #fff8e0;
  border-color: var(--ink);
}

/* Memories — film perforation backdrop */
.pb .memories {
  background:
    linear-gradient(180deg, #e8dfc9 0%, #f5f1e8 12%, #f5f1e8 88%, #e8dfc9 100%);
  position: relative;
  overflow: hidden;
}

.pb .memories::before,
.pb .memories::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2222%22 height=%2212%22%3E%3Crect x=%223%22 y=%221.5%22 width=%2210%22 height=%229%22 rx=%222.4%22 fill=%22%23191715%22/%3E%3C/svg%3E");
  background-size: 28px 28px;
  background-repeat: repeat-x;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.pb .memories::before { top: 18px; }
.pb .memories::after { bottom: 18px; }

.pb .memories > .wrap {
  position: relative;
  z-index: 1;
}

.pb .memories-rail {
  background:
    repeating-linear-gradient(
      90deg,
      #1a1a1a 0 22px,
      #222 22px 24px
    );
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 18px 14px;
  margin: 22px auto 0;
  max-width: 100%;
}

.pb .memories-rail::before,
.pb .memories-rail::after {
  content: "";
  display: block;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2222%22 height=%2212%22%3E%3Crect x=%223%22 y=%221.5%22 width=%2210%22 height=%229%22 rx=%222.4%22 fill=%22%23f5f1e8%22/%3E%3C/svg%3E");
  background-size: 18px 10px;
  background-repeat: repeat-x;
  opacity: 0.95;
  margin-bottom: 8px;
}

.pb .memories-rail::after {
  margin: 8px 0 0;
}

.pb .memories-rail figure {
  border-color: #f5f1e8;
  box-shadow: none;
  border-radius: 4px;
  border-width: 2px;
  border-color: #c9c2b7;
}

/* Constructor mobile: bigger canister, tighter film */
@media (max-width: 767px) {
  .pb .hd-nav {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 12px;
    border-width: 1px;
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
    border-radius: 999px;
    font-family: var(--font);
    font-weight: 600;
  }
  .pb .lang-btn {
    min-height: 38px;
    min-width: 40px;
    padding: 7px 8px;
    font-family: var(--font);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    flex-shrink: 0;
  }

  .pb .mobile-cta {
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(25, 23, 21, 0.96);
    border-top: 0;
    border-radius: 0;
  }
  .pb .mobile-cta .price-wrap {
    min-width: 0;
    color: var(--bg);
  }
  .pb .mobile-cta .price {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
  }
  .pb .mobile-cta .small {
    color: rgba(245, 241, 232, 0.75);
    font-size: 12px;
  }
  .pb .mobile-cta .btn {
    min-height: 48px;
    min-width: 128px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    background: var(--accent);
    color: var(--ink);
    border-color: var(--accent);
    border-radius: 999px;
    flex-shrink: 0;
    box-shadow: none;
  }
}

/* Mobile CTA must not inherit price-card styles */
.pb .mobile-cta .price {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--accent);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  max-width: none;
}

.pb .mobile-cta .price .big,
.pb .mobile-cta .price-label {
  display: none;
}

/* Equal-height story cards */
.pb .gallery {
  align-items: stretch;
}

.pb .gallery figure {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pb .gallery figcaption {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.pb .gallery figcaption .btn {
  align-self: flex-start;
  margin-top: auto !important;
}


/* Memories: film strip look */
.pb .memories {
  background: #efe8da;
  overflow: hidden;
  position: relative;
}

.pb .memories-rail {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, #1c1c1c 0%, #111 100%);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(25, 23, 21, 0.22);
  padding: 20px 14px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2222%22 height=%2212%22%3E%3Crect x=%223%22 y=%221.5%22 width=%2210%22 height=%229%22 rx=%222.4%22 fill=%22%23f0ebe1%22/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2222%22 height=%2212%22%3E%3Crect x=%223%22 y=%221.5%22 width=%2210%22 height=%229%22 rx=%222.4%22 fill=%22%23f0ebe1%22/%3E%3C/svg%3E"),
    linear-gradient(180deg, #1c1c1c 0%, #111 100%);
  background-size: 22px 12px, 22px 12px, 100% 100%;
  background-position: 0 8px, 0 calc(100% - 8px), 0 0;
  background-repeat: repeat-x, repeat-x, no-repeat;
}

.pb .memories-rail::before,
.pb .memories-rail::after {
  display: none !important;
}

.pb .memories-rail figure {
  border: 2px solid #cfc7b8;
  border-radius: 3px;
  box-shadow: none;
  background: #222;
}

.pb .memories-hint {
  position: relative;
  z-index: 1;
}

/* Story cards: buttons at the same distance from text */
.pb .gallery figcaption {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 16px;
}

.pb .gallery figcaption > div {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1 auto;
}

.pb .gallery figcaption .btn {
  margin-top: 16px !important;
  align-self: flex-start;
}

.pb .gallery figcaption strong {
  margin-bottom: 8px !important;
}

.pb .gallery figcaption .small.muted {
  margin-top: 10px !important;
  flex: 0 0 auto;
}

/* Keep CTA gap from caption text identical in every story card */
.pb .gallery figcaption,
.pb .gallery figcaption > div {
  justify-content: flex-start !important;
  gap: 0 !important;
}

.pb .gallery figcaption .btn {
  margin-top: 18px !important;
}

/* Memories: no bg film silhouette; larger black strip (~+20%), calmer photos */
.pb .memories {
  background: #efe8da !important;
  overflow: hidden !important;
  position: relative !important;
}

.pb .memories::before,
.pb .memories::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.pb .memories-rail {
  max-width: min(92vw, 920px) !important;
  width: 100%;
  margin-inline: auto;
  padding: 28px 22px !important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2222%22 height=%2212%22%3E%3Crect x=%223%22 y=%221.5%22 width=%2210%22 height=%229%22 rx=%222.4%22 fill=%22%23f0ebe1%22/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2222%22 height=%2212%22%3E%3Crect x=%223%22 y=%221.5%22 width=%2210%22 height=%229%22 rx=%222.4%22 fill=%22%23f0ebe1%22/%3E%3C/svg%3E"),
    linear-gradient(180deg, #1c1c1c 0%, #111 100%) !important;
  background-size: 22px 12px, 22px 12px, 100% 100% !important;
  background-position: 0 10px, 0 calc(100% - 10px), 0 0 !important;
  background-repeat: repeat-x, repeat-x, no-repeat !important;
  border-radius: 22px !important;
}

.pb .memories-rail figure {
  flex: 0 0 min(62vw, 250px) !important;
  border: 2px solid #cfc7b8 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  background: #222 !important;
}

.pb .memories-rail img {
  height: min(70vw, 280px) !important;
  object-fit: cover !important;
}

.pb .hero-cta-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.pb .include-lead {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  opacity: 0.85;
}

.pb .pair-offer {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(25, 23, 21, 0.25);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.pb .final-note {
  margin: 14px 0 0;
  font-size: 13px;
  opacity: 0.75;
}

/* Audit: hero terms, occasion rail, chips, badges */
.pb .hero-terms {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 34em;
}

.pb .occ-rail {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
  padding: 4px 4px 16px;
  margin: 20px calc(var(--pad) * -1) 0;
  padding-inline: var(--pad);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pb .occ-rail::-webkit-scrollbar { display: none; }

.pb .occ-rail figure {
  flex: 0 0 min(84vw, 320px);
  scroll-snap-align: start;
  height: auto;
}

.pb .occ-btn {
  width: 100% !important;
  min-height: 48px !important;
  margin-top: 14px !important;
  align-self: stretch !important;
}

.pb .occasion-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
}

.pb .occasion-chip-x {
  border: 0;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 2px;
  min-height: 32px;
}

.pb .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pb .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
}

.pb .hero-visual-slot {
  border: 2px dashed var(--line);
  border-radius: 18px;
  background: var(--surface-2);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-size: 13px;
}

/* Frame develop animation */
@keyframes pb-develop {
  from { opacity: 0.35; filter: contrast(0.7) brightness(1.15); }
  to { opacity: 1; filter: none; }
}
.pb-develop {
  animation: pb-develop 350ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .pb-develop { animation: none; }
  .pb .btn:hover { transform: none; }
}

/* FAQ a11y accordion */
.pb .faq-item { border-bottom: 1px solid var(--line); }
.pb .faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  min-height: 48px;
}
.pb .faq-a p { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.pb .review-gift-slot {
  border: 2px dashed var(--line);
  border-radius: 16px;
  min-height: 120px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  margin: 16px 0;
  color: var(--muted);
  font-size: 13px;
  background: var(--surface-2);
}

/* Reviews horizontal */
.pb .reviews-wall.occ-rail figure {
  flex: 0 0 min(72vw, 280px);
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
}
.pb .reviews-wall.occ-rail img {
  height: 100%;
  max-height: none;
}


/* Premium editorial pass — warmer Kodak palette, less playful UI */
:root {
  --bg: #F5F0E6;
  --ink: #242019;
  --accent: #D7A62D;
  --accent-press: #BD8F20;
  --surface: #FFFCF6;
  --surface-2: #EAE1D2;
  --muted: #70685E;
  --line: #D7CBBB;
  --line-strong: #332B20;
  --shadow: 0 12px 36px rgba(36, 32, 25, 0.08);
}

.pb h1, .pb h2, .pb h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.pb h1 {
  font-size: clamp(42px, 6.4vw, 68px);
  line-height: 1.02;
}

.pb h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
}

.pb h3 {
  font-size: clamp(22px, 2.7vw, 28px);
  line-height: 1.14;
}

.pb .logo {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.pb .logo span { color: var(--ink); }

.pb .hd {
  background: rgba(245, 240, 230, 0.94);
  border-bottom-color: rgba(215, 203, 187, 0.8);
}

.pb .btn {
  border-radius: 12px;
  border-width: 1px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.pb .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #211D16;
  box-shadow: none;
}

.pb .btn-primary:hover {
  background: var(--accent-press);
  border-color: var(--accent-press);
  box-shadow: 0 5px 16px rgba(189, 143, 32, 0.18);
}

.pb .btn-primary:active { box-shadow: none; }

.pb .hero {
  background: #F5F1E8;
}

.pb .hero-visual .photo-main {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(36, 32, 25, 0.14);
}

.pb .examples {
  background: #EEE6D8;
  border-color: var(--line);
}

.pb .gallery figure {
  border: 1px solid rgba(51, 43, 32, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(36, 32, 25, 0.07);
}

.pb .gallery figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(36, 32, 25, 0.12);
}

.pb .gallery figcaption,
.pb .gallery figcaption > div {
  background: var(--surface);
}

.pb .gallery figcaption::before { background: var(--accent); }

.pb .builder {
  background: #F5F1E8;
}

.pb .builder-shell {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(36, 32, 25, 0.08);
}

.pb .builder-top { background: #F1E9DC; }

.pb .product-stage {
  background:
    radial-gradient(circle at 30% 20%, rgba(215,166,45,0.13), transparent 45%),
    linear-gradient(180deg, #E9E0D2 0%, #F7F2E8 100%);
}

.pb .trust-line {
  background: #F7EED6;
  border-color: #E5D3A1;
}

.pb .occasion-chip,
.pb .step-num {
  background: #E8D19A;
  border-color: #C9A34C;
}

.pb .trust-badge {
  border-color: var(--line);
  background: var(--surface);
  font-weight: 500;
}

.pb .memories {
  background: #E9E0D2 !important;
}

.pb .memories-rail {
  border-radius: 14px !important;
  box-shadow: 0 12px 30px rgba(36, 32, 25, 0.12);
}

.pb .reviews-sec { background: var(--bg); }

.pb .review-gift-slot { display: none; }

.pb .reviews-wall.occ-rail figure {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(36, 32, 25, 0.08);
}

.pb .faq-item { border-bottom-color: var(--line); }

.pb .faq-q { font-size: 16px; }

.pb .mobile-cta {
  background: rgba(255, 252, 246, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(36, 32, 25, 0.08);
}

@media (max-width: 767px) {
  .pb section { padding: 48px 0; }
  .pb .hero { padding: 28px 0 40px; }
  .pb .hero h1 { max-width: 12ch; }
  .pb .hero-actions { gap: 10px; }
  .pb .hero-actions .btn-primary { width: 100%; }
  .pb .hero-actions .btn-quiet { width: 100%; }
  .pb .builder-main,
  .pb .builder-side { padding: 20px 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .pb .gallery figure:hover { transform: none; }
}


/* Conversion and accessibility polish — Oct 2026 */
:root {
  --bg: #F5F1E8;
  --ink: #211D18;
  --accent: #F7BD18;
  --accent-press: #E5A900;
  --surface: #FFFEFA;
  --surface-2: #EEE6D8;
  --muted: #625A50;
  --line: #D8CDBB;
  --line-strong: #211D18;
  --shadow: 0 12px 32px rgba(33, 29, 24, 0.09);
}

.pb h1,
.pb h2,
.pb h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.pb h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
  max-width: 13ch;
}

.pb h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
}

.pb h3 {
  font-size: clamp(20px, 2.2vw, 25px);
}

.pb .logo,
.pb .hand,
.pb .price .big,
.pb .hero-visual .photo-badge {
  font-family: var(--hand);
  letter-spacing: 0;
}

.pb .btn {
  min-height: 48px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pb .btn-primary {
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.pb .btn-primary:hover {
  background: var(--accent-press);
  box-shadow: 4px 4px 0 var(--ink);
}

.pb .btn-primary:active {
  box-shadow: 1px 1px 0 var(--ink);
}

.pb .btn-ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: rgba(255, 254, 250, 0.5);
}

.pb .btn-quiet {
  color: var(--ink);
  font-weight: 600;
  text-decoration-thickness: 1.5px;
}

.pb .hd {
  background: rgba(247, 243, 235, 0.96);
  border-bottom-color: rgba(33, 29, 24, 0.12);
}

.pb .hd .logo {
  color: var(--ink);
  font-size: 27px;
}

.pb .hd .logo span {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 4px;
  text-underline-offset: 3px;
}

.pb .hero {
  padding-top: clamp(30px, 4vw, 56px);
}

.pb .hero-copy .eyebrow {
  color: #51483D;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pb .hero .lead {
  max-width: 31em;
  line-height: 1.6;
}

.pb .hero-meta strong {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 10px;
}

.pb .hero-terms,
.pb .hero-cta-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pb .hero-visual .photo-main {
  border-radius: 18px;
  border: 1px solid rgba(33, 29, 24, 0.18);
  box-shadow: 12px 12px 0 rgba(247, 189, 24, 0.22);
}

.pb .examples {
  background: #F0E8DA;
}

.pb .gallery figure,
.pb .memories-rail figure {
  border: 1px solid rgba(33, 29, 24, 0.16);
  box-shadow: 0 8px 24px rgba(33, 29, 24, 0.08);
}

.pb .gallery figure:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(33, 29, 24, 0.12);
}

.pb .gallery figcaption::before {
  border: 0;
}

.pb .builder-shell {
  box-shadow: 0 14px 36px rgba(33, 29, 24, 0.1);
}

.pb .price {
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--ink);
}

.pb .price .btn-primary {
  background: var(--ink);
  color: var(--accent);
  box-shadow: 3px 3px 0 rgba(33, 29, 24, 0.3);
}

.pb .price .btn-primary:hover {
  background: #383027;
}

.pb .faq-item {
  border-bottom: 1px solid var(--line);
}

.pb .faq-q {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: 600 16px/1.45 var(--font);
  cursor: pointer;
}

.pb .faq-q > span:last-child {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
}

.pb .faq-q:focus-visible {
  outline: 3px solid var(--accent-press);
  outline-offset: 3px;
}

.pb .faq-a {
  padding: 0 42px 16px 0;
  color: var(--muted);
}

.pb .faq-a p {
  margin: 0;
  line-height: 1.65;
}

.pb .mobile-cta {
  background: rgba(255, 254, 250, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(33, 29, 24, 0.1);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.pb .mobile-cta .btn-primary {
  min-height: 48px;
  box-shadow: 2px 2px 0 var(--ink);
}

.pb :is(a, button, input, select, textarea):focus-visible {
  outline-color: var(--accent-press);
}

.pb .step,
.pb .radio-card,
.pb .summary-box {
  border-color: var(--line);
}

.pb .dropzone {
  border-color: #9A8B75;
}

.pb .dropzone:hover,
.pb .dropzone:focus-visible,
.pb .dropzone.drag {
  border-color: var(--ink);
}

@media (max-width: 639px) {
  .pb {
    padding-bottom: 86px;
  }

  .pb .hero {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .pb .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .pb .hero-copy,
  .pb .hero-visual {
    width: 100%;
  }

  .pb .hero h1 {
    max-width: 15ch;
    font-size: clamp(36px, 10vw, 48px);
  }

  .pb .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pb .hero-actions .btn-primary {
    width: 100%;
    min-height: 56px;
  }

  .pb .hero-actions .btn-quiet {
    justify-self: center;
  }

  .pb .hero-visual {
    margin-top: 0;
  }

  .pb .hero-visual .photo-main {
    max-height: 500px;
    object-position: center;
  }

  .pb .hd-actions {
    gap: 6px;
  }

  .pb .hd .btn-sm {
    padding-inline: 11px;
  }

  .pb .mobile-cta {
    gap: 12px;
  }

  .pb .mobile-cta .price-wrap .small {
    font-size: 12px;
  }

  .pb .mobile-cta .btn-primary {
    min-width: 132px;
    padding-inline: 14px;
    white-space: normal;
    line-height: 1.2;
  }

  .pb .faq-q {
    font-size: 15px;
  }
}

@media (min-width: 900px) {
  .pb .hero-grid {
    gap: clamp(36px, 5vw, 64px);
  }
}


/* Sticky CTA refinement: one action, clear price, stronger contrast */
.pb .mobile-cta {
  background: #29241D;
  color: #FFFCF6;
  border-top: 1px solid rgba(255, 252, 246, 0.16);
  box-shadow: 0 -10px 30px rgba(25, 21, 16, 0.2);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 14px;
}

.pb .mobile-cta-price {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pb .mobile-cta-amount {
  color: #FFFCF6;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.pb .mobile-cta-note {
  color: #E4D8C5;
  font-size: 12px;
  line-height: 1.3;
}

.pb .mobile-cta .mobile-cta-button {
  flex: 0 0 auto;
  min-width: 138px;
  min-height: 48px;
  padding: 11px 16px;
  background: #F7BD18;
  color: #211D18;
  border: 2px solid #F7BD18;
  border-radius: 10px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.pb .mobile-cta .mobile-cta-button:hover {
  background: #FFD24A;
  border-color: #FFD24A;
}

.pb .mobile-cta .mobile-cta-button:active {
  background: #E5A900;
  border-color: #E5A900;
}

@media (max-width: 380px) {
  .pb .mobile-cta {
    gap: 8px;
    padding-inline: 10px;
  }
  .pb .mobile-cta .mobile-cta-button {
    min-width: 126px;
    padding-inline: 11px;
    font-size: 13px;
  }
}

/* Unified button shape across the PhotoBrelok UI.
   Keep visual hierarchy through color, not inconsistent corner radii. */
.pb .btn,
.pb .btn-primary,
.pb .btn-ghost,
.pb .btn-quiet,
.pb .btn-sm,
.pb .mobile-cta .btn,
.pb .gallery figcaption .btn {
  border-radius: 12px !important;
}


/* ===== Offer block (price / risks / delivery) ===== */
.pb .offer-sec {
  padding: 36px 0 28px;
}
.pb .offer-grid {
  display: grid;
  gap: 18px;
}
.pb .offer-card {
  background: var(--accent);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  padding: 22px 20px 20px;
  box-shadow: 3px 3px 0 var(--ink);
}
.pb .offer-eyebrow {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.pb .offer-price {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(42px, 11vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pb .offer-tagline {
  margin: 10px 0 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.pb .offer-divider {
  height: 1px;
  margin: 18px 4px;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
}
.pb .offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.pb .offer-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.pb .offer-list strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}
.pb .offer-list span {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  line-height: 1.4;
  opacity: 0.92;
}
.pb .offer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  margin-top: 1px;
}
.pb .offer-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pb .offer-risk-title {
  margin: 8px 0 0;
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.pb .offer-list-plain {
  gap: 18px;
}
.pb .offer-list-plain strong {
  font-size: 18px;
}
.pb .offer-list-plain span {
  font-size: 15px;
  opacity: 0.88;
}
.pb .offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  margin-top: 6px;
  padding: 14px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.pb .offer-cta:hover {
  opacity: 0.92;
}
.pb .offer-cta:active {
  transform: scale(0.98);
}
.pb .offer-cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.pb .offer-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 16px;
  padding: 12px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.pb .offer-tg:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}
.pb .offer-tg:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.pb .offer-delivery {
  margin-top: 28px;
  padding-top: 8px;
}
.pb .offer-delivery-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 800;
}
.pb .offer-delivery-row {
  padding: 14px 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.pb .offer-delivery-row:last-of-type {
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
}
.pb .offer-delivery-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.pb .offer-delivery-head strong {
  font-size: 17px;
  font-weight: 800;
}
.pb .offer-delivery-head em {
  font-style: normal;
  font-size: 17px;
  font-weight: 800;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  white-space: nowrap;
}
.pb .offer-delivery-row p {
  margin: 4px 0 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.pb .offer-facts {
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 18px;
  background: #e8e0d2;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.pb .offer-facts-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
}
.pb .offer-facts p + p {
  margin: 8px 0 0;
}
.pb .offer-facts p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
}

@media (min-width: 860px) {
  .pb .offer-sec {
    padding: 56px 0 40px;
  }
  .pb .offer-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: stretch;
  }
  .pb .offer-card {
    padding: 32px 28px 28px;
  }
  .pb .offer-price {
    font-size: 64px;
  }
  .pb .offer-tagline {
    font-size: 20px;
  }
  .pb .offer-delivery {
    margin-top: 36px;
    max-width: 720px;
  }
  .pb .offer-facts {
    max-width: 720px;
    padding: 20px 22px;
  }
}


/* ===== Hero card (first screen) ===== */
.pb .hero-card {
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
  border: 1.5px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 28px;
  padding: 28px 22px 24px;
}
.pb .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.pb .eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.pb .hero-card h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 9vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.pb .hero-card .lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
  max-width: 34em;
}
.pb .hero-price-block {
  margin-top: 18px;
}
.pb .hero-price {
  font-family: var(--font);
  font-size: clamp(36px, 9vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pb .hero-price-note {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
}
.pb .hero-feats {
  margin: 4px 0 18px;
}
.pb .hero-feats strong {
  font-size: 18px;
}
@media (min-width: 900px) {
  .pb .hero-card {
    padding: 36px 32px 30px;
  }
  .pb .hero-card h1 {
    font-size: 48px;
  }
  .pb .hero-card .lead {
    font-size: 19px;
  }
}


/* ===== Hero unified card + yellow CTA ===== */
.pb .hero-unified {
  display: grid;
  gap: 22px;
}
.pb .hero-unified-copy {
  min-width: 0;
}
.pb .hero-unified-media {
  min-width: 0;
}
.pb .hero-unified .hero-video-wrap {
  border-radius: 22px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  box-shadow: none;
  max-height: 560px;
  margin: 0;
}
.pb .hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 8px;
  padding: 16px 26px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pb .hero-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.pb .hero-cta-btn:active {
  transform: scale(0.98);
}
.pb .hero-cta-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (min-width: 900px) {
  .pb .hero-unified {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
  }
  .pb .hero-unified .hero-video-wrap {
    max-width: 340px;
    margin-left: auto;
  }
}


/* ===== Final CTA + Footer (mockup) ===== */
.pb .final-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 48px 0 42px;
}
.pb .final-eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.pb .final-title {
  margin: 0 0 18px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(36px, 9vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.pb .final-title em {
  font-style: italic;
  font-weight: 600;
}
.pb .final-lead {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.45;
  color: color-mix(in srgb, var(--bg) 92%, transparent);
  max-width: 22em;
}
.pb .final-btn {
  max-width: 520px;
}
.pb .final-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--bg);
}
.pb .final-phone svg {
  color: var(--accent);
  flex-shrink: 0;
}
.pb .final-phone a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}
.pb .final-phone a:hover {
  text-decoration: underline;
}
.pb .final-note {
  margin: 18px 0 0;
  font-size: 15px;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}

/* Footer */
.pb .foot {
  background: var(--bg);
  color: var(--ink);
  padding: 40px 0 48px;
}
.pb .foot-logo {
  margin: 0 0 22px;
  font-family: var(--font);
  font-size: 34px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
}
.pb .foot-logo span {
  color: var(--accent);
  font-weight: 700;
}
.pb .foot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pb .foot-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.pb .foot-list svg {
  color: var(--ink);
  flex-shrink: 0;
}
.pb .foot-list a {
  color: var(--ink);
  text-decoration: none;
}
.pb .foot-list a:hover {
  text-decoration: underline;
}
.pb .foot-note {
  margin: 16px 0 0;
  font-size: 15px;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}
.pb .foot-divider {
  height: 1px;
  margin: 22px 0;
  background: color-mix(in srgb, var(--ink) 16%, transparent);
}
.pb .foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 18px;
}
.pb .foot-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pb .foot-social a:hover {
  opacity: 0.8;
}

.pb .foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.pb .foot-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pb .foot-legal a:hover {
  color: var(--ink);
}

/* Mobile sticky CTA matches mock */
.pb .mobile-cta {
  background: var(--ink);
  color: var(--bg);
}
.pb .mobile-cta-amount {
  color: var(--bg);
  font-size: 22px;
}
.pb .mobile-cta-note {
  color: color-mix(in srgb, var(--bg) 72%, transparent);
}
.pb .mobile-cta-button {
  width: auto;
  min-height: 48px;
  min-width: 140px;
  margin: 0;
  padding: 12px 20px;
  font-size: 16px;
  box-shadow: none;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .pb .final-cta {
    padding: 64px 0 56px;
  }
  .pb .final-title {
    max-width: 12em;
  }
}


/* Builder header block — same light as constructor */
.pb .builder {
  background: #F5F1E8 !important;
}
.pb .builder > .wrap {
  padding-top: 28px;
  padding-bottom: 8px;
}
.pb .builder h2 {
  margin: 0 0 10px;
}
.pb .builder .lead {
  margin: 0;
  max-width: 40em;
}


/* Occasions: desktop full-width single row */
@media (min-width: 900px) {
  .pb .examples .wrap {
    max-width: none;
    width: 100%;
    padding-inline: 28px;
  }
  .pb .examples .occ-rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
    gap: 18px;
    width: 100%;
  }
  .pb .examples .occ-rail figure {
    flex: none;
    width: auto;
    min-width: 0;
  }
}


/* Final CTA desktop composition */
.pb .final-cta-grid {
  display: grid;
  gap: 28px;
}
.pb .final-cta-copy {
  min-width: 0;
}
.pb .final-cta-actions {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.pb .final-btn {
  width: 100%;
  max-width: 420px;
}
@media (min-width: 900px) {
  .pb .final-cta {
    padding: 72px 0 64px;
  }
  .pb .final-cta-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }
  .pb .final-title {
    font-size: clamp(42px, 4.6vw, 58px);
    max-width: 11em;
    margin-bottom: 20px;
  }
  .pb .final-lead {
    font-size: 19px;
    max-width: 28em;
    margin: 0;
  }
  .pb .final-btn {
    max-width: 360px;
    margin-top: 0;
  }
  .pb .final-phone {
    margin-top: 22px;
    font-size: 19px;
  }
  .pb .final-note {
    margin-top: 16px;
    font-size: 15px;
  }
}


/* Alignment system: all section titles + leads centered */
.pb section h1,
.pb section h2,
.pb section h3,
.pb section .lead,
.pb .builder h2,
.pb .builder .lead,
.pb .offer-risk-title,
.pb .offer-delivery-title,
.pb .final-eyebrow,
.pb .final-title,
.pb .final-lead,
.pb .final-note,
.pb .final-phone,
.pb .faq h2 {
  text-align: center;
}
.pb .final-cta-grid {
  justify-items: center;
}
.pb .final-btn {
  margin-inline: auto;
}
.pb .hero-card {
  text-align: center;
}
.pb .hero-card .lead,
.pb .hero-price-note {
  margin-inline: auto;
}
.pb .hero-feats {
  text-align: left;
}

.pb .final-cta-actions {
  align-items: center;
  text-align: center;
}
.pb .examples h2,
.pb .examples .lead,
.pb .reviews-sec h2,
.pb .reviews-sec .lead,
.pb .memories h2,
.pb .video-sec h2,
.pb .video-sec .lead,
.pb #pain h2,
.pb #pain .lead {
  text-align: center;
}


/* Hero: left-aligned (mockup) */
.pb .hero-card {
  text-align: left !important;
}
.pb .hero-card .lead,
.pb .hero-price-note {
  margin-inline: 0;
  text-align: left;
}
.pb .hero-cta-btn {
  margin-inline: 0;
}

/* Occasions: full-width even row */
@media (min-width: 900px) {
  .pb .examples {
    overflow: hidden;
  }
  .pb .examples > .wrap {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 24px;
  }
  .pb .examples .occ-rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: none !important;
    gap: 18px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .pb .examples .occ-rail figure {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* Reviews: photos centered as one block */
@media (min-width: 900px) {
  .pb .reviews-sec .wrap {
    width: min(100% - 48px, 1200px);
  }
  .pb .reviews-sec .gallery,
  .pb .reviews-wall,
  .pb .reviews-sec .occ-rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100%;
    gap: 18px;
    overflow: visible;
    margin-inline: 0;
  }
  .pb .reviews-sec figure {
    flex: none !important;
    width: 100% !important;
  }
  .pb .reviews-sec .lead,
  .pb .reviews-sec h2,
  .pb .reviews-hint {
    text-align: center;
  }
}

@media (min-width: 900px) {
  .pb .reviews-wall.occ-rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: visible !important;
  }
  .pb .reviews-wall.occ-rail figure,
  .pb .review-shot {
    flex: none !important;
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 3 / 4;
  }
  .pb .reviews-wall.occ-rail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}


/* Builder lead + occasions lead: centered */
.pb .builder h2,
.pb .builder .lead,
.pb .examples h2,
.pb .examples .lead {
  text-align: center !important;
  margin-inline: auto;
}
.pb .builder .lead {
  max-width: 40em;
}
.pb .examples .lead {
  max-width: 36em;
}

/* Hero title + copy: left */
.pb .hero-card,
.pb .hero-card h1,
.pb .hero-card .lead,
.pb .hero-card .eyebrow,
.pb .hero-price-block {
  text-align: left !important;
}


/* Desktop layout width — match occasions fullness */
@media (min-width: 900px) {
  .pb {
    --max: 1360px;
  }
  .pb .wrap {
    width: min(100% - 48px, var(--max));
  }
  .pb .wrap-narrow {
    width: min(100% - 48px, 820px);
  }
  .pb .hero-unified {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
  .pb .offer-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 32px;
  }
  .pb .final-cta-grid {
    gap: 56px;
  }
}


/* Memories: all photos in one row on desktop */
@media (min-width: 900px) {
  .pb .memories > .wrap {
    width: min(100% - 48px, 1360px) !important;
    max-width: none !important;
  }
  .pb .memories-rail {
    max-width: none !important;
    width: 100% !important;
    display: flex !important;
    gap: 14px !important;
    overflow: visible !important;
    justify-content: space-between;
  }
  .pb .memories-rail figure {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }
  .pb .memories-rail img {
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
}

/* Constructor stage uses full width */
.pb .builder #constructor {
  width: 100%;
  max-width: none;
}
.pb .pb-stage {
  width: 100%;
}


/* Occasion cards: equal height, buttons aligned */
@media (min-width: 900px) {
  .pb .examples .occ-rail {
    align-items: stretch;
  }
  .pb .examples .occ-rail figure {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .pb .examples .occ-rail figcaption {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .pb .examples .occ-rail figcaption > div {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
  }
  .pb .examples .occ-rail .occ-btn {
    margin-top: auto !important;
    align-self: stretch;
  }
}


/* Reviews: all screenshots in one full-width row */
@media (min-width: 900px) {
  .pb .reviews-sec > .wrap {
    width: min(100% - 48px, 1360px) !important;
    max-width: none !important;
  }
  .pb .reviews-wall.occ-rail {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    margin-inline: 0 !important;
  }
  .pb .reviews-wall.occ-rail figure,
  .pb .review-shot {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    aspect-ratio: 3 / 4;
  }
  .pb .reviews-wall.occ-rail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}


/* Mobile: full content width, one row for review shots */
@media (max-width: 899px) {
  .pb {
    --pad: 12px;
  }
  .pb .wrap,
  .pb .wrap-narrow {
    width: calc(100% - 16px);
  }
  .pb .reviews-wall.occ-rail,
  .pb .occ-rail {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    overflow-x: visible !important;
    overflow: visible !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
  .pb .reviews-wall.occ-rail figure,
  .pb .review-shot,
  .pb .occ-rail figure {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    max-width: none !important;
  }
  .pb .reviews-wall.occ-rail img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
  }
  .pb .examples .occ-rail figure {
    flex: 1 1 0 !important;
  }
  .pb .gallery.occ-rail img {
    height: 110px;
    object-fit: cover;
  }
  .pb .gallery figcaption {
    padding: 8px 6px 10px;
    font-size: 12px;
  }
  .pb .gallery figcaption .btn {
    min-height: 40px;
    font-size: 12px;
    padding: 8px;
  }
}


/* Hide occasion chip under builder on mobile */
@media (max-width: 899px) {
  .pb .occasion-chip {
    display: none !important;
  }
}


/* Mobile occasions: horizontal scroll again; buttons aligned at card bottom */
@media (max-width: 899px) {
  .pb .examples .occ-rail {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin-inline: calc(var(--pad) * -1) !important;
    padding-inline: var(--pad) !important;
    padding-bottom: 12px;
  }
  .pb .examples .occ-rail figure {
    flex: 0 0 min(78vw, 300px) !important;
    width: auto !important;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
  }
  .pb .examples .occ-rail figcaption {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .pb .examples .occ-rail figcaption > div {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
  }
  .pb .examples .occ-rail .occ-btn {
    margin-top: auto !important;
  }
}


/* Mobile reviews: horizontal swipe, readable size */
@media (max-width: 899px) {
  .pb .reviews-wall.occ-rail {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    width: auto !important;
    max-width: none !important;
    margin-inline: calc(var(--pad) * -1) !important;
    padding-inline: var(--pad) !important;
    padding-bottom: 10px;
  }
  .pb .reviews-wall.occ-rail figure,
  .pb .review-shot {
    flex: 0 0 min(70vw, 280px) !important;
    width: auto !important;
    max-width: none !important;
    scroll-snap-align: start;
  }
  .pb .reviews-wall.occ-rail img {
    width: 100% !important;
    height: min(95vw, 380px) !important;
    object-fit: cover !important;
  }
}


/* Occasion card photos: natural crop, not extreme */
@media (max-width: 899px) {
  .pb .gallery.occ-rail img,
  .pb .examples .occ-rail img {
    height: auto !important;
    max-height: 220px !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }
  .pb .examples .occ-rail figure {
    flex: 0 0 min(78vw, 300px) !important;
  }
}


/* Header logo = footer logo style */
.pb .hd .logo,
.pb .logo {
  font-family: var(--font) !important;
  font-style: italic !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.pb .hd .logo span,
.pb .logo span {
  color: var(--accent) !important;
  font-weight: 700;
}


/* Offer bottom: delivery + facts balanced */
.pb .offer-bottom {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.pb .offer-delivery {
  margin-top: 0;
}
.pb .offer-delivery {
  max-width: none !important;
}
.pb .offer-facts {
  max-width: none !important;
  margin-top: 0;
}
.pb .offer-delivery-title {
  text-align: center;
}
.pb .offer-tg {
  max-width: 720px;
  margin-inline: auto;
}
@media (min-width: 900px) {
  .pb .offer-bottom {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 28px;
    align-items: start;
    margin-top: 36px;
  }
  .pb .offer-delivery-title {
    margin-bottom: 18px;
  }
  .pb .offer-facts {
    border-radius: 20px;
    padding: 22px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}


/* Hero video: wider crop */
.pb .hero-video-wrap {
  aspect-ratio: 4 / 5 !important;
  max-height: 520px !important;
}
.pb .hero-video {
  object-fit: cover !important;
  object-position: center 35%;
}
@media (min-width: 900px) {
  .pb .hero-video-wrap {
    aspect-ratio: 4 / 5;
    max-width: 380px !important;
    max-height: 480px !important;
  }
}


/* Header logo smaller on mobile so it never covers CTA */
@media (max-width: 640px) {
  .pb .hd .logo {
    font-size: 15px !important;
    letter-spacing: -0.03em;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
  }
  .pb .hd-actions {
    flex-shrink: 0;
    z-index: 1;
    position: relative;
  }
}


/* Header: centered logo + lang only */
.pb .hd-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
.pb .hd-bar .logo {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-size: 22px !important;
}
.pb .hd-bar .hd-actions {
  grid-column: 3;
  justify-self: end;
  z-index: 1;
}
.pb .lang-btn {
  min-width: 44px;
  min-height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
}
.pb .lang-btn:hover {
  background: var(--accent);
}
.pb .lang-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .pb .hd-bar .logo {
    font-size: 15px !important;
  }
}


/* Header: true center logo, louder lang */
.pb .hd {
  position: sticky;
  top: 0;
  z-index: 40;
}
.pb .hd-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}
.pb .hd-bar .logo {
  font-size: 30px !important;
  font-weight: 800 !important;
  font-style: italic !important;
  letter-spacing: -0.03em;
  margin: 0;
  flex: 0 1 auto;
}
.pb .hd-bar .hd-actions {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.pb .lang-btn {
  min-width: 48px;
  min-height: 44px;
  border-radius: 999px !important;
  border: 2px solid var(--ink) !important;
  background: var(--accent) !important;
  color: var(--ink) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  padding: 10px 14px !important;
  box-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 0.04em;
}
.pb .lang-btn:hover {
  transform: translateY(-1px);
}
.pb .lang-btn:active {
  transform: scale(0.96);
}
.pb .lang-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .pb .hd-bar .logo {
    font-size: 18px !important;
  }
  .pb .lang-btn {
    min-width: 44px;
    min-height: 40px;
    font-size: 13px !important;
    padding: 8px 12px !important;
  }
}


/* Header: logo absolute center, wide lang toggle */
.pb .hd-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 56px;
}
.pb .hd-bar .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px !important;
  white-space: nowrap;
  z-index: 0;
}
.pb .hd-bar .hd-actions {
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.pb .lang-btn {
  min-width: 88px !important;
  min-height: 44px !important;
  border-radius: 999px !important;
  border: 2px solid var(--ink) !important;
  background: var(--accent) !important;
  color: var(--ink) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  padding: 10px 18px !important;
  box-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pb .lang-btn:hover {
  filter: brightness(0.96);
}
.pb .lang-btn:active {
  transform: scale(0.97);
}
@media (max-width: 640px) {
  .pb .hd-bar .logo {
    font-size: 17px !important;
  }
  .pb .lang-btn {
    min-width: 76px !important;
    font-size: 14px !important;
    padding: 8px 14px !important;
  }
}


/* Lang button: full name, never overflow header */
.pb .hd-bar {
  overflow: hidden;
}
.pb .hd-bar .hd-actions {
  max-width: 46vw;
  flex-shrink: 1;
}
.pb .lang-btn {
  min-width: 0 !important;
  width: auto !important;
  max-width: 46vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 16px !important;
  font-size: 14px !important;
}
.pb .hd-bar .logo {
  max-width: 44vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .pb .lang-btn {
    font-size: 12px !important;
    padding: 8px 12px !important;
  }
  .pb .hd-bar .logo {
    font-size: 15px !important;
    max-width: 38vw;
  }
}


/* Logo strip uses the exact header background */
.pb .hd,
.pb .hd-bar {
  background: inherit;
}
.pb .hd-bar {
  background: transparent;
}
.pb .hd .wrap.hd-bar {
  background: transparent;
}


/* Header seamless: no border line, lang fits inside */
.pb .hd {
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.pb .hd-bar {
  overflow: visible !important;
  padding-block: 6px;
}
.pb .hd-bar .hd-actions {
  max-width: 52vw;
}
.pb .lang-btn {
  max-width: 52vw !important;
  min-height: 36px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pb .hero {
  border-top: 0 !important;
}
@media (max-width: 640px) {
  .pb .lang-btn {
    min-height: 34px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
  }
}




/* No seam lines between sections */
.pb section,
.pb .examples,
.pb .memories,
.pb .hd {
  border-block: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}


/* Mobile header: bigger logo, lang fits fully */
@media (max-width: 640px) {
  .pb .hd-bar {
    min-height: 52px;
    padding: 4px 10px;
  }
  .pb .hd-bar .logo {
    font-size: 22px !important;
    max-width: 50vw;
    overflow: visible;
    text-overflow: clip;
  }
  .pb .hd-bar .hd-actions {
    max-width: 42vw;
  }
  .pb .lang-btn {
    max-width: 42vw !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: auto;
    box-sizing: border-box;
  }
}


/* Lang button must never shrink or clip */
.pb .hd-bar {
  overflow: visible !important;
}
.pb .hd-bar .hd-actions {
  flex-shrink: 0 !important;
  max-width: none !important;
}
.pb .lang-btn {
  flex-shrink: 0 !important;
  width: max-content !important;
  max-width: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
}
.pb .hd-bar .logo {
  max-width: 36vw;
}
@media (max-width: 480px) {
  .pb .hd-bar .logo {
    font-size: 18px !important;
    max-width: 32vw;
  }
  .pb .lang-btn {
    font-size: 11px !important;
    padding: 7px 10px !important;
  }
}


/* FINAL mobile header lock */
@media (max-width: 768px) {
  .pb .hd-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    overflow: visible !important;
  }
  .pb .hd-bar .logo {
    position: static !important;
    transform: none !important;
    left: auto !important;
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none !important;
    font-size: 20px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .pb .hd-bar .hd-actions {
    order: 2;
    position: static !important;
    transform: none !important;
    margin-left: 0;
    flex: 0 0 auto;
    max-width: none !important;
  }
  .pb .lang-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 96px;
    min-height: 38px;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    letter-spacing: 0 !important;
  }
}


/* Desktop header polish */
@media (min-width: 769px) {
  .pb .hd-bar {
    min-height: 64px;
    padding: 10px 0;
  }
  .pb .hd-bar .logo {
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px !important;
  }
  .pb .lang-btn {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 14px;
  }
  .pb .hero {
    padding-top: 8px;
  }
  .pb .hero-unified {
    gap: 36px;
  }
}


/* Logo never clipped */
.pb .hd-bar .logo {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  max-width: none !important;
}
@media (max-width: 480px) {
  .pb .hd-bar .logo {
    font-size: 16px !important;
    max-width: none !important;
    overflow: visible !important;
  }
  .pb .lang-btn {
    min-width: 0;
    font-size: 11px !important;
    padding: 7px 9px !important;
  }
}
.pb .offer-tg-btn {
  gap: 8px;
}

/* YouTube facade — loads iframe only on click */
.pb .yt-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}
.pb .yt-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.pb .yt-facade:hover .yt-facade-thumb {
  opacity: 1;
}
.pb .yt-facade-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pb .video-shell iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* Price Anchoring Styles */
.pb .hero-price-anchor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.pb .hero-price-anchor-icon {
  font-size: 14px;
}
.pb .offer-price-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 10px auto 0;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(25, 23, 21, 0.08);
  border: 1px solid rgba(25, 23, 21, 0.14);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

/* a11y: зоны нажатия в футере не меньше 44px (WCAG 2.2 SC 2.5.8, рекомендация 44) */
.pb .foot-list a,
.pb .foot-social a,
.pb .foot-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* a11y: фокус на прокручиваемой ленте виден */
#film-scroll:focus-visible {
  outline: 3px solid var(--accent, #FFC400);
  outline-offset: 2px;
}

/* Кнопка паузы видео стоит слева от кнопки звука (WCAG 2.2.2) */
.pb .hero-video-play { right: 64px; }

/* Skip-link: виден только при фокусе с клавиатуры */
.pb .skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 10001;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}
.pb .skip-link:focus { top: 12px; outline: 3px solid var(--accent); outline-offset: 2px; }

/* Строка доверия под главной кнопкой */
.pb .hero-trust {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}
/* Комплект в карточке цены */
.pb .offer-include-title {
  margin: 0 0 12px;
  font-size: 15px;
  color: color-mix(in srgb, var(--ink) 75%, transparent);
}
/* Отметка о торговых марках в футере */
.pb .foot-trademark {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* === Пакет 1: доступность — область касания расширена невидимым слоем, раскладка не меняется === */
.pb .logo, .pb .lang-btn { position: relative; }
.pb .logo::after { content: ""; position: absolute; inset: -14px -8px; }
.pb .lang-btn::after { content: ""; position: absolute; inset: -4px; }
.pb .foot-note { color: var(--muted); }

/* === Пакет 2: строка условий под главной кнопкой === */
.pb .hero-conditions { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: var(--muted); }

/* === Пакет 3: второй брелок в предложении и две ссылки на чат === */
.pb .offer-second { margin: 10px 0 0; font-size: 15px; line-height: 1.45; font-weight: 500; }
.pb .offer-chat-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
