/* Child demo landing extras — light luxury + teal CTAs */

body.ek-child {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: #FAF7F4 !important;
  color: #1C1410 !important;
  /* only small room for bottom widgets — no big empty gap */
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
}
body.ek-child.ek-has-sticky-feature {
  padding-bottom: calc(6.75rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body.ek-child,
  body.ek-child.ek-has-sticky-feature {
    padding-bottom: 1.5rem;
  }
}

body.ek-child h1,
body.ek-child h2,
body.ek-child h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #1C1410 !important;
}

.ek-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ek-top-trust {
  display: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4A3F38;
}
@media (min-width: 720px) {
  .ek-top-trust { display: inline; }
}

/* Top bar / notification header — scrolls away (NOT sticky) */
.ek-topbar,
body.ek-child .ek-topbar,
body.ek-child header.ek-topbar,
.ek-topbar.ek-topbar-static {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 1 !important;
  transform: none !important;
  background: #FAF7F4 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(28, 20, 16, 0.1) !important;
}
.ek-topbar-cta {
  background: #0D9488 !important;
  color: #fff !important;
  border-radius: 999px;
  min-height: 44px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ek-child-hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
}
.ek-child-hero h1 em {
  font-style: normal;
  color: #8B2942;
}
.ek-child-hero p {
  color: #4A3F38 !important;
  font-size: 1.05rem;
  max-width: 38rem;
  margin-inline: auto;
}

.ek-section { margin: 2.5rem 0; }
.ek-section-title {
  text-align: center;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.ek-section-sub {
  text-align: center;
  color: #4A3F38 !important;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.ek-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  justify-content: center;
  margin: 1.25rem 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4A3F38;
}
.ek-trust-strip strong { color: #1C1410; }

.ek-slots-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #92400E !important;
}

.ek-pkg-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0.15rem 0;
  color: #1C1410;
}
.ek-pkg-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #0D9488;
  color: #fff;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.35rem;
}

.ek-why-block {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}
.ek-why-block p { color: #4A3F38 !important; }

.ek-final-links {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #4A3F38;
}
.ek-final-links a {
  color: #8B2942;
  font-weight: 700;
  text-decoration: none;
}
.ek-final-links a:hover { text-decoration: underline; }

/* Gallery marquee */
.ek-gallery-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ek-gallery-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: ek-gal 48s linear infinite;
  padding: 0.5rem 0 1rem;
}
.ek-gallery-marquee:hover .ek-gallery-track {
  animation-play-state: paused;
}
@keyframes ek-gal {
  to { transform: translate3d(-50%, 0, 0); }
}
.ek-gallery-card {
  margin: 0;
  flex: 0 0 min(72vw, 220px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(28, 20, 16, 0.1);
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 20, 16, 0.06);
}
.ek-gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.ek-gallery-card.ek-ph {
  aspect-ratio: 3/4;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #F8E8EA, #F5E6C8);
  color: #4A3F38;
  font-weight: 700;
  font-size: 0.85rem;
}
@media (prefers-reduced-motion: reduce) {
  .ek-gallery-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .ek-gallery-marquee { mask-image: none; overflow: visible; }
}

/*
 * Bottom widgets — same row, no overlap:
 *   Left: live toast (~0.8×)  |  Right: Chat WA (~0.75×)
 * Tight bottom gap so form is not stranded mid-screen.
 */
.ek-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
  padding: 0.45rem 0.75rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 247, 244, 0.96);
  border-top: 1px solid rgba(28, 20, 16, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 -6px 20px rgba(28, 20, 16, 0.07);
}
.ek-sticky-bar p {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #4A3F38 !important;
}
.ek-sticky-bar .ek-btn-primary {
  width: 100%;
  text-align: center;
  min-height: 42px;
  font-size: 0.88rem;
}
@media (min-width: 900px) {
  .ek-sticky-bar { display: none !important; }
}

/* Live toast — 0.8× smaller, pill card, left; reserves right for WA */
body.ek-child .ek-live-toast {
  position: fixed;
  left: 0.65rem;
  right: auto;
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  z-index: 58;
  /* leave clear lane for smaller WA pill (~120–130px) */
  max-width: min(200px, calc(100vw - 8.75rem));
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  padding: 0.48rem 0.7rem;
  background: #FFFFFF;
  border: 1px solid rgba(28, 20, 16, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(28, 20, 16, 0.09);
  animation: ek-toast-in 0.35s ease;
  pointer-events: none; /* never block form taps under it */
}
body.ek-child.ek-has-sticky-feature .ek-live-toast {
  bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
}
body.ek-child .ek-live-toast p {
  margin: 0;
  font-size: 0.68rem;
  color: #1C1410 !important;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}
body.ek-child .ek-toast-name {
  font-weight: 700;
  font-size: 0.72rem;
  color: #1C1410;
}
body.ek-child .ek-toast-action {
  font-weight: 500;
  font-size: 0.64rem;
  color: #4A3F38;
}
body.ek-child .ek-toast-time {
  font-weight: 500;
  font-size: 0.62rem;
  color: #7A6B62;
}
body.ek-child .ek-live-dot {
  width: 7px;
  height: 7px;
  margin-top: 0.28rem;
  border-radius: 999px;
  background: #0D9488;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.16);
}
@keyframes ek-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 900px) {
  body.ek-child .ek-live-toast,
  body.ek-child.ek-has-sticky-feature .ek-live-toast {
    bottom: 1.1rem;
    left: 1rem;
    max-width: 240px;
    padding: 0.55rem 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ek-live-toast { animation: none; }
}

/*
 * Request form — natural size & margins (no transform scale).
 * Looks like a normal card; widgets stay separate at bottom.
 */
body.ek-child .ek-form-section {
  margin: 2rem 0 1.5rem !important;
  padding: 0;
}
body.ek-child .ek-form-section .ek-section-title {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  margin: 0 0 0.4rem;
  text-align: center;
}
body.ek-child .ek-form-section .ek-section-sub {
  font-size: 0.92rem;
  margin: 0 0 1rem;
  text-align: center;
  color: #4A3F38 !important;
}

body.ek-child .ek-demo-form {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(28, 20, 16, 0.1);
  border-radius: 16px;
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: 0 10px 32px rgba(28, 20, 16, 0.07);
  display: block;
  transform: none !important;
}
body.ek-child .ek-demo-form label,
body.ek-child .ek-demo-form .ek-field-label {
  display: block;
  color: #1C1410 !important;
  margin: 0.85rem 0 0.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.ek-child .ek-demo-form label:first-of-type,
body.ek-child .ek-form-row > div:first-child label {
  margin-top: 0 !important;
}
body.ek-child .ek-demo-form input[type="text"],
body.ek-child .ek-demo-form input[type="tel"] {
  display: block;
  width: 100%;
  min-height: 48px !important;
  padding: 0.7rem 0.85rem !important;
  margin: 0 0 0 !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
  box-sizing: border-box;
}
/* Stack baby name + WhatsApp (cleaner on mobile; no cramped side-by-side) */
body.ek-child .ek-form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}
body.ek-child .ek-demo-form .ek-upload-wrap {
  min-height: 110px !important;
  margin-top: 0.25rem !important;
}
body.ek-child .ek-demo-form .ek-upload-drop {
  min-height: 110px !important;
  padding: 1rem 0.85rem !important;
  border-radius: 12px !important;
}
body.ek-child .ek-demo-form .ek-upload-main {
  font-size: 0.95rem !important;
}
body.ek-child .ek-demo-form .ek-upload-sub {
  font-size: 0.8rem !important;
  margin-top: 0.2rem !important;
}
body.ek-child .ek-demo-form .ek-upload-drop svg {
  width: 26px;
  height: 26px;
  margin-bottom: 0.35rem !important;
}
body.ek-child .ek-demo-form #fileHint,
body.ek-child .ek-demo-form .ek-hint {
  margin: 0.4rem 0 0 !important;
  font-size: 0.82rem !important;
}
body.ek-child .ek-demo-form button[type="submit"],
body.ek-child .ek-demo-form #submitBtn {
  display: block;
  background: #0D9488 !important;
  color: #fff !important;
  min-height: 50px !important;
  margin-top: 0.9rem !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 1rem !important;
  width: 100%;
  border-radius: 999px !important;
}
body.ek-child .ek-demo-form .ek-form-reassure {
  margin: 0.65rem 0 0 !important;
  font-size: 0.8rem !important;
  text-align: center;
  line-height: 1.45;
  color: #4A3F38 !important;
}
body.ek-child .ek-slots-note-form {
  margin: 0.65rem 0 0 !important;
  text-align: center;
  font-size: 0.85rem !important;
  font-weight: 700;
  color: #92400E !important;
  line-height: 1.4;
}
body.ek-child .ek-demo-form .ek-error,
body.ek-child .ek-demo-form .ek-status {
  margin: 0.65rem 0 0 !important;
  padding: 0.65rem 0.8rem !important;
  font-size: 0.88rem !important;
}

/* Guardian consent — natural spacing, unchecked by default */
body.ek-child .ek-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.9rem 0 0 !important;
  padding: 0.75rem 0.85rem;
  background: #FFF9F5;
  border: 1px solid rgba(28, 20, 16, 0.12);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.85rem !important;
  font-weight: 500;
  color: #1C1410 !important;
  line-height: 1.45;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
body.ek-child .ek-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px !important;
  margin: 0.15rem 0 0 !important;
  flex-shrink: 0;
  accent-color: #0D9488;
  cursor: pointer;
}
body.ek-child .ek-consent span { color: #1C1410 !important; }
body.ek-child .ek-consent a {
  color: #8B2942 !important;
  font-weight: 700;
  text-decoration: underline;
}
body.ek-child .ek-consent a:hover { color: #6F1F34 !important; }

/* Reviews RTL marquee polish on light cream */
body.ek-child {
  --rev-speed: 40s;
  --ek-wa: #0D9488;
}
body.ek-child .ek-review-card {
  background: #FFFFFF;
  border: 1px solid rgba(28, 20, 16, 0.1);
  box-shadow: 0 8px 24px rgba(28, 20, 16, 0.06);
  color: #1C1410;
}
body.ek-child .ek-review-card p {
  color: #4A3F38 !important;
}
body.ek-child .ek-review-attr {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  color: #8B2942 !important;
}
body.ek-child .ek-stars {
  color: #D97706 !important;
}
body.ek-child .ek-scroll-hint {
  text-align: center;
  font-size: 0.82rem;
  color: #4A3F38 !important;
  margin: 0 0 0.85rem;
}

/* Chat on WhatsApp — 0.75× smaller pill, right; same row as toast, no overlap */
body.ek-child .ek-wa-float {
  position: fixed !important;
  background: #0D9488 !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
  bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  right: max(0.65rem, env(safe-area-inset-right, 0px));
  left: auto !important;
  z-index: 60;
  min-height: 36px; /* ~0.75× of 48 */
  max-width: 46vw;
  padding: 0.45rem 0.75rem 0.45rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  gap: 0.35rem;
  border-radius: 999px;
  animation: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.ek-child .ek-wa-float svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
body.ek-child.ek-has-sticky-feature .ek-wa-float {
  bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) {
  body.ek-child .ek-wa-float,
  body.ek-child.ek-has-sticky-feature .ek-wa-float {
    bottom: 1.1rem;
    right: 1rem;
    min-height: 40px;
    max-width: none;
    font-size: 0.8rem;
    padding: 0.55rem 0.9rem 0.55rem 0.75rem;
  }
  body.ek-child .ek-wa-float svg {
    width: 17px;
    height: 17px;
  }
}
