:root {
  --cream: #fbf6f1;
  --cream-2: #f7f1ea;
  --ink: #3a261c;
  --ink-soft: #6f584c;
  --muted: #8d7568;
  --line: #f0e4da;
  --rose: #de3b66;
  --rose-dark: #c42d56;
  --rose-soft: #fff1f4;
  --bark: #3a241c;
  --star: #e2a31a;
  --green: #1c7a45;
  --wa: #178a45;
  --shadow: 0 12px 32px rgba(74, 42, 28, 0.08);
  --radius: 18px;
  --head-offset: 112px;
  color-scheme: light;
}

@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/metropolis-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/metropolis-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/metropolis-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Metropolis";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/metropolis-latin-700-normal.woff2") format("woff2");
}

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

html { scroll-behavior: smooth; scroll-padding-bottom: 110px; }

body {
  margin: 0;
  font-family: "Metropolis", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, #f6e4d4 0%, transparent 60%),
    radial-gradient(700px 380px at -10% 20%, #f8ebe3 0%, transparent 55%),
    var(--cream);
  line-height: 1.5;
}

body.lock { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
img[hidden] { display: none; }

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

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

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

ul { margin: 0; padding: 0; list-style: none; }

::selection {
  background: #f6c2d0;
  color: #3a241c;
}
.topbar ::selection,
.footer ::selection {
  background: #f8efe8;
  color: #3a241c;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  padding: 8px 12px;
  z-index: 120;
  border-radius: 8px;
}

.skip:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.section { padding: clamp(46px, 7vw, 88px) 0; }

.section-head { text-align: center; margin-bottom: 26px; }

.section-head h2,
.page-hero h1,
.prose h1 {
  font-family: "Metropolis", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

.ornament {
  display: block;
  width: 74px;
  height: 14px;
  margin: 10px auto 0;
  background:
    linear-gradient(#e7b2c0, #e7b2c0) center / 48px 1px no-repeat,
    radial-gradient(circle at 50% 50%, var(--rose) 0 3px, transparent 3.6px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 18px rgba(222, 59, 102, 0.24);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { background: var(--rose-dark); transform: translateY(-1px); }

.btn-block { width: 100%; }

.btn-lg { padding: 14px 28px; font-size: 1.02rem; }

.btn-wa {
  background: var(--wa);
  box-shadow: 0 8px 16px rgba(23, 138, 69, 0.22);
  color: #fff;
}

.btn-wa:hover { background: #12753a; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}

.icon-btn,
.nav-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(74, 42, 28, 0.06);
}

.icon-btn svg,
.nav-toggle svg,
.bottom-nav svg { width: 20px; height: 20px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fffaf6;
  border-bottom: 1px solid rgba(90, 56, 36, 0.06);
}

.topbar {
  background: var(--bark);
  color: #f8efe8;
  font-size: 0.78rem;
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 8px 14px;
  text-align: center;
}

.topbar p { margin: 0; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  position: relative;
  z-index: 2;
}

.logo { display: flex; align-items: center; min-width: 0; flex: 0 1 auto; }

.logo img {
  height: 46px;
  width: auto;
  max-width: min(230px, 52vw);
  object-fit: contain;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-btn {
  border: 0;
  background: transparent;
  font-weight: 600;
  padding: 8px 6px;
}

.cart-btn { position: relative; }

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--rose);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cart-count[hidden] { display: none; }

.wa-label { display: none; }

.nav-toggle {
  background: transparent;
  box-shadow: none;
  width: 40px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  border-radius: 2px;
}

.nav {
  position: fixed;
  top: var(--head-offset);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: #fffaf7;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 22px 28px;
  overflow: auto;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.32s ease;
}

.nav.open { transform: none; visibility: visible; }

.nav a {
  font-family: "Metropolis", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.nav a.active { color: var(--rose); }

.nav-extra {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
}

.hero { padding: 22px 0 54px; }

.hero-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero-visual { order: -1; }

.hero-stage {
  position: relative;
  width: min(100%, 560px);
  margin: 0 auto;
}

.hero-stage img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(80, 42, 24, 0.16);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, #f3d3bc 0%, transparent 70%);
  z-index: -1;
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(70, 40, 20, 0.12);
}

.float-card-a { left: 14px; bottom: 14px; }
.float-card-b { left: 14px; top: 14px; }

.hero-script {
  font-family: "Great Vibes", "Segoe Script", cursive;
  color: var(--rose);
  font-size: clamp(2.3rem, 8vw, 3.7rem);
  line-height: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero h1 {
  font-family: "Metropolis", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 6.4vw, 3.7rem);
  line-height: 1.05;
  font-weight: 700;
  max-width: 11em;
  margin: 6px 0 12px;
}

.hero-lead {
  color: var(--ink-soft);
  max-width: 38ch;
  font-size: 1.02rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 18px 0 20px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.dot-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--rose);
  flex: 0 0 auto;
}

.dot-ico svg { width: 16px; height: 16px; }

.trust { margin-top: -28px; position: relative; z-index: 2; }

.trust-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
}

.trust-item strong { display: block; font-size: 0.98rem; }
.trust-item span { color: var(--muted); font-size: 0.86rem; }

.product-grid,
.steps,
.gift-points { display: grid; gap: 14px; }

.gallery { grid-template-columns: 1fr 1fr; }

.product-card,
.step,
.review-card,
.info-card,
.stat,
.value-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(70, 40, 20, 0.06);
}

.product-media {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #fbf6f1, #f3e6da);
  display: grid;
  place-items: center;
}

.product-media img { width: 86%; height: 86%; object-fit: contain; }
.product-media img.photo { width: 100%; height: 100%; object-fit: cover; }

.product-grid { grid-template-columns: 1fr; }

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-media { position: relative; overflow: hidden; }

.product-media img { transition: transform 0.35s ease; }

.product-card:hover img { transform: scale(1.04); }

.badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 999px;
}

.badge-hot { background: var(--rose); }
.badge-new { background: #2f7d57; }

.wish {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #c3b0a6;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(70, 40, 20, 0.1);
}

.wish svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.wish.is-on { color: var(--rose); }
.wish.is-on svg { fill: currentColor; }

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 14px 16px;
  flex: 1;
}

.media-link {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.product-body h3 {
  font-family: "Metropolis", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 600;
}

.product-body h3 a:hover { color: var(--rose); }

.price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: baseline;
}

.price { font-weight: 700; }
.mrp { color: #9a8b82; text-decoration: line-through; font-size: 0.9rem; }
.off { color: var(--green); font-weight: 700; font-size: 0.85rem; }

.rating { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 0.88rem; }
.stars { color: var(--star); letter-spacing: 1px; }

.product-body .btn { margin-top: auto; }

.steps-wrap { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45)); }

.step { padding: 22px 16px 20px; text-align: center; }

.step-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--rose);
}

.step-ico svg { width: 26px; height: 26px; }
.step-no { display: block; color: var(--rose); font-weight: 700; font-size: 0.8rem; margin-bottom: 6px; }
.step h3 { font-family: "Metropolis", "Segoe UI", sans-serif; font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }

.gift-split { display: grid; gap: 26px; align-items: center; }
.eyebrow { color: var(--rose); font-weight: 700; letter-spacing: 0.08em; font-size: 0.78rem; text-transform: uppercase; margin-bottom: 8px; }
.gift-copy h2 { font-family: "Metropolis", "Segoe UI", sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.gift-points { gap: 14px; }
.gift-points li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.gift-points h3 { font-size: 1rem; }
.gift-points p { color: var(--ink-soft); font-size: 0.92rem; }
.gift-visual img { width: min(100%, 460px); margin: 0 auto; }

.review-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.review-scroller::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 18px;
}

.review-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f8e7ea;
  color: var(--rose);
  font-weight: 700;
}

.review-card h3 { font-size: 1rem; }
.review-card .where { color: var(--muted); font-size: 0.82rem; }
.review-card p { color: var(--ink-soft); }

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.dots { display: flex; gap: 6px; }
.dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: #e4d5cb;
  padding: 0;
}
.dots button.is-on { width: 18px; background: var(--rose); }

.gallery { gap: 12px; }
.gallery-item {
  border: 0;
  padding: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(70, 40, 20, 0.06);
}
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f6eee6; }

.footer { background: #3a241c; color: #f6ece4; padding-top: 46px; }
.footer-grid { display: grid; gap: 28px; }
.footer .logo img {
  height: 58px;
  max-width: 240px;
}
.footer p { color: #e7d5cb; max-width: 34ch; margin-top: 10px; }
.footer h3 { font-size: 1rem; margin-bottom: 10px; }
.footer a, .footer button.link-btn { color: #f0e2d8; display: block; padding: 4px 0; text-align: left; }
.footer a:hover, .footer button.link-btn:hover { color: #fff; }
.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 75;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-around;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}

.bottom-nav a,
.bottom-nav button {
  border: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 56px;
  position: relative;
}

.bottom-nav a.active,
.bottom-nav button:hover { color: var(--rose); }

.bottom-nav .cart-count {
  position: absolute;
  top: -2px;
  right: 8px;
}

body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

.wa-float {
  position: fixed;
  right: 14px;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 74;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(23, 138, 69, 0.28);
}

.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

.page-hero { padding: 26px 0 8px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 6px 0; }
.page-hero .lead { color: var(--ink-soft); max-width: 52ch; }
.breadcrumb { color: var(--muted); font-size: 0.88rem; }
.breadcrumb a:hover { color: var(--rose); }

.shop-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 12px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  white-space: nowrap;
}

.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.sort-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  min-width: 0;
  max-width: 100%;
}
.sort-pick { position: relative; flex: 1; min-width: 0; }
.sort-btn {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 12px;
  padding: 12px 36px 12px 14px;
  font-size: 16px;
  position: relative;
}
.sort-btn::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.sort-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(58, 36, 28, 0.16);
}
.sort-list[hidden] { display: none; }
.sort-list button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
}
.sort-list button[aria-selected="true"],
.sort-list button:hover { background: #f6ece4; }

.result-count { color: var(--muted); margin-bottom: 12px; font-size: 0.92rem; }

.empty-note {
  display: none;
  text-align: center;
  padding: 28px 10px;
  color: var(--ink-soft);
}

.product-card.is-hidden { display: none; }

.split { display: grid; gap: 22px; align-items: center; }
.prose h2, .split h2, .block h2 {
  font-family: "Metropolis", "Segoe UI", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 18px 0 8px;
}
.prose p, .prose li, .narrow { color: var(--ink-soft); line-height: 1.7; }
.prose { width: min(760px, 100%); }
.prose a { color: var(--rose-dark); font-weight: 600; }
.prose ul { list-style: disc; padding-left: 1.2rem; margin: 8px 0 12px; }
.page-pad { padding-bottom: 56px; }

.stats, .values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.stat, .value-card, .info-card { padding: 16px; }
.stat strong { display: block; font-family: "Metropolis", "Segoe UI", sans-serif; font-size: 1.7rem; color: var(--rose); }
.stat span, .value-card p, .info-card p { color: var(--ink-soft); font-size: 0.92rem; }
.value-card h3, .info-card h3 { margin-bottom: 4px; }

.faq details {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: 0 6px 16px rgba(70, 40, 20, 0.04);
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-top: 8px; color: var(--ink-soft); }

.contact-grid, .review-layout { display: grid; gap: 18px; }
.contact-grid .info-card + .info-card { margin-top: 14px; }
.contact-lines { display: grid; gap: 12px; margin-top: 10px; }
.contact-lines p { margin: 0; }
.contact-lines strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-lines a { color: var(--rose-dark); font-weight: 600; }
.form-card, .info-card { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field span { font-weight: 600; font-size: 0.9rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid #eadfd4;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
}
textarea { min-height: 120px; resize: vertical; }
.err { color: var(--rose); font-size: 0.8rem; min-height: 1em; }
.form-note { color: var(--ink-soft); font-size: 0.9rem; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  border: 1px solid #eadfd4;
  border-radius: 999px;
  padding: 8px 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: #fff;
  white-space: nowrap;
}
.choice:has(input:checked) { border-color: var(--rose); background: var(--rose-soft); color: var(--rose-dark); }

.review-grid { display: grid; gap: 14px; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(40, 22, 14, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 100;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer, .dialog {
  position: fixed;
  z-index: 110;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.drawer {
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  transform: translateX(104%);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(40, 20, 10, 0.12);
}
.drawer.show { transform: none; opacity: 1; pointer-events: auto; }

.dialog {
  left: 50%;
  top: 50%;
  width: min(860px, calc(100% - 20px));
  max-height: min(92vh, 880px);
  overflow: auto;
  border-radius: 22px;
  transform: translate(-50%, -46%);
}
.dialog.checkout {
  width: min(520px, calc(100% - 24px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.dialog.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); }

.checkout-kicker {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.checkout-scroll {
  overflow: auto;
  padding: 14px 16px 6px;
}
.checkout-foot {
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}
.checkout-summary {
  background: #fff7f2;
  border: 1px solid #f0e4da;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.sum-row strong { font-size: 0.98rem; }
.sum-row b { color: var(--rose-dark); white-space: nowrap; }
.checkout-summary p {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}
.checkout-block {
  border: 1px solid #f0e4da;
  border-radius: 16px;
  margin: 0 0 12px;
  padding: 6px 12px 2px;
  background: #fff;
  min-inline-size: 0;
}
.checkout-block legend {
  margin: 0;
  padding: 0 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rose-dark);
}
.checkout-form .field { margin-bottom: 10px; }
.checkout-form .field span i { color: var(--rose); font-style: normal; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 10px;
}
.checkout-form textarea,
.checkout-form input,
.checkout-form select { background: #fff; }
.checkout-form textarea { min-height: 72px; }
.checkout-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8d7568 50%),
    linear-gradient(135deg, #8d7568 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(222, 59, 102, 0.12);
}
.phone-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #eadfd4;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.phone-row:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(222, 59, 102, 0.12);
}
.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #fbf6f1;
  border-right: 1px solid #eadfd4;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.phone-row input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.phone-row input:focus { box-shadow: none; }
.field-hint {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.field-error {
  color: #b4233a;
  font-size: 0.78rem;
  line-height: 1.35;
}
.field-error:empty { display: none; }
.field.is-bad input,
.field.is-bad textarea,
.field.is-bad select,
.field.is-bad .phone-row { border-color: #b4233a; }
.field.is-ok .phone-row { border-color: var(--green); }
.field.is-ok .field-error { color: var(--green); }

.form-error { color: #b4233a; min-height: 0; margin: 0 0 8px; }
.form-error:empty { display: none; }

.panel-head, .cart-foot { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-head { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
.panel-head h2 { font-family: "Metropolis", "Segoe UI", sans-serif; font-size: 1.35rem; }
.cart-items { padding: 8px 16px 16px; overflow: auto; flex: 1; }
.cart-foot { border-top: 1px solid var(--line); display: block; }
.cart-line, .cart-total { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.line img { width: 72px; height: 72px; object-fit: contain; background: #f8f1ea; border-radius: 12px; }
.line h3 { font-size: 0.98rem; }
.muted { color: var(--muted); font-size: 0.84rem; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.qty button { width: 30px; height: 30px; border: 0; background: #fff; }
.remove {
  border: 0;
  background: transparent;
  color: var(--rose);
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.search-results { padding: 8px 12px 16px; }
.search-hit {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
}
.search-hit:hover { background: var(--cream-2); }
.search-hit img { width: 54px; height: 54px; object-fit: contain; background: #f8f1ea; border-radius: 10px; }

.custom-grid { display: grid; gap: 8px; padding: 14px; }
.custom-grid img.preview-art { width: min(100%, 320px); margin: 0 auto; }
.photo-box {
  border: 1px dashed #e4d3c6;
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  background: #fffaf7;
}
.photo-box img { width: 100%; max-height: 160px; object-fit: contain; margin-top: 8px; border-radius: 10px; }
.toast {
  position: fixed;
  z-index: 130;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(12px);
  background: var(--bark);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  max-width: calc(100% - 28px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.order-ping {
  position: fixed;
  z-index: 80;
  left: 14px;
  right: auto;
  bottom: calc(86px + env(safe-area-inset-bottom));
  width: min(292px, calc(100% - 28px));
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 10px 28px 10px 10px;
  box-shadow: 0 14px 32px rgba(58, 36, 28, 0.18);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.order-ping.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.order-ping img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}
.order-ping strong { display: block; font-size: 0.92rem; }
.order-ping p {
  margin: 1px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}
.order-ping time {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}
.order-ping .order-x {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
@media (min-width: 1040px) {
  .order-ping { bottom: 24px; }
}

.lightbox-img { width: min(100%, 460px); margin: 10px auto 0; }
.pad { padding: 8px 16px 18px; }

.header-wa svg { width: 18px; height: 18px; fill: currentColor; display: block; }

@media (max-width: 1039px) {
  .float-card { display: none; }
}

@media (max-width: 400px) {
  .logo img { height: 38px; max-width: 168px; }
  .header-search { display: none; }
}

@media (min-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .review-card { flex-basis: calc(50% - 7px); }
}

@media (min-width: 720px) {
  .topbar-right { display: inline; }
  .trust-card { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 719px) {
  .topbar-right { display: none; }
}

.pd { display: grid; gap: 22px; margin-top: 8px; }

.pd-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbf6f1, #f3e6da);
}

.pd-visual > img { width: min(100%, 460px); border-radius: 16px; cursor: zoom-in; }

.pd-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  width: min(100%, 460px);
  margin-top: 12px;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.pd-thumb.is-on { border-color: var(--rose); }

.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-kicker {
  color: var(--rose);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.pd h1 {
  font-family: "Metropolis", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 6px 0 8px;
}

.pd-story { color: var(--ink-soft); margin: 12px 0; }

.pd-points { display: grid; gap: 8px; margin: 0 0 4px; }

.pd-points li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.pd-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--rose);
  flex: 0 0 auto;
}

.pd-block { margin-top: 16px; }

.pd-block > span { display: block; font-weight: 600; margin-bottom: 8px; }

.pd-hint { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

.pd-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 16px 0;
}

.pd-buy .price { font-size: 1.35rem; }

.pd-actions { display: grid; gap: 8px; }

.specs { margin-top: 8px; border-top: 1px solid var(--line); }

.spec {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec span { color: var(--muted); }

.spec strong { text-align: right; font-weight: 600; }

.related { margin-top: 42px; }

.cr-section { margin-top: 46px; scroll-margin-top: calc(var(--head-offset) + 8px); }
.cr-section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cr-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 16px;
}
.cr-bar p { font-weight: 600; }
.cr-bar .sort { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #666; font-size: 0.92rem; }
.cr-bar .sort select { flex: 0 0 auto; width: auto; min-width: 9.5rem; padding: 8px 10px; }
.cr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
.cr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #ece7e2;
  border-radius: 14px;
  overflow: hidden;
}
.cr-photo {
  height: 210px;
  background: #f6f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cr-photo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  image-rendering: auto;
}
.cr-photo img.is-cover {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
.cr-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.cr-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.cr-top h3 { font-size: 0.95rem; font-weight: 600; min-width: 0; }
.cr-top time { color: #8d8d8d; font-size: 0.75rem; white-space: nowrap; }
.cr-stars { color: #222; letter-spacing: 1px; font-size: 0.82rem; margin: 6px 0 4px; }
.cr-card .cr-body p:last-child { color: #3a3a3a; font-size: 0.9rem; }
.cr-more { display: block; margin: 18px auto 0; min-width: 160px; }
.cr-more[hidden] { display: none; }
@media (min-width: 640px) { .cr-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 639px) {
  .cr-top { align-items: flex-start; }
  .cr-top time { white-space: normal; }
}
@media (min-width: 980px) { .cr-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.missing { padding: 36px 0 12px; }
.missing h1 {
  font-family: "Metropolis", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 8px 0;
}
.missing .lead { color: var(--ink-soft); max-width: 46ch; }

@media (min-width: 860px) {
  .pd { grid-template-columns: 0.92fr 1.08fr; gap: 40px; align-items: start; }
  .pd-visual { position: sticky; top: calc(var(--head-offset) + 16px); }
  .gift-split, .split, .contact-grid { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
  .review-layout { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .custom-grid { grid-template-columns: 0.85fr 1.15fr; gap: 8px 18px; padding: 18px; }
}

@media (min-width: 900px) {
  .hero { padding: 36px 0 78px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 28px; }
  .hero-visual { order: 0; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .review-card { flex-basis: calc((100% - 28px) / 3); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 980px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .shop-page .product-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav {
    position: static;
    transform: none;
    visibility: visible;
    overflow: visible;
    background: transparent;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    padding: 0;
    top: auto;
    bottom: auto;
  }
  .nav a {
    font-family: "Metropolis", "Segoe UI", sans-serif;
    font-size: 0.95rem;
    padding: 8px 10px;
    border: 0;
    position: relative;
  }
  .nav a.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--rose);
  }
  .nav-extra { display: none; }
  .wa-label { display: inline; }
  .header-inner { min-height: 76px; gap: 16px; }
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .wa-float { bottom: 20px; }
  .toast { bottom: 24px; }
  .track-desktop { display: inline-flex; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .shop-tools { flex-direction: row; align-items: center; justify-content: space-between; }
  .sort-pick { flex: 0 0 240px; }
}

@media (max-width: 1039px) {
  .track-desktop { display: none; }
  .header-wa { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
  .wa-float { display: none; }
}

@media (min-width: 1100px) {
  .header-wa { width: auto; height: auto; padding: 10px 14px; border-radius: 999px; }
}

@media (max-width: 700px) {
  .hero { padding: 6px 0 0; }
  .trust { margin-top: 22px; }
  .hero-stage { width: 100%; }
  .hero-script { font-size: 2.35rem; }
  .hero h1 { font-size: 1.9rem; margin: 2px 0 8px; }
  .hero-lead { font-size: 0.95rem; }
  .hero-points { margin: 10px 0 12px; gap: 8px 12px; }
  .hero-points li { font-size: 0.84rem; }
}

@media (max-width: 640px) {
  .dialog,
  .dialog.checkout {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: translateY(16px);
  }
  .dialog.show { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
