/*
Theme Name: BIOME8
Theme URI: https://biome8.com
Author: Protechmedia
Author URI: https://protechmedia.co.uk
Description: Custom WordPress theme for BIOME8 Probiotic Complex. Built for Elementor and WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: biome8

Tags: elementor, woocommerce, one-page, dark
*/

/* ============================================================
   BIOME8 THEME — CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  --b8-navy:        #0f162b;
  --b8-navy-mid:    #202c4a;
  --b8-navy-light:  #202c4a;
  --b8-blue:        #5fc0c9;
  --b8-blue-bright: #7dd4db;
  --b8-blue-dim:    #3fa8b0;
  --b8-club:        #1E3A8A;
  --b8-white:       #ffffff;
  --b8-off-white:   #e8eef5;
  --b8-grey:        #8899aa;
  --b8-grey-light:  #b0c0d0;
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--b8-navy);
  color: var(--b8-white);
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--b8-white);
  margin-top: 0;
}

a {
  color: var(--b8-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--b8-blue-bright);
}

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

p {
  margin-top: 0;
  color: var(--b8-grey-light);
}

/* ============================================================
   GOOGLE FONTS — loaded via functions.php
   Montserrat + DM Sans
   ============================================================ */

/* ============================================================
   ELEMENTOR OVERRIDES
   ============================================================ */

.elementor-section,
.elementor-container {
  background-color: transparent;
}

/* Force dark background on all elementor sections by default */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1100px;
}

/* Elementor heading widget */
.elementor-widget-heading .elementor-heading-title {
  font-family: 'Montserrat', sans-serif !important;
  color: var(--b8-white);
}

/* Elementor text widget */
.elementor-widget-text-editor p {
  color: var(--b8-grey-light);
  font-weight: 300;
  line-height: 1.8;
}

/* Elementor button widget */
.elementor-widget-button .elementor-button {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.2s;
}

.elementor-widget-button .elementor-button.elementor-button-link {
  background: var(--b8-blue);
  color: var(--b8-white);
}

.elementor-widget-button .elementor-button.elementor-button-link:hover {
  background: var(--b8-blue-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(95, 192, 201, 0.35);
}

/* ============================================================
   GLOBAL UTILITY CLASSES (usable in Elementor custom CSS)
   ============================================================ */

.b8-btn-primary {
  display: inline-block;
  background: var(--b8-blue);
  color: var(--b8-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.b8-btn-primary:hover {
  background: var(--b8-blue-bright);
  color: var(--b8-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(95, 192, 201, 0.35);
}

.b8-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--b8-blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 4px;
  border: 2px solid var(--b8-blue);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.b8-btn-outline:hover {
  background: rgba(95, 192, 201, 0.1);
  color: var(--b8-blue);
  transform: translateY(-2px);
}

.b8-section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b8-blue);
  margin-bottom: 14px;
}

.b8-section-dark {
  background-color: var(--b8-navy) !important;
}

.b8-section-mid {
  background-color: var(--b8-navy-mid) !important;
}

/* ============================================================
   WOOCOMMERCE — BASE OVERRIDES
   ============================================================ */

/* General WooCommerce layout */
.woocommerce,
.woocommerce-page {
  background-color: var(--b8-navy);
  color: var(--b8-white);
}

/* Product title */
.woocommerce div.product .product_title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--b8-white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.01em;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--b8-white);
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
  color: var(--b8-blue);
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--b8-grey);
  font-size: 1.2rem;
}

/* Add to cart button */
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--b8-blue) !important;
  color: var(--b8-white) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  border: none !important;
  padding: 16px 36px !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--b8-blue-bright) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(95, 192, 201, 0.35) !important;
}

/* Product description */
.woocommerce div.product .woocommerce-product-details__short-description p {
  color: var(--b8-grey-light);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  border-bottom: 1px solid rgba(95, 192, 201, 0.2);
  padding: 0;
  margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--b8-blue);
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--b8-grey-light);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--b8-blue);
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: var(--b8-navy-mid);
  border: 1px solid rgba(95, 192, 201, 0.1);
  border-top: none;
  padding: 32px;
  border-radius: 0 0 8px 8px;
  color: var(--b8-grey-light);
}

/* Quantity input */
.woocommerce div.product form.cart .quantity input.qty {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(95, 192, 201, 0.2);
  color: var(--b8-white);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-align: center;
  height: 52px;
  font-size: 1rem;
}

/* Product meta */
.woocommerce div.product .product_meta {
  color: var(--b8-grey);
  font-size: 0.85rem;
}

.woocommerce div.product .product_meta span {
  color: var(--b8-grey-light);
}

/* Reviews */
.woocommerce #reviews #comments ol.commentlist li .comment-text {
  background: var(--b8-navy-mid);
  border: 1px solid rgba(95, 192, 201, 0.1);
  border-radius: 8px;
  color: var(--b8-grey-light);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
  border: 2px solid rgba(95, 192, 201, 0.3);
  border-radius: 50%;
}

/* Star ratings */
.woocommerce .star-rating span,
.woocommerce .star-rating::before {
  color: var(--b8-blue);
}

/* Related products */
.woocommerce .related h2,
.woocommerce .upsells h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--b8-white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Product cards in loops */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Montserrat', sans-serif;
  color: var(--b8-white);
  font-weight: 700;
}

.woocommerce ul.products li.product .price {
  color: var(--b8-blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.woocommerce ul.products li.product {
  background: var(--b8-navy-mid);
  border: 1px solid rgba(95, 192, 201, 0.1);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
}

.woocommerce ul.products li.product:hover {
  border-color: rgba(95, 192, 201, 0.35);
  transform: translateY(-4px);
}

/* Cart */
.woocommerce table.cart td,
.woocommerce table.cart th {
  border-color: rgba(95, 192, 201, 0.1);
  color: var(--b8-grey-light);
}

.woocommerce table.cart th {
  color: var(--b8-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.woocommerce .cart_totals h2,
.woocommerce .cart-collaterals h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--b8-white);
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
  border-color: rgba(95, 192, 201, 0.1);
  color: var(--b8-grey-light);
}

/* Checkout */
.woocommerce form .form-row label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--b8-grey-light);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(95, 192, 201, 0.2);
  border-radius: 4px;
  color: var(--b8-white);
  font-family: 'DM Sans', sans-serif;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--b8-blue);
  outline: none;
}

.woocommerce form .form-row input.input-text::placeholder {
  color: var(--b8-grey);
}

/* Order review */
#order_review,
#order_review_heading {
  color: var(--b8-grey-light);
}

#order_review table th,
#order_review table td {
  border-color: rgba(95, 192, 201, 0.1);
  color: var(--b8-grey-light);
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  background: rgba(95, 192, 201, 0.1);
  border-top: 3px solid var(--b8-blue);
  color: var(--b8-off-white);
  font-family: 'DM Sans', sans-serif;
}

.woocommerce-error {
  background: rgba(239, 68, 68, 0.1);
  border-top: 3px solid #ef4444;
  color: var(--b8-off-white);
}

/* WooCommerce Subscriptions */
.woocommerce-subscriptions-product-price {
  font-family: 'Montserrat', sans-serif;
  color: var(--b8-blue);
}

.subscription-details {
  background: rgba(95, 192, 201, 0.06);
  border: 1px solid rgba(95, 192, 201, 0.2);
  border-radius: 6px;
  padding: 16px;
  margin: 16px 0;
  color: var(--b8-grey-light);
  font-size: 0.9rem;
}

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

#site-navigation,
.main-navigation {
  background: rgba(15, 22, 43, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(95, 192, 201, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  align-items: center;
}

.main-navigation ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--b8-grey-light);
  padding: 8px 12px;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--b8-white);
  background: rgba(95, 192, 201, 0.1);
}

/* Site logo */
.site-logo img {
  height: 50px;
  width: auto;
  display: block;
}

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

.site-footer {
  background: var(--b8-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px;
  text-align: center;
  color: var(--b8-grey);
  font-size: 0.8rem;
  font-weight: 300;
}

.footer-payments {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-secure {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--b8-grey);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.footer-cards {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-cards svg,
.footer-cards img {
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  height: 22px;
  width: auto;
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--b8-grey);
  font-weight: 300;
  margin: 0;
}

/* ============================================================
   ELEMENTOR PAGE TEMPLATE — full width, no sidebar
   ============================================================ */

.page-template-elementor-fullwidth .site-content,
.elementor-page .site-content {
  padding: 0;
  margin: 0;
}

/* Remove default WordPress content padding for Elementor pages */
.elementor-page #content {
  padding: 0;
}

/* Push content below fixed nav */
.admin-bar .main-navigation {
  top: 32px;
}

body {
  padding-top: 78px;
}

.admin-bar body {
  padding-top: 110px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  #site-navigation,
  .main-navigation {
    padding: 14px 20px;
  }

  .main-navigation ul {
    display: none;
  }

  body {
    padding-top: 70px;
  }
}

@media (max-width: 768px) {
  .woocommerce div.product .product_title {
    font-size: 1.8rem;
  }

  .woocommerce div.product p.price,
  .woocommerce div.product span.price {
    font-size: 1.8rem;
  }
}


/* =============================================
   SOCIAL PROOF TOAST
   ============================================= */
#spToast {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #ffffff !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
  min-width: 260px !important;
  max-width: 340px !important;
  transform: translateX(-120%) !important;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1) !important;
  visibility: hidden !important;
}
#spToast.show {
  transform: translateX(0) !important;
  visibility: visible !important;
}
.sp-toast-icon {
  font-size: 1.5rem !important;
  flex-shrink: 0 !important;
}
.sp-toast-body {
  flex: 1 !important;
}
.sp-toast-name {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  color: #0f162b !important;
  line-height: 1.3 !important;
}
.sp-toast-msg {
  font-size: 0.77rem !important;
  color: #5fc0c9 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}
.sp-toast-time {
  font-size: 0.71rem !important;
  color: #8899aa !important;
  margin-top: 1px !important;
}
@media (max-width: 480px) {
  #spToast {
    left: 12px !important;
    right: 12px !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* === WOOCOMMERCE CART & CHECKOUT === */

/* Cart table */
.woocommerce-cart table.shop_table{border:1px solid rgba(255,255,255,0.1)!important;border-radius:8px!important;background:rgba(255,255,255,0.03)!important;border-collapse:separate!important;border-spacing:0!important;width:100%!important;color:#fff!important}
.woocommerce-cart table.shop_table thead th{font-family:'Montserrat',sans-serif!important;font-size:0.72rem!important;font-weight:700!important;letter-spacing:0.12em!important;text-transform:uppercase!important;color:#8899aa!important;border-bottom:1px solid rgba(255,255,255,0.1)!important;padding:14px 20px!important;background:transparent!important}
.woocommerce-cart table.shop_table td{border-top:1px solid rgba(255,255,255,0.07)!important;padding:18px 20px!important;color:#fff!important;background:transparent!important;vertical-align:middle!important}
.woocommerce-cart table.shop_table td.product-name a{color:#fff!important;font-family:'Montserrat',sans-serif!important;font-weight:600!important;text-decoration:none!important}
.woocommerce-cart table.shop_table td.product-name a:hover{color:#5fc0c9!important}
.woocommerce-cart table.shop_table td.product-price,.woocommerce-cart table.shop_table td.product-subtotal{font-family:'Montserrat',sans-serif!important;font-weight:700!important;color:#fff!important}

/* Quantity input */
.woocommerce-cart .quantity .qty{background:rgba(255,255,255,0.05)!important;border:1px solid rgba(255,255,255,0.15)!important;border-radius:4px!important;color:#fff!important;font-family:'Montserrat',sans-serif!important;font-weight:600!important;padding:8px 12px!important;width:64px!important;text-align:center!important}

/* Remove button */
.woocommerce-cart a.remove{color:#8899aa!important;font-size:1.2rem!important}
.woocommerce-cart a.remove:hover{color:#ff6b6b!important;background:transparent!important}

/* Cart totals */
.woocommerce-cart .cart_totals{background:rgba(255,255,255,0.03)!important;border:1px solid rgba(95,192,201,0.2)!important;border-radius:8px!important;padding:28px!important}
.woocommerce-cart .cart_totals h2{font-family:'Montserrat',sans-serif!important;font-weight:700!important;color:#fff!important;font-size:1.1rem!important;margin-bottom:20px!important}
.woocommerce-cart .cart_totals table{width:100%!important;border:none!important;background:transparent!important}
.woocommerce-cart .cart_totals table th,.woocommerce-cart .cart_totals table td{border:none!important;border-bottom:1px solid rgba(255,255,255,0.07)!important;padding:12px 0!important;color:#b0c0d0!important;background:transparent!important}
.woocommerce-cart .cart_totals table .order-total th,.woocommerce-cart .cart_totals table .order-total td{color:#fff!important;font-family:'Montserrat',sans-serif!important;font-weight:700!important;font-size:1.1rem!important;border-bottom:none!important}

/* Coupon */
.woocommerce-cart .coupon input[type="text"]{background:rgba(255,255,255,0.05)!important;border:1px solid rgba(255,255,255,0.15)!important;border-radius:4px!important;color:#fff!important;padding:10px 14px!important}

/* Checkout order review */
.woocommerce-checkout #order_review{background:rgba(255,255,255,0.03)!important;border:1px solid rgba(95,192,201,0.2)!important;border-radius:8px!important;padding:28px!important}
.woocommerce-checkout #order_review table{width:100%!important;border:none!important;background:transparent!important}
.woocommerce-checkout #order_review table th,.woocommerce-checkout #order_review table td{border-bottom:1px solid rgba(255,255,255,0.07)!important;padding:12px 0!important;color:#b0c0d0!important;background:transparent!important}
.woocommerce-checkout #order_review table .order-total th,.woocommerce-checkout #order_review table .order-total td{color:#fff!important;font-family:'Montserrat',sans-serif!important;font-weight:700!important;font-size:1.1rem!important;border-bottom:none!important}
.woocommerce-checkout #order_review .product-name{color:#fff!important;font-weight:600!important}

/* Checkout headings */
.woocommerce-checkout h2,.woocommerce-checkout h3{font-family:'Montserrat',sans-serif!important;font-weight:700!important;color:#fff!important;margin-bottom:20px!important}

/* Form labels */
.woocommerce-checkout label{font-family:'Montserrat',sans-serif!important;font-size:0.75rem!important;font-weight:600!important;color:#8899aa!important;letter-spacing:0.06em!important;text-transform:uppercase!important;margin-bottom:6px!important;display:block!important}

/* Form inputs */
.woocommerce-checkout input[type="text"],.woocommerce-checkout input[type="email"],.woocommerce-checkout input[type="tel"],.woocommerce-checkout input[type="number"],.woocommerce-checkout input[type="password"],.woocommerce-checkout select,.woocommerce-checkout textarea{background:rgba(255,255,255,0.05)!important;border:1px solid rgba(255,255,255,0.15)!important;border-radius:4px!important;color:#fff!important;font-family:'DM Sans',sans-serif!important;font-size:0.95rem!important;padding:12px 14px!important;width:100%!important;box-sizing:border-box!important;transition:border-color 0.2s!important}
.woocommerce-checkout input:focus,.woocommerce-checkout select:focus,.woocommerce-checkout textarea:focus{border-color:#5fc0c9!important;outline:none!important;box-shadow:0 0 0 3px rgba(95,192,201,0.15)!important}
.woocommerce-checkout input::placeholder,.woocommerce-checkout textarea::placeholder{color:#8899aa!important}
.woocommerce-checkout select option{background:#0f162b!important;color:#fff!important}

/* Payment box */
.woocommerce-checkout #payment{background:rgba(255,255,255,0.03)!important;border:1px solid rgba(255,255,255,0.1)!important;border-radius:8px!important}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid rgba(255,255,255,0.1)!important;padding:16px 20px!important}
.woocommerce-checkout #payment ul.payment_methods li{color:#fff!important}
.woocommerce-checkout #payment .payment_box{background:rgba(255,255,255,0.03)!important;color:#b0c0d0!important}
.woocommerce-checkout #payment div.place-order{padding:20px!important}

/* Stripe */
.woocommerce-checkout .StripeElement{background:rgba(255,255,255,0.05)!important;border:1px solid rgba(255,255,255,0.15)!important;border-radius:4px!important;padding:12px 14px!important}

/* All WC buttons */
.woocommerce .button,.woocommerce input.button,.woocommerce button.button,.woocommerce a.button,.woocommerce #respond input#submit{background:#5fc0c9!important;color:#fff!important;font-family:'Montserrat',sans-serif!important;font-weight:700!important;font-size:0.88rem!important;letter-spacing:0.1em!important;text-transform:uppercase!important;padding:14px 28px!important;border-radius:4px!important;border:none!important;cursor:pointer!important;transition:background 0.2s!important;text-decoration:none!important}
.woocommerce .button:hover,.woocommerce input.button:hover,.woocommerce button.button:hover,.woocommerce a.button:hover{background:#4dadb6!important;color:#fff!important}

/* Place order — full width */
.woocommerce-checkout #place_order{width:100%!important;padding:16px 28px!important;font-size:0.95rem!important;display:block!important}

/* WC notices */
.woocommerce-message,.woocommerce-info{background:rgba(95,192,201,0.1)!important;border-top:3px solid #5fc0c9!important;color:#fff!important;border-radius:4px!important}
.woocommerce-error{background:rgba(255,107,107,0.1)!important;border-top:3px solid #ff6b6b!important;color:#fff!important;border-radius:4px!important}
.woocommerce-error a,.woocommerce-message a,.woocommerce-info a{color:#5fc0c9!important}

/* Order received */
.woocommerce-order-received .woocommerce-order{color:#fff!important}
.woocommerce-order-received .woocommerce-order h2{color:#fff!important;font-family:'Montserrat',sans-serif!important}
.woocommerce-order-received ul.order_details li{color:#b0c0d0!important;border-right:1px solid rgba(255,255,255,0.1)!important}
.woocommerce-order-received ul.order_details li strong{color:#fff!important;font-family:'Montserrat',sans-serif!important}

/* Mobile cart */
@media(max-width:768px){
  .woocommerce-cart table.shop_table thead{display:none!important}
  .woocommerce-cart table.shop_table td{display:block!important;width:100%!important;text-align:right!important;padding:10px 16px!important;border-top:none!important}
  .woocommerce-cart table.shop_table tr{border-top:1px solid rgba(255,255,255,0.07)!important}
  .woocommerce-cart table.shop_table td::before{content:attr(data-title) ': ';float:left!important;color:#8899aa!important;font-weight:600!important}
}

/* === WOOCOMMERCE BLOCKS — CART & CHECKOUT === */

/* Overall page text */
.woocommerce-cart, .woocommerce-checkout { color: #fff !important; }

/* Cart items table */
.wc-block-cart-items {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
.wc-block-cart-items__header {
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  padding: 12px 20px !important;
  background: transparent !important;
}
.wc-block-cart-items__header span {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #8899aa !important;
}
.wc-block-cart-item {
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding: 18px 20px !important;
  background: transparent !important;
}

/* Product name and details */
.wc-block-components-product-name,
.wc-block-cart-item__product-name,
.wc-block-components-product-name a {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.wc-block-components-product-name a:hover { color: #5fc0c9 !important; }
.wc-block-components-product-metadata { color: #8899aa !important; }

/* Prices */
.wc-block-cart-item__prices .price,
.wc-block-components-product-price,
.wc-block-components-product-price .woocommerce-Price-amount {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #fff !important;
}

/* Quantity selector */
.wc-block-components-quantity-selector {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 4px !important;
}
.wc-block-components-quantity-selector__value {
  color: #fff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  background: transparent !important;
}
.wc-block-components-quantity-selector__button {
  color: #5fc0c9 !important;
  background: transparent !important;
}
.wc-block-components-quantity-selector__button:hover { color: #fff !important; }

/* Remove item */
.wc-block-cart-item__remove-link { color: #8899aa !important; font-size: 0.8rem !important; }
.wc-block-cart-item__remove-link:hover { color: #ff6b6b !important; }

/* Cart totals sidebar */
.wc-block-cart__sidebar,
.wc-block-components-sidebar {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(95,192,201,0.2) !important;
  border-radius: 8px !important;
  padding: 24px !important;
}

/* Order summary */
.wc-block-components-order-summary__toggle-text,
.wc-block-components-order-summary__toggle { color: #5fc0c9 !important; }
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-order-summary-item__description { color: #b0c0d0 !important; }
.wc-block-components-order-summary-item__name { color: #fff !important; font-weight: 600 !important; }

/* Totals rows */
.wc-block-components-totals-item {
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  padding: 12px 0 !important;
}
.wc-block-components-totals-item__label { color: #b0c0d0 !important; }
.wc-block-components-totals-item__value,
.wc-block-components-totals-item .woocommerce-Price-amount { color: #fff !important; font-family: 'Montserrat', sans-serif !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #fff !important;
}

/* Coupon */
.wc-block-components-totals-coupon__form input {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 4px !important;
  color: #fff !important;
  padding: 10px 14px !important;
}
.wc-block-components-totals-coupon__form input::placeholder { color: #8899aa !important; }

/* Proceed to checkout button */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: #5fc0c9 !important;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  border-radius: 4px !important;
  border: none !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: #4dadb6 !important;
  color: #fff !important;
}

/* Checkout form */
.wc-block-checkout__form { color: #fff !important; }

/* Checkout step headings */
.wc-block-components-checkout-step__title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  color: #fff !important;
}
.wc-block-components-checkout-step__description { color: #8899aa !important; }

/* Step number */
.wc-block-components-checkout-step__heading-number {
  background: rgba(95,192,201,0.2) !important;
  color: #5fc0c9 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
}

/* Form labels */
.wc-block-components-form-token-field-label,
.wc-block-components-text-input label,
.wc-block-components-country-input label,
.wc-block-components-state-input label,
.wc-block-checkout label {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #8899aa !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

/* Form inputs */
.wc-block-components-text-input input,
.wc-block-components-country-input .components-combobox-control__input,
.wc-block-components-state-input .components-combobox-control__input,
.wc-block-checkout input[type="text"],
.wc-block-checkout input[type="email"],
.wc-block-checkout input[type="tel"],
.wc-block-checkout input[type="number"],
.wc-block-checkout select {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif !important;
  padding: 12px 14px !important;
  transition: border-color 0.2s !important;
}
.wc-block-checkout input:focus,
.wc-block-checkout select:focus {
  border-color: #5fc0c9 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(95,192,201,0.15) !important;
}
.wc-block-checkout input::placeholder { color: #8899aa !important; }

/* Payment methods */
.wc-block-components-radio-control__option { color: #fff !important; }
.wc-block-components-radio-control__option-checked { color: #5fc0c9 !important; }
.wc-block-components-payment-method-label__name { color: #fff !important; }

/* Notices */
.wc-block-components-notice-banner { border-radius: 4px !important; }
.wc-block-components-notice-banner.is-error { background: rgba(255,107,107,0.1) !important; border-left: 3px solid #ff6b6b !important; color: #fff !important; }
.wc-block-components-notice-banner.is-success { background: rgba(95,192,201,0.1) !important; border-left: 3px solid #5fc0c9 !important; color: #fff !important; }

/* Order summary in checkout sidebar */
.wc-block-components-panel { background: rgba(255,255,255,0.03) !important; border-radius: 8px !important; border: 1px solid rgba(95,192,201,0.2) !important; padding: 20px !important; margin-bottom: 16px !important; }
.wc-block-components-panel__title { font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; color: #fff !important; }

/* Checkbox */
.wc-block-components-checkbox input[type="checkbox"] { accent-color: #5fc0c9 !important; }
.wc-block-components-checkbox label { color: #b0c0d0 !important; }

/* === CART & CHECKOUT PAGE PADDING === */
.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .woocommerce-cart .wp-block-woocommerce-cart,
  .woocommerce-checkout .wp-block-woocommerce-checkout {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* === MOBILE NAVIGATION === */

/* Hide hamburger on desktop */
.b8-menu-toggle { display: none; }

@media (max-width: 900px) {

  /* Show hamburger, hide desktop nav links */
  .main-navigation .menu { display: none !important; }
  .main-navigation .b8-btn-primary { display: none !important; }

  .b8-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    z-index: 100;
  }

  .b8-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
  }

  /* Open state — X */
  .b8-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .b8-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .b8-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu dropdown */
  .menu.b8-mobile-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #0f162b;
    border-top: 1px solid rgba(95,192,201,0.2);
    border-bottom: 1px solid rgba(95,192,201,0.2);
    padding: 16px 0;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: slideDown 0.25s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .menu.b8-mobile-open li {
    list-style: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .menu.b8-mobile-open li:last-child { border-bottom: none; }

  .menu.b8-mobile-open li a {
    display: block;
    padding: 14px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s, background 0.2s;
  }

  .menu.b8-mobile-open li a:hover,
  .menu.b8-mobile-open li.current-menu-item a {
    color: #5fc0c9;
    background: rgba(95,192,201,0.05);
  }

  /* BUY NOW inside mobile menu */
  .menu.b8-mobile-open::after {
    content: 'Buy Now';
    display: block;
    margin: 12px 16px 4px;
    padding: 12px 20px;
    background: #5fc0c9;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
  }
}

/* =============================================
   WHY BIOME8 — BENEFITS GRID
   ============================================= */
.b8-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.b8-benefit-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(95,192,201,0.15);
  border-radius: 8px;
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.b8-benefit-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(95,192,201,0.1);
  border: 1px solid rgba(95,192,201,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #5fc0c9;
}
.b8-benefit-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.b8-benefit-body p {
  color: #b0c0d0;
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 300;
  margin: 0;
}

@media (max-width: 900px) {
  .b8-benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .b8-benefit-card {
    padding: 18px 16px !important;
  }
}
/* Scroll offset for anchor links — clears the sticky header */
#faq {
  scroll-margin-top: 90px;
}

/* === GET STARTED — BOTTLE IMAGE COLUMN === */
.elementor-element-yehr93u {
  display: flex !important;
  width: 33.333% !important;
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
}
.elementor-element-tase5y7,
.elementor-element-urwy3j0 {
  width: 33.333% !important;
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
}
/* Centre bottle image vertically */
.elementor-element-yehr93u .elementor-widget-wrap {
  align-items: center !important;
  justify-content: center !important;
  display: flex !important;
  flex-direction: column !important;
}
.elementor-element-yehr93u img {
  max-width: 80% !important;
  max-height: 420px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}
/* Mobile: stack bottle below pricing */
@media (max-width: 900px) {
  .elementor-element-yehr93u,
  .elementor-element-tase5y7,
  .elementor-element-urwy3j0 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .elementor-element-yehr93u img {
    max-width: 60% !important;
  }
}

/* Prevent sticky mobile CTA from covering page footer */
@media (max-width: 900px) {
  body {
    padding-bottom: 90px !important;
  }
}

/* === MOBILE HERO — TIGHTEN WITH BOTTLE IMAGE === */
@media (max-width: 900px) {
  /* Kill Elementor's 120px top padding so bottle sits near header */
  .elementor-element-yu307im {
    min-height: auto !important;
    padding-top: 0 !important;
  }
  .elementor-element-yu307im > .elementor-container {
    min-height: auto !important;
    padding-top: 0 !important;
    align-items: center !important;
  }
  /* Left text column — add sensible top padding back */
  .elementor-element-yu307im .elementor-element-739brt3 {
    padding-top: 16px !important;
  }
}

/* Hero heading — smaller font on mobile to fit with bottle */
@media (max-width: 900px) {
  .elementor-element-bfeepoj .elementor-heading-title {
    font-size: 33px !important;
    line-height: 1.15 !important;
  }
}

/* Formula ingredient grid — single column on mobile */
@media (max-width: 900px) {
  .elementor-element-1fmzngr [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .elementor-element-1fmzngr .elementor-widget-container {
    padding: 0 !important;
  }
}

/* === IS THIS YOU — lifestyle background text readability === */
.elementor-element-rtr0k03 .elementor-element-rbmel7e * {
  text-shadow: 0 1px 12px rgba(0,0,0,0.7), 0 2px 4px rgba(0,0,0,0.5) !important;
}
.elementor-element-rtr0k03 .elementor-element-rbmel7e .elementor-heading-title {
  text-shadow: 0 2px 16px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important;
}

/* Is This You — hide bottle image column on mobile (already in background photo) */
@media (max-width: 900px) {
  .elementor-element-syfhkbc {
    display: none !important;
  }
  .elementor-element-rbmel7e {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}