/* ==========================================================================
   Astrovino — styles
   Colors and fonts live in :root so the look can be tuned in one place.
   ========================================================================== */

:root {
  --wine-900: #1a0a12;
  --wine-800: #2a0f1c;
  --wine-700: #4a1530;
  --wine-600: #6e1f45;
  --wine-500: #8f2a5a;
  --gold: #d8b26e;
  --gold-soft: #f1e2c2;
  --cream: #faf6ef;
  --cream-2: #f3ece0;
  --ink: #241a1f;
  --muted: #6b5d63;
  --line: #e4d9cb;
  --white: #fff;

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

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgb(42 15 28 / 0.25);
  --shadow-lg: 0 24px 60px -20px rgb(42 15 28 / 0.4);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--wine-900); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine-500); margin-bottom: .8em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--wine-900); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-wine { background: var(--wine-700); color: var(--white); }
.btn-wine:hover { background: var(--wine-600); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--cream); transition: background .3s, box-shadow .3s, color .3s;
}
.site-header.is-scrolled {
  background: rgb(26 10 18 / .85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgb(255 255 255 / .08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.logo svg { width: 30px; height: 30px; color: var(--gold); }

.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .85; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav a:hover, .nav a.is-current { opacity: 1; }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: transparent; color: inherit; border: 1.5px solid rgb(255 255 255 / .35);
  border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; color: inherit; }
.menu-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.menu-toggle span + span { margin-top: 7px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    background: var(--wine-900); padding: 8px 16px 20px;
    transform: translateY(-120%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgb(255 255 255 / .08); font-size: 1.05rem; }
  .nav a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 70% 20%, rgb(143 42 90 / .55), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgb(216 178 110 / .18), transparent 50%),
    linear-gradient(160deg, var(--wine-900), var(--wine-800) 60%, var(--wine-700));
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video.is-missing { display: none; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(26 10 18 / .35), rgb(26 10 18 / .75)); }

/* Star field — the "astro" in Astrovino */
.stars, .stars::before {
  position: absolute; inset: 0; background-repeat: repeat; pointer-events: none;
}
.stars {
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 200px 160px, var(--gold-soft), transparent),
    radial-gradient(1px 1px at 280px 40px, #fff, transparent);
  background-size: 320px 220px;
  opacity: .5;
  animation: twinkle 6s ease-in-out infinite alternate;
}
.stars::before {
  content: "";
  background-image:
    radial-gradient(1px 1px at 60px 120px, #fff, transparent),
    radial-gradient(2px 2px at 160px 20px, var(--gold), transparent),
    radial-gradient(1px 1px at 240px 190px, #fff, transparent);
  background-size: 300px 240px;
  animation: twinkle 4s ease-in-out infinite alternate-reverse;
}
@keyframes twinkle { from { opacity: .3; } to { opacity: 1; } }

.hero-content { position: relative; padding-block: calc(var(--header-h) + 40px) 80px; max-width: 760px; margin-left: max(16px, (100% - 1180px) / 2); }
.hero .eyebrow { color: var(--gold); }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 560px; opacity: .9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 10vw, 120px); }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--wine-900); color: var(--cream); }
.section-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p:last-child, .contact-info > p { color: rgb(250 246 239 / .75); }

/* ---------- Sign box (zodiac) ---------- */
.section-night {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(ellipse at 85% 10%, rgb(143 42 90 / .45), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgb(216 178 110 / .14), transparent 45%),
    var(--wine-900);
}
.section-night > .container { position: relative; }
.section-night .eyebrow { color: var(--gold); }
.section-night .section-head p:last-child { color: rgb(250 246 239 / .75); }

.zodiac { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 860px) { .zodiac { grid-template-columns: 1fr; } }

.zodiac-wheel {
  --r: 41cqi;
  position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-inline: auto;
  container-type: inline-size; border-radius: 50%;
  border: 1px solid rgb(216 178 110 / .35);
  background: radial-gradient(circle, rgb(216 178 110 / .06) 0 30%, transparent 30.5% 66%, rgb(216 178 110 / .25) 66.2%, transparent 66.6%);
}
.sign-btn {
  --a: calc(var(--i) * 30deg - 90deg);
  position: absolute; left: 50%; top: 50%; width: 15cqi; height: 15cqi; margin: -7.5cqi;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
  border-radius: 50%; border: 1px solid rgb(250 246 239 / .2); background: rgb(26 10 18 / .7);
  color: var(--cream); font-size: 7cqi; line-height: 1;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", system-ui, sans-serif;
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.sign-btn:hover { border-color: var(--gold); color: var(--gold); }
.sign-btn.is-current { border-color: var(--gold); box-shadow: 0 0 0 4px rgb(216 178 110 / .15), 0 0 24px rgb(216 178 110 / .35); }
.sign-btn.is-selected { background: var(--gold); color: var(--wine-900); border-color: var(--gold); }

.wheel-center {
  position: absolute; inset: 31%; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 2px;
}
.wheel-glyph { font-size: 13cqi; line-height: 1; color: var(--gold); font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; }
.wheel-name { font-family: var(--font-display); font-size: 5.5cqi; font-weight: 600; }
.wheel-hint { font-size: 3.2cqi; opacity: .6; text-transform: uppercase; letter-spacing: .12em; }

.zodiac-side { display: grid; gap: 24px; }
.birthday { display: grid; gap: 8px; font-size: .9rem; }
.birthday label { color: rgb(250 246 239 / .75); }
.birthday input {
  font: inherit; color: var(--cream); background: rgb(255 255 255 / .06); color-scheme: dark;
  border: 1.5px solid rgb(255 255 255 / .15); border-radius: var(--radius-sm); padding: 10px 14px; max-width: 240px;
}
.birthday input:focus { outline: none; border-color: var(--gold); }

.sign-panel {
  background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius); padding: clamp(22px, 4vw, 32px);
}
.sign-panel h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: .1em; }
.sign-glyph { color: var(--gold); font-family: "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; font-weight: 400; }
.sign-meta { color: rgb(250 246 239 / .6); font-size: .92rem; }
.sign-box { display: grid; grid-template-columns: minmax(110px, 42%) 1fr; gap: 20px; align-items: start; margin: 20px 0 20px; }
.sign-box-media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; }
.sign-box-media img { width: 100%; height: 100%; object-fit: cover; }
.sign-box-media figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px;
  background: rgb(26 10 18 / .75); color: var(--gold-soft); font-size: .7rem; font-weight: 600; letter-spacing: .04em;
}
.box-options { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.box-options li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-sm);
}
.box-options strong { display: block; font-size: .98rem; }
.box-options span { display: block; color: rgb(250 246 239 / .7); font-size: .85rem; line-height: 1.4; }
.box-options .btn { padding: .6em 1.1em; font-size: .88rem; flex: none; }
.sign-note { color: rgb(250 246 239 / .55); font-size: .82rem; margin: 0; }
.sign-box h4 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .3em; }
.sign-box p:last-child { color: rgb(250 246 239 / .75); font-size: .95rem; margin: 0; }
.sign-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 .4em; }
.sign-includes { margin: 0 0 20px; padding-left: 1.2em; color: rgb(250 246 239 / .8); }
.sign-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sign-actions .price { color: var(--gold-soft); }
.sign-soon { color: rgb(250 246 239 / .75); margin: 16px 0 20px; }

/* ---------- Founders ---------- */
.founders { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.founder {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
@media (max-width: 480px) { .founder { grid-template-columns: 1fr; } }
.founder-photo { width: 120px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo .placeholder svg { width: 46%; }
.founder .eyebrow { margin-bottom: .4em; }
.founder p:last-child { color: var(--muted); margin: 0; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 8px 18px; font-size: .92rem; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--wine-500); }
.chip.is-active { background: var(--wine-700); border-color: var(--wine-700); color: var(--white); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.is-hidden { display: none; }

.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-2); }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-wide .card-media { aspect-ratio: 16 / 10; }

/* Placeholder shown until real photos are added */
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--ph-a, var(--wine-700)), var(--ph-b, var(--wine-900)));
  color: rgb(255 255 255 / .85);
}
.placeholder svg { width: 38%; max-width: 110px; height: auto; }

.badge {
  position: absolute; top: 14px; left: 14px; background: rgb(255 255 255 / .92); color: var(--wine-700);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 8px; }
.price { font-weight: 600; color: var(--wine-700); }
.link-more {
  background: none; border: 0; padding: 0; font-size: .9rem; font-weight: 600; color: var(--wine-600);
}
/* Makes the whole card clickable through its "See more" button */
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:has(.stretched:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.stretched:focus-visible { outline: none; }

/* Phones: two compact wine cards per row so the catalog stays short */
@media (max-width: 560px) {
  #wine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #wine-grid .card { border-radius: 14px; }
  #wine-grid .card:hover { transform: none; }
  #wine-grid .badge { top: 8px; left: 8px; font-size: .62rem; padding: 3px 8px; }
  #wine-grid .card-body { padding: 12px 12px 14px; }
  #wine-grid .card-meta { font-size: .72rem; line-height: 1.35; margin-bottom: 6px; }
  #wine-grid .card-body h3 { font-size: 1rem; }
  #wine-grid .card-body > p:not(.card-meta) {
    font-size: .82rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  #wine-grid .card-foot { flex-direction: column; align-items: flex-start; gap: 2px; }
  #wine-grid .price, #wine-grid .link-more { font-size: .8rem; }
}

/* ---------- Carousel (CSS scroll-snap) ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 85%);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  padding: 4px 4px 28px; scrollbar-width: thin; scrollbar-color: var(--wine-500) transparent;
}
.carousel > * { scroll-snap-align: start; }
.carousel-btn {
  position: absolute; top: 40%; z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--wine-700); font-size: 1.6rem; line-height: 1;
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .carousel-btn { display: none; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: none; }
.steps li { padding: 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--wine-900); font-weight: 700; margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  font-size: 1.5rem; color: var(--wine-500); transition: rotate .25s var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 48px; grid-template-columns: 1fr 1.1fr; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 10px 0; font-weight: 500;
}
.contact-links a:hover { color: var(--gold); }
.contact-links svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

.contact-form {
  background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .1);
  border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px;
}
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--cream); background: rgb(255 255 255 / .06);
  border: 1.5px solid rgb(255 255 255 / .15); border-radius: var(--radius-sm); padding: 12px 14px;
  width: 100%; color-scheme: dark;
}
.contact-form select option { background: var(--wine-900); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-row[hidden], .contact-form label[hidden] { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-error { color: #ffb4b4; margin: 0; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-900); color: rgb(250 246 239 / .6); border-top: 1px solid rgb(255 255 255 / .08); font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; }
.footer-inner p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center;
  box-shadow: 0 10px 25px -8px rgb(0 0 0 / .45); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float[hidden] { display: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Dialog ---------- */
.product-dialog {
  width: min(880px, 100% - 32px); max-height: calc(100svh - 32px); padding: 0; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--white); color: var(--ink);
  overflow: auto;
}
.product-dialog::backdrop { background: rgb(26 10 18 / .7); backdrop-filter: blur(4px); }
.product-dialog[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dialog-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgb(255 255 255 / .9); font-size: 1.6rem; line-height: 1; color: var(--ink);
}
.dialog-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
@media (max-width: 700px) { .dialog-grid { grid-template-columns: 1fr; } }
.dialog-media { min-height: 280px; background: var(--cream-2); }
.dialog-media > * { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: clamp(24px, 4vw, 40px); }
.dialog-content .price { font-size: 1.2rem; display: block; margin: 8px 0 20px; }
.dialog-content ul { padding-left: 1.2em; color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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