/**
 * Hue Baby brand layer — Elementor + WooCommerce friendly.
 */

:root {
  --hb-pink: #f6a6c1;
  --hb-blue: #7fb6e0;
  --hb-cream: #fff8f3;
  --hb-ink: #3e3345;
  --hb-gold: #e9c77e;
  --hb-mist: #efe7ef;
  --hb-gradient: linear-gradient(135deg, #f6a6c1, #7fb6e0);
  --e-global-color-primary: #f6a6c1;
  --e-global-color-secondary: #7fb6e0;
  --e-global-color-text: #3e3345;
  --e-global-color-accent: #e9c77e;
}

html {
  scroll-behavior: smooth;
}

body.huebaby-theme {
  background-color: var(--hb-cream);
  color: var(--hb-ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.55;
}

body.huebaby-theme h1,
body.huebaby-theme h2,
body.huebaby-theme h3,
body.huebaby-theme h4,
body.huebaby-theme .elementor-heading-title {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 700;
  color: var(--hb-ink);
  letter-spacing: 0.01em;
}

body.huebaby-theme a {
  color: #5a8fb8;
}

body.huebaby-theme a:hover {
  color: #c46d8e;
}

/* Primary CTA look for Elementor buttons — optional class */
.huebaby-btn,
.huebaby-wa-btn,
a.huebaby-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--hb-gradient);
  color: #fff !important;
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(246, 166, 193, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.huebaby-btn:hover,
.huebaby-wa-btn:hover,
a.huebaby-wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(127, 182, 224, 0.4);
  color: #fff !important;
}

.huebaby-wa-missing {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: var(--hb-mist);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--hb-ink);
}

/* Floating WhatsApp FAB */
.huebaby-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 9999;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease;
}

.huebaby-fab:hover {
  transform: scale(1.06);
  color: #fff !important;
}

.huebaby-fab svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

.huebaby-fab__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Soft site footer defaults when not using Elementor footer */
.site-footer,
.huebaby-site-footer {
  background: var(--hb-mist);
  color: var(--hb-ink);
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
}

.huebaby-site-footer a {
  color: var(--hb-ink);
  font-weight: 700;
}

.hb-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hb-mist);
}

.hb-site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hb-site-header__trail {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hb-site-header__brand {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none !important;
  background: var(--hb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hb-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.hb-nav-list a {
  text-decoration: none;
  font-weight: 700;
  color: var(--hb-ink) !important;
}

.hb-cart-wrap {
  display: flex;
  align-items: center;
}

.hb-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem 0.4rem 0.55rem;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff !important;
  background: linear-gradient(135deg, #f6a6c1, #7fb6e0);
  box-shadow: 0 6px 16px rgba(127, 182, 224, 0.28);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.hb-cart:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.hb-cart__icon {
  display: block;
  flex-shrink: 0;
}

.hb-cart__text {
  line-height: 1;
}

.hb-cart__count {
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #fff;
  color: #5a8fb8;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15rem;
  text-align: center;
}

@media (max-width: 520px) {
  .hb-cart__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .hb-cart {
    padding: 0.45rem;
  }
}

.hb-site-main,
.hb-page {
  min-height: 50vh;
}

.hb-woo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 3.25rem;
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
body.page-template-template-legal,
body.hb-is-legal {
  background:
    radial-gradient(ellipse 90% 55% at 10% -10%, rgba(246, 166, 193, 0.26), transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(127, 182, 224, 0.22), transparent 50%),
    var(--hb-cream, #fff8f3);
}

.hb-legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.hb-legal__intro {
  text-align: center;
  margin: 0 0 1.5rem;
}

.hb-legal__eyebrow {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(246, 166, 193, 0.4);
  color: #c46d8e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hb-legal__title {
  margin: 0 0 0.45rem;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--hb-ink, #3e3345);
}

.hb-legal__lede {
  margin: 0 auto;
  max-width: 34rem;
  color: rgba(62, 51, 69, 0.78);
  font-size: 1.05rem;
  font-weight: 600;
}

.hb-legal__panel {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid rgba(246, 166, 193, 0.35);
  box-shadow:
    0 18px 40px rgba(62, 51, 69, 0.08),
    0 0 0 6px rgba(246, 166, 193, 0.08);
  padding: 1.6rem 1.5rem 1.85rem;
}

@media (min-width: 640px) {
  .hb-legal__panel {
    padding: 2rem 2.15rem 2.25rem;
  }
}

.hb-legal__panel > *:first-child {
  margin-top: 0;
}

.hb-legal__panel h1 {
  /* Title already in intro when using Legal template */
  display: none;
}

.hb-legal__panel .hb-legal-updated,
.hb-legal__panel > p:first-of-type em {
  display: block;
  margin: 0 0 1.15rem;
  color: rgba(62, 51, 69, 0.65);
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
}

.hb-legal__panel h2 {
  margin: 1.85rem 0 0.55rem;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--hb-ink, #3e3345);
}

.hb-legal__panel p,
.hb-legal__panel li {
  color: rgba(62, 51, 69, 0.82);
  font-weight: 600;
  line-height: 1.65;
}

.hb-legal__panel ul {
  margin: 0.4rem 0 0.85rem;
  padding-left: 1.2rem;
}

.hb-legal__panel li + li {
  margin-top: 0.4rem;
}

.hb-legal__panel a {
  color: #5a8fb8;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.hb-legal__panel a:hover {
  color: #c46d8e;
}

.hb-legal__callout,
.hb-legal__panel .callout {
  margin: 1.15rem 0 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, rgba(246, 166, 193, 0.22), rgba(127, 182, 224, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--hb-ink, #3e3345);
  font-weight: 600;
}

.hb-legal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0 0.15rem;
}

.hb-legal__back,
.hb-legal__sibling {
  font-weight: 800;
  text-decoration: none !important;
}

.hb-legal__back {
  color: #5a8fb8 !important;
}

.hb-legal__sibling {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6a6c1, #7fb6e0);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(246, 166, 193, 0.3);
}

.hb-legal__sibling:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Elementor kit hint colours — set Global Colors in Elementor to match */
.elementor-kit-huebaby {
  --e-global-color-primary: #f6a6c1;
}

/* Local classic Home (before Elementor redesign) */
.hb-home {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

/* ---------- Contact page ---------- */
body.hb-is-contact,
body.page-template-template-contact {
  background:
    radial-gradient(ellipse 90% 55% at 12% -10%, rgba(246, 166, 193, 0.28), transparent 55%),
    radial-gradient(ellipse 80% 50% at 92% 0%, rgba(127, 182, 224, 0.24), transparent 50%),
    radial-gradient(ellipse 50% 35% at 50% 100%, rgba(233, 199, 126, 0.12), transparent 55%),
    var(--hb-cream, #fff8f3);
}

.hb-contact-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
}

.hb-contact-intro {
  text-align: center;
  margin: 0 0 1.75rem;
}

.hb-contact-intro__eyebrow {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(127, 182, 224, 0.4);
  color: #5a8fb8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hb-contact-intro__title {
  margin: 0 0 0.45rem;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--hb-ink, #3e3345);
}

.hb-contact-intro__lede {
  margin: 0 auto;
  max-width: 32rem;
  color: rgba(62, 51, 69, 0.78);
  font-size: 1.08rem;
  font-weight: 600;
}

.hb-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

@media (max-width: 780px) {
  .hb-contact-cards {
    grid-template-columns: 1fr;
  }
}

.hb-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 1.35rem;
  background: #fff;
  border: 1px solid rgba(246, 166, 193, 0.35);
  box-shadow: 0 14px 32px rgba(62, 51, 69, 0.07);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.hb-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(127, 182, 224, 0.18);
}

.hb-contact-card--wa {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(165deg, #fff 40%, rgba(37, 211, 102, 0.08));
}

.hb-contact-card--mail {
  border-color: rgba(127, 182, 224, 0.4);
  background: linear-gradient(165deg, #fff 40%, rgba(127, 182, 224, 0.1));
}

.hb-contact-card--area {
  border-color: rgba(233, 199, 126, 0.45);
  background: linear-gradient(165deg, #fff 40%, rgba(233, 199, 126, 0.12));
}

.hb-contact-card.is-pending {
  opacity: 0.85;
}

.hb-contact-card__icon {
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hb-contact-card__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(62, 51, 69, 0.55);
}

.hb-contact-card__value {
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hb-ink, #3e3345);
  word-break: break-word;
}

.hb-contact-card__hint {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(62, 51, 69, 0.68);
}

.hb-contact-faq {
  background: #fff;
  border-radius: 1.5rem;
  border: 1px solid rgba(246, 166, 193, 0.32);
  box-shadow:
    0 18px 40px rgba(62, 51, 69, 0.07),
    0 0 0 6px rgba(246, 166, 193, 0.08);
  padding: 1.5rem 1.35rem 1.65rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hb-contact-faq {
    padding: 1.85rem 1.85rem 2rem;
  }
}

.hb-contact-faq__title {
  margin: 0 0 1rem;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
  color: var(--hb-ink, #3e3345);
}

.hb-faq {
  border-radius: 1rem;
  background: rgba(255, 248, 243, 0.85);
  border: 1px solid rgba(239, 231, 239, 0.95);
  padding: 0.15rem 1rem;
  margin: 0 0 0.65rem;
}

.hb-faq:last-child {
  margin-bottom: 0;
}

.hb-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: "Baloo 2", "Nunito", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--hb-ink, #3e3345);
  padding: 0.85rem 0;
}

.hb-faq summary::-webkit-details-marker {
  display: none;
}

.hb-faq summary::after {
  content: "+";
  float: right;
  color: #c46d8e;
  font-weight: 800;
}

.hb-faq[open] summary::after {
  content: "–";
}

.hb-faq p {
  margin: 0 0 0.95rem;
  color: rgba(62, 51, 69, 0.78);
  font-weight: 600;
  line-height: 1.6;
}

.hb-contact-extra {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(246, 166, 193, 0.25);
}

.hb-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.hb-contact-actions__shop {
  display: inline-flex;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6a6c1, #7fb6e0);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(246, 166, 193, 0.3);
}

.hb-contact-actions__shop:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.hb-contact-actions__home {
  font-weight: 800;
  color: #5a8fb8 !important;
  text-decoration: none !important;
}

.hb-hero {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  background: radial-gradient(ellipse at top, #ffe6ef 0%, #fff8f3 55%, #e8f4fc 100%);
  border-radius: 1.5rem;
  margin-bottom: 2rem;
}

.hb-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a6b82;
  margin: 0 0 0.5rem;
}

.hb-brand {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1.05;
  margin: 0 0 0.35rem;
  background: var(--hb-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hb-tagline {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.hb-lead {
  max-width: 34rem;
  margin: 0 auto 1.25rem;
  color: #5c5164;
}

.hb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.hb-section {
  margin: 2.5rem 0;
}

.hb-section--mist {
  background: var(--hb-mist);
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
}

.hb-grid-3 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .hb-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hb-card {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(62, 51, 69, 0.06);
}

.hb-price {
  font-weight: 800;
  color: #5a8fb8;
  margin: 0.25rem 0 0.5rem;
}

.hb-promise,
.hb-steps {
  padding-left: 1.2rem;
}

.hb-promise li,
.hb-steps li {
  margin-bottom: 0.55rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .huebaby-btn,
  .huebaby-wa-btn,
  .huebaby-fab {
    transition: none;
  }
}
