/* ==========================================================================
   HS Kids - Footer & global overlays
   Gold footer, shopping bag drawer, search modal, floating buttons, mobile
   bottom bar and toasts. Uses the tokens from root.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Footer
   Colour rules are scoped to #colophon so the Elementor kit link / heading
   colours (.elementor-kit-* a) cannot wash the text out into the gold.
   -------------------------------------------------------------------------- */
.site-footer {
  --ft-ink:   #FFFFFF;                 /* headings, links on the gold       */
  --ft-text:  #FFFFFF;                 /* body copy on the gold             */
  --ft-line:  rgba(255, 255, 255, .25); /* dividers / outlines on the gold   */
  --ft-dark:  var(--hs-brown-dark);    /* newsletter card + copyright bar   */
  margin-top: 0;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

#colophon .site-footer__main,
#colophon a { color: var(--ft-text); }
#colophon a:hover { color: #FAF5EE; }

/* Newsletter band (dark card on the gold) */
.site-footer__news {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 3.5vw, 3rem);
  border-radius: var(--hs-radius-lg);
  background: linear-gradient(135deg, var(--hs-brown) 0%, var(--ft-dark) 100%);
  box-shadow: 0 18px 40px rgba(var(--hs-ink-rgb), .22);
}

.site-footer__news::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hs-gold-rgb), .28), transparent 70%);
  pointer-events: none;
}

.site-footer__news > * { position: relative; z-index: 1; }

#colophon .site-footer__news .eyebrow { color: var(--hs-gold-soft); }

#colophon .site-footer__news-title {
  max-width: 460px;
  margin-top: .35rem;
  padding: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  color: #fff;
}

.site-footer__form {
  display: flex;
  flex: 1 1 340px;
  max-width: 460px;
}

#colophon .site-footer__form .form-control {
  border: 0;
  border-radius: var(--hs-radius-sm) 0 0 var(--hs-radius-sm);
  background: var(--hs-cream);
  color: var(--hs-ink);
  font-size: .88rem;
}

.site-footer__form .btn {
  --bs-btn-padding-x: 1.6rem;
  border-radius: 0 var(--hs-radius-sm) var(--hs-radius-sm) 0;
}

/* Columns: brand + 4 link columns */
.site-footer__main {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.site-footer__brand .brand-logo__img { max-height: 56px; max-width: 240px; }

#colophon .site-footer__about {
  max-width: 330px;
  margin-top: 1.1rem;
  padding: 0;
  color: var(--ft-text);
  font-size: .875rem;
  line-height: 1.7;
}

.site-footer__contact {
  display: grid;
  gap: .55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .82rem;
}

.site-footer__contact li { display: flex; gap: .65rem; align-items: flex-start; max-width: 330px; }
#colophon .site-footer__contact i { width: 14px; margin-top: .25rem; color: var(--ft-ink); }

#colophon .site-footer__heading {
  position: relative;
  margin-bottom: 1.25rem;
  padding: 0 0 .6rem;
  color: var(--ft-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.site-footer__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--ft-ink);
}

.site-footer__links {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#colophon .site-footer__links a {
  position: relative;
  display: inline-block;
  font-size: .875rem;
  color: var(--ft-text);
  transition: transform var(--hs-t), color var(--hs-t-fast);
}

.site-footer__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--ft-ink);
  transition: right var(--hs-t);
}

#colophon .site-footer__links a:hover { color: var(--ft-ink); transform: translateX(3px); }
.site-footer__links a:hover::after { right: 0; }

.site-footer__social {
  display: flex;
  gap: .6rem;
  margin-top: 1.4rem;
}

#colophon .site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ft-ink);
  border-radius: 50%;
  color: var(--ft-ink);
  font-size: .95rem;
  transition: background-color var(--hs-t-fast), color var(--hs-t-fast), transform var(--hs-t-fast), border-color var(--hs-t-fast);
}

#colophon .site-footer__social a:hover {
  background: var(--ft-ink);
  border-color: var(--ft-ink);
  color: var(--hs-brown-dark);
  transform: translateY(-3px);
}

/* Copyright bar (full-width dark strip) */
.site-footer__bar { background: var(--ft-dark); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem 1.5rem;
  padding-block: 1.2rem;
}

#colophon .site-footer__bottom p {
  padding: 0;
  color: var(--hs-gold-soft);
  font-size: .78rem;
}

.site-footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__pay li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 28px;
  padding: .2rem .6rem;
  border-radius: var(--hs-radius);
  background: rgba(255, 255, 255, .92);
  font-family: var(--hs-font-heading);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--hs-brown);
}

.site-footer__pay i { font-size: 1.15rem; }
.site-footer__pay .fa-money-bill-wave { font-size: .8rem; }

@media (max-width: 991.98px) {
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
  .site-footer__news { flex-direction: column; align-items: stretch; }
  .site-footer__main { gap: 2rem 1.25rem; }
  .site-footer__form .form-control { min-width: 0; }
  .site-footer__form .btn { --bs-btn-padding-x: 1.1rem; }
  .site-footer__form { flex: 1 1 auto; max-width: none; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

/* --------------------------------------------------------------------------
   Shopping bag drawer (base look comes from .hs-drawer in header.css)
   -------------------------------------------------------------------------- */
.hs-drawer__ship {
  padding: 1rem 1.5rem;
  background: var(--hs-sand);
  border-bottom: 1px solid var(--hs-border-soft);
}

.hs-drawer__ship p {
  padding: 0;
  font-size: .8rem;
  color: var(--hs-text);
}

.hs-drawer__empty {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--hs-gold);
}

.hs-drawer__empty h5 { margin-top: 1rem; }
.hs-drawer__empty p { margin-bottom: 1.25rem; font-size: .875rem; }

.hs-drawer__summary {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hs-border);
}

.hs-drawer__total {
  font-family: var(--hs-font-heading);
  font-size: 1.15rem;
  color: var(--hs-ink);
}

.cart-item-card {
  display: flex;
  gap: .9rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hs-border-soft);
}

.cart-item-img {
  width: 72px;
  height: 90px;
  object-fit: cover;
  border-radius: var(--hs-radius-sm);
  background: var(--hs-sand);
}

.cart-item-card h6 {
  padding: 0;
  font-size: .82rem;
  letter-spacing: 0;
  text-transform: none;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-sm);
  background: #fff;
  color: var(--hs-ink);
  font-size: .65rem;
  transition: background-color var(--hs-t-fast), color var(--hs-t-fast), border-color var(--hs-t-fast);
}

.cart-qty-btn:hover { background: var(--hs-gold); border-color: var(--hs-gold); color: #fff; }

/* --------------------------------------------------------------------------
   Search modal
   -------------------------------------------------------------------------- */
.hs-search .modal-content {
  border: 0;
  border-radius: var(--hs-radius-lg);
  padding: .75rem;
  box-shadow: var(--hs-shadow-lg);
}

.hs-search .modal-title {
  font-family: var(--hs-font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hs-ink);
}

.hs-chip {
  display: inline-block;
  padding: .4rem 1rem;
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius-pill);
  background: #fff;
  font-size: .8rem;
  color: var(--hs-text);
  transition: background-color var(--hs-t-fast), border-color var(--hs-t-fast), color var(--hs-t-fast), transform var(--hs-t-fast);
}

.hs-chip:hover {
  background: var(--hs-gold);
  border-color: var(--hs-gold);
  color: #fff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Floating buttons
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  font-size: 1.7rem;
  box-shadow: 0 8px 22px rgba(var(--hs-brown-rgb), .3);
  transition: transform var(--hs-t), background-color var(--hs-t-fast), box-shadow var(--hs-t);
}

.whatsapp-float:hover {
  background: var(--hs-brown);
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(var(--hs-brown-rgb), .36);
}

.scroll-to-top-btn {
  position: fixed;
  right: 33px;
  bottom: 94px;
  z-index: 1039;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--hs-border);
  border-radius: 50%;
  background: #fff;
  color: var(--hs-brown);
  font-size: .8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--hs-t), transform var(--hs-t), visibility var(--hs-t), background-color var(--hs-t-fast), color var(--hs-t-fast);
}

.scroll-to-top-btn.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-to-top-btn:hover { background: var(--hs-gold); border-color: var(--hs-gold); color: #fff; }

/* --------------------------------------------------------------------------
   Mobile bottom navigation
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1035;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--hs-header);
  border-top: 1px solid var(--hs-border);
}

.mobile-bar a,
.mobile-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .65rem .25rem .55rem;
  border: 0;
  background: transparent;
  color: var(--hs-gold);
  font-family: var(--hs-font-heading);
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.1;
}

.mobile-bar i { font-size: 1.35rem; line-height: 22px; }
.mobile-bar span { color: var(--hs-ink); }
.mobile-bar .is-active span,
.mobile-bar a:hover span { color: var(--hs-gold-dark); }

@media (max-width: 991.98px) {
  body.hs-page { padding-bottom: 66px; }
  .whatsapp-float { right: 16px; bottom: 80px; width: 52px; height: 52px; font-size: 1.55rem; }
  .scroll-to-top-btn { right: 23px; bottom: 144px; }
  .site-footer__bottom { justify-content: center; text-align: center; }
  .site-footer__about { max-width: none; }
}

/* --------------------------------------------------------------------------
   Toasts (created by assets/js/main.js)
   -------------------------------------------------------------------------- */
.boutique-toast-container {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 1100;
  display: grid;
  gap: .6rem;
  width: min(92vw, 360px);
  transform: translateX(-50%);
  pointer-events: none;
}

.boutique-toast {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--hs-gold);
  border-radius: var(--hs-radius);
  background: #fff;
  box-shadow: var(--hs-shadow-lg);
  pointer-events: auto;
  animation: hsToastIn .4s var(--hs-ease);
}

.boutique-toast p { padding: 0; color: var(--hs-ink); font-size: .85rem; }

@keyframes hsToastIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   WooCommerce bag drawer (loaded on every page)
   -------------------------------------------------------------------------- */
/* woocommerce/cart/mini-cart.php */
.hs-drawer__wc { padding: 0 !important; }
.hs-drawer__wc .widget_shopping_cart_content { display: flex; flex-direction: column; min-height: 100%; }
.hs-drawer__wc .hs-drawer__ship p { padding: 0; }
.hs-mini-cart { flex: 1; margin: 0; padding: .5rem 1.5rem; list-style: none; }
.hs-mini-cart .cart-item-card { padding: 1rem 0 !important; }
.hs-mini-cart__thumb img { width: 72px !important; height: 90px !important; margin: 0 !important; float: none !important; object-fit: cover; border-radius: var(--hs-radius-sm); background: var(--hs-sand); }
.hs-mini-cart__info { flex: 1; min-width: 0; }
.hs-mini-cart__info h6 a { color: var(--hs-ink); }
.hs-mini-cart__meta dl { margin: .25rem 0 0; font-size: .75rem; color: var(--hs-muted); }
.hs-mini-cart__meta dt, .hs-mini-cart__meta dd { display: inline; margin: 0; font-weight: 400; }
.hs-mini-cart__meta dd p { display: inline; margin: 0; padding: 0; }
.hs-mini-cart .quantity { display: block; margin-top: .4rem; font-size: .82rem; color: var(--hs-text); }
.hs-mini-cart__remove { position: static !important; width: auto !important; height: auto !important; color: var(--hs-muted) !important; font-size: .85rem !important; background: none !important; }
.hs-mini-cart__remove:hover { color: var(--hs-sale) !important; }
.hs-drawer__wc .hs-drawer__summary { padding: 1.25rem 1.5rem 1.5rem; }
.hs-drawer__wc .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0 0 .25rem; padding: 0; font-size: .9rem; }
.hs-drawer__wc .woocommerce-mini-cart__total strong { font-weight: 500; }
.hs-drawer__wc .woocommerce-mini-cart__total .amount { font-family: var(--hs-font-heading); font-size: 1.15rem; font-weight: 600; color: var(--hs-ink); }
.hs-drawer__wc .hs-drawer__empty { padding: 4rem 1.5rem; }
.widget_shopping_cart_content.blockUI,
.blockUI.blockOverlay { background: rgba(250, 245, 238, .6) !important; }



/* Force pure white footer text across all columns and widgets */
#colophon,
#colophon p,
#colophon span,
#colophon li,
#colophon a,
#colophon .site-footer__heading,
#colophon .site-footer__about,
#colophon .site-footer__contact,
#colophon .site-footer__contact span,
#colophon .site-footer__contact a,
#colophon .site-footer__links a {
  color: #FFFFFF !important;
}

#colophon a:hover,
#colophon .site-footer__links a:hover,
#colophon .site-footer__contact a:hover {
  color: #FAF5EE !important;
}

#colophon .site-footer__heading::after {
  background: #FFFFFF !important;
}

#colophon .site-footer__contact i {
  color: #FFFFFF !important;
}

#colophon .site-footer__social a {
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
}

#colophon .site-footer__social a:hover {
  background: #FFFFFF !important;
  color: var(--hs-brown-dark) !important;
}

#colophon .site-footer__bottom,
#colophon .site-footer__bottom p,
#colophon .site-footer__bottom a,
#colophon .site-footer__pay li {
  color: rgba(255, 255, 255, 0.85) !important;
}

#colophon .site-footer__bottom a:hover {
  color: #FFFFFF !important;
}

/* Minimum 16px font-size guarantee for footer elements */
#colophon .site-footer__about,
#colophon .site-footer__contact span,
#colophon .site-footer__contact a,
#colophon .site-footer__links a,
#colophon .site-footer__bottom,
#colophon .site-footer__bottom p,
#colophon .site-footer__bottom a,
#colophon .site-footer__form .form-control {
  font-size: 1rem !important;
}
