/* ═══════════════════════════════════════════════════════════
   NuNuz v4 — Upload to public/css/v4.css
   ═══════════════════════════════════════════════════════════ */

/* ── Trust Badge Carousel ─────────────────────────────────── */
.trust-carousel-wrapper {
  background: var(--sun-soft, #FEF4CE);
  padding: .875rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(61,58,80,.06);
  border-bottom: 1px solid rgba(61,58,80,.06);
}
.trust-carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: trustScroll 35s linear infinite;
  width: max-content;
}
.trust-carousel-track:hover { animation-play-state: paused; }
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 2.5rem;
  border-right: 1px solid rgba(61,58,80,.1);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-badge-icon {
  width: 40px; height: 40px;
  background: #1a7a6e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.trust-badge-title {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: .85rem;
  color: var(--ink, #3D3A50);
  line-height: 1.2;
}
.trust-badge-sub {
  font-size: .72rem;
  color: var(--ink-soft, #6B6784);
  line-height: 1.2;
}
@keyframes trustScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Product Accordion ────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid rgba(61,58,80,.1);
}
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink, #3D3A50);
  text-align: left;
  transition: color .2s;
}
.accordion-btn:hover { color: var(--sky-deep, #4FA8DE); }
.accordion-icon {
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .3s;
  color: var(--ink-faint, #9B97B2);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
  padding: 0;
  color: var(--ink-soft, #6B6784);
  font-size: .9rem;
  line-height: 1.7;
}
.accordion-body.open {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

/* ── Gallery thumbnails ───────────────────────────────────── */
.thumb-btn { transition: border-color .2s; }
.thumb-btn:hover { border-color: var(--sky-deep, #4FA8DE) !important; }
.thumb-btn.active { border-color: var(--sky-deep, #4FA8DE) !important; }

/* ── Kids footer theme ────────────────────────────────────── */
.footer-body {
  background: linear-gradient(180deg, #E9E1FA 0%, #BDE3FA 100%) !important;
  position: relative;
  overflow: hidden;
}
/* Balloon decorations in footer */
.footer-body::before {
  content: '🎈☁️🌟🎀🍼';
  position: absolute;
  top: 1rem;
  left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  font-size: 1.5rem;
  opacity: .15;
  pointer-events: none;
  letter-spacing: 2rem;
}
.footer-body { padding-top: 2.5rem; }
.footer-heading { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1rem; color: var(--sky-deep, #4FA8DE); margin-bottom: .875rem; }
.footer-body nav a {
  display: block;
  font-size: .875rem;
  color: var(--ink, #3D3A50);
  margin-bottom: .4rem;
  transition: color .15s;
}
.footer-body nav a:hover { color: var(--sky-deep, #4FA8DE); }
.footer-copy { color: var(--ink-soft, #6B6784); }
.footer-tagline { color: var(--ink, #3D3A50); }
.footer-text { color: var(--ink-soft, #6B6784); font-size: .875rem; margin-bottom: .25rem; }

/* ── Balloon + newborn elements floating decoration ─────── */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-12px) rotate(3deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── Mobile Ribbon — FIXED ────────────────────────────────── */
.mobile-ribbon {
  display: none;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: #fff !important;
  border-top: 1.5px solid rgba(61,58,80,.12) !important;
  z-index: 9990 !important;
  padding: .3rem 0 !important;
  padding-bottom: calc(.3rem + env(safe-area-inset-bottom)) !important;
  box-shadow: 0 -4px 24px rgba(61,58,80,.12) !important;
}
.mobile-ribbon__inner {
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  padding: 0 .5rem !important;
}
.ribbon-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: .1rem !important;
  padding: .3rem .25rem !important;
  border-radius: .75rem !important;
  text-decoration: none !important;
  color: #9B97B2 !important;
  font-size: .58rem !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  position: relative !important;
  min-width: 44px !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  transition: color .15s !important;
  -webkit-tap-highlight-color: transparent !important;
}
.ribbon-btn:hover, .ribbon-btn.active { color: #4FA8DE !important; }
.ribbon-btn__icon { font-size: 1.25rem !important; line-height: 1 !important; }
.ribbon-badge {
  position: absolute !important;
  top: 0 !important; right: .1rem !important;
  background: #F094B8 !important;
  color: #fff !important;
  font-size: .55rem !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  min-width: .95rem !important;
  height: .95rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 .15rem !important;
}

@media (max-width: 900px) {
  .mobile-ribbon { display: block !important; }
  body { padding-bottom: 62px !important; }
  .whatsapp-fab { bottom: 5rem !important; }
}

/* ── Pillar section borders ───────────────────────────────── */
.pillars-grid > div:last-child { border-right: none !important; }

/* ── Category horizontal scroll on mobile ─────────────────── */
@media (max-width: 768px) {
  .category-scroll {
    display: flex !important;
    overflow-x: auto !important;
    gap: .75rem !important;
    padding-bottom: .75rem !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .category-scroll::-webkit-scrollbar { display: none !important; }
  .category-scroll > * {
    min-width: 130px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }

  /* Pillar section — stack on mobile */
  [style*="grid-template-columns:repeat(3,1fr)"].pillars-grid,
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }
  .pillars-grid > div {
    border-right: none !important;
    border-bottom: 1px solid rgba(61,58,80,.08) !important;
  }
  .pillars-grid > div:last-child { border-bottom: none !important; }
}
