/* ============================================================
   JUELHAUS — Complete Stylesheet
   ============================================================ */

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

/* 2. Reset & CSS Variables
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #2C3E2D;
  --secondary: #4A5E3A;
  --gold: #B8922A;
  --cream: #FAF8F3;
  --white: #FFFFFF;
  --stone: #9A9488;
  --text: #1C1A16;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --nav-height: 64px;
  --phone-width: 280px;
  --section-padding: 48px;
  --section-padding-mobile: 32px;
  /* Checkout compatibility aliases */
  --primary: #2C3E2D;
  --text-light: #9A9488;
  --border: #e6e1d8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
}

ul, ol {
  list-style: none;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 3. Body
   ============================================================ */
body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 4. Typography
   ============================================================ */
h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
  line-height: 1.2;
}

h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

p {
  line-height: 1.6;
}

/* 5. Utility
   ============================================================ */
.hidden {
  display: none !important;
}

/* 6. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  text-decoration: none;
  border: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary-dark);
  color: var(--cream);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--stone);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px 8px;
  line-height: 1;
  font-family: inherit;
  transition: color 0.15s;
}
.btn-icon:hover { color: var(--text); }

.btn-gold {
  background: var(--gold);
  color: var(--cream);
}

.btn-get-started {
  background: var(--gold);
  color: var(--cream);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 4px;
}

.btn-demo {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid var(--cream);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 4px;
}

.btn-cream-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--cream);
}

/* 7. Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid #e6e1d8;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: border-bottom 0.3s;
}

.navbar.scrolled {
  border-bottom: 1px solid rgba(184, 146, 42, 0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-cart svg {
  stroke: var(--text);
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--cream);
  font-size: 10px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  color: var(--text);
  background: none;
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 6px 12px;
}

.btn-login:hover {
  color: var(--gold);
}

.btn-logout {
  color: var(--stone);
  background: none;
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 6px 12px;
}

.btn-logout:hover {
  color: var(--text);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* 8. Hero
   ============================================================ */
.hero {
  min-height: 88vh;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
}

.hero-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  flex: 1;
  padding-left: 6%;
  padding-right: 4%;
}

.hero-tag {
  color: var(--gold);
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  margin-bottom: 16px;
}

.hero p {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 420px;
}

.hero-gold-line {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 24px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 4%;
}

.hero-images {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-phone-img {
  width: 240px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.hero-qr-img {
  width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.phone-caption {
  color: var(--stone);
  font-size: 12px;
  margin-top: 12px;
  text-align: center;
}

/* 9. Phone Mockup
   ============================================================ */
.phone-mockup {
  width: var(--phone-width);
  border-radius: 36px;
  border: 10px solid var(--text);
  overflow: hidden;
  position: relative;
  background: var(--text);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  background: var(--cream);
  overflow: hidden;
  border-radius: 26px;
  position: relative;
  min-height: 480px;
}

.phone-header {
  background: var(--primary-dark);
  color: var(--cream);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-logo {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}

.phone-greeting {
  color: var(--cream);
  font-size: 13px;
  font-family: var(--font-body);
  opacity: 0.8;
}

.phone-menu-list {
  padding: 12px 14px;
}

.menu-card {
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 6px;
  transition: background 0.2s;
}

.menu-card:hover {
  background: var(--cream);
}

.menu-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.menu-label {
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
}

.phone-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 16px;
  overflow-y: auto;
}

.phone-view.active {
  transform: translateX(0);
}

.phone-view h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}

.phone-view p {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.5;
  margin-bottom: 10px;
}

.view-list {
  list-style: none;
  padding: 0;
}

.view-list li {
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.view-detail {
  font-size: 12px;
  color: var(--stone);
  margin-top: 4px;
}

.phone-btn {
  background: var(--gold);
  color: var(--cream);
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  display: inline-block;
}

.back-btn {
  color: var(--gold);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
}

.back-btn:hover {
  opacity: 0.8;
}

/* 10. Positioning Strip
   ============================================================ */
.positioning-strip {
  background: var(--cream);
  padding: 20px 0;
  text-align: center;
}

.positioning-strip p {
  font-size: 14px;
  color: var(--secondary);
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  line-height: 1.6;
}

/* 11. Before/After
   ============================================================ */
.before-after {
  background: var(--white);
  padding: var(--section-padding) 24px;
}

.ba-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: stretch;
}

.ba-before,
.ba-after {
  flex: 1;
  font-size: 14px;
  line-height: 1.9;
}

.ba-before {
  padding-right: 32px;
  border-right: 2px solid var(--gold);
}

.ba-item {
  font-size: 14px;
  line-height: 1.9;
  padding: 2px 0;
}

.ba-after {
  background: var(--primary-dark);
  border-radius: 8px;
  padding: 24px;
  color: var(--cream);
  margin-left: 32px;
}

.ba-before p,
.ba-after p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.9;
}

.ba-before .icon-x {
  color: #E24B4A;
}

.ba-after .icon-check {
  color: var(--gold);
}

/* ❌ and ✅ emoji fallback */
.ba-before p::before {
  content: none;
}

.ba-after p::before {
  content: none;
}

/* 12. How It Works
   ============================================================ */
.how-it-works {
  background: var(--cream);
  padding: var(--section-padding) 24px;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
}

.steps-tagline {
  text-align: center;
  color: var(--gold);
  font-size: 13px;
  margin-top: 32px;
  font-style: italic;
}

/* 13. Guest View
   ============================================================ */
.guest-view {
  background: var(--primary-dark);
  padding: var(--section-padding) 24px;
}

.guest-view-inner {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 48px;
}

.guest-view .section-label {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 12px;
}

.guest-view h2 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 16px;
}

.guest-view p {
  color: var(--stone);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.guest-view-gold {
  color: var(--gold);
  font-size: 13px;
  margin-top: 16px;
}

.guest-view-phone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-view-phone .phone-main {
  width: 280px;
}

/* 14. Benefits
   ============================================================ */
.benefits {
  background: var(--white);
  padding: var(--section-padding) 24px;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 36px;
  color: var(--text);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  border-top: 3px solid var(--primary-dark);
  padding: 20px;
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.benefit-card p {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
}

/* 15. Gift Options
   ============================================================ */
.gift-options {
  background: var(--primary-dark);
  padding: var(--section-padding) 24px;
}

.gift-options .section-label {
  text-align: center;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  margin-bottom: 12px;
}

.gift-options h2 {
  color: var(--cream);
  text-align: center;
  margin-bottom: 8px;
}

.gift-subline {
  color: var(--stone);
  text-align: center;
  font-size: 13px;
  margin-bottom: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 146, 42, 0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.product-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.2);
}

.product-info {
  padding: 16px;
  color: var(--cream);
}

.product-badge {
  display: inline-block;
  background: rgba(184, 146, 42, 0.2);
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--cream);
}

.product-desc {
  color: var(--stone);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-includes {
  color: var(--stone);
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-price {
  color: var(--gold);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.gift-note {
  color: var(--stone);
  text-align: center;
  font-size: 12px;
  margin-top: 24px;
}

/* 16. Who It's For
   ============================================================ */
.who-for {
  background: var(--cream);
  padding: var(--section-padding-mobile) 24px;
}

.who-for h2 {
  text-align: center;
  margin-bottom: 24px;
  color: var(--text);
}

.who-for-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.who-item {
  font-size: 13px;
  color: var(--secondary);
  cursor: default;
  transition: color 0.2s, transform 0.2s;
}

.who-item:hover {
  color: var(--primary-dark);
  transform: scale(1.1);
}

/* 17. Results
   ============================================================ */
.results {
  background: var(--white);
  padding: var(--section-padding) 24px;
}

.results h2 {
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
}

.results-inner {
  display: flex;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
}

.results-inner > div {
  flex: 1;
}

.result-item {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 4px;
}

.result-item .check {
  color: var(--gold);
}

.results blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 12px;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

.results cite {
  color: var(--stone);
  font-size: 12px;
  font-style: normal;
}

/* 18. Final CTA
   ============================================================ */
.final-cta {
  background: var(--text);
  padding: var(--section-padding) 24px;
  text-align: center;
}

.final-cta h2 {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-sub {
  color: var(--stone);
  font-size: 12px;
  margin-top: 16px;
}

/* 19. Footer
   ============================================================ */
.footer {
  background: var(--text);
  padding: 32px 24px;
  border-top: 1px solid rgba(184, 146, 42, 0.3);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-tagline {
  color: var(--stone);
  font-size: 11px;
}

.footer-copy {
  color: var(--stone);
  font-size: 11px;
}

/* 20. Modals
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  width: 90%;
  max-width: 400px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: var(--stone);
  background: none;
  border: none;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text);
}

.modal h2 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.phone-input-group {
  display: flex;
  gap: 8px;
}

.phone-input-group select {
  width: 90px !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
}

.phone-input-group input {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
}

.auth-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--stone);
}

.auth-switch a,
.auth-switch button {
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 13px;
  text-decoration: underline;
}

.error-msg {
  color: #E24B4A;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
}

.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--stone);
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  line-height: 0;
}

/* 21. Cart Drawer
   ============================================================ */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.cart-header h3 {
  font-size: 16px;
  font-weight: 500;
}

.cart-header .close-cart {
  font-size: 22px;
  cursor: pointer;
  color: var(--stone);
  background: none;
  border: none;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  text-align: center;
  color: var(--stone);
  font-size: 14px;
  margin-top: 48px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.cart-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 12px;
  color: var(--stone);
}

.cart-item-remove {
  color: var(--stone);
  font-size: 18px;
  cursor: pointer;
  background: none;
  border: none;
}

.cart-item-remove:hover {
  color: #E24B4A;
}

.cart-footer {
  padding: 16px 20px;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}

.cart-total span:last-child {
  color: var(--gold);
  font-size: 18px;
}

/* 22. Video Modal
   ============================================================ */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-content {
  max-width: 900px;
  width: 90%;
  position: relative;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--cream);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.video-close:hover {
  opacity: 0.7;
}

/* 23. Scroll Anchors
   ============================================================ */
#platform,
#how-it-works,
#gifts {
  scroll-margin-top: 64px;
}

/* 24. Responsive
   ============================================================ */

/* Tablet: 769px – 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile: up to 768px */
@media (max-width: 768px) {
  :root {
    --section-padding: 32px;
  }

  /* Navbar mobile */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 24px);
    padding-bottom: 32px;
  }

  .hero-inner {
    flex-direction: column;
  }

  .hero-left {
    padding: 0 24px;
    text-align: left;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-right {
    display: none;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }

  /* Hero / guest-view images — fit both on mobile */
  .hero-images {
    gap: 10px;
    justify-content: center;
  }
  .hero-phone-img {
    width: 48%;
    max-width: 200px;
  }
  .hero-qr-img {
    width: 38%;
    max-width: 150px;
  }

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

  .steps-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ba-inner {
    flex-direction: column;
    gap: 24px;
  }

  .ba-before {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 24px;
  }

  .ba-after {
    margin-left: 0;
  }

  .results-inner {
    flex-direction: column;
    gap: 24px;
  }

  .guest-view-inner {
    flex-direction: column;
    gap: 32px;
  }

  .who-for-grid {
    gap: 16px;
  }

  /* Buttons full-width on mobile */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Cart drawer */
  .cart-drawer {
    width: 100%;
  }

  /* Phone mockup in guest view */
  .guest-view-phone .phone-main {
    width: 240px;
  }
}

/* ============================================================
   CHECKOUT — Global form field styles (Change 7)
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea,
select {
  border: 1px solid var(--stone) !important;
  border-radius: 4px !important;
  background: var(--white) !important;
  color: var(--text) !important;
  font-size: 16px !important;
  font-family: var(--font-body) !important;
  padding: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

input:focus,
textarea:focus,
select:focus {
  border: 2px solid var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184,146,42,0.15) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--stone) !important;
  font-size: 14px !important;
}

/* Readonly / disabled inputs (date pickers) */
input[readonly] {
  cursor: pointer !important;
  background: var(--white) !important;
}

/* Flatpickr overrides */
.flatpickr-input {
  background: var(--white) !important;
  color: var(--text) !important;
}

/* ============================================================
   CHECKOUT — Character counter (Change 8)
   ============================================================ */
.char-counter {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--stone);
  text-align: right;
  margin-top: 4px;
  transition: color 0.2s;
}
.char-counter.counter-amber { color: #F59E0B; }
.char-counter.counter-red   { color: #E24B4A; font-weight: 500; }

/* ============================================================
   CHECKOUT — Customer type cards
   ============================================================ */
.customer-type-cards {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.customer-type-card {
  flex: 1;
  padding: 16px 12px;
  border: 1px solid var(--stone);
  border-radius: 8px;
  background: var(--white);
  color: var(--stone);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: center;
  font-family: var(--font-body);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-type-card:hover {
  border-color: var(--gold);
  color: var(--text);
}

.customer-type-card.selected {
  border: 2px solid var(--gold);
  background: rgba(184,146,42,0.08);
  color: var(--text);
}

.customer-type-card.selected::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--gold);
  font-size: 0.8rem;
}

.ct-label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Required asterisk */
.req {
  color: var(--gold) !important;
  margin-left: 2px;
}

/* ============================================================
   CHECKOUT — Preview modal
   ============================================================ */
.preview-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.72);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.preview-modal {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.24);
}

.preview-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
}

.preview-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* ============================================================
   CHECKOUT — Mobile compatibility (Change 6)
   ============================================================ */
@media (max-width: 600px) {
  /* Checkout cards */
  .checkout-page {
    margin-top: 80px;
    padding: 0 12px;
  }
  .checkout-card {
    padding: 20px 16px;
  }

  /* All inputs, textareas, selects — 44px touch targets */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="date"],
  input[type="number"],
  textarea,
  select {
    min-height: 44px !important;
    font-size: 16px !important;
    padding: 12px !important;
  }

  /* Textarea min-height */
  textarea {
    min-height: 120px !important;
    resize: vertical !important;
  }

  /* Full-width buttons on mobile */
  .checkout-nav .btn,
  .btn-full {
    width: 100%;
    min-height: 44px;
  }

  /* Customer type cards — stack on very narrow screens */
  @media (max-width: 380px) {
    .customer-type-cards {
      flex-direction: column;
    }
  }

  /* Preview modal — full screen on mobile */
  .preview-modal {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  /* Grid: single column on mobile */
  .grid-2col,
  .grid-3col {
    grid-template-columns: 1fr !important;
  }
}
