/* ===================================================================
   .bloom — Fleuriste & atelier floral, Lyon — style.css
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Jost:wght@300;400;500;600&display=swap');

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

:root {
  --bordeaux: #6b0f14;
  --bordeaux-deep: #43090c;
  --cream: #faf6f2;
  --white: #ffffff;
  --text: #2a1210;
  --muted: #8a7570;
  --muted-on-dark: rgba(250,246,242,0.68);
  --rose: #e3b9b3;
  --line: rgba(42,18,16,0.1);
  --line-dark: rgba(250,246,242,0.18);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
  --radius-lg: 1.4rem;
  --radius-md: 0.8rem;
  --radius-pill: 100px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--white); color: var(--text);
  font-family: var(--font-sans); font-weight: 400; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 3rem; }
@media (max-width: 900px) { .wrap { padding: 0 1.4rem; } }
section { position: relative; }

.eyebrow {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bordeaux); font-weight: 500;
  display: inline-block; margin-bottom: 0.9rem;
}
.eyebrow.on-dark { color: var(--rose); }

.title-block h2 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.2; }
.title-block.on-dark h2 { color: #fff; }

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--white); color: var(--bordeaux);
  padding: 0.9rem 1.7rem; border-radius: var(--radius-pill);
  text-decoration: none; font-size: 0.85rem; letter-spacing: 0.03em;
  border: none; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.btn-pill .arrow { transition: transform 0.2s ease; }
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill:hover .arrow { transform: translateX(3px); }
.btn-pill.dark { background: var(--bordeaux); color: #fff; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid rgba(42,18,16,0.25); color: var(--text);
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill);
  text-decoration: none; font-size: 0.85rem; letter-spacing: 0.03em;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--bordeaux); background: rgba(107,15,20,0.06); }
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline.on-dark:hover { border-color: var(--rose); background: rgba(255,255,255,0.08); }

/* ---------- Nav ---------- */
header.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.6rem 3rem;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  mix-blend-mode: normal;
}
header.site-nav.scrolled {
  background: rgba(107,15,20,0.92); backdrop-filter: blur(14px);
  padding: 1.1rem 3rem; box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}
@media (max-width: 900px) { header.site-nav, header.site-nav.scrolled { padding: 1.2rem 1.4rem; } }

.menu-trigger {
  justify-self: start; background: none; border: none; cursor: pointer;
  color: var(--nav-color, #fff); font-family: var(--font-sans); font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4rem;
}
.wordmark {
  justify-self: center; text-decoration: none; color: var(--nav-color, #fff);
  font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; letter-spacing: 0.02em;
}
.nav-icons { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.nav-icons button, .nav-icons a { background: none; border: none; cursor: pointer; color: var(--nav-color, #fff); display: flex; }
.nav-icons svg { width: 19px; height: 19px; }

/* On light-background inner pages, force nav to a dark readable variant until scrolled */
body.nav-on-light header.site-nav:not(.scrolled) { --nav-color: var(--bordeaux); }

/* ---------- Menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bordeaux); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  visibility: hidden; opacity: 0; transition: opacity 0.35s ease, visibility 0.35s ease;
}
.menu-overlay.open { visibility: visible; opacity: 1; }
.menu-close {
  position: absolute; top: 1.6rem; right: 2rem; background: none; border: none;
  color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.menu-overlay nav { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.menu-overlay nav a {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff; text-decoration: none; transition: color 0.2s;
}
.menu-overlay nav a:hover { color: var(--rose); }
.menu-overlay-info { text-align: center; font-size: 0.85rem; color: var(--muted-on-dark); line-height: 1.8; }
.menu-overlay-socials { display: flex; gap: 1rem; justify-content: center; margin-top: 0.6rem; }
.menu-overlay-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
.menu-overlay-socials svg { width: 15px; height: 15px; }

/* ---------- Hero (split) ---------- */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; min-height: auto; } }
.hero-copy {
  background: var(--bordeaux); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 4rem 5rem; gap: 1.8rem;
}
@media (max-width: 900px) { .hero-copy { padding: 7rem 2rem 3.5rem; } }
.hero-copy .eyebrow.on-dark { text-align: center; }
.hero-copy h1 {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1.2; max-width: 16ch;
}
.hero-cta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-media { position: relative; min-height: 340px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ---------- Featured products ---------- */
.section-pad { padding: 6rem 0; }
.section-pad.tight { padding: 4rem 0; }
.bg-cream { background: var(--cream); }
.bg-bordeaux { background: var(--bordeaux); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.6rem; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { position: relative; text-decoration: none; color: var(--text); display: block; }
.product-media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; background: var(--cream); display: block; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-fav {
  position: absolute; top: 0.8rem; right: 0.8rem; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center;
  color: var(--bordeaux); border: none; cursor: pointer; z-index: 2; transition: transform 0.2s ease;
}
.product-fav svg { width: 16px; height: 16px; transition: fill 0.2s ease; }
.product-fav:hover { transform: scale(1.08); }
.product-fav.is-fav svg { fill: var(--bordeaux); }
.product-info { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.9rem; }
.product-info .pname { font-size: 0.95rem; }
.product-info .pprice { font-size: 0.95rem; color: var(--bordeaux); font-weight: 500; }
.product-info .pprice .unit { color: var(--muted); font-size: 0.78rem; font-weight: 400; }

.btn-add-cart {
  width: 100%; margin-top: 0.8rem;
  padding: 0.65rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid var(--bordeaux); background: transparent; color: var(--bordeaux);
  font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.02em;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn-add-cart:hover { background: var(--bordeaux); color: #fff; }
.btn-add-cart.added { background: var(--bordeaux); color: #fff; }
.btn-quote-link {
  display: block; width: 100%; margin-top: 0.8rem; text-align: center; box-sizing: border-box;
  padding: 0.65rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid var(--line); color: var(--text); text-decoration: none;
  font-size: 0.8rem; transition: border-color 0.2s, background 0.2s;
}
.btn-quote-link:hover { border-color: var(--bordeaux); background: rgba(107,15,20,0.06); }

/* ---------- Cart trigger & badge ---------- */
.cart-trigger { position: relative; background: none; border: none; cursor: pointer; padding: 0; display: flex; }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  background: var(--rose); color: var(--bordeaux-deep);
  font-size: 0.62rem; font-weight: 700; line-height: 1;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.cart-badge.empty { display: none; }
.cart-badge.bump { animation: cartBump 0.35s ease; }
@keyframes cartBump { 0% { transform: scale(1); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* ---------- Cart drawer ---------- */
.cart-backdrop {
  position: fixed; inset: 0; background: rgba(42,18,16,0.4); z-index: 950;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 960;
  background: var(--white); color: var(--text);
  box-shadow: -14px 0 44px rgba(0,0,0,0.2);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 1.6rem 1.2rem; border-bottom: 1px solid var(--line); }
.cart-header h3 { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; font-weight: 500; }
.cart-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; }
.cart-empty { color: var(--muted); font-size: 0.92rem; text-align: center; padding: 2.5rem 0; }
.cart-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.cart-item img { width: 62px; height: 62px; border-radius: 0.6rem; object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-info .ciname { font-size: 0.9rem; margin-bottom: 0.2rem; display: block; }
.cart-item-info .ciprice { font-size: 0.82rem; color: var(--muted); }
.cart-qty { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem; }
.cart-qty button {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line);
  background: none; cursor: pointer; font-size: 0.85rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; color: var(--text);
}
.cart-qty button:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.cart-qty span { font-size: 0.85rem; min-width: 14px; text-align: center; }
.cart-item-remove { background: none; border: none; color: var(--muted); font-size: 0.74rem; text-decoration: underline; cursor: pointer; margin-left: 0.5rem; }
.cart-footer { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 1.1rem; }
.cart-total span:last-child { color: var(--bordeaux); font-weight: 500; }
.cart-checkout-btn { width: 100%; justify-content: center; border: none; }
.cart-note { font-size: 0.72rem; color: var(--muted); text-align: center; margin-top: 0.8rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bordeaux-deep); color: #fff; padding: 0.85rem 1.4rem; border-radius: var(--radius-pill);
  font-size: 0.85rem; z-index: 999; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- About / philosophy collage ---------- */
.about-collage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center; }
@media (max-width: 900px) { .about-collage { grid-template-columns: 1fr; } }
.about-text p { color: var(--muted); max-width: 42ch; margin-bottom: 1rem; }
.about-images { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1rem; align-items: end; }
.about-images img { border-radius: var(--radius-md); object-fit: cover; width: 100%; }
.about-images .small { aspect-ratio: 1/1; }
.about-images .tall { aspect-ratio: 3/3.6; }
.about-heading { text-align: center; padding: 3.5rem 0; }
.about-heading h2 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Teaser band (events/ateliers) ---------- */
.teaser-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
@media (max-width: 900px) { .teaser-band { grid-template-columns: 1fr; text-align: center; } }
.teaser-band img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.teaser-band p { color: var(--muted-on-dark); margin: 1rem 0 1.6rem; max-width: 46ch; }
@media (max-width: 900px) { .teaser-band p { margin-left: auto; margin-right: auto; } }

/* ---------- Filter pills (catalogue) ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 2rem 0 2.6rem; }
.filter-pill {
  padding: 0.65rem 1.3rem; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: var(--white); color: var(--text); font-size: 0.82rem; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-pill.active { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.filter-pill:hover:not(.active) { border-color: var(--bordeaux); }

.catalogue-intro { color: var(--muted); max-width: 46ch; margin-bottom: 1rem; }
.catalogue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .catalogue-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catalogue-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding: 10rem 0 3.5rem; text-align: center; }
.page-header h1 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-header p { color: var(--muted); max-width: 52ch; margin: 1rem auto 0; }
.page-header.on-dark { color: #fff; }
.page-header.on-dark p { color: var(--muted-on-dark); }

/* ---------- Events & workshops page ---------- */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .split-feature { grid-template-columns: 1fr; gap: 1.8rem; } }
.split-feature.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split-feature.reverse .split-media { order: 0; } }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text p { color: var(--muted); margin: 1.1rem 0 1.4rem; max-width: 48ch; }
.split-text.on-dark p { color: var(--muted-on-dark); }
.step-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1rem; }
.step-list li { display: flex; gap: 0.9rem; align-items: baseline; font-size: 0.95rem; }
.step-list .snum { font-family: var(--font-serif); font-style: italic; color: var(--bordeaux); font-size: 1.3rem; flex-shrink: 0; }

.workshop-dates { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.2rem; max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .workshop-dates { grid-template-columns: 1fr; } }
.workshop-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.8rem; }
.workshop-card .wdate { font-family: var(--font-serif); font-style: italic; color: var(--bordeaux); font-size: 1.3rem; display: block; margin-bottom: 0.6rem; }
.workshop-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; font-weight: 500; }
.workshop-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.9rem; }
.workshop-card .wprice { font-size: 0.85rem; color: var(--bordeaux); font-weight: 500; }
.workshop-card .btn-outline { width: 100%; justify-content: center; box-sizing: border-box; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info-list { display: flex; flex-direction: column; gap: 1.1rem; margin: 1.6rem 0 1.8rem; }
.contact-info-list .cl-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.3rem; }
.contact-info-list .cl-value { font-size: 1.05rem; }
.contact-info-list a { color: #fff; text-decoration: none; }
.contact-socials { display: flex; gap: 0.8rem; margin: 1.6rem 0; }
.contact-socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.contact-socials a:hover { background: rgba(255,255,255,0.1); border-color: var(--rose); }
.contact-socials svg { width: 17px; height: 17px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; }

.order-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.order-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .order-form .form-row { grid-template-columns: 1fr; } }
.order-form label { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; display: block; }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 0.6rem; border: 1px solid var(--line);
  font-family: var(--font-sans); font-size: 0.92rem; background: var(--white); color: var(--text);
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: none; border-color: var(--bordeaux); }
.order-form textarea { resize: vertical; min-height: 110px; }

/* ---------- Footer with oversized wordmark ---------- */
footer.site-footer { background: var(--bordeaux); color: #fff; padding-top: 4rem; position: relative; overflow: hidden; }
.footer-top-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-nav { display: flex; gap: 1.8rem; flex-wrap: wrap; list-style: none; }
.footer-nav a { color: var(--muted-on-dark); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-cta img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-md); }
.footer-giant {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: clamp(5rem, 22vw, 13rem); line-height: 0.8;
  color: rgba(255,255,255,0.06); text-align: left; margin: 1.5rem 0 -1.5rem -0.3rem;
  user-select: none; pointer-events: none;
}
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line-dark); padding: 1.4rem 0 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.78rem; color: rgba(250,246,242,0.5);
}
.footer-bottom a { color: rgba(250,246,242,0.5); text-decoration: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Demo badge ---------- */
.demo-badge {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 700;
  background: rgba(42,18,16,0.9); color: #fff; font-size: 0.7rem; letter-spacing: 0.02em;
  padding: 0.55rem 0.9rem; border-radius: var(--radius-pill); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15); opacity: 0.85; transition: opacity 0.2s, background 0.2s;
  backdrop-filter: blur(6px);
}
.demo-badge:hover { opacity: 1; background: var(--bordeaux); }

/* ---------- Checkout modal (fictional order flow) ---------- */
.checkout-backdrop {
  position: fixed; inset: 0; background: rgba(42,18,16,0.55); z-index: 970;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.checkout-backdrop.open { opacity: 1; visibility: visible; }
.checkout-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.96);
  width: min(540px, 92vw); max-height: 88vh; overflow-y: auto;
  background: var(--white); color: var(--text); border-radius: var(--radius-lg); z-index: 980;
  padding: 2.4rem 2.2rem 2.2rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.checkout-modal.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.checkout-close {
  position: absolute; top: 1.3rem; right: 1.5rem; background: none; border: none;
  font-size: 1.3rem; cursor: pointer; color: var(--muted); line-height: 1;
}
.checkout-step h3 { font-family: var(--font-serif); font-style: italic; font-size: 1.7rem; font-weight: 500; margin-bottom: 1.3rem; }
.checkout-summary { display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1rem; max-height: 160px; overflow-y: auto; }
.checkout-summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--muted); }
.checkout-summary-row span:first-child { color: var(--text); }
.checkout-summary-total { display: flex; justify-content: space-between; font-size: 1.08rem; padding-top: 0.9rem; border-top: 1px solid var(--line); margin-bottom: 1.5rem; }
.checkout-summary-total span:last-child { color: var(--bordeaux); font-weight: 500; }
.checkout-step .order-form { gap: 1rem; }

.checkout-success { text-align: center; }
.checkout-check {
  width: 62px; height: 62px; border-radius: 50%; background: var(--bordeaux); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  margin: 0 auto 1.2rem; animation: checkPop 0.5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes checkPop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.checkout-success p { color: var(--muted); margin-bottom: 0.6rem; }
.checkout-delivery { color: var(--bordeaux) !important; font-weight: 500; }
.checkout-success .checkout-summary { text-align: left; margin: 1.4rem 0 0; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; z-index: 940;
  background: var(--bordeaux); color: #fff;
  padding: 1.6rem 3rem 2.2rem;
  transform: translateY(-100%); transition: transform 0.35s ease;
  max-height: 100vh; overflow-y: auto;
}
.search-overlay.open { transform: translateY(0); }
@media (max-width: 900px) { .search-overlay { padding: 1.4rem 1.4rem 1.8rem; } }
.search-box { display: flex; align-items: center; gap: 1rem; max-width: 720px; margin: 3.6rem auto 0; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 0.9rem; }
.search-box svg { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.7; }
.search-box input {
  flex: 1; background: none; border: none; outline: none; color: #fff;
  font-family: var(--font-serif); font-style: italic; font-size: 1.4rem;
}
.search-box input::placeholder { color: rgba(255,255,255,0.5); }
.search-close { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; flex-shrink: 0; }
.search-results { max-width: 720px; margin: 1rem auto 0; display: flex; flex-direction: column; gap: 0.2rem; max-height: 46vh; overflow-y: auto; }
.search-result {
  display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0.6rem; border-radius: 0.5rem;
  color: #fff; text-decoration: none; font-size: 0.95rem; transition: background 0.15s;
}
.search-result:hover { background: rgba(255,255,255,0.1); }
.search-result .sr-price { color: var(--rose); font-size: 0.85rem; }
.search-hint, .search-empty { color: rgba(255,255,255,0.5); font-size: 0.88rem; padding: 0.7rem 0.6rem; }

.search-highlight { border-radius: var(--radius-md); animation: searchPulse 1.6s ease; }
@keyframes searchPulse {
  0% { box-shadow: 0 0 0 0 rgba(107,15,20,0.4); }
  65% { box-shadow: 0 0 0 12px rgba(107,15,20,0); }
  100% { box-shadow: 0 0 0 0 rgba(107,15,20,0); }
}

/* ---------- Workshop booking modal ---------- */
.date-options { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.3rem; }
.date-option {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: 100%; text-align: left; padding: 0.9rem 1.1rem; border-radius: var(--radius-md);
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.date-option:hover { border-color: var(--bordeaux); }
.date-option.selected { border-color: var(--bordeaux); background: rgba(107,15,20,0.05); }
.do-left { display: flex; flex-direction: column; gap: 0.15rem; }
.do-date { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; }
.date-option.selected .do-date { color: var(--bordeaux); }
.do-theme { font-size: 0.8rem; color: var(--muted); }
.do-price { font-size: 0.85rem; color: var(--bordeaux); font-weight: 500; flex-shrink: 0; }

.people-stepper { display: flex; align-items: center; gap: 0.9rem; }
.people-stepper button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: none; cursor: pointer; font-size: 1rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
}
.people-stepper button:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.people-stepper span#peopleCount { font-size: 1rem; min-width: 16px; text-align: center; }
.people-note { font-size: 0.76rem; color: var(--muted); }
