/* Soft, warm theme overrides for the baby announcement flow — layered on
   top of style.css so both products share structure but not accent color. */
.baby-theme {
  --gold: #c98a9a;
  --gold-light: #e3b3c0;
}

.baby-theme .ze-logo { color: var(--gold); }

/* "See a sample" banner — front & back of a finished Rookie card, side by
   side with FRONT/BACK labels, sitting above the wizard so a first-time
   visitor knows what they're building before they start customizing. */
.sample-showcase {
  padding: 28px 24px 22px;
  border-bottom: 1px solid rgba(216,169,75,0.2);
}
.sample-showcase-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sample-showcase-card { text-align: center; }
.sample-showcase-label {
  display: block;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sample-showcase-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.sample-showcase-caption {
  max-width: 900px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .sample-showcase-inner { grid-template-columns: 1fr; gap: 18px; max-width: 300px; }
}

.baby-intro {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}

.occasion-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0 22px;
}
.occasion-btn {
  text-align: left;
  padding: 16px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.occasion-btn strong { display: block; font-size: 15px; margin-bottom: 4px; }
.occasion-btn span { display: block; color: var(--muted); font-size: 13px; }
.occasion-btn:hover { border-color: rgba(201,138,154,0.5); }
.occasion-btn.active {
  border-color: var(--gold);
  background: rgba(201,138,154,0.12);
}
.occasion-btn.active strong { color: var(--gold-light); }

@media (max-width: 560px) {
  .occasion-toggle { grid-template-columns: 1fr; }
}

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

@media (max-width: 860px) {
  .baby-theme .template-grid { grid-template-columns: repeat(2, 1fr); }
}

.baby-swatch {
  width: 100%;
  aspect-ratio: 5/7;
  border-radius: 8px 8px 0 0;
}

.baby-theme .template-card span {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.baby-theme .template-card span .pkg-badge { margin-left: 0; }

#babyCanvasFront, #babyCanvasBack {
  width: 100%; max-width: 240px; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.5); cursor: grab; touch-action: none;
}
#babyCanvasFront:active { cursor: grabbing; }

.back-photo-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.back-photo-section h3 { margin: 0 0 4px; font-size: 16px; }
.back-photo-section .ze-hint { margin-top: 0; margin-bottom: 12px; }

.front-accent-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.front-accent-section h3 { margin: 0 0 4px; font-size: 16px; }
.front-accent-section .ze-hint { margin-top: 0; margin-bottom: 12px; }
.accent-toggle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.accent-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.accent-btn-icon { color: var(--muted); object-fit: contain; }
.accent-btn:hover { border-color: rgba(201,138,154,0.5); }
.accent-btn.active {
  border-color: var(--gold);
  background: rgba(201,138,154,0.12);
  color: var(--gold-light);
}
.accent-btn.active .accent-btn-icon { color: var(--gold-light); }

/* Picker-only styling: the real card art recolors these icons to match
   whatever theme is active, so showing them in their sample blue/pink here
   would be misleading — desaturate + darken toward black for the purpose
   of picking a shape (grayscale rather than a flat silhouette, so filled
   icons like the baseball/basketball/football keep their linework visible
   instead of collapsing into indistinguishable black blobs). Soccer keeps
   its own black-and-white art (already neutral), and tennis (no supplied
   artwork, just an SVG) is colored green to match its actual on-card look.
   Card rendering itself (drawAccentIcon in baby-app.js) is untouched by
   this — picker only. */
.accent-btn-icon[src] { filter: grayscale(1) brightness(0.62); }
.accent-btn[data-accent="soccer"] .accent-btn-icon { filter: none; }
.accent-btn[data-accent="tennis"] .accent-btn-icon { color: #7ea832; }

@media (max-width: 420px) {
  .accent-toggle { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .accent-btn { font-size: 11px; padding: 10px 4px; }
}

.delivery-options { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.delivery-options .checkbox-row {
  margin-top: 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; align-items: flex-start;
}
.delivery-options .checkbox-row input { margin-top: 3px; }
.delivery-options .checkbox-row strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.delivery-options .checkbox-row span { display: block; }
.shipping-fields.is-hidden { display: none; }

/* Slabbed-keepsake-card add-on — styled like a small upsell card so it
   stands out from the plain delivery-type radios above/below it. */
.addon-row {
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(201,138,154,0.35);
  background: rgba(201,138,154,0.07);
  border-radius: 8px;
  align-items: flex-start;
}
.addon-row input { margin-top: 3px; }
.addon-row strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 2px; }
.addon-row span { display: block; }

/* Small chips on the package tiers — "Most Popular" / "Best Value" / "New" */
.pkg-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
}
.pkg-badge-popular { background: rgba(201,138,154,0.18); color: var(--gold-light); border: 1px solid rgba(201,138,154,0.4); }
.pkg-badge-value { background: rgba(182,145,60,0.18); color: #e0b96a; border: 1px solid rgba(182,145,60,0.4); }
.pkg-badge-new { background: rgba(95,143,184,0.18); color: #8fbfe6; border: 1px solid rgba(95,143,184,0.4); }

/* Ship & Pay trust/benefits blurb — reinforces value right as the customer
   lands on checkout, before they see the price. */
.why-us-section {
  margin: 4px 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(216,169,75,0.25);
  border-radius: 10px;
  background: rgba(216,169,75,0.05);
}
.why-us-section h3 { margin: 0 0 10px; font-size: 15px; color: var(--gold-light); }
.why-us-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.why-us-list li { font-size: 13px; color: var(--text); line-height: 1.4; }

.baby-bundle-line {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 12px;
}

@media (max-width: 560px) {
  .baby-theme .template-grid { grid-template-columns: repeat(2, 1fr); }
}
