:root {
  color-scheme: light;
  --burgundy: #6b2737;
  --burgundy-deep: #4a1b27;
  --mist: #fbf1ec;
  --ink: #241c1d;
  --sub: #7a6b68;
  --hero-gap: clamp(20px, 5.8vw, 25px);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.4;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul { margin: 0; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.3px; line-height: 1.2; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #9f5b6b; outline-offset: 3px; }
.landing { width: 100%; max-width: 520px; margin-inline: auto; }

.hero { padding: 24px 6% var(--hero-gap) 10%; }
.hero-grid { display: grid; grid-template-columns: 58% 42%; gap: 8px; align-items: end; }
.hero h1 { font-size: clamp(21px, 6.2vw, 29px); line-height: 1.1; letter-spacing: -.5px; color: #1a1a1a; white-space: nowrap; }
.intro { margin-top: var(--hero-gap); font-size: 13px; font-weight: 500; line-height: 1.35; }
.intro b { font-weight: 800; }
.hero-photo { margin-left: auto; width: 100%; max-width: 160px; height: auto; filter: contrast(1.06) saturate(1.05); }

.highlights { padding: 0 10% 26px; }
.highlights ul { display: grid; grid-auto-rows: 1fr; gap: 10px; padding: 0; list-style: none; }
.highlights li {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 6px 14px 6px 8px; border-radius: 12px;
  background: var(--mist); color: #111; font-size: 13.5px; font-weight: 800;
  line-height: 1.25; letter-spacing: -.2px;
}
.icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #00000014; background: white; color: var(--ink); }
.icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.offer { background: var(--burgundy); color: white; padding: 24px 20px 22px; margin: 0 0 24px; text-align: center; }
.offer-bottom { margin-top: 20px; }
.offer h2 { font-size: 20px; }
.selected { font-size: 11.5px; opacity: .85; margin-top: 5px; padding: 0 4px; line-height: 1.35; }
.deal { margin: 10px 0 12px; }
.price { display: flex; justify-content: center; align-items: baseline; gap: 12px; margin-bottom: 6px; white-space: nowrap; }
.price s { font-size: 16px; opacity: .65; }
.price strong { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.timer { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.timer div { background: #ffffff29; border-radius: 8px; padding: 4px 10px; min-width: 50px; }
.timer b { display: block; font-size: 17px; line-height: 1.15; font-variant-numeric: tabular-nums; font-weight: 800; }
.timer span { display: block; font-size: 9.5px; opacity: .8; margin-top: 1px; }
.shipping { font-size: 11px; opacity: .82; margin-top: 10px; line-height: 1.35; }
.button {
  width: 100%; display: block; padding: 13px 20px; border: 0; border-radius: 12px;
  background: var(--burgundy); color: #fff; text-align: center;
  cursor: pointer; font-size: 16.5px; font-weight: 800;
  transition: background-color .2s ease, transform .1s ease;
  box-shadow: 0 4px 14px #6b273733;
}
.button:hover { background: var(--burgundy-deep); }
.button:active { transform: scale(.99); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.offer .button { max-width: 340px; margin: 14px auto 0; background: #fff; color: var(--burgundy); box-shadow: 0 4px 14px #00000026; }
.offer .button:hover { background: #fdf5f5; color: var(--burgundy-deep); }
.offer .button:focus-visible { outline-color: white; }

.products { display: grid; gap: 14px; padding: 0 16px; margin-bottom: 20px; }
.card { position: relative; overflow: hidden; padding: 12px; border: 1.5px solid #6b273752; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px #6b27370f; transition: opacity .2s ease; }
.card.off { opacity: .42; }
.tag { position: absolute; top: 0; right: 0; padding: 4px 8px; border-radius: 0 0 0 10px; background: #f3dce0; color: var(--burgundy); font-size: 9.5px; font-weight: 800; letter-spacing: .3px; }
.card-head { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.photo { flex: 0 0 auto; width: clamp(72px, 16vw, 88px); height: clamp(92px, 18vw, 114px); background: var(--mist); border-radius: 10px; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: contain; }
.card-info { display: grid; gap: 4px; min-width: 0; }
.brand { font-size: 10.5px; color: var(--burgundy); font-weight: 800; letter-spacing: .4px; }
.card h3 { font-size: clamp(15px, 4vw, 17px); margin-top: 1px; }
.format { font-size: 11.5px; color: var(--sub); font-weight: 600; }
.pick { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 2px; padding: 5px 10px; border: 1.5px solid #6b273759; border-radius: 10px; background: #faf6f6; cursor: pointer; user-select: none; }
.pick:has(input:checked) { border-color: var(--burgundy); background: white; }
.pick input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--burgundy); cursor: pointer; }
.price-tag { font-size: 15px; font-weight: 800; white-space: nowrap; }
.pick-note { margin-left: -2px; font-size: 9px; color: var(--sub); font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.card details { margin-top: 6px; }
.card summary { display: flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font-weight: 800; font-size: 12px; color: var(--burgundy); }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: '+'; margin-left: auto; font-size: 15px; }
.card details[open] summary::after { content: '–'; }
.full { display: grid; gap: 4px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--mist); font-size: 13px; }
.full h4 { text-transform: uppercase; color: var(--burgundy); font-size: 11.5px; margin-top: 2px; letter-spacing: .4px; }
.full ul { display: grid; gap: 4px; padding: 0; list-style: none; }
.full li { padding-left: 16px; position: relative; line-height: 1.3; }
.full li::before { content: '✓'; position: absolute; left: 0; color: var(--burgundy); font-weight: 800; }
footer { padding: 8px 12px 32px; text-align: center; color: var(--sub); font-size: 11px; }
.no-script { padding: 12px 20px; text-align: center; }
.mobile-order-bar { display: none; }

@media (max-width: 767px), (max-width: 950px) and (hover: none) and (pointer: coarse) {
  .landing { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .mobile-order-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 5;
    display: block;
    max-width: 520px;
    margin-inline: auto;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #6b273729;
    background: #fff;
    box-shadow: 0 -4px 18px #241c1d14;
  }
  .mobile-order-bar .button { min-height: 48px; padding-block: 10px; }
}

.order-dialog { position: fixed; width: min(400px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 34px 28px 28px; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 20px 60px #0004; }
.order-dialog::backdrop { background: #241c1d9e; backdrop-filter: blur(3px); }
body:has(.order-dialog[open]) { overflow: hidden; }
.close { position: absolute; top: 15px; right: 17px; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: var(--sub); cursor: pointer; font-size: 22px; }
.dialog-caption { color: var(--sub); font-size: 13.5px; text-align: center; }
.order-summary { border: 1px solid #6b27371f; border-radius: 12px; background: var(--mist); padding: 10px 14px; font-size: 13px; line-height: 1.55; }
.order-summary strong { color: var(--burgundy); }
.order-form { display: grid; margin-top: 16px; }
.order-form label { font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.order-form input, .phone-field { width: 100%; height: 48px; border: 1px solid #c8bdc1; border-radius: 10px; background: #fff; }
.order-form input { min-width: 0; padding: 0 14px; color: var(--ink); font-size: 14px; font-weight: 700; }
#name { margin-bottom: 17px; }
.phone-field { display: flex; align-items: center; padding-left: 14px; font-size: 14px; font-weight: 800; }
.phone-field:focus-within { outline: 2px solid #9f5b6b; outline-offset: 2px; }
.phone-field input { border: 0; outline: 0; height: 100%; padding-left: 10px; background: transparent; }
.form-error { color: #a3213d; font-size: 13px; margin-top: 10px; }
.submit { margin-top: 22px; }
.confirmation { text-align: center; }
.confirmation p { margin: 8px 0 22px; }

@media (max-width: 360px) {
  .hero h1 { font-size: clamp(18px, 6.2vw, 22px); }
  .intro { font-size: 12px; }
  .order-dialog { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .intro, .hero-photo, .highlights li {
    animation: landing-appear 420ms ease-out both;
  }

  .hero-photo { animation-duration: 540ms; }
  .intro { animation-delay: 60ms; }
  .highlights li:nth-child(1) { animation-delay: 100ms; }
  .highlights li:nth-child(2) { animation-delay: 140ms; }
  .highlights li:nth-child(3) { animation-delay: 180ms; }
  .highlights li:nth-child(4) { animation-delay: 220ms; }
  .highlights li:nth-child(5) { animation-delay: 260ms; }

  .order-dialog[open] { animation: landing-appear 200ms ease-out both; }

  @supports (animation-timeline: view()) {
    .card-head {
      animation: landing-appear linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}

@keyframes landing-appear {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
