/* Coolside — design system */
:root {
  --cream: #F6F1E7;
  --cream-soft: #FBF8F2;
  --sage: #B7C9B2;
  --sage-deep: #8AAA8E;
  --sage-shadow: #6B8A70;
  --navy: #1A2540;
  --navy-soft: #2A3855;
  --coral: #E8A48B;
  --coral-soft: #F4C4B0;
  --white: #FFFFFF;
  --gray-warm: #6B6358;
  --gray-line: #E5DDD0;
  --shadow-sm: 0 1px 3px rgba(26, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 37, 64, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 37, 64, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --max-w: 1240px;
  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-shadow);
  margin-bottom: 1rem;
  display: inline-block;
}

p { color: var(--gray-warm); }
.lead { font-size: 1.125rem; color: var(--navy-soft); line-height: 1.7; }

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }

/* Announcement bar */
.announce-bar {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 0.55rem 3rem;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 101;
}
.announce-bar strong { color: var(--cream); }
.announce-bar-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(246, 241, 231, 0.6);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}
.announce-bar-close:hover { color: var(--cream); }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-line);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 28px; height: 28px;
  display: inline-block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage-shadow); }
.nav-cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-cart:hover { background: var(--navy-soft); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-soft) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 50vw;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--sage) 0%, transparent 65%);
  opacity: 0.45;
  filter: blur(40px);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--sage-shadow); }
.hero .lead { max-width: 32rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-line);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item { font-size: 0.85rem; color: var(--gray-warm); }
.trust-item strong { display: block; color: var(--navy); font-size: 1.5rem; font-family: var(--font-serif); font-weight: 500; margin-bottom: 0.1rem; }
.hero-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sage);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--cream); }
.btn-coral { background: var(--coral); color: var(--navy); }
.btn-coral:hover { background: var(--coral-soft); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.15rem 2.25rem; font-size: 1rem; }

/* Section headings */
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3.5rem; }
.section-head .eyebrow { color: var(--coral); }
.section-head h2 { margin-bottom: 1rem; }

/* Featured products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sage);
  position: relative;
}
.product-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cream);
  color: var(--navy);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-card-body { padding: 1.25rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.product-card-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.product-card-tagline { font-size: 0.9rem; color: var(--gray-warm); margin-bottom: 1rem; flex: 1; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-card-price { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); }
.product-card-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-shadow);
  letter-spacing: 0.02em;
}
.product-card-cta::after { content: " →"; transition: transform 0.2s; display: inline-block; }
.product-card:hover .product-card-cta::after { transform: translateX(3px); }

/* Story / 2-col */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sage);
  box-shadow: var(--shadow-md);
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 1.25rem; }
.split-body p + p { margin-top: 1rem; }
.split-body .btn { margin-top: 2rem; }

/* Reviews */
.review-bg { background: var(--navy); color: var(--cream); }
.review-bg h2 { color: var(--cream); }
.review-bg p { color: rgba(246, 241, 231, 0.75); }
.review-bg .eyebrow { color: var(--coral-soft); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.review-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-stars { color: var(--coral); font-size: 1.1rem; letter-spacing: 0.1em; }
.review-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--cream);
  font-style: italic;
}
.review-author {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}
.review-author strong { display: block; color: var(--cream); font-weight: 500; }
.review-author span { color: rgba(246, 241, 231, 0.5); font-size: 0.8rem; }

/* Sticky add-to-bag bar */
.sticky-atc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-line);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 16px rgba(26, 37, 64, 0.08);
}
.sticky-atc.sticky-atc-visible { transform: translateY(0); }
.sticky-atc-name { font-weight: 500; color: var(--navy); font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .sticky-atc { padding: 0.75rem 1rem; } .sticky-atc-name { font-size: 0.85rem; } }

/* Kits */
.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.kit-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.kit-label {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 500;
}
.kit-items { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.kit-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--gray-warm); }
.kit-item::before { content: '—'; color: var(--sage-deep); flex-shrink: 0; }
.kit-total { font-size: 1rem; color: var(--navy); font-weight: 500; }
.kit-total .kit-note { font-weight: 400; color: var(--sage-deep); }
@media (max-width: 640px) { .kit-grid { grid-template-columns: 1fr; } }

/* Email signup */
.signup {
  background: var(--sage);
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}
.signup h2 { color: var(--navy); margin-bottom: 1rem; }
.signup p { color: var(--navy-soft); max-width: 32rem; margin: 0 auto 2rem; }
.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
  flex-wrap: wrap;
}
.signup-form input {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--navy);
  background: var(--cream);
  font: inherit;
  font-size: 0.95rem;
  color: var(--navy);
}
.signup-form input::placeholder { color: var(--gray-warm); }
.signup-form input:focus { outline: 2px solid var(--coral); outline-offset: 2px; }

/* Footer */
.footer { background: var(--navy); color: var(--cream); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h5 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--coral-soft);
  font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: rgba(246, 241, 231, 0.75); font-size: 0.9rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--cream); }
.footer-brand .logo { color: var(--cream); margin-bottom: 1rem; }
.footer-brand p { color: rgba(246, 241, 231, 0.65); font-size: 0.9rem; max-width: 22rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(246, 241, 231, 0.5);
}

/* Page header */
.page-header {
  padding: 5rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { max-width: 38rem; margin: 0 auto; font-size: 1.05rem; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  padding: 3rem 0 5rem;
}
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-gallery-main {
  aspect-ratio: 1;
  background: var(--sage);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.product-gallery-thumbs > div {
  aspect-ratio: 1;
  background: var(--sage);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.product-gallery-thumbs > div:hover { opacity: 1; }
.product-gallery-thumbs > div.thumb-active { opacity: 1; outline: 2px solid var(--sage-shadow); outline-offset: 2px; }
.product-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
.product-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info .eyebrow { color: var(--coral); }
.product-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.75rem; }
.product-info .product-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.product-info .product-price .strike {
  font-size: 1.25rem;
  text-decoration: line-through;
  color: var(--gray-warm);
}
.product-rating { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--gray-warm); }
.product-rating .stars { color: var(--coral); letter-spacing: 0.05em; }
.product-info .product-summary { font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; color: var(--navy-soft); }
.product-features { list-style: none; margin-bottom: 2rem; }
.product-features li {
  padding: 0.65rem 0 0.65rem 1.6rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--navy-soft);
  border-bottom: 1px solid var(--gray-line);
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 1rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage-deep);
}
.product-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
}
.qty-stepper button {
  padding: 0 1rem;
  height: 100%;
  font-size: 1.1rem;
  background: transparent;
}
.qty-stepper button:hover { background: var(--cream-soft); }
.qty-stepper span { padding: 0 0.75rem; min-width: 1.5rem; text-align: center; font-weight: 500; }
.product-trust {
  background: var(--cream-soft);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.product-trust-item { text-align: center; font-size: 0.85rem; color: var(--gray-warm); }
.product-trust-item strong { display: block; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.2rem; font-weight: 600; }

.product-details-section {
  padding: 4rem 0;
  border-top: 1px solid var(--gray-line);
}
.detail-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.detail-tabs h3 { margin-bottom: 1rem; }
.detail-tabs p { line-height: 1.7; }
.spec-list { list-style: none; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gray-line);
  font-size: 0.9rem;
}
.spec-list li span:first-child { color: var(--gray-warm); }
.spec-list li span:last-child { color: var(--navy); font-weight: 500; text-align: right; }

/* FAQ */
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-line);
  padding: 1.5rem 0;
}
.faq-item summary {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--sage-shadow);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-top: 1rem; line-height: 1.7; }

/* About highlights */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.value-card { padding: 2rem; background: var(--white); border-radius: var(--radius-md); }
.value-card h4 { color: var(--navy); margin-bottom: 0.75rem; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; }
.value-card p { font-size: 0.95rem; }

/* Mobile */
@media (max-width: 900px) {
  .hero { padding: 3rem 0 4rem; }
  .hero-inner, .split, .product-detail, .detail-tabs { grid-template-columns: 1fr; gap: 3rem; }
  .hero-trust { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section { padding: 3.5rem 0; }
  .split.reverse > :first-child { order: 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(246, 241, 231, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--gray-line);
    gap: 1.25rem;
    z-index: 99;
  }
  .nav { position: sticky; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.4rem;
    margin-right: 0.25rem;
  }
  .nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-inner { padding: 0.85rem 1.25rem; }
  .nav-cart { padding: 0.5rem 0.85rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-trust { grid-template-columns: 1fr; gap: 1rem; }
  .signup { padding: 3rem 1.5rem; }
}

/* Cart drawer */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-backdrop {
  position: fixed; inset: 0;
  background: rgba(26, 37, 64, 0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-line);
}
.cart-header h3 { font-family: var(--font-serif); }
.cart-close { font-size: 1.5rem; color: var(--navy); }
.cart-body { flex: 1; padding: 1.5rem; overflow-y: auto; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-warm); }
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--gray-line); background: var(--cream-soft); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-weight: 500; }

/* Modal (checkout handoff, etc.) */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(26, 37, 64, 0.5);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.25s;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal h3 { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.75rem; }
.modal p { margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  font-size: 1.5rem; color: var(--gray-warm);
  border-radius: 50%;
}
.modal-close:hover { background: var(--gray-line); }
.modal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--navy);
}
.modal-summary {
  background: var(--cream-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
  text-align: left;
  font-size: 0.9rem;
}
.modal-summary-row { display: flex; justify-content: space-between; padding: 0.25rem 0; color: var(--gray-warm); }
.modal-summary-row.total { padding-top: 0.6rem; margin-top: 0.4rem; border-top: 1px solid var(--gray-line); color: var(--navy); font-weight: 600; }

/* Toast (add-to-cart confirmation, etc.) */
.toast-stack {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 400;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}
.toast {
  background: var(--navy);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: auto;
  max-width: 300px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--sage-shadow); }

/* Shipping progress bar */
.shipping-bar {
  padding: 0.85rem 1.5rem 0.75rem;
  border-top: 1px solid var(--gray-line);
  background: var(--cream-soft);
}
.shipping-bar.empty { display: none; }
.shipping-bar-text { font-size: 0.8rem; color: var(--gray-warm); display: block; margin-bottom: 0.5rem; }
.shipping-bar-text strong { color: var(--navy); }
.shipping-bar.done .shipping-bar-text { color: var(--sage-shadow); font-weight: 500; }
.shipping-bar-track { height: 4px; background: var(--gray-line); border-radius: 2px; overflow: hidden; }
.shipping-bar-fill { height: 100%; background: var(--sage-deep); border-radius: 2px; transition: width 0.4s ease; }
.shipping-bar.done .shipping-bar-fill { background: var(--sage-shadow); }

/* Cross-sell section */
.cross-sell-section { padding: 4rem 0; background: var(--cream-soft); border-top: 1px solid var(--gray-line); }
.cross-sell-head { margin-bottom: 2.5rem; }
.cross-sell-head .eyebrow { color: var(--coral); }
.cross-sell-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-top: 0.25rem; }
.cross-sell-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.cross-sell-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.cross-sell-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cross-sell-image { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--sage); }
.cross-sell-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cross-sell-card:hover .cross-sell-image img { transform: scale(1.04); }
.cross-sell-body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.cross-sell-body h4 { color: var(--navy); margin-bottom: 0.4rem; font-size: 1.15rem; }
.cross-sell-body p { font-size: 0.875rem; color: var(--gray-warm); margin-bottom: 1.25rem; flex: 1; line-height: 1.5; }
.cross-sell-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.cross-sell-price { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy); }
.cross-sell-footer .btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
@media (max-width: 640px) {
  .cross-sell-grid { grid-template-columns: 1fr; }
}

/* Signup form thank-you state */
.signup-form.sent { display: none; }
.signup-thanks {
  display: none;
  text-align: center;
  padding: 1.25rem 1.5rem;
  background: var(--sage);
  border-radius: var(--radius-md);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 1rem;
}
.signup-thanks.show { display: block; }

@media (max-width: 640px) {
  .modal { padding: 1.75rem 1.25rem; }
  .toast-stack { left: 1rem; right: 1rem; bottom: 1rem; }
  .toast { max-width: none; }
}

/* Email capture popup */
.email-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(26, 37, 64, 0.55);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.email-popup-overlay.open { opacity: 1; pointer-events: auto; }
.email-popup {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 2.75rem 2.5rem 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s;
}
.email-popup-overlay.open .email-popup { transform: translateY(0) scale(1); }
.email-popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 30px; height: 30px;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gray-warm);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.email-popup-close:hover { background: var(--gray-line); color: var(--navy); }
.email-popup-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.email-popup-body {
  font-size: 0.925rem;
  color: var(--gray-warm);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.email-popup-form { display: flex; flex-direction: column; gap: 0.75rem; }
.email-popup-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--navy);
  transition: border-color 0.2s;
}
.email-popup-input:focus { outline: none; border-color: var(--sage-deep); }
.email-popup-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--gray-warm);
  opacity: 0.7;
  text-align: center;
}
@media (max-width: 500px) {
  .email-popup { padding: 2rem 1.5rem 1.75rem; }
}

/* Urgency signal (product pages) */
.urgency-signal {
  font-size: 0.82rem;
  color: var(--coral);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.urgency-signal::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}
