:root {
  --pink: #f6dde2;
  --pink-2: #fbeef0;
  --rose: #d9778a;
  --rose-d: #b85469;
  --choco: #4a2c24;
  --choco-2: #7a5246;
  --cream: #fffaf7;
  --gold: #b8916a;
  --wa: #1fab52;
  --ink: #2c1d18;
  --muted: #8a6f66;
  --line: rgba(74, 44, 36, 0.12);
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(74, 44, 36, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-main { background: var(--choco); color: #fff; box-shadow: var(--shadow); }
.btn-main:hover { background: #5e382e; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 14px 30px -14px rgba(31, 171, 82, .7); }
.btn-wa:hover { background: #178f44; }
.btn-ghost { background: #fff; color: var(--choco); border: 1.5px solid var(--choco); }
.btn-ghost:hover { background: var(--pink-2); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 247, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.brand-name { font-family: var(--script); font-size: 30px; color: var(--choco); line-height: 1; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--choco-2); }
.nav a:hover { color: var(--rose-d); }
.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--pink); color: var(--choco); cursor: pointer;
  display: grid; place-items: center;
}
.cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: var(--rose-d); color: #fff;
  font-size: 12px; font-weight: 800; display: grid; place-items: center;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, #f9d4dc 0%, transparent 60%),
    radial-gradient(700px 400px at 0% 100%, #fbe7e1 0%, transparent 60%),
    var(--pink-2);
  overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 64px 0 72px; }
.hero-kicker { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-d); font-weight: 700; }
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; color: var(--choco);
}
.hero h1 em { font-style: italic; color: var(--rose-d); }
.hero-lead { margin: 20px 0 28px; font-size: 17px; color: var(--choco-2); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { list-style: none; display: flex; gap: 30px; padding: 0; margin: 34px 0 0; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 30px; color: var(--choco); line-height: 1; }
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero-gallery { position: relative; height: 520px; }
.hg { position: absolute; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); border: 6px solid #fff; }
.hg-1 { width: 58%; height: 78%; left: 4%; top: 6%; transform: rotate(-4deg); }
.hg-2 { width: 46%; height: 52%; right: 0; top: 0; transform: rotate(5deg); }
.hg-3 { width: 46%; height: 46%; right: 6%; bottom: 0; transform: rotate(-2deg); }
.hero-script {
  position: absolute; left: 0; bottom: 10px; font-family: var(--script);
  font-size: 46px; color: var(--rose-d); transform: rotate(-6deg);
  text-shadow: 0 2px 0 #fff;
}

/* ---------- perks ---------- */
.perks { background: var(--choco); color: #fbe9e4; }
.perks-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 0; }
.perk { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.perk span { font-size: 22px; }

/* ---------- sections ---------- */
.sec-head { text-align: center; margin-bottom: 28px; }
.script { font-family: var(--script); font-size: 34px; color: var(--rose-d); margin: 0; line-height: 1; }
.sec-head h2, .contacts h2 {
  margin: 4px 0 0; font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 4vw, 50px); color: var(--choco); line-height: 1.05;
}
.sec-sub { margin: 10px auto 0; color: var(--muted); max-width: 540px; }

/* ---------- catalog ---------- */
.catalog { padding: 72px 0 40px; }
.filters { position: sticky; top: 66px; z-index: 20; background: var(--cream); padding: 10px 0 12px; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; color: var(--choco);
  border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: all .15s ease; white-space: nowrap;
}
.chip small { font-weight: 600; color: var(--muted); margin-left: 3px; }
.chip:hover { border-color: var(--rose); }
.chip.active { background: var(--choco); border-color: var(--choco); color: #fff; }
.chip.active small { color: #e9c9c0; }
.chip-sm { padding: 7px 13px; font-size: 13px; }
.chips-price .chip.active { background: var(--rose-d); border-color: var(--rose-d); }
.filters-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex: 0 0 auto; }
.sort select { border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 12px; background: #fff; font-weight: 600; font-size: 13px; }
.result-count { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: 0 1px 0 var(--line), 0 10px 26px -20px rgba(74, 44, 36, .5);
  transition: transform .2s ease, box-shadow .2s ease; outline: none;
}
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--pink); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--choco); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.badge-new { background: var(--rose-d); }
.card-cta {
  position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center;
  background: rgba(255, 255, 255, .94); color: var(--choco); font-weight: 800; font-size: 14px;
  padding: 11px; border-radius: 999px; opacity: 0; transform: translateY(8px); transition: all .2s ease;
}
.card:hover .card-cta { opacity: 1; transform: none; }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.card-price { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--rose-d); white-space: nowrap; }
.card-sizes { font-size: 12px; color: var(--muted); white-space: nowrap; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; grid-column: 1 / -1; }

/* ---------- how ---------- */
.how { padding: 60px 0; background: var(--pink-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 26px -22px rgba(74, 44, 36, .6); }
.steps b {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pink); color: var(--rose-d); font-family: var(--serif); font-size: 24px;
}
.steps h3 { margin: 14px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- contacts ---------- */
.contacts { padding: 70px 0; }
.contacts-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: 14px; }
.contact-list a, .contact-list b { font-weight: 700; text-decoration: none; color: var(--choco); }
.contact-list a:hover { color: var(--rose-d); }
.contacts-card {
  background: linear-gradient(160deg, var(--pink) 0%, #f3cfd6 100%);
  border-radius: 30px; padding: 36px; text-align: center; box-shadow: var(--shadow);
}
.contacts-card img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; border: 4px solid #fff; }
.contacts-card p { margin: 0 0 20px; font-family: var(--serif); font-size: 22px; color: var(--choco); }

.footer { padding: 26px 0 90px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: center; }

/* ---------- floating wa ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(31, 171, 82, .7);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 171, 82, .45), 0 16px 30px -10px rgba(31, 171, 82, .7); }
  50% { box-shadow: 0 0 0 14px rgba(31, 171, 82, 0), 0 16px 30px -10px rgba(31, 171, 82, .7); }
}

/* ---------- sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(44, 29, 24, .5); opacity: 0; transition: opacity .25s ease; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; left: 50%; top: 50%; width: min(940px, calc(100% - 32px)); max-height: calc(100% - 40px);
  overflow: auto; background: #fff; border-radius: 28px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
  transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: all .25s ease;
}
.sheet.open .sheet-panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.sheet-close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); font-size: 26px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm-media { position: relative; background: var(--pink); min-height: 460px; }
.pm-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pm-body { padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.pm-cat { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-d); }
.pm-body h3 { margin: -6px 0 0; font-family: var(--serif); font-size: 34px; line-height: 1.05; color: var(--choco); }
.pm-desc { margin: 0; color: var(--muted); }
.pm-variants { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.variant {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 11px 13px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  cursor: pointer; text-align: left; transition: all .15s ease;
}
.variant span { font-size: 13px; font-weight: 600; color: var(--choco-2); }
.variant b { font-family: var(--serif); font-size: 20px; color: var(--choco); }
.variant:hover { border-color: var(--rose); }
.variant.active { border-color: var(--rose-d); background: var(--pink-2); box-shadow: inset 0 0 0 1px var(--rose-d); }
.variant.single { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; cursor: default; background: var(--pink-2); }
.pm-qty { display: flex; align-items: center; justify-content: space-between; }
.pm-qty > span { font-weight: 600; color: var(--choco-2); font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 40px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--choco); }
.qty button:hover { background: var(--pink-2); }
.qty output { min-width: 32px; text-align: center; font-weight: 800; }
.qty-sm button { width: 32px; height: 30px; font-size: 17px; }
.pm-note span, .cart-form label > span { display: block; font-size: 13px; font-weight: 600; color: var(--choco-2); margin-bottom: 5px; }
.pm-note input, .cart-form input, .cart-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 11px 13px; background: var(--cream);
}
.pm-note input:focus, .cart-form input:focus, .cart-form textarea:focus { outline: none; border-color: var(--rose); background: #fff; }
.pm-total, .cart-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); }
.pm-total span, .cart-total span { font-weight: 600; color: var(--choco-2); }
.pm-total strong, .cart-total strong { font-family: var(--serif); font-size: 32px; color: var(--choco); }
.pm-actions { display: grid; gap: 10px; margin-top: 2px; }

.sheet-right .sheet-panel {
  left: auto; right: 0; top: 0; bottom: 0; width: min(440px, 100%); max-height: none; height: 100%;
  border-radius: 28px 0 0 28px; transform: translateX(30px); padding: 26px 22px;
}
.sheet-right.open .sheet-panel { transform: none; }
.cart h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 34px; color: var(--choco); }
.cart-items { display: grid; gap: 12px; margin-bottom: 20px; }
.ci { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px; border-radius: 18px; background: var(--pink-2); }
.ci img { width: 64px; height: 76px; border-radius: 12px; object-fit: cover; }
.ci-body b { display: block; font-size: 14px; padding-right: 26px; line-height: 1.3; }
.ci-body > span { font-size: 12px; color: var(--muted); }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ci-row strong { font-family: var(--serif); font-size: 19px; }
.ci-del { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; color: var(--muted); cursor: pointer; }
.cart-form { display: grid; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--pink-2); border-radius: 999px; padding: 4px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 9px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--choco-2); }
.seg input:checked + span { background: #fff; color: var(--choco); box-shadow: 0 4px 12px -6px rgba(74, 44, 36, .5); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-hint { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 200;
  background: var(--choco); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; padding: 34px 0 44px; gap: 26px; }
  .hero-gallery { height: 340px; order: -1; }
  .hero-script { font-size: 34px; }
  .hero-stats { gap: 20px; }
  .hero-stats strong { font-size: 24px; }
  .perks-in { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-body h3 { font-size: 13.5px; }
  .card-price { font-size: 20px; }
  .card-sizes { display: none; }
  .card-cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .contacts-in { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 110px 1fr; }

  .sheet-panel {
    left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 94vh; border-radius: 26px 26px 0 0;
    transform: translateY(40px); opacity: 0;
  }
  .sheet.open .sheet-panel { transform: none; opacity: 1; }
  .pm { grid-template-columns: 1fr; }
  .pm-media { min-height: 0; }
  .pm-media img { position: static; height: auto; max-height: 50vh; aspect-ratio: 1 / 1; }
  .pm-actions { box-shadow: 0 -14px 16px -8px #fff; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
  .pm-body { padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
  .pm-body h3 { font-size: 28px; }
  .pm-actions { position: sticky; bottom: 0; background: #fff; padding-top: 8px; }
  .sheet-right .sheet-panel { top: auto; height: auto; max-height: 94vh; width: 100%; border-radius: 26px 26px 0 0; transform: translateY(40px); }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 15.5px; }
  .hero-actions .btn { width: 100%; }
  .filters-row { flex-direction: column; align-items: stretch; }
  .sort { justify-content: flex-end; }
}
