/* ==========================================================
   Lulu Vibe: soft, calm, cozy
   ========================================================== */
:root {
  --cream: #fbf7f2;
  --paper: #fffdf9;
  --blush: #f6dcd3;
  --rose: #e8b4a8;
  --rose-deep: #b86f63;
  --sage: #cfddc8;
  --sage-deep: #6f8b6a;
  --lavender: #e4ddf1;
  --butter: #f8ebc4;
  --sky: #d6e6ef;
  --ink: #4a3f42;
  --ink-soft: #7a6c70;
  --line: #eadfd6;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 36px;
  --shadow-sm: 0 2px 10px rgba(74, 63, 66, 0.06);
  --shadow: 0 12px 36px rgba(74, 63, 66, 0.09);
  --shadow-lg: 0 24px 60px rgba(74, 63, 66, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
em { font-style: italic; color: var(--rose-deep); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--paper); }
.section--blush { background: linear-gradient(180deg, var(--blush), #f9e8e2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--shadow); background: #3b3234; }
.btn--soft { background: var(--paper); border-color: var(--line); }
.btn--soft:hover { border-color: var(--rose); }
.btn--rose { background: var(--rose-deep); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--rose); padding-bottom: 2px; }
.link-arrow:hover { color: var(--rose-deep); }

/* ---------- Header ---------- */
.announce {
  background: var(--sage);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 247, 242, 0.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 40px; height: 40px; }
.logo span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--ink-soft); padding: 6px 0; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--rose); transform: scaleX(0); transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: none; background: transparent; display: grid; place-items: center;
  transition: background 0.25s;
}
.icon-btn:hover { background: var(--blush); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--rose-deep); color: #fff;
  font-size: 0.72rem; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform 0.3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    flex-direction: column; gap: 6px; padding: 100px 32px 32px;
    background: var(--paper); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.45s var(--ease);
    z-index: 45;
  }
  .nav-links.is-open { transform: none; }
  .nav-links a { font-size: 1.3rem; font-family: var(--font-display); display: block; padding: 10px 0; }
  .menu-close { position: absolute; top: 18px; right: 18px; }
}
@media (min-width: 861px) { .menu-close { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { position: relative; }
.hero-art img {
  border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%;
  box-shadow: var(--shadow-lg);
  animation: float 9s ease-in-out infinite;
}
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.hero-blob--1 { width: 340px; height: 340px; background: var(--lavender); top: -60px; right: -80px; }
.hero-blob--2 { width: 220px; height: 220px; background: var(--butter); bottom: -40px; left: -50px; }
.hero-note {
  position: absolute; left: -18px; bottom: 34px;
  background: var(--paper); border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow); font-weight: 700; font-size: 0.92rem; display: flex; gap: 10px; align-items: center;
}
.hero-note .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sage-deep); box-shadow: 0 0 0 5px var(--sage); }
@keyframes float { 50% { transform: translateY(-12px) rotate(-0.6deg); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .hero-note { left: 8px; }
}

/* ---------- Trust strip ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk-icon { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; }
.perk h4 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin: 2px 0 2px; }
.perk p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* ---------- Category tiles ---------- */
.categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category {
  position: relative; display: block; text-decoration: none; overflow: hidden;
  border-radius: var(--radius-lg); padding: 32px; min-height: 320px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.category:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category h3 { font-size: 1.7rem; margin-bottom: 6px; position: relative; z-index: 1; }
.category p { color: var(--ink-soft); max-width: 13em; position: relative; z-index: 1; }
.category img {
  position: absolute; right: -30px; bottom: -60px; width: 50%;
  transform: rotate(6deg); transition: transform 0.6s var(--ease);
  border-radius: 18px;
}
.category:hover img { transform: rotate(2deg) translateY(-8px); }
.category .link-arrow { position: relative; z-index: 1; }
@media (max-width: 860px) { .categories { grid-template-columns: 1fr; } .category { min-height: 260px; } .category img { width: 42%; } }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-media {
  position: relative; display: block; width: 100%; padding: 0; border: none;
  border-radius: var(--radius); overflow: hidden; background: var(--blush); aspect-ratio: 4 / 5;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.045); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--paper); border-radius: 999px; padding: 5px 12px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; box-shadow: var(--shadow-sm);
}
.product-info { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.product-info .meta { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-deep); }
.product-info h3 { font-size: 1.25rem; margin: 4px 0 4px; }
.product-info h3 button { background: none; border: none; padding: 0; text-align: left; font: inherit; }
.product-info h3 button:hover { color: var(--rose-deep); }
.product-info p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 14px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-weight: 800; font-size: 1.08rem; }
.add-btn {
  border: 2px solid var(--ink); background: transparent; border-radius: 999px;
  padding: 9px 18px; font-weight: 800; font-size: 0.88rem;
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.add-btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }

/* ---------- Shop filters ---------- */
.shop-hero { padding: 64px 0 24px; text-align: center; }
.shop-hero p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 32px 0 48px; }
.chip {
  border: 2px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 9px 20px; font-weight: 800; font-size: 0.92rem; transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.notice {
  max-width: 640px; margin: 0 auto 32px; padding: 14px 20px; border-radius: var(--radius-sm);
  background: var(--butter); text-align: center; font-weight: 700;
}
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0; }

/* ---------- Setups ---------- */
.setups { display: grid; gap: 64px; }
.setup { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.setup:nth-child(even) .setup-art { order: 2; }
.setup-art img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.setup-mood { font-weight: 800; color: var(--rose-deep); font-size: 0.9rem; }
.setup p { color: var(--ink-soft); }
.setup-items { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.setup-items li {
  display: flex; align-items: center; gap: 14px; background: var(--paper);
  border-radius: var(--radius-sm); padding: 8px 14px 8px 8px; box-shadow: var(--shadow-sm);
}
.setup-items img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.setup-items span { flex: 1; font-weight: 700; }
.setup-items .price { font-size: 0.95rem; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; } .setup:nth-child(even) .setup-art { order: 0; } }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius); border: none; padding: 0;
  background: var(--blush);
}
.gallery-btn { display: block; width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.h2-like { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; text-align: left;
  color: #fff; font-weight: 700; font-size: 0.9rem;
  background: linear-gradient(transparent, rgba(60, 45, 50, 0.6));
  opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease);
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item.is-tall { grid-row: span 2; }
.gallery--preview { grid-auto-rows: 200px; }
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .gallery-item figcaption { opacity: 1; transform: none; font-size: 0.78rem; padding: 24px 10px 8px; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: rgba(46, 37, 40, 0.82); padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius); background: var(--cream); }
.lightbox figcaption { color: #fff; margin-top: 14px; font-weight: 700; }
.lightbox .icon-btn { position: absolute; background: rgba(255, 255, 255, 0.92); }
.lightbox .icon-btn:hover { background: #fff; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Quote / story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.quote {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35;
  font-style: italic; margin: 0 0 18px;
}
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.testimonial p { font-size: 1.02rem; }
.testimonial cite { font-style: normal; font-weight: 800; font-size: 0.9rem; color: var(--ink-soft); }
.stars { color: var(--rose-deep); letter-spacing: 3px; margin-bottom: 10px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: var(--paper); border-radius: var(--radius); padding: 30px; }
.value-icon { font-size: 1.8rem; margin-bottom: 8px; }
@media (max-width: 860px) {
  .story, .testimonials, .values { grid-template-columns: 1fr; }
}

/* ---------- Newsletter ---------- */
.newsletter {
  position: relative; overflow: hidden;
  background: var(--lavender); border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px); text-align: center;
}
.newsletter::before, .newsletter::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0;
}
.newsletter::before { width: 260px; height: 260px; background: var(--blush); top: -120px; left: -80px; }
.newsletter::after { width: 200px; height: 200px; background: var(--butter); bottom: -110px; right: -40px; }
.newsletter > * { position: relative; z-index: 1; }
.newsletter p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 26px; }
.signup { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.signup:has(.name-input) { max-width: 640px; }
.signup .name-input { flex: 0 1 190px; }
.signup input[type="email"], .signup .name-input {
  flex: 1; min-width: 0; border: 2px solid transparent; border-radius: 999px;
  padding: 14px 22px; font: inherit; background: var(--paper); color: var(--ink);
  transition: border-color 0.25s;
}
.signup input[type="email"]:focus, .signup .name-input:focus { outline: none; border-color: var(--rose); }
.signup .hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.6em; margin: 12px 0 0; font-weight: 700; font-size: 0.95rem; }
.form-msg.is-ok { color: var(--sage-deep); }
.form-msg.is-error { color: var(--rose-deep); }
@media (max-width: 620px) { .signup { flex-direction: column; } .signup .name-input { flex-basis: auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: 72px 0 32px; margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: var(--ink-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--rose-deep); }
.footer-about p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 12px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.86rem; color: var(--ink-soft);
}
.pay-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-grid .signup { flex-direction: column; margin: 0; }
.footer-grid .signup input[type="email"] { border-color: var(--line); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Drawer (cart) & modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(46, 37, 40, 0.38);
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(440px, 100%);
  background: var(--cream); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.5s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.ship-progress { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 18px; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage-deep), var(--sage)); border-radius: inherit; transition: width 0.6s var(--ease); }
.subtotal { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.small { font-size: 0.85rem; color: var(--ink-soft); }
.secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line img { width: 76px; height: 92px; object-fit: cover; border-radius: 12px; background: var(--blush); }
.cart-line h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 800; margin: 0; }
.cart-line .small { margin: 0 0 8px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: none; background: none; font-weight: 800; border-radius: 50%; }
.qty button:hover { background: var(--blush); }
.qty span { min-width: 24px; text-align: center; font-weight: 800; font-size: 0.92rem; }
.remove { border: none; background: none; font-size: 0.82rem; color: var(--ink-soft); text-decoration: underline; padding: 4px 0; display: block; margin-top: 6px; }
.cart-empty { text-align: center; padding: 56px 12px; color: var(--ink-soft); }
.cart-empty .big { font-size: 3rem; margin-bottom: 8px; }

.modal {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px;
  visibility: hidden; pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal-card {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr;
  opacity: 0; transform: translateY(24px) scale(0.98); transition: all 0.45s var(--ease);
}
.modal.is-open .modal-card { opacity: 1; transform: none; }
.modal-card > img { width: 100%; height: 100%; object-fit: cover; background: var(--blush); min-height: 360px; }
.modal-content { padding: 40px 36px; }
.modal-content .price { font-size: 1.4rem; display: block; margin-bottom: 14px; }
.modal-content ul { padding-left: 20px; color: var(--ink-soft); margin: 0 0 22px; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--paper); z-index: 1; }
.size-label { font-weight: 800; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; border: none; padding: 0; }
.sizes label { position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; }
.sizes span {
  display: inline-block; min-width: 54px; text-align: center; padding: 9px 14px;
  border: 2px solid var(--line); border-radius: 12px; font-weight: 800; font-size: 0.9rem;
  background: var(--paper); cursor: pointer; transition: all 0.2s;
}
.sizes input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sizes input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
.sizes.is-missing span { border-color: var(--rose-deep); }
.buy-row { display: flex; gap: 12px; align-items: center; }
.buy-row .btn { flex: 1; }
@media (max-width: 720px) {
  .modal-card { grid-template-columns: 1fr; }
  .modal-card > img { min-height: 0; max-height: 46vh; }
  .modal-content { padding: 28px 24px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90;
  transform: translate(-50%, 140%); background: var(--ink); color: var(--paper);
  padding: 13px 22px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease), visibility 0.5s; max-width: calc(100% - 32px); text-align: center;
  visibility: hidden;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Page heroes / simple pages ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; }
.page-hero p { color: var(--ink-soft); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.center-card {
  max-width: 620px; margin: 0 auto; text-align: center; background: var(--paper);
  padding: clamp(36px, 6vw, 64px); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.center-card .big { font-size: 3.4rem; margin-bottom: 8px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

body.no-scroll { overflow: hidden; }

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