/*
 Theme Name:   AQVERO Child
 Theme URI:    https://indifavaqvero.com
 Description:  AQVERO — Hard Water Hair Care. WooCommerce child theme based on Storefront.
 Author:       Indifav
 Author URI:   https://indifav.com
 Template:     storefront
 Version:      3.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  aqvero-child
*/

/* ============================================================
   AQVERO — Luxury Design System v3 (WooCommerce)
   Parchment · Hairlines · Serif-led · Restrained teal
   ============================================================ */

/* ----- Variables ----- */
:root {
  --bg:            #FAFAF8;
  --bg-warm:       #F6F3EC;
  --bg-white:      #FFFFFF;
  --bg-dark:       #121826;
  --heading:       #1B1B1B;
  --text:          #6B6B66;
  --text-muted:    #9A9484;
  --border:        #EFEAE0;
  --accent:        #2E7D8A;
  --accent-dark:   #255F69;
  --accent-light:  #7FC4CE;
  --rating:        #F6C453;
  --cta:           #E86C74;
  --cta-hover:     #D85A63;
  --dark:          #121826;
  --success:       #22C55E;
  --error:         #EF4444;
  --font-heading:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Manrope', -apple-system, sans-serif;
  --max-w:         1440px;
  --nav-h:         72px;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(18,24,38,0.06);
  --shadow-md:     0 4px 20px rgba(18,24,38,0.08);
  --shadow-lg:     0 12px 40px rgba(18,24,38,0.10);
  --transition:    0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ----- Reset Storefront overrides ----- */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 500;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ----- Container ----- */
.container,
.woocommerce .container,
.col-full {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media(max-width:768px){
  .container, .col-full { padding: 0 20px; }
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.aq-announce {
  background: var(--dark);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  letter-spacing: 0.04em;
  gap: 16px;
}
.aq-announce strong { color: #fff; font-weight: 600; }
.aq-announce .sep { color: rgba(255,255,255,0.2); }
@media(max-width:640px) {
  .aq-announce { font-size: 10px; height: 36px; gap: 8px; }
}

/* =============================================
   HEADER
   ============================================= */
.site-header,
.storefront-primary-navigation {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

/* Override Storefront header */
.site-header .col-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  position: relative;
}

.site-branding {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.site-branding img {
  height: 44px;
  width: auto;
}
.site-branding .site-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--heading);
}

/* Nav menu */
.storefront-primary-navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.storefront-primary-navigation.stuck {
  box-shadow: 0 6px 24px rgba(18,24,38,0.08);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
}
.storefront-primary-navigation .col-full {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-navigation ul {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}
.main-navigation ul li a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--heading);
  padding: 20px 24px;
  display: block;
  transition: color 0.3s ease;
  position: relative;
}
.main-navigation ul li a::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 8px;
  height: 1.5px;
  background: var(--cta);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--cta);
}
.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Cart icon in header */
.storefront-header-cart .button {
  background: none;
  border: none;
  color: var(--heading);
  font-size: 0;
  padding: 10px;
  position: relative;
}
.storefront-header-cart .count {
  background: var(--cta);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
}

/* =============================================
   BUTTONS — global
   ============================================= */
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
}
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,125,138,0.25);
}
.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--cta);
  border-color: var(--cta);
}
.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

/* ed-btn style classes */
.ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--dark);
  border-radius: 3px;
  transition: all 0.35s ease;
  cursor: pointer;
  text-decoration: none;
}
.ed-btn:hover { background: var(--accent); border-color: var(--accent); }
.ed-btn-o { background: transparent; color: var(--heading); border-color: rgba(27,27,27,0.4); }
.ed-btn-o:hover { background: var(--heading); color: #fff; border-color: var(--heading); }
.ed-btn-light { background: #fff; color: var(--dark); border-color: #fff; }
.ed-btn-light:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }

/* =============================================
   EDITORIAL HELPERS
   ============================================= */
.ed-parchment { background: var(--bg-warm); }
.ed-white     { background: #fff; }
.ed-dark      { background: var(--dark); color: #fff; }

.ed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-family: var(--font-body);
}
.ed-kicker::before {
  content: '';
  width: 36px;
  height: 1px;
  background: rgba(46,125,138,0.6);
}
.ed-kicker em { color: var(--accent); font-style: normal; }
.ed-center { text-align: center; }
.ed-center .ed-kicker { margin-left: auto; margin-right: auto; }
.ed-center .ed-kicker::before { display: none; }

.ed-h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin: 0;
}
.ed-h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0;
}
.ed-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  max-width: 560px;
  margin-top: 28px;
}
.ed-em { color: var(--accent); font-style: italic; }
.ed-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heading);
  border-bottom: 1px solid rgba(27,27,27,0.35);
  padding-bottom: 5px;
  transition: all 0.35s ease;
}
.ed-link:hover { color: var(--accent); border-color: var(--accent); }
.ed-rule { height: 1px; background: rgba(27,27,27,0.12); border: 0; }
.ed-rule-light { height: 1px; background: rgba(255,255,255,0.18); border: 0; }

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.fade-in.visible { opacity: 1; transform: none; }

/* =============================================
   HERO — Homepage
   ============================================= */
.hm-hero {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  background-image: url('https://images.unsplash.com/photo-1762827990160-9f2d35fb0fd5?w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}
.hm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,13,20,0.9) 0%, rgba(10,13,20,0.7) 48%, rgba(10,13,20,0.25) 100%);
  z-index: 1;
}
.hm-hero .container { position: relative; z-index: 2; }
.sp-hero-grid { max-width: 640px; }
.hm-hero .ed-kicker { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.hm-hero .ed-kicker::before { background: rgba(127,196,206,0.7); }
.hm-hero .ed-kicker em { color: var(--accent-light); }
.hm-hero .ed-h1 { color: #fff; }
.hm-hero .ed-h1 .ed-em { color: var(--accent-light); }
.hm-hero .ed-lead { color: rgba(255,255,255,0.8); }
.sp-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.sp-note {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 46px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.sp-note i { color: var(--accent-light); }
@media(max-width:768px){
  .hm-hero { padding: 80px 0; }
}

/* =============================================
   PRODUCT GRID — WooCommerce + Custom
   ============================================= */
.aq-card {
  background: #FFFDFA;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(27,27,27,0.04);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
  position: relative;
  cursor: pointer;
}
.aq-card:hover {
  transform: translateY(-5px);
  border-color: #DDD5C4;
  box-shadow: 0 18px 44px -18px rgba(27,27,27,0.14);
}
.aq-card-image {
  background: #F6F1E7;
  padding: 30px 22px;
  border-bottom: 1px solid rgba(27,27,27,0.06);
  position: relative;
  overflow: hidden;
}
.aq-card-image img {
  height: 250px;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.4s ease;
}
.aq-card:hover .aq-card-image img { transform: scale(1.05); }
.aq-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  background: #EFE8D8;
  color: #2B2620;
  border: 1px solid rgba(27,27,27,0.06);
}
.aq-badge.blue { background: #EAF1F2; color: #2E6E74; }
.aq-badge.amber { background: #F6EFE1; color: #8A6A2F; }
.aq-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(27,27,27,0.07);
  border-radius: 50%;
  color: #8A8272;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.aq-wishlist:hover { color: var(--cta); border-color: rgba(232,108,116,0.35); }
.aq-card-body { padding: 16px 18px 18px; }
.aq-brand {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B0A68F;
  margin-bottom: 8px;
  display: block;
}
.aq-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.18;
  color: #1F1B16;
  letter-spacing: 0.005em;
}
.aq-benefit {
  font-size: 12px;
  color: rgba(31,27,22,0.58);
  margin-top: 8px;
  line-height: 1.6;
}
.aq-price-row { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.aq-price { font-size: 21px; font-weight: 700; color: #1F1B16; letter-spacing: -0.01em; }
.aq-mrp { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.aq-discount { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.06em; }
.aq-btn {
  width: 100%;
  height: 50px;
  border-radius: var(--radius);
  background: #18202E;
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aq-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(24,32,46,0.4);
}

/* Formulary Grid */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media(max-width:1024px){ .fx-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .fx-grid { grid-template-columns: 1fr; } }

/* =============================================
   WOOCOMMERCE — Shop Page Override
   ============================================= */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
}
@media(max-width:1024px){ .woocommerce ul.products { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px){ .woocommerce ul.products { grid-template-columns: 1fr; } }

.woocommerce ul.products li.product {
  background: #FFFDFA;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px -18px rgba(27,27,27,0.14);
}
.woocommerce ul.products li.product a img {
  background: #F6F1E7;
  padding: 30px;
  border-bottom: 1px solid rgba(27,27,27,0.06);
  height: 260px;
  object-fit: contain;
  border-radius: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #1F1B16;
  padding: 16px 18px 4px;
  margin: 0;
}
.woocommerce ul.products li.product .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  padding: 0 18px 8px;
  display: block;
}
.woocommerce ul.products li.product .price del {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 400;
}
.woocommerce ul.products li.product a.button {
  margin: 0 18px 18px;
  width: calc(100% - 36px);
  height: 46px;
  border-radius: var(--radius);
  background: #18202E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce ul.products li.product a.button:hover {
  background: var(--accent);
  transform: none;
  box-shadow: none;
}
.woocommerce span.onsale {
  background: var(--cta);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  top: 12px;
  left: 12px;
  right: auto;
  min-height: auto;
  min-width: auto;
  line-height: 1.4;
}

/* =============================================
   WOOCOMMERCE — Single Product Page
   ============================================= */
.woocommerce div.product {
  padding: 60px 0;
}
.woocommerce div.product .woocommerce-product-gallery__wrapper img {
  border-radius: var(--radius-lg);
  background: #F6F1E7;
  padding: 30px;
}
.woocommerce div.product .product_title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  color: var(--heading);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 20px;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 400;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.woocommerce div.product form.cart .button {
  height: 56px;
  padding: 0 40px;
  border-radius: var(--radius);
  background: var(--dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.woocommerce div.product form.cart .button:hover {
  background: var(--accent);
}
.woocommerce div.product .quantity input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 56px;
  width: 80px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0;
  margin: 40px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: none;
  background: none;
  border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 24px;
  display: block;
  transition: color 0.3s ease;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--heading);
  border-bottom: 2px solid var(--accent);
}
.woocommerce div.product .woocommerce-tabs .panel {
  padding: 28px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
}

/* =============================================
   WOOCOMMERCE — Cart & Checkout
   ============================================= */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  padding: 60px 0;
}
.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.woocommerce table.shop_table th {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 20px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}
.woocommerce table.shop_table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.woocommerce table.shop_table .product-name a {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--heading);
}
.woocommerce-cart-form__contents .actions input[type="submit"],
.woocommerce #respond input#submit {
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.woocommerce .cart_totals {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.woocommerce .cart_totals h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
}
.woocommerce .proceed-to-checkout a.checkout-button {
  background: var(--dark);
  border-radius: var(--radius);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce .proceed-to-checkout a.checkout-button:hover {
  background: var(--accent);
}

/* Checkout fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--heading);
  transition: border-color 0.3s ease;
  background: #fff;
}
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46,125,138,0.08);
}

/* =============================================
   HOMEPAGE SECTIONS (same as v3 HTML)
   ============================================= */

/* Formulary section */
.hm-form { padding: 130px 0; background: #fff; }
.hm-form-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}
.hm-form-head .ed-lead { margin-top: 20px; }
.fx-more { margin-top: 56px; text-align: center; }

/* Hard water story section */
.hm-story { padding: 130px 0; background: var(--bg-warm); }
.hm-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start; }
@media(max-width:1024px){ .hm-story-grid { grid-template-columns: 1fr; gap: 60px; } }
.hm-benefits { margin-top: 36px; border-top: 1px solid rgba(27,27,27,0.14); }
.hm-benefit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(27,27,27,0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}
.hm-benefit i { color: var(--accent); font-size: 12px; }
.hm-specimen { border: 1px solid rgba(27,27,27,0.22); padding: 44px 40px; }
@media(max-width:768px){ .hm-specimen { padding: 32px 20px; } }
.hm-hw-fig { margin: 0 0 36px; position: relative; }
.hm-hw-fig img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.hm-hw-fig figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(244,240,232,0.92);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--heading);
}
.hm-hw-fig figcaption em { color: var(--accent); font-style: italic; }
.hm-specimen .spec-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hm-specimen .spec-minerals {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 34px;
  color: var(--heading);
  margin: 22px 0 34px;
}
.hm-specimen .spec-minerals span { display: inline-block; margin-right: 18px; }
.hm-specimen .spec-minerals span em { color: var(--accent); font-style: italic; }
.hm-spec-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.hm-spec-bar { height: 2px; background: rgba(27,27,27,0.12); margin-bottom: 22px; }
.hm-spec-fill { height: 100%; width: 85%; background: var(--accent); }
.hm-specimen .spec-note { font-size: 12px; color: var(--text); line-height: 1.8; }

/* Ritual section */
.hm-ritual { padding: 130px 0; background: #fff; }
.hm-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 72px; margin-top: 70px; }
@media(max-width:1024px){ .hm-step-grid { gap: 0 40px; } }
@media(max-width:768px){ .hm-step-grid { grid-template-columns: 1fr; } }
.hm-step { border-top: 1px solid rgba(27,27,27,0.14); padding: 38px 8px 0 0; }
.hm-step .s-no { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.26em; color: var(--accent); }
.hm-step h4 { font-family: var(--font-heading); font-weight: 500; font-size: 26px; color: var(--heading); margin: 16px 0 12px; }
.hm-step p { font-size: 13px; color: var(--text); line-height: 1.9; }

/* Ritual set (dark) */
.hm-set { padding: 130px 0; background: var(--dark); }
.hm-set-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
@media(max-width:1024px){ .hm-set-grid { grid-template-columns: 1fr; gap: 48px; } }
.hm-set h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(34px,5vw,64px); color: #fff; line-height: 1; }
.hm-set h2 em { font-style: italic; color: var(--accent-light); }
.hm-set p { font-size: 15px; color: rgba(255,255,255,0.66); max-width: 440px; margin: 24px 0 30px; line-height: 1.9; }
.hm-set-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 36px; }
.hm-set-price .now { font-family: var(--font-heading); font-size: 38px; color: #fff; }
.hm-set-price .was { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: line-through; }
.hm-set-price .save { font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-light); }
.hm-set-visual { display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hm-set-frame {
  width: 320px;
  height: 380px;
  background: #1A2233;
  border: 1px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}
.hm-set-frame img { width: auto; height: 300px; object-fit: contain; }
.hm-set-rule { max-width: 820px; margin: 0 auto 56px; }

/* Journal section */
.hm-journal { padding: 130px 0; background: #fff; }
.hm-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; margin-top: 70px; }
@media(max-width:1024px){ .hm-journal-grid { gap: 0 36px; } }
@media(max-width:768px){ .hm-journal-grid { grid-template-columns: 1fr; } }
.hm-jc { border-top: 1px solid rgba(27,27,27,0.14); padding: 30px 8px 0 0; text-decoration: none; display: block; transition: border-color 0.35s ease; }
.hm-jc .jc-no { font-family: var(--font-heading); font-style: italic; font-size: 34px; color: #B9B2A0; line-height: 1; }
.hm-jc h4 { font-family: var(--font-heading); font-weight: 500; font-size: 22px; color: var(--heading); margin: 16px 0 10px; line-height: 1.25; transition: color 0.35s ease; }
.hm-jc p { font-size: 13px; color: var(--text); line-height: 1.85; margin-bottom: 18px; }
.hm-jc .jc-link { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--heading); border-bottom: 1px solid rgba(27,27,27,0.35); padding-bottom: 4px; display: inline-flex; align-items: center; gap: 8px; }
.hm-jc:hover { border-top-color: rgba(46,125,138,0.6); }
.hm-jc:hover h4 { color: var(--accent); }
.hm-jc:hover .jc-link { color: var(--accent); border-color: var(--accent); }

/* Newsletter section */
.j-newsletter { padding: 130px 0; background: var(--dark); text-align: center; }
.j-newsletter h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(34px,5vw,64px); color: #fff; line-height: 1; }
.j-newsletter h2 em { font-style: italic; color: var(--accent-light); }
.j-nl-sub { font-size: 15px; color: rgba(255,255,255,0.66); max-width: 480px; margin: 24px auto 26px; line-height: 1.9; }
.j-nl-perks { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 0 auto 34px; padding: 0; color: rgba(255,255,255,0.66); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.j-nl-perks i { color: var(--accent-light); margin-right: 6px; }
.j-nl-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.j-nl-form input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.4); padding: 14px 2px; font-size: 15px; color: #fff; outline: none; transition: border-color 0.3s ease; min-width: 0; }
.j-nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.j-nl-form input:focus { border-bottom-color: var(--accent-light); }
.j-nl-form button { background: transparent; border: 0; border-bottom: 1px solid #fff; color: #fff; padding: 14px 4px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.j-nl-form button:hover { color: var(--accent-light); border-bottom-color: var(--accent-light); }
.j-nl-note { font-size: 11px; color: rgba(255,255,255,0.4); margin-top: 18px; letter-spacing: 0.06em; }
@media(max-width:560px){ .j-nl-form { flex-direction: column; gap: 10px; } }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.site-footer h3, .site-footer h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 500;
  margin-bottom: 20px;
}
.site-footer a { color: rgba(255,255,255,0.6); transition: color 0.3s ease; font-size: 14px; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media(max-width:1024px){ .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media(max-width:640px){ .site-footer .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer .footer-brand .footer-logo { margin-bottom: 20px; }
.site-footer .footer-brand .footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.site-footer .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.site-footer .payment-icons { display: flex; gap: 12px; align-items: center; }
.site-footer .payment-icons img { height: 22px; filter: brightness(0) invert(1) opacity(0.5); }

/* =============================================
   WOOCOMMERCE NOTICES
   ============================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.woocommerce-message { background: rgba(46,125,138,0.1); border-left: 3px solid var(--accent); color: var(--heading); }
.woocommerce-error { background: rgba(232,108,116,0.1); border-left: 3px solid var(--cta); color: var(--heading); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s ease;
  z-index: 99;
}
.back-top.visible { opacity: 1; transform: none; }
.back-top:hover { background: var(--accent); }

/* =============================================
   MOBILE RESPONSIVE
   ============================================= */
@media(max-width:768px){
  .hm-form { padding: 80px 0; }
  .hm-story { padding: 80px 0; }
  .hm-ritual { padding: 80px 0; }
  .hm-set { padding: 80px 0; }
  .hm-journal { padding: 80px 0; }
  .j-newsletter { padding: 80px 0; }
  .hm-form-head { flex-direction: column; align-items: flex-start; }
  .ed-h1 { font-size: clamp(38px,11vw,52px); }
  .ed-h2 { font-size: clamp(28px,7vw,36px); }
}
