:root {
  --cream: #f4ede3;
  --cream-deep: #e9dccb;
  --paper: #fffaf3;
  --chocolate: #33211d;
  --chocolate-soft: #654d46;
  --terracotta: #a44932;
  --terracotta-dark: #7b2f20;
  --gold: #a77d48;
  --success: #276449;
  --error: #9b2f24;
  --line: rgba(51, 33, 29, 0.17);
  --shadow: 0 1.6rem 4.5rem rgba(67, 38, 29, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-width: 74rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--chocolate);
  background:
    radial-gradient(circle at 8% 0%, rgba(167, 125, 72, 0.11), transparent 28rem),
    var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body:has(dialog[open]) {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
label,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(164, 73, 50, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  color: var(--paper);
  background: var(--chocolate);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(calc(100% - 4rem), var(--page-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: -0.055em;
}

h2 {
  max-width: 100%;
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 40rem;
  color: var(--chocolate-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
}

.button {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--chocolate);
  border-radius: 999px;
  cursor: pointer;
  color: var(--paper);
  background: var(--chocolate);
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--terracotta-dark);
  box-shadow: 0 0.8rem 1.8rem rgba(51, 33, 29, 0.18);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-compact {
  min-height: 2.75rem;
  padding-inline: 1rem;
  font-size: 0.9rem;
}

.button-wide {
  width: 100%;
}

.text-link {
  color: var(--terracotta-dark);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(51, 33, 29, 0.1);
  background: rgba(244, 237, 227, 0.93);
  backdrop-filter: blur(1rem);
}

.header-inner {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.hero {
  padding-block: 1rem;
}

.hero-stage {
  position: relative;
  display: grid;
  min-height: min(42rem, calc(100svh - 6.0625rem));
  align-items: center;
  overflow: hidden;
  border-block: 1px solid rgba(51, 33, 29, 0.14);
  isolation: isolate;
}

.hero-copy-panel {
  position: relative;
  z-index: 2;
  width: 57%;
  padding: clamp(1.75rem, 4vh, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(2.5rem, 4.25vw, 4rem);
  line-height: 1.06;
  text-wrap: balance;
}

.hero-copy-panel::before {
  position: absolute;
  inset: -15% -30% -15% -10%;
  z-index: -1;
  background: linear-gradient(90deg, rgba(244, 237, 227, 0.99) 0%, rgba(244, 237, 227, 0.95) 58%, rgba(244, 237, 227, 0) 100%);
  content: "";
}

.hero-copy .lede {
  max-width: 31rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.1rem;
}

.price-note {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  color: var(--chocolate-soft);
  font-size: 0.78rem;
  line-height: 1.2;
}

.price-note strong {
  color: var(--chocolate);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  white-space: nowrap;
}

.microcopy,
.summary-note,
.form-note,
.field-hint {
  color: var(--chocolate-soft);
  font-size: 0.9rem;
}

.image-placeholder {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 22rem;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.4rem, 5vw, 3rem);
  border: 1px solid rgba(51, 33, 29, 0.2);
  border-radius: 1.7rem;
  color: var(--cream);
  background:
    linear-gradient(145deg, rgba(164, 73, 50, 0.84), rgba(51, 33, 29, 0.97)),
    var(--chocolate);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.image-placeholder::before {
  position: absolute;
  inset: 1rem;
  z-index: -1;
  border: 1px solid rgba(255, 250, 243, 0.28);
  border-radius: 1.15rem;
  content: "";
}

.placeholder-copy {
  max-width: 32rem;
  text-align: center;
}

.placeholder-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.34rem 0.68rem;
  border: 1px solid rgba(255, 250, 243, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.placeholder-copy strong {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.08;
}

.placeholder-copy p {
  margin-bottom: 0.4rem;
  color: rgba(255, 250, 243, 0.83);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-media {
  --hero-image: url("./images/burgundy/hero-desktop.webp");
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(244, 237, 227, 0.98) 0%, rgba(244, 237, 227, 0.86) 38%, rgba(77, 39, 31, 0.08) 58%, rgba(51, 33, 29, 0.36) 100%),
    var(--hero-image),
    var(--cream);
  background-position: center, right center, center;
  background-size: 100% 100%, auto 100%, 100% 100%;
  background-repeat: no-repeat;
  box-shadow: none;
}

.hero-media::before {
  display: none;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.48);
}

.proof-grid {
  display: grid;
}

.proof-grid p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.proof-grid p:last-child {
  border-bottom: 0;
}

.proof-grid strong {
  font-size: 0.96rem;
}

.proof-grid span {
  color: var(--chocolate-soft);
  font-size: 0.82rem;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.section-heading > p:last-child {
  max-width: 37rem;
  margin: 0;
  color: var(--chocolate-soft);
}

.configurator-section {
  background: rgba(255, 250, 243, 0.42);
}

.configurator-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.configurator-controls,
.order-summary {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

fieldset {
  min-width: 0;
  margin: 0 0 2.1rem;
  padding: 0;
  border: 0;
}

legend,
.personal-message > label,
#lead-form > label:not(.honeypot):not(.consent-row) {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.85rem;
  color: var(--chocolate);
  font-size: 0.9rem;
  font-weight: 800;
}

.choice-grid,
.select-grid {
  display: grid;
  gap: 0.75rem;
}

.choice-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-content {
  display: grid;
  min-height: 7rem;
  grid-template-columns: minmax(0, 1fr);
  height: 100%;
  align-content: space-between;
  gap: 0.8rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(244, 237, 227, 0.4);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.choice-content > span {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  overflow-wrap: break-word;
}

.choice-content b {
  white-space: nowrap;
}

.choice-content small {
  color: var(--chocolate-soft);
}

.choice-card:hover .choice-content {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.choice-card input:checked + .choice-content {
  border-color: var(--terracotta);
  background: rgba(164, 73, 50, 0.07);
  box-shadow: inset 0 0 0 2px var(--terracotta);
}

.choice-card input:focus-visible + .choice-content {
  outline: 3px solid rgba(164, 73, 50, 0.4);
  outline-offset: 3px;
}

.compact-choice {
  min-height: 4.8rem;
  align-content: center;
}

.select-grid label {
  display: grid;
  gap: 0.45rem;
  color: var(--chocolate-soft);
  font-size: 0.87rem;
  font-weight: 750;
}

select,
textarea,
input[type="text"],
input[type="tel"] {
  width: 100%;
  min-width: 0;
  min-height: 3.2rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--chocolate);
  background: white;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

[aria-invalid="true"] {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 2px rgba(155, 47, 36, 0.15);
}

.field-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.35rem;
  color: var(--chocolate-soft);
  font-size: 0.82rem;
}

.field-error {
  min-height: 1.25rem;
  color: var(--error);
  font-size: 0.82rem;
  font-weight: 650;
}

.order-summary {
  color: var(--paper);
  background:
    radial-gradient(circle at top right, rgba(164, 73, 50, 0.35), transparent 22rem),
    var(--chocolate);
}

.order-summary .eyebrow {
  color: #e6bb86;
}

.order-summary h3 {
  font-size: 2.5rem;
}

.summary-list {
  display: grid;
  gap: 0;
  margin-block: 2rem;
}

.summary-list div {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(255, 250, 243, 0.18);
}

.summary-list dt {
  color: rgba(255, 250, 243, 0.62);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.summary-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.summary-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.summary-total strong {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  white-space: nowrap;
}

.order-summary .button {
  color: var(--chocolate);
  background: var(--paper);
}

.order-summary .button:hover {
  color: var(--paper);
  background: var(--terracotta);
}

.summary-note {
  margin: 0.9rem 0 0;
  color: rgba(255, 250, 243, 0.7);
}

.benefit-grid,
.process-grid,
.review-grid,
.occasion-grid {
  display: grid;
  gap: 1rem;
}

.benefit-grid article,
.process-card,
.review-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: rgba(255, 250, 243, 0.7);
}

.benefit-mark {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.7rem;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--terracotta);
}

.benefit-grid p,
.process-card p {
  margin-bottom: 0;
  color: var(--chocolate-soft);
}

.detail-grid,
.personalization-grid,
.ozon-layout,
.faq-layout {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 0;
}

.story-copy {
  min-width: 0;
}

.story-copy > p:not(.eyebrow) {
  color: var(--chocolate-soft);
}

.story-copy > p:last-child {
  margin-bottom: 0;
}

.story-link {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.occasion-heading {
  max-width: 44rem;
  margin-block: clamp(3rem, 5vw, 4.5rem) 1.75rem;
}

.occasion-heading h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
}

.occasion-heading p {
  margin-bottom: 0;
  color: var(--chocolate-soft);
}

.product-detail-image,
.occasion-image,
.personalization-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.7rem;
}

.product-detail-image {
  box-shadow: var(--shadow);
}

.detail-media {
  position: relative;
  padding: 0 1.75rem 1.75rem 0;
}

.product-insert-image {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: min(42%, 14rem);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0.45rem solid var(--paper);
  border-radius: 1.1rem;
  box-shadow: 0 1rem 2.5rem rgba(51, 33, 29, 0.2);
}

.occasions-section {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.occasion-card {
  min-width: 0;
}

.occasion-image {
  aspect-ratio: 1;
  border-radius: 1.2rem;
}

.occasion-copy {
  padding: 1.25rem 0.35rem 0;
}

.occasion-copy h3 {
  margin-bottom: 0.45rem;
}

.occasion-copy p {
  margin: 0;
  color: var(--chocolate-soft);
}

.occasions-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.process-section,
.faq-section {
  background: var(--chocolate);
  color: var(--paper);
}

.process-section .eyebrow,
.faq-section .eyebrow {
  color: #e6bb86;
}

.process-section .section-heading > p:last-child,
.process-card p,
.faq-list p {
  color: rgba(255, 250, 243, 0.7);
}

.process-card {
  border-color: rgba(255, 250, 243, 0.18);
  background: rgba(255, 250, 243, 0.05);
}

.personalization-grid {
  margin-top: 0;
}

.ozon-section {
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
}

.ozon-layout {
  margin-top: 0;
  gap: 2rem;
}

.ozon-layout > div:first-child {
  max-width: 46rem;
}

.review-grid {
  margin-top: 0;
}

.review-card {
  display: grid;
  gap: 0.75rem;
}

.review-stars {
  color: var(--terracotta-dark);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.review-card p {
  margin: 0;
  color: var(--chocolate-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.35;
}

.faq-layout {
  align-items: start;
}

.faq-list {
  border-top: 1px solid rgba(255, 250, 243, 0.2);
}

.faq-list details {
  border-bottom: 1px solid rgba(255, 250, 243, 0.2);
}

.faq-list summary {
  position: relative;
  padding: 1.35rem 2.4rem 1.35rem 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 1.2rem;
  right: 0;
  content: "+";
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 42rem;
  padding-right: 2rem;
}

.final-section {
  background: var(--terracotta);
}

.final-card {
  display: grid;
  align-items: center;
  gap: 2rem;
  color: var(--paper);
}

.final-card .eyebrow {
  color: rgba(255, 250, 243, 0.72);
}

.final-card h2 {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.final-card p:last-child {
  max-width: 38rem;
  margin-bottom: 0;
  color: rgba(255, 250, 243, 0.78);
}

.final-card .button {
  color: var(--chocolate);
  background: var(--paper);
}

.site-footer {
  padding-block: 2rem;
  color: rgba(255, 250, 243, 0.72);
  background: #241713;
}

.footer-inner {
  display: grid;
  gap: 0.7rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a:last-child {
  font-size: 0.88rem;
}

.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: none;
  padding: 0.7rem max(1rem, env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  transform: translateY(120%);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 -0.6rem 2rem rgba(51, 33, 29, 0.12);
  transition: transform 180ms ease;
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

dialog {
  width: min(calc(100% - 1.5rem), 36rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 1.5rem;
  color: var(--chocolate);
  background: var(--paper);
  box-shadow: 0 2rem 7rem rgba(20, 10, 8, 0.34);
}

dialog::backdrop {
  background: rgba(25, 14, 11, 0.7);
  backdrop-filter: blur(0.25rem);
}

.dialog-shell {
  padding: clamp(1.25rem, 5vw, 2.5rem);
}

.dialog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.dialog-head h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 7vw, 3.3rem);
}

.icon-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  color: var(--chocolate);
  background: transparent;
  font-size: 1.6rem;
}

.dialog-intro {
  color: var(--chocolate-soft);
}

.lead-configuration {
  margin-bottom: 1.4rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--terracotta);
  border-radius: 0.4rem;
  background: var(--cream);
  font-size: 0.9rem;
  font-weight: 700;
}

#lead-form {
  display: grid;
  gap: 0.85rem;
}

.honeypot {
  position: fixed !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.consent-row {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--chocolate-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.consent-row input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
}

.consent-error {
  margin-top: -0.55rem;
}

.form-note {
  margin: 0;
  text-align: center;
}

.lead-status {
  display: none;
  padding: 1rem;
  border-radius: 0.8rem;
}

.lead-status.is-visible {
  display: block;
}

.lead-status.is-success {
  color: var(--success);
  background: rgba(39, 100, 73, 0.1);
}

.lead-status.is-error {
  color: var(--error);
  background: rgba(155, 47, 36, 0.09);
}

.legal-page {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.legal-document {
  max-width: 52rem;
}

.legal-document h1 {
  max-width: 14ch;
}

.legal-document h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.legal-warning {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--terracotta);
  border-radius: 0.45rem;
  background: var(--paper);
}

@media (min-width: 42rem) {
  .proof-grid,
  .benefit-grid,
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-grid p {
    padding-inline: 1rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .proof-grid p:last-child {
    border-right: 0;
  }

  .choice-grid,
  .select-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-heading,
  .final-card,
  .footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
    align-items: center;
    gap: 2rem;
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

@media (min-width: 58rem) {
  .occasion-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .configurator-card {
    grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 1fr);
  }

  .order-summary {
    position: relative;
  }

  .detail-grid,
  .personalization-grid,
  .faq-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid > div:last-child {
    padding-left: 1rem;
  }

  .personalization-grid > div:first-child {
    padding-right: 1rem;
  }
}

@media (max-width: 48rem) {
  .shell {
    width: calc(100% - 2rem);
  }

  .product-detail-image,
  .personalization-image {
    aspect-ratio: auto;
  }

  .header-inner {
    min-height: 4rem;
  }

  .site-header .button {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .hero-stage {
    min-height: calc(100svh - 6.0625rem);
    align-items: start;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 0.85rem;
    font-size: clamp(1.9rem, 8.5vw, 2.65rem);
    line-height: 1.06;
  }

  .hero-copy .lede {
    margin-bottom: 0.9rem;
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .hero-media {
    --hero-image: url("./images/burgundy/hero-mobile.webp");
    background:
      linear-gradient(180deg, rgba(244, 237, 227, 0.97) 0%, rgba(244, 237, 227, 0.84) 36%, rgba(244, 237, 227, 0.08) 58%, rgba(51, 33, 29, 0.08) 100%),
      var(--hero-image),
      linear-gradient(145deg, #b7664d 0%, #713526 48%, #33211d 100%);
    background-position: center, center bottom, center;
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% auto, 100% 100%;
  }

  .hero-media::before {
    inset: 0.9rem 0.9rem auto auto;
    width: min(68%, 18rem);
    height: 8rem;
    opacity: 0.72;
  }

  .hero-copy-panel {
    width: 100%;
    padding: 1.25rem 1rem 1rem;
  }

  .hero-copy-panel::before {
    inset: -1rem -1rem -2rem;
    background: linear-gradient(180deg, rgba(244, 237, 227, 0.98) 0%, rgba(244, 237, 227, 0.98) 86%, rgba(244, 237, 227, 0) 100%);
  }

  .hero .eyebrow {
    max-width: 17rem;
    margin-bottom: 0.55rem;
    font-size: 0.66rem;
  }

  .hero-actions {
    margin-bottom: 0.65rem;
    flex-wrap: nowrap;
    gap: 0.85rem;
  }

  .hero .microcopy {
    margin-bottom: 0;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .hero .button {
    min-height: 3rem;
    padding-inline: 1rem;
    font-size: 0.85rem;
  }

  .hero .price-note strong {
    font-size: 1.5rem;
  }

  .choice-content,
  .summary-list div {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-total {
    flex-wrap: wrap;
  }

  .mobile-cta {
    display: block;
  }

  .site-footer {
    padding-bottom: 7rem;
  }
}

@media (max-width: 23rem) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--page-width));
  }

  .configurator-controls,
  .order-summary {
    padding-inline: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero .hero-actions {
    align-items: center;
    flex-direction: row;
    gap: 0.65rem;
    flex-wrap: nowrap;
  }

  .hero .button {
    min-height: 3rem;
    padding-inline: 0.85rem;
    font-size: 0.8rem;
  }

  .hero .price-note {
    display: grid;
    flex: 0 0 auto;
    gap: 0;
    font-size: 0.78rem;
    line-height: 1.1;
  }

  .hero .price-note strong {
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
