/*
Theme Name: HBW Theme
Theme URI: https://hydrobalancewater.com
Author: Water Startups
Author URI: https://waterstartups.com
Description: Child theme of Twenty Twenty-Five for Hydro Balance Water.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: hbw-theme
Template: twentytwentyfive
*/

/* ============================================================
   BASE RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   BRAND TOKENS
   ============================================================ */

:root {
  --color-primary:     #0077b6;   /* deep blue */
  --color-secondary:   #00b4d8;   /* aqua */
  --color-accent:      #90e0ef;   /* light aqua */
  --color-dark:        #03045e;   /* navy */
  --color-light:       #f8f9fa;
  --color-white:       #ffffff;
  --color-text:        #1a1a2e;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Montserrat', sans-serif;

  --max-width: 1200px;
  --radius:    8px;
  --shadow:    0 4px 20px rgba(0, 0, 0, 0.08);

  /* Height of fixed nav — used to offset content below it.
     Desktop: topbar (~36px) + main nav (~80px). Tuned to match actual render. */
  --hbw-nav-height: 120px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #005f92;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   HEADER — fixed, white bg, logo left / nav right
   position:fixed keeps the nav visible on all scroll depths.
   The template-part wrapper gets padding-top equal to nav height
   so the banner below it starts below the fixed nav.
   ============================================================ */

body .hbw-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(0, 119, 182, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  width: 100%;
}

/* Offset content below the fixed nav. We zero the template-part padding
   and apply the offset to the first content block (mirrors front-page pattern).
   This fixes the gap on ALL pages: front, banner pages, product, subscriptions, contact, about. */
.wp-block-template-part:has(.hbw-site-header) {
  padding-top: 0 !important;
}

/* First block after the header gets the nav offset */
.wp-site-blocks > .wp-block-template-part:has(.hbw-site-header) + * {
  padding-top: var(--hbw-nav-height) !important;
}

/* Front page gets an extra 60px of breathing room below the fixed nav */
.home .wp-site-blocks > .wp-block-template-part:has(.hbw-site-header) + * {
  padding-top: calc(var(--hbw-nav-height) + 60px) !important;
}

/* WooCommerce pages: main#main is the content wrapper.
   Cancel the generic first-block offset and use margin-top on main#main instead,
   otherwise both rules fire and the gap doubles to 240px. */
.single-product .wp-site-blocks > .wp-block-template-part:has(.hbw-site-header) + *,
.post-type-archive-product .wp-site-blocks > .wp-block-template-part:has(.hbw-site-header) + *,
.woocommerce-page .wp-site-blocks > .wp-block-template-part:has(.hbw-site-header) + * {
  padding-top: 0 !important;
}
.single-product main#main,
.post-type-archive-product main#main,
.woocommerce-page main#main {
  margin-top: var(--hbw-nav-height) !important;
}

/* Direct fallback: <main> without #main is the content wrapper on non-WooCommerce pages
   (contact, about, subscriptions, water menu, etc.). This bypasses the :has() + sibling
   selector so the offset works even when Autoptimize reorders the aggregated CSS. */
.wp-site-blocks > main:not(#main) {
  padding-top: var(--hbw-nav-height) !important;
}

/* When the WP admin bar is visible it's fixed at 32px (desktop).
   Shift our nav down so it doesn't sit behind it.
   Apply the extra 32px to the first-block rule (not the template-part,
   which is zeroed with !important above). */
.admin-bar body .hbw-site-header {
  top: 32px;
}
.admin-bar .wp-site-blocks > .wp-block-template-part:has(.hbw-site-header) + * {
  padding-top: calc(var(--hbw-nav-height) + 32px) !important;
}
.admin-bar .wp-site-blocks > main:not(#main) {
  padding-top: calc(var(--hbw-nav-height) + 32px) !important;
}
.admin-bar .single-product main#main,
.admin-bar .post-type-archive-product main#main,
.admin-bar .woocommerce-page main#main {
  margin-top: calc(var(--hbw-nav-height) + 32px) !important;
}

/* On mobile (≤782px) the admin bar switches to position:absolute
   and WordPress adds margin-top:46px to <html>. Our nav sits at
   top:0 of the viewport which is correct — no extra offset needed. */
@media screen and (max-width: 782px) {
  .admin-bar body .hbw-site-header {
    top: 0;
  }
  .admin-bar .wp-site-blocks > .wp-block-template-part:has(.hbw-site-header) + * {
    padding-top: var(--hbw-nav-height) !important;
  }
  .admin-bar .wp-site-blocks > main:not(#main) {
    padding-top: var(--hbw-nav-height) !important;
  }
  .admin-bar .single-product main#main,
  .admin-bar .post-type-archive-product main#main,
  .admin-bar .woocommerce-page main#main {
    margin-top: var(--hbw-nav-height) !important;
  }
}

/* Top info bar */
.hbw-header-topbar {
  background-color: #1b54a6;
  padding: 0.4rem 2rem;
  gap: 2rem !important;
  width: 100%;
}

.hbw-header-topbar .hbw-topbar-item {
  font-size: 0.8rem;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
}

.hbw-header-topbar .hbw-topbar-item a {
  color: #ffffff;
  text-decoration: none;
}

.hbw-header-topbar .hbw-topbar-item a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* Main nav row */
.hbw-header-main {
  padding: 0.6rem 2rem !important;
}

.hbw-header-right {
  gap: 1.5rem !important;
}

/* OUR PRODUCTS button */
.hbw-nav-products-btn .wp-block-button__link {
  background-color: #8b0000 !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius) !important;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.hbw-nav-products-btn .wp-block-button__link:hover {
  background-color: #6b0000 !important;
}

/* Brand wordmark next to logo */
.hbw-header-brand {
  gap: 0.75rem !important;
}

.hbw-site-header .hbw-brand-wordmark {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap;
}

/* Search — icon only; expands on focus */
.hbw-header-search .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.hbw-header-search .wp-block-search__input {
  width: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  opacity: 0 !important;
  position: static !important;
  background: transparent !important;
  outline: none !important;
  transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease !important;
  font-size: 0.9rem !important;
  color: var(--color-text) !important;
}

.hbw-header-search .wp-block-search__inside-wrapper:focus-within .wp-block-search__input {
  width: 180px !important;
  padding: 0.25rem 0.5rem !important;
  opacity: 1 !important;
  border-bottom-color: var(--color-primary) !important;
}

.hbw-header-search .wp-block-search__button {
  background: transparent !important;
  border: none !important;
  color: var(--color-text) !important;
  padding: 0.25rem !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

/* WooCommerce account/cart icons */
.hbw-site-header .wc-block-mini-cart__button,
.hbw-site-header .wc-block-customer-account a {
  color: var(--color-text) !important;
}

/* Dropdown submenu */
.hbw-site-header .wp-block-navigation__submenu-container {
  background-color: var(--color-white);
  border: 1px solid rgba(0, 119, 182, 0.12);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* The <header class="hbw-site-header"> sticks on its own.
   The template-part wrapper must NOT be sticky — the banner
   that follows the header (inside the same template part) needs to scroll. */

/* ============================================================
   NAVIGATION LINKS
   ============================================================ */

.hbw-site-header .wp-block-navigation-item__content {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 0.25rem 0;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Slide-in underline animation via ::after — no text-decoration */
.hbw-site-header .wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.hbw-site-header .wp-block-navigation-item:hover .wp-block-navigation-item__content,
.hbw-site-header .wp-block-navigation-item:focus-within .wp-block-navigation-item__content {
  color: var(--color-primary);
  text-decoration: none;
}

.hbw-site-header .wp-block-navigation-item:hover .wp-block-navigation-item__content::after,
.hbw-site-header .wp-block-navigation-item:focus-within .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}

/* Remove focus outline on clicked nav items */
.hbw-site-header .wp-block-navigation-item__content:focus,
.hbw-site-header .wp-block-navigation-item a:focus,
.hbw-site-header .wp-block-navigation__responsive-container-open:focus {
  outline: none;
  box-shadow: none;
}

/* Active / current page state */
.hbw-site-header .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content,
.hbw-site-header .wp-block-navigation-item.current-page-ancestor .wp-block-navigation-item__content {
  color: var(--color-primary);
}

/* Mobile hamburger toggle */
.hbw-site-header .wp-block-navigation__responsive-container-open,
.hbw-site-header .wp-block-navigation__responsive-container-close {
  color: var(--color-primary);
}

/* Mobile menu overlay */
.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--color-white);
  padding: 2rem;
}

.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content {
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
}


/* ============================================================
   LARGE DESKTOP (≤1500px) — hide wordmark, keep logo
   ============================================================ */

@media (max-width: 1500px) {
  .hbw-brand-wordmark {
    display: none !important;
  }
}

/* Shrink logo slightly at tablet range */
@media (max-width: 900px) {
  .hbw-site-header .wp-block-site-logo img {
    width: 55px !important;
    height: auto !important;
  }
}

/* ============================================================
   DESKTOP HEADER (≥1101px)
   overlayMenu:"always" means WP always renders hamburger + overlay.
   We hide the hamburger and convert the overlay to an inline nav row.
   ============================================================ */

@media (min-width: 1101px) {
  /* Hide the hamburger and close (✕) buttons — we show nav inline instead */
  .hbw-site-header .wp-block-navigation__responsive-container-open,
  .hbw-site-header .wp-block-navigation__responsive-container-close {
    display: none !important;
  }

  /* Pull the overlay out of overlay mode — make it static inline */
  .hbw-site-header .wp-block-navigation__responsive-container {
    display: flex !important;
    position: static !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    min-height: unset !important;
    padding: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
  }

  .hbw-site-header .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: auto !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  /* Nav items as a horizontal row */
  .hbw-site-header .wp-block-navigation__responsive-container
    .wp-block-navigation__container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.5rem !important;
    flex-wrap: nowrap !important;
    width: auto !important;
  }

  /* Reorder right-side flex items: nav → button → search → account → cart */
  .hbw-header-right .wp-block-navigation       { order: 1; }
  .hbw-header-right .wp-block-buttons          { order: 2; }
  .hbw-header-right .wp-block-search           { order: 3; }
  .hbw-header-right .wc-block-customer-account { order: 4; }
  .hbw-header-right .wc-block-mini-cart        { order: 5; }
}

/* ============================================================
   TABLET + MOBILE HEADER (≤1100px) — hamburger only
   overlayMenu:"always" already handles the hamburger natively.
   Just hide topbar/button and tighten spacing.
   ============================================================ */

@media (max-width: 1100px) {
  :root {
    /* Logo is 166×159px; at width:75px it renders ≈72px tall.
       Plus 0.5rem top+bottom padding = ~88px actual header.
       95px gives a buffer for sub-pixel rounding. */
    --hbw-nav-height: 95px;
  }
}

@media (max-width: 1100px) {
  /* Hide topbar and OUR PRODUCTS button */
  .hbw-header-topbar    { display: none !important; }
  .hbw-nav-products-btn { display: none !important; }

  /* Tight padding */
  .hbw-header-main { padding: 0.5rem 1rem !important; }
  .hbw-header-right { gap: 0.75rem !important; }

  /* Push overlay below the sticky header so cart/account icons stay visible */
  .hbw-site-header .wp-block-navigation__responsive-container.is-menu-open {
    top: 88px !important; /* matches actual header height (logo ≈72px + 16px padding) */
  }

  /* Bigger hamburger and cart icons on touch screens */
  .hbw-site-header .wp-block-navigation__responsive-container-open svg,
  .hbw-site-header .wp-block-navigation__responsive-container-close svg {
    width: 28px !important;
    height: 28px !important;
  }

  .hbw-site-header .wc-block-mini-cart__button svg,
  .hbw-site-header .wc-block-customer-account svg {
    width: 26px !important;
    height: 26px !important;
  }
}


/* Mobile menu overlay — center-aligned items */
.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100%;
}

.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item__content {
  text-align: center !important;
  border-bottom: 1px solid rgba(0, 119, 182, 0.1);
  width: 100%;
  display: block;
}

/* Submenu container in mobile overlay — style only, let WP JS control visibility */
.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container {
  position: static !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Show as column when parent item is toggled open */
.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation-item.open
  .wp-block-navigation__submenu-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hbw-site-header .wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item__content {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0;
}

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */

.hbw-hero {
  background-color: var(--color-light);
}

/* Promo badge */
.hbw-hero .hbw-hero-badge {
  display: inline-block;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.hbw-hero .hbw-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hbw-hero .hbw-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #444;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* Dual CTA buttons */
.hbw-hero .hbw-btn-delivery .wp-block-button__link {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.85rem 2rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid var(--color-primary) !important;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.hbw-hero .hbw-btn-delivery .wp-block-button__link:hover {
  background-color: #005f92 !important;
  border-color: #005f92 !important;
}

.hbw-hero .hbw-btn-store .wp-block-button__link {
  background-color: transparent !important;
  color: var(--color-primary) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.85rem 2rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid var(--color-primary) !important;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.hbw-hero .hbw-btn-store .wp-block-button__link:hover {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
}

/* Review stars */
.hbw-hero .hbw-hero-reviews {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: #555;
}

.hbw-hero .hbw-stars {
  color: #f4a723;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* Right column: image centered, allow natural scaling */
.hbw-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hbw-hero .hbw-hero-bottle img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 119, 182, 0.2));
}

/* Mobile: stack columns, center text */
@media (max-width: 768px) {
  .hbw-hero .hbw-hero-sub {
    max-width: 100%;
  }

  .hbw-hero .hbw-hero-bottle img {
    max-height: 280px;
    margin: 0 auto;
  }
}

/* ============================================================
   WELCOME BANNER
   Sits below the sticky nav in every page header.
   Default: animated gradient. Replace via Site Editor Cover block
   → set a background image or video, then adjust the dim overlay.
   ============================================================ */

.hbw-page-banner {
  position: relative;
  overflow: hidden;
  /* Animated gradient default — replaced by image/video when set in Site Editor */
  background: linear-gradient(135deg, #03045e 0%, #0077b6 38%, #00b4d8 68%, #90e0ef 100%);
  background-size: 300% 300%;
  animation: hbw-banner-gradient 10s ease infinite;
}

@keyframes hbw-banner-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Stop animation once a real image or video is present */
.hbw-page-banner:has(.wp-block-cover__image-background),
.hbw-page-banner:has(.wp-block-cover__video-background) {
  animation: none;
  background: none;
}

.hbw-page-banner .hbw-banner-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.hbw-page-banner .hbw-banner-subheading {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.01em;
  margin: 0;
}

/* Subtle shimmer overlay — adds depth on the gradient */
.hbw-page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(144, 224, 239, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Hide shimmer when real media is present */
.hbw-page-banner:has(.wp-block-cover__image-background)::after,
.hbw-page-banner:has(.wp-block-cover__video-background)::after {
  display: none;
}

@media (max-width: 768px) {
  .hbw-page-banner {
    min-height: 200px !important;
  }
}

/* Hide the welcome banner on the static front page — the hero serves that role */
.home .hbw-page-banner {
  display: none;
}

/* Home + banner pages + product + all others: handled by universal rule above.
   (Template-part zeroed globally; first content block gets nav offset.) */

/* Remove spacing WP injects above the first content block on home.
   margin-block-start and padding-block-start are inline styles — !important required. */
.home .wp-block-post-content {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}

.home .wp-block-post-content > :first-child {
  margin-block-start: 0 !important;
  padding-block-start: 0 !important;
}

/* Store image section — no overlay, ensure image visibility */
.hbw-store-section .wp-block-cover__background,
.hbw-store-section .wp-block-cover__gradient-background {
  display: none !important;
}

.hbw-store-section::before,
.hbw-store-section::after {
  display: none !important;
}

.hbw-store-section {
  position: relative;
  overflow: hidden;
}

.hbw-store-section .wp-block-cover__image-background {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: absolute;
  top: 0;
  left: 0;
}

.hbw-store-section .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

.hbw-store-form-wrap {
  width: 100%;
  max-width: 560px;
  background: transparent;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */

.hbw-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(0, 119, 182, 0.1);
  border: 1px solid rgba(0, 119, 182, 0.25);
  border-radius: 999px;
  padding: 0.3em 1em;
  margin-bottom: 1rem;
}

.hbw-section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hbw-section-body {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 540px;
}

/* Primary solid button (outside hero) */
.hbw-btn-primary .wp-block-button__link {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.85rem 2rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid var(--color-primary) !important;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.hbw-btn-primary .wp-block-button__link:hover {
  background-color: #005f92 !important;
  border-color: #005f92 !important;
}

/* Ghost / outline button — primary color text */
.hbw-btn-ghost .wp-block-button__link {
  background-color: transparent !important;
  color: var(--color-primary) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.85rem 2rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid var(--color-primary) !important;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.hbw-btn-ghost .wp-block-button__link:hover {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
}

/* Ghost button — dark text for light backgrounds */
.hbw-btn-ghost-dark .wp-block-button__link {
  background-color: transparent !important;
  color: var(--color-dark) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.85rem 2.25rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid var(--color-dark) !important;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.hbw-btn-ghost-dark .wp-block-button__link:hover {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff !important;
}

/* ============================================================
   ENHANCE YOUR WELL-BEING SECTION
   ============================================================ */

.hbw-wellbeing {
  background-color: var(--color-white);
}

.hbw-benefits-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 0.5rem !important;
}

.hbw-benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.hbw-benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.4rem;
  height: 1.4rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.hbw-wellbeing-footnote {
  font-size: 0.8rem !important;
  color: #999 !important;
  font-style: italic;
  margin-top: 1.25rem !important;
}

.hbw-wellbeing-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hbw-wellbeing-img img {
  max-height: 460px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 119, 182, 0.15));
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hbw-section-body {
    max-width: 100%;
  }

  .hbw-wellbeing-img img {
    max-height: 300px;
  }
}

/* ============================================================
   FAMILY TIER SUBSCRIPTION SECTION
   ============================================================ */

.hbw-family-tier {
  background: linear-gradient(135deg, #03045e 0%, #0077b6 60%, #1b54a6 100%);
  width: 100%;
}

/* "Most Popular" badge */
.hbw-family-tier .hbw-tier-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.hbw-family-tier .hbw-tier-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Price row */
.hbw-family-tier .hbw-tier-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.hbw-family-tier .hbw-tier-price strong {
  font-size: 1.6rem;
  color: #90e0ef;
}

.hbw-family-tier .hbw-tier-signup {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-top: 0.15rem;
}

.hbw-family-tier .hbw-tier-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 500px;
}

/* Checklist */
.hbw-tier-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 1.25rem !important;
}

.hbw-tier-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.hbw-tier-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CTA button — white fill */
.hbw-btn-tier-cta .wp-block-button__link {
  background-color: #ffffff !important;
  color: var(--color-dark) !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.9rem 2.25rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid #ffffff !important;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.hbw-btn-tier-cta .wp-block-button__link:hover {
  background-color: #90e0ef !important;
  border-color: #90e0ef !important;
  color: var(--color-dark) !important;
}

/* Ghost button — white outline */
.hbw-btn-tier-ghost .wp-block-button__link {
  background-color: transparent !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0.9rem 2rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  letter-spacing: 0.03em;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.hbw-btn-tier-ghost .wp-block-button__link:hover {
  border-color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Right column: bottle image */
.hbw-tier-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hbw-tier-img img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.hbw-tier-img img:hover {
  transform: translateY(-6px);
}

@media (max-width: 768px) {
  .hbw-family-tier .hbw-tier-desc {
    max-width: 100%;
  }

  .hbw-tier-img img {
    max-height: 280px;
  }
}

/* ============================================================
   DELIVERY BUNDLES SECTION
   ============================================================ */

.hbw-bundles {
  background-color: #ffffff;
}

.hbw-bundles-title {
  margin-bottom: 2.5rem !important;
}

/* Shortcode grid layout */
.hbw-bundles-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* WooCommerce clearfix (::before/::after) becomes extra grid items and offsets cards */
.hbw-bundles-grid ul.products::before,
.hbw-bundles-grid ul.products::after {
  content: none !important;
  display: none !important;
}

/* Individual product card */
.hbw-bundles-grid ul.products li.product {
  background-color: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.hbw-bundles-grid ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 119, 182, 0.14);
}

/* Product image */
.hbw-bundles-grid ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.hbw-bundles-grid ul.products li.product:hover a img {
  transform: scale(1.04);
}

/* Product title */
.hbw-bundles-grid ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 1rem !important;
  font-weight: 700;
  color: var(--color-dark);
  padding: 0.75rem 1.25rem 0.25rem;
  text-align: center;
}

/* Price */
.hbw-bundles-grid ul.products li.product .price {
  padding: 0 1.25rem 0.75rem;
  font-family: var(--font-heading);
  text-align: center;
  display: block;
}

.hbw-bundles-grid ul.products li.product .price .woocommerce-Price-amount {
  color: var(--color-primary);
  font-weight: 700;
}

.hbw-bundles-grid ul.products li.product .price del .woocommerce-Price-amount {
  color: #aaa;
  font-weight: 400;
}

/* Add to cart button */
.hbw-bundles-grid ul.products li.product .button {
  display: block !important;
  margin: auto 1.25rem 1.25rem !important;
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  padding: 0.65rem 1.5rem !important;
  border-radius: var(--radius) !important;
  border: 2px solid var(--color-primary) !important;
  transition: background-color 0.2s ease !important;
  text-align: center !important;
  text-decoration: none !important;
}

.hbw-bundles-grid ul.products li.product .button:hover {
  background-color: #005f92 !important;
  border-color: #005f92 !important;
}

/* Prevent WooCommerce .first class from breaking grid layout */
.hbw-bundles-grid ul.products li.product.first,
.hbw-bundles-grid ul.products li.product:first-child {
  grid-column: auto !important;
  clear: none !important;
  float: none !important;
  width: auto !important;
}

@media (max-width: 768px) {
  .hbw-bundles-grid ul.products {
    grid-template-columns: 1fr !important;
    max-width: 360px;
    margin: 0 auto !important;
  }
}

/* WooCommerce single-product Add to Cart button */
.single_add_to_cart_button,
.woocommerce .button.alt,
.woocommerce button.button.alt {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  border: 2px solid var(--color-primary) !important;
  border-radius: var(--radius) !important;
  padding: 0.75rem 2rem !important;
  transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

.single_add_to_cart_button:hover,
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: #005f92 !important;
  border-color: #005f92 !important;
  color: #ffffff !important;
}


/* ============================================================
   FOOTER
   ============================================================ */

.hbw-site-footer {
  background-color: transparent;
}

/* Kill all default block gaps and padding between footer sections */
.hbw-site-footer,
.hbw-site-footer > .wp-block-group,
.hbw-site-footer > .wp-block-html {
  --wp--style--block-gap: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* CTA Banner */
.hbw-footer-cta {
  background-color: #1b54a6;
  padding: 3rem 2rem;
  width: 100%;
}

.hbw-footer-cta-inner {
  gap: 2rem;
}

.hbw-footer-cta .hbw-cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0;
}

.hbw-footer-cta .hbw-cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.5rem;
}

.hbw-cta-btn .wp-block-button__link {
  background-color: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 2rem !important;
  border-radius: var(--radius) !important;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.hbw-cta-btn .wp-block-button__link:hover {
  background-color: #ffffff !important;
  color: var(--color-primary) !important;
}

/* Review widget section */
.hbw-footer-reviews-section {
  background-color: #ffffff;
  padding: 4rem 2rem 3rem;
}

.hbw-reviews-heading {
  display: none;
}

.hbw-footer-reviews-section iframe.lc_reviews_widget {
  min-width: 100%;
  width: 100%;
  border: none;
}

/* Map — white background, true full width */
.hbw-footer-map-section {
  background-color: #ffffff;
  width: 100%;
  line-height: 0;
}

.hbw-footer-map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
}

/* Wave 1: white bg → #1b54a6 */
.hbw-footer-wave-1 {
  display: block;
  line-height: 0;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.hbw-footer-wave-1 svg {
  display: block;
  width: 100%;
  height: 90px;
}

/* Wave 2: #1b54a6 bg → #211d31 */
.hbw-footer-wave-2 {
  display: block;
  line-height: 0;
  background-color: #1b54a6;
  margin: 0;
  padding: 0;
}

.hbw-footer-wave-2 svg {
  display: block;
  width: 100%;
  height: 70px;
}

/* Dark section */
.hbw-footer-dark {
  background-color: #211d31;
  padding: 3rem 2rem 0;
}

.hbw-footer-dark p,
.hbw-footer-dark li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Columns */
.hbw-footer-top {
  gap: 3rem;
  padding-bottom: 3rem;
}

.hbw-footer-col {
  flex: 1 1 180px;
  min-width: 160px;
  gap: 0.5rem !important;
}

/* Thick blue left border on non-brand columns */
.hbw-footer-links,
.hbw-footer-contact {
  border-left: 4px solid var(--color-primary);
  padding-left: 2rem !important;
}

/* Brand col */
.hbw-footer-brand .wp-block-site-logo {
  margin-bottom: 0.5rem;
}

.hbw-footer-brand .hbw-footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.15rem;
  line-height: 1.2;
}

.hbw-footer-brand .hbw-footer-tagline {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

/* Space above a heading that follows content (e.g. Hours after email) */
.hbw-footer-col p + h4.hbw-footer-heading {
  margin-top: 1.75rem;
}

/* Column headings */
.hbw-footer-dark .hbw-footer-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

/* Links */
.hbw-footer-dark a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hbw-footer-dark a:hover {
  color: var(--color-secondary);
}

/* "Social" label above icons */
.hbw-footer-social-label {
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Social icons — fully visible */
.hbw-footer-social {
  margin-top: 1.25rem !important;
  gap: 0.5rem !important;
}

.hbw-footer-social .wp-block-social-link {
  background-color: var(--color-primary) !important;
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hbw-footer-social .wp-block-social-link:hover {
  background-color: var(--color-secondary) !important;
  transform: translateY(-2px);
}

.hbw-footer-social .wp-block-social-link a,
.hbw-footer-social .wp-block-social-link svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Bottom bar */
.hbw-footer-bottom {
  padding: 1.25rem 0;
}

.hbw-footer-dark .hbw-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.wp-block-template-part:has(.hbw-site-footer) {
  overflow: visible;
}

/* ============================================================
   WATER MENU PAGE — Intro two-column section
   ============================================================ */

.hbw-menu-intro {
  background-color: var(--color-white);
}

.hbw-menu-intro-img {
  background: transparent;
}

.hbw-menu-intro-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: none;
}

.hbw-menu-intro .hbw-menu-intro-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.25rem;
}

.hbw-menu-intro .hbw-menu-intro-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.hbw-menu-intro .hbw-menu-intro-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 1.25rem;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 0.75rem;
  background-color: var(--color-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.hbw-menu-intro .hbw-menu-intro-list li strong {
  font-weight: 700;
  color: var(--color-dark);
}

/* "Subscriptions and Delivery Available" note — styled differently */
.hbw-menu-intro .hbw-menu-intro-list li.hbw-menu-intro-sub {
  border-left-color: var(--color-secondary);
  background-color: transparent;
  font-size: 0.875rem;
  color: var(--color-primary);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hbw-menu-intro {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

/* =========================================================
   FILTRATION PROCESS — Disclaimer highlighted box
   ========================================================= */
.filtration-disclaimer,
.filt-mobile-disclaimer {
  background-color: rgba(0, 119, 182, 0.07);
  border-left: 4px solid var(--color-primary, #0077b6);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.875rem;
  color: var(--color-text, #1a1a2e);
  margin-bottom: 1.25rem;
}

.filtration-disclaimer strong,
.filt-mobile-disclaimer strong {
  color: var(--color-primary, #0077b6);
}

/* =========================================================
   FILTRATION PROCESS — Step card hover states
   ========================================================= */
.filtration-stages {
  border-radius: 10px;
  border: 2px solid transparent;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  cursor: default;
}

.filtration-stages:hover {
  border-color: var(--color-primary, #0077b6);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.12);
  background-color: rgba(0, 180, 216, 0.04);
}

/* ============================================================
   WOOCOMMERCE SINGLE PRODUCT — clearance below fixed nav
   ============================================================ */

body.single-product .wp-block-post-content {
  padding-top: 1.5rem;
}


/* ============================================================
   MY ACCOUNT ICON — fallback injected via functions.php when
   the WC customer-account block JS is deferred by WP Meteor
   ============================================================ */

.hbw-account-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  padding: 0.25rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hbw-account-link:hover {
  color: var(--color-primary);
}

.hbw-account-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 1100px) {
  .hbw-account-link svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================================
   WOOCOMMERCE ACCOUNT + CART ICONS — ensure visibility
   ============================================================ */

.hbw-site-header .wc-block-customer-account,
.hbw-site-header .wc-block-mini-cart {
  display: flex !important;
  align-items: center;
}

.hbw-site-header .wc-block-customer-account a,
.hbw-site-header .wc-block-mini-cart__button {
  display: inline-flex !important;
  align-items: center;
  color: var(--color-text) !important;
  background: transparent !important;
  border: none !important;
  padding: 0.25rem !important;
}

.hbw-site-header .wc-block-customer-account svg,
.hbw-site-header .wc-block-customer-account svg.icon,
.hbw-site-header .wc-block-mini-cart__button svg {
  fill: currentColor;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  display: block !important;
}

/* ============================================================
   Mini-cart drawer — product image
   WC blocks can render both an SVG placeholder and the real <img>
   at the same time. Keep only the first image child visible.
   ============================================================ */

.wc-block-mini-cart__product-list
  .wc-block-components-product-image img ~ img,
.wc-block-mini-cart__product-list
  .wc-block-components-product-image svg {
  display: none;
}

/* ============================================================
   Block checkout — injected Monthly + Sign-up fee totals rows
   ============================================================ */

/* Match the padding/font of native WC block totals rows */
.hbw-totals-monthly,
.hbw-totals-signup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: inherit;
  color: inherit;
}

/* Separator above Sign-up fee to group the two new rows visually */
.hbw-totals-monthly {
  border-top: 1px solid #e0e0e0;
  padding-top: 12px;
}

/* Subtle separator below Sign-up fee before Subtotal */
.hbw-totals-signup {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 12px;
  margin-bottom: 4px;
}

.hbw-totals-value {
  font-weight: 600;
  text-align: right;
}

/* ============================================================
   Block checkout — add-on products upsell (sidebar)
   ============================================================ */

.hbw-checkout-addons {
  border-top: 1px solid #e0e0e0;
  padding: 16px 0 8px;
}

.hbw-checkout-addons__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
  margin: 0 0 10px;
}

.hbw-checkout-addon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f4f8;
}

.hbw-checkout-addon-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.hbw-checkout-addon-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: #fff;
}

.hbw-checkout-addon-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hbw-checkout-addon-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hbw-checkout-addon-price {
  font-size: 13px;
  color: #0077b6;
  font-weight: 600;
}

/* Quantity stepper */
.hbw-addon-qty-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hbw-addon-qty-btn {
  width: 28px;
  height: 28px;
  border: 1.5px solid #0077b6;
  border-radius: 4px;
  background: transparent;
  color: #0077b6;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s, color 0.15s;
}

.hbw-addon-qty-btn:hover:not(:disabled) {
  background: #0077b6;
  color: #fff;
}

.hbw-addon-qty-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.hbw-addon-qty-num {
  min-width: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

/* placeholder — replaced by qty stepper above */
.hbw-checkout-addon-item input[type="checkbox"].hbw-addon-cb {
  width: 20px;
  height: 20px;
  accent-color: #0077b6;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

/* =========================================================
   DELIVERY AREA PAGES — shared across all city pages
   ========================================================= */

/* Banner overrides (breadcrumb + subtitle) */
.hbw-delivery-banner .hbw-delivery-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}
.hbw-delivery-banner .hbw-delivery-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.hbw-delivery-banner .hbw-delivery-breadcrumb a:hover {
  color: #fff;
}
.hbw-delivery-banner .hbw-delivery-banner-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.5rem;
}

/* Intro section */
.hbw-delivery-intro-img img {
  width: 100%;
  height: auto;
  display: block;
}
.hbw-delivery-neighborhoods-label {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  color: #1a1a2e;
}
.hbw-delivery-neighborhoods {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}
.hbw-delivery-neighborhoods li {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.95rem;
  color: #1a1a2e;
}
.hbw-delivery-neighborhoods li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0077b6;
  font-weight: 700;
}

/* Pricing table */
.hbw-pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.hbw-pricing-table th {
  background: #0077b6;
  color: #fff;
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.hbw-pricing-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #e8f4fd;
  font-size: 0.95rem;
  color: #1a1a2e;
  vertical-align: middle;
}
.hbw-pricing-table tr:last-child td {
  border-bottom: none;
}
.hbw-pricing-table tr:nth-child(even) td {
  background: #f0f8ff;
}
.hbw-pricing-table td:nth-child(2) {
  font-weight: 700;
  color: #0077b6;
  white-space: nowrap;
}

/* How It Works — step cards */
.hbw-step-col {
  border-top: 4px solid #0077b6;
  padding-top: 1.75rem;
}
.hbw-step-number {
  font-family: Montserrat, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #90e0ef;
  margin: 0 0 0.5rem;
  line-height: 1;
}
.hbw-step-heading {
  font-family: Montserrat, sans-serif;
  font-size: 1.1rem !important;
  font-weight: 700;
  color: #03045e;
  margin: 0 0 0.75rem !important;
}
.hbw-step-body {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
}

/* Testimonials */
.hbw-delivery-testimonials-title {
  color: #ffffff !important;
  margin-bottom: 0;
}
.hbw-review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 2rem !important;
}
.hbw-review-stars {
  color: #ffd700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin: 0 0 0.75rem !important;
}
.hbw-review-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 1rem !important;
}
.hbw-review-author {
  font-size: 0.875rem;
  color: #90e0ef;
  font-weight: 600;
  margin: 0 !important;
}

/* FAQ — Details/Summary accordion */
.hbw-delivery-faq details.wp-block-details {
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
}
.hbw-delivery-faq details.wp-block-details summary {
  padding: 1.1rem 2rem 1.1rem 0;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #03045e;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
}
.hbw-delivery-faq details.wp-block-details summary::-webkit-details-marker {
  display: none;
}
.hbw-delivery-faq details.wp-block-details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #0077b6;
  line-height: 1;
  transition: transform 0.2s;
}
.hbw-delivery-faq details.wp-block-details[open] summary::after {
  content: "−";
}
.hbw-delivery-faq details.wp-block-details p {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0;
}

/* Also delivers to */
.hbw-also-label {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #4a5568;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem !important;
}
.hbw-btn-city .wp-block-button__link {
  background: #fff !important;
  color: #0077b6 !important;
  border: 2px solid #0077b6 !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.25rem !important;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.hbw-btn-city .wp-block-button__link:hover {
  background: #0077b6 !important;
  color: #fff !important;
}

/* Delivery CTA banner */
.hbw-delivery-cta-heading {
  color: #ffffff !important;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
  font-weight: 700;
  margin-bottom: 1rem !important;
}
.hbw-delivery-cta-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 0 !important;
}
.hbw-btn-cta-white .wp-block-button__link {
  background: #ffffff !important;
  color: #1b54a6 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.85rem 2rem !important;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
}
.hbw-btn-cta-white .wp-block-button__link:hover {
  opacity: 0.9;
}
.hbw-btn-cta-ghost .wp-block-button__link {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.6) !important;
  border-radius: 8px !important;
  padding: 0.85rem 2rem !important;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.hbw-btn-cta-ghost .wp-block-button__link:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* =========================================================
   DELIVERY HUB PAGE — /water-delivery/
   ========================================================= */

/* City cards */
.hbw-city-card {
  background: #fff;
  border: 1px solid #e2ecf4;
  border-radius: 12px;
  padding: 2rem !important;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hbw-city-card:hover {
  box-shadow: 0 6px 24px rgba(0,119,182,0.12);
  transform: translateY(-3px);
}
.hbw-city-card-icon {
  font-size: 1.5rem;
  margin: 0 0 0.5rem !important;
}
.hbw-city-card-name {
  font-family: Montserrat, sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700;
  color: #03045e;
  margin: 0 0 0.75rem !important;
}
.hbw-city-card-desc {
  font-size: 0.925rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 1rem !important;
}
.hbw-city-card-link {
  margin: 0 !important;
}
.hbw-city-card-link a {
  color: #0077b6;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.hbw-city-card-link a:hover {
  text-decoration: underline;
}

/* Map embed */
.hbw-map-embed {
  margin-top: 2.5rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.hbw-map-embed iframe {
  display: block;
  width: 100%;
}

/* Why list */
.hbw-why-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.hbw-why-list li {
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.975rem;
  color: #1a1a2e;
  line-height: 1.5;
}
.hbw-why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0077b6;
  font-weight: 700;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hbw-delivery-neighborhoods {
    grid-template-columns: 1fr;
  }
  .hbw-pricing-table th,
  .hbw-pricing-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.875rem;
  }
  .hbw-review-card {
    padding: 1.5rem !important;
  }
  .hbw-step-number {
    font-size: 2rem;
  }
  .hbw-city-card {
    padding: 1.5rem !important;
  }
}

/* ============================================================
   STORE PAGE
   ============================================================ */

.hbw-store-section-sub {
  margin-top: 0.75rem !important;
  color: #555;
  font-size: 1.05rem;
  max-width: 680px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* In-Store Experience */
.hbw-store-experience {
  background: #f8f9fa;
}
.hbw-store-exp-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 2rem 1.5rem !important;
  text-align: center;
}
.hbw-exp-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
}
.hbw-exp-icon svg {
  width: 100%;
  height: 100%;
}
.hbw-exp-card-heading {
  font-size: 1.125rem !important;
  color: #03045e;
  margin-bottom: 0.75rem !important;
}

/* Photo Gallery */
.hbw-store-gallery-section {
  background: #fff;
}
.hbw-store-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.hbw-store-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}
.hbw-store-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.hbw-store-gallery-item:hover img {
  transform: scale(1.03);
}
@media (max-width: 700px) {
  .hbw-store-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .hbw-store-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

/* Filtration Process */
.hbw-store-filtration {
  background: #f8f9fa;
}
.hbw-filtration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.hbw-stage-card {
  background: #fff;
  border-radius: 0 0 12px 12px;
  border-top: 4px solid #0077b6;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.hbw-stage-card:hover {
  border-color: #00b4d8;
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.12);
}
.hbw-stage-card--last {
  grid-column: 2;
}
.hbw-stage-badge {
  font-family: Montserrat, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #90e0ef;
  line-height: 1;
  margin-bottom: 0.4rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}
.hbw-stage-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0077b6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.35rem !important;
}
.hbw-stage-title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #03045e;
  margin: 0 0 0.6rem !important;
}
.hbw-stage-desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.65;
  margin: 0 !important;
}
.hbw-stage-sub-item {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #444;
  line-height: 1.6;
  padding-left: 0.75rem;
  border-left: 3px solid #00b4d8;
}

/* Subscription CTA */
.hbw-store-subscription-cta {
  background: #1b54a6;
}

/* Hours & Contact */
.hbw-store-hours {
  background: #fff;
}
.hbw-store-hours-card {
  background: #f8f9fa;
  border-radius: 12px;
  border-top: 4px solid #0077b6;
  padding: 2rem !important;
}
.hbw-hours-card-heading {
  font-size: 1.125rem !important;
  color: #03045e;
  margin-bottom: 1.25rem !important;
}
.hbw-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hbw-hours-table td {
  padding: 0.6rem 0;
  color: #1a1a2e;
  border-bottom: 1px solid #e5e7eb;
}
.hbw-hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}
.hbw-hours-closed td {
  color: #888;
}

/* Store page responsive */
@media (max-width: 900px) {
  .hbw-filtration-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hbw-stage-card--last {
    grid-column: auto;
  }
}
@media (max-width: 600px) {
  .hbw-filtration-grid {
    grid-template-columns: 1fr;
  }
  .hbw-store-hours-card {
    padding: 1.5rem !important;
  }
  .hbw-store-exp-card {
    padding: 1.5rem !important;
  }
}

/* ============================================================
   WATER MENU
   ============================================================ */

.hbw-store-water-menu {
  background: #fff;
}
.hbw-water-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.hbw-menu-card {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  padding: 2rem 1.5rem;
  text-align: center;
}
.hbw-menu-card--featured {
  border-color: #0077b6;
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.15);
}
.hbw-menu-card-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0077b6;
  margin-bottom: 0.4rem !important;
}
.hbw-menu-card-name {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #03045e;
  margin-bottom: 1rem !important;
  line-height: 1.3;
}
.hbw-menu-card-price {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: #03045e;
  line-height: 1;
  margin-bottom: 1rem !important;
}
.hbw-menu-card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}
.hbw-menu-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}
.hbw-menu-card-badge--delivery {
  background: #e8f4fd;
  color: #0077b6;
}
.hbw-menu-card-badge--store {
  background: #f0f0f0;
  color: #666;
}

/* ============================================================
   SUBSCRIPTION PRICING TABLE
   ============================================================ */

.hbw-store-sub-pricing {
  background: #f8f9fa;
}
.hbw-sub-pricing-wrap {
  margin-top: 2.5rem;
}
.hbw-sub-pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
.hbw-sub-pricing-table thead tr {
  background: #03045e;
}
.hbw-sub-pricing-table th {
  padding: 1rem 1.25rem;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: center;
}
.hbw-sub-pricing-table th.hbw-col-pickup {
  background: #0077b6;
}
.hbw-sub-pricing-table th.hbw-col-delivery {
  background: #1b54a6;
}
.hbw-sub-pricing-table tbody tr {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.15s;
}
.hbw-sub-pricing-table tbody tr:last-child {
  border-bottom: none;
}
.hbw-sub-pricing-table tbody tr:hover {
  background: #f0f8ff;
}
.hbw-sub-pricing-table td {
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  color: #1a1a2e;
}
.hbw-sub-pricing-table td.hbw-col-pickup {
  background: #f0f8ff;
  font-weight: 700;
  color: #0077b6;
}
.hbw-sub-pricing-table td.hbw-col-delivery {
  background: #f0f4ff;
  font-weight: 700;
  color: #1b54a6;
}
.hbw-row-popular {
  position: relative;
}
.hbw-row-popular td:first-child {
  font-weight: 700;
  color: #03045e;
}
.hbw-popular-badge {
  display: inline-block;
  background: #0077b6;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.hbw-sub-fee-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.hbw-sub-fee-card {
  background: #fff;
  border-radius: 8px;
  border-left: 4px solid #0077b6;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}
.hbw-sub-fee-card strong {
  color: #03045e;
}
.hbw-sub-pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 0.75rem !important;
}

/* Water menu + sub pricing responsive */
@media (max-width: 600px) {
  .hbw-sub-fee-cards {
    grid-template-columns: 1fr;
  }
  .hbw-sub-pricing-table th,
  .hbw-sub-pricing-table td {
    padding: 0.65rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* ============================================================
   HOMEPAGE — VISIT OUR STORE SECTION
   ============================================================ */

.hbw-visit-store {
  background: #f8f9fa;
}
.hbw-visit-store-img img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
}
.hbw-visit-store-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.hbw-visit-detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #1a1a2e;
  line-height: 1.5;
}
.hbw-visit-detail strong {
  min-width: 68px;
  flex-shrink: 0;
  color: #03045e;
}
.hbw-visit-detail a {
  color: #0077b6;
  text-decoration: none;
}
.hbw-visit-detail a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .hbw-water-menu-grid {
    grid-template-columns: 1fr;
  }
}
