/* =====================================================================
   STM Mineral Water — Public Website Theme
   Layered on top of Bootstrap 5.3. Loaded by Views/Shared/_Layout.cshtml
   and Views/Shared/_CustomerLayout.cshtml (customer portal section below).
   Fonts: Poppins (headings), Inter (body) — loaded via Google Fonts in layout.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. ROOT TOKENS — brand palette, spacing, radii, shadows
   --------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --stm-primary: #0a6ebd;
  --stm-primary-rgb: 10, 110, 189;
  --stm-navy: #083b6f;
  --stm-navy-rgb: 8, 59, 111;
  --stm-aqua: #22b8cf;
  --stm-aqua-rgb: 34, 184, 207;
  --stm-wash: #eaf6fd;
  --stm-success: #12b886;
  --stm-warning: #f59f00;
  --stm-danger: #e03131;
  --stm-info: #22b8cf;

  /* Neutrals */
  --stm-white: #ffffff;
  --stm-ink: #142433;
  --stm-ink-soft: #4a5b6c;
  --stm-muted: #7c8b99;
  --stm-border: #dde8ef;
  --stm-bg: #f6fbfd;

  /* Typography */
  --stm-font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --stm-font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Radii & shadows */
  --stm-radius-sm: 8px;
  --stm-radius: 12px;
  --stm-radius-lg: 16px;
  --stm-shadow-soft: 0 6px 24px rgba(8, 59, 111, 0.08);
  --stm-shadow-hover: 0 12px 32px rgba(8, 59, 111, 0.14);
  --stm-gradient-hero: linear-gradient(135deg, var(--stm-navy) 0%, var(--stm-primary) 55%, var(--stm-aqua) 100%);
  --stm-gradient-wash: linear-gradient(180deg, var(--stm-wash) 0%, #ffffff 100%);

  /* Layout */
  --stm-container-max: 1240px;
  --stm-navbar-height: 78px;
}

/* ---------------------------------------------------------------------
   2. BASE / RESET / TYPOGRAPHY
   --------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--stm-font-body);
  color: var(--stm-ink);
  background-color: var(--stm-bg);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.stm-heading {
  font-family: var(--stm-font-heading);
  font-weight: 600;
  color: var(--stm-navy);
  letter-spacing: -0.01em;
}

a { color: var(--stm-primary); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--stm-navy); }

.lead { font-size: 1.1rem; color: var(--stm-ink-soft); }

.text-muted-soft { color: var(--stm-muted) !important; }

::selection { background: var(--stm-aqua); color: #fff; }

.stm-container {
  max-width: var(--stm-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-padding { padding-top: 5rem; padding-bottom: 5rem; }
.section-padding-sm { padding-top: 3rem; padding-bottom: 3rem; }

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.25rem;
  padding-bottom: 0.85rem;
  font-weight: 700;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 64px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--stm-primary), var(--stm-aqua));
}
.section-title.text-center { display: block; text-align: center; }
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stm-aqua);
  background: rgba(var(--stm-aqua-rgb), .1);
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: .85rem;
}

/* Rounded / shadow utilities used across the app */
.rounded-xl { border-radius: var(--stm-radius-lg) !important; }
.shadow-soft { box-shadow: var(--stm-shadow-soft) !important; }
.shadow-soft-hover { transition: box-shadow .25s ease, transform .25s ease; }
.shadow-soft-hover:hover { box-shadow: var(--stm-shadow-hover) !important; transform: translateY(-4px); }

.text-price { font-family: var(--stm-font-heading); font-weight: 700; color: var(--stm-navy); }
.rupee::before { content: "\20B9"; margin-right: 1px; }

.btn-brand, .btn-primary.stm-btn {
  background: var(--stm-primary);
  border-color: var(--stm-primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--stm-radius-sm);
  padding: .62rem 1.5rem;
  transition: all .2s ease;
}
.btn-brand:hover, .btn-primary.stm-btn:hover {
  background: var(--stm-navy);
  border-color: var(--stm-navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--stm-shadow-soft);
}
.btn-outline-brand {
  border: 1.5px solid var(--stm-primary);
  color: var(--stm-primary);
  font-weight: 600;
  border-radius: var(--stm-radius-sm);
  background: transparent;
}
.btn-outline-brand:hover { background: var(--stm-primary); color: #fff; }
.btn-aqua { background: var(--stm-aqua); border-color: var(--stm-aqua); color: #fff; font-weight: 600; }
.btn-aqua:hover { background: #1a9cb0; border-color: #1a9cb0; color: #fff; }

/* ---------------------------------------------------------------------
   3. NAVBAR — sticky, transparent-to-solid on scroll, off-canvas mobile
   --------------------------------------------------------------------- */
.stm-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  height: var(--stm-navbar-height);
  display: flex;
  align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;

  /* DEFAULT: solid brand bar.
     The nav links are white, so the bar must NOT be transparent on an ordinary
     page — the body behind it is white and the links would vanish. Only a page
     that opens with a full-bleed hero (body.has-hero) makes it see-through. */
  background: var(--stm-navy);
}

/* Pages whose first section is a hero: let the hero show through the bar.
   :not(.is-scrolled) keeps this from beating the scrolled white state below. */
body.has-hero .stm-navbar:not(.is-scrolled) {
  background: transparent;
}
.stm-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--stm-font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  white-space: nowrap;      /* keep the company name on one line */
  flex-shrink: 0;
}
.stm-navbar .navbar-brand .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}
.stm-navbar .nav-link {
  color: rgba(255, 255, 255, .88);
  font-weight: 500;
  padding: .5rem 1rem !important;
  position: relative;
  white-space: nowrap;          /* keep "Price List" / "Delivery Areas" on one line */
}
.stm-navbar .nav-link:hover,
.stm-navbar .nav-link.active { color: #fff; }
.stm-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background: var(--stm-aqua);
  border-radius: 2px;
}
.stm-navbar .btn-nav-cta {
  background: #fff;
  color: var(--stm-navy);
  font-weight: 600;
  border-radius: 50px;
  padding: .5rem 1.4rem;
}
.stm-navbar .btn-nav-cta:hover { background: var(--stm-aqua); color: #fff; }
.stm-navbar .navbar-toggler-icon-custom {
  width: 26px; height: 20px; position: relative;
}
.stm-navbar .navbar-toggler-icon-custom span {
  display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px;
  position: absolute; left: 0; transition: all .25s ease;
}
.stm-navbar .navbar-toggler-icon-custom span:nth-child(1) { top: 0; }
.stm-navbar .navbar-toggler-icon-custom span:nth-child(2) { top: 9px; }
.stm-navbar .navbar-toggler-icon-custom span:nth-child(3) { top: 18px; }

/* Scrolled state — toggled by site.js */
.stm-navbar.is-scrolled {
  background: #ffffff;
  height: 66px;
  box-shadow: 0 4px 20px rgba(8, 59, 111, 0.1);
}
.stm-navbar.is-scrolled .navbar-brand,
.stm-navbar.is-scrolled .nav-link { color: var(--stm-navy); }
.stm-navbar.is-scrolled .navbar-brand .brand-mark { background: var(--stm-wash); color: var(--stm-primary); }
.stm-navbar.is-scrolled .nav-link:hover,
.stm-navbar.is-scrolled .nav-link.active { color: var(--stm-primary); }
.stm-navbar.is-scrolled .btn-nav-cta { background: var(--stm-primary); color: #fff; }
.stm-navbar.is-scrolled .navbar-toggler-icon-custom span { background: var(--stm-navy); }

/* The navbar is fixed, so ordinary pages need the space reserved below it. */
body.has-fixed-nav { padding-top: var(--stm-navbar-height); }

/* A hero page instead runs full-bleed to the top of the viewport and carries the
   navbar's height as its own padding, so the bar genuinely sits *over* the hero. */
body.has-hero.has-fixed-nav { padding-top: 0; }
body.has-hero .stm-hero,
body.has-hero .stm-hero-carousel .carousel-item { padding-top: var(--stm-navbar-height); }

/* Off-canvas mobile menu */
.stm-offcanvas-menu { max-width: 320px; }
.stm-offcanvas-menu .offcanvas-header {
  background: var(--stm-gradient-hero);
  color: #fff;
}
.stm-offcanvas-menu .nav-link {
  color: var(--stm-ink);
  padding: .85rem 0;
  border-bottom: 1px solid var(--stm-border);
  font-weight: 500;
}
.stm-offcanvas-menu .nav-link.active { color: var(--stm-primary); font-weight: 700; }

/* ---------------------------------------------------------------------
   4. HERO BANNER — gradient overlay + carousel + wave divider
   --------------------------------------------------------------------- */
.stm-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--stm-gradient-hero);
  overflow: hidden;
  color: #fff;
}
.stm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.14) 0, transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(255,255,255,.10) 0, transparent 40%);
  pointer-events: none;
}
.stm-hero .hero-content { position: relative; z-index: 2; }
.stm-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.stm-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.stm-hero p.hero-sub {
  color: rgba(255,255,255,.86);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 2rem;
}
.stm-hero .hero-actions .btn { margin-right: .75rem; margin-bottom: .75rem; }
.stm-hero .hero-image-frame {
  position: relative;
  border-radius: var(--stm-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.stm-hero .hero-image-frame img { width: 100%; display: block; }

/* Carousel styling for hero slides */
.stm-hero-carousel .carousel-item { min-height: 640px; }
.stm-hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); opacity: 1;
}
.stm-hero-carousel .carousel-indicators .active { background: #fff; }
.stm-hero-carousel .carousel-control-prev,
.stm-hero-carousel .carousel-control-next { width: 4%; opacity: .7; }

/* SVG-friendly wave divider — apply to a section's bottom edge */
.stm-wave-divider {
  position: relative;
  display: block;
  width: 100%;
  height: 90px;
  margin-bottom: -1px;
}
.stm-wave-divider svg { width: 100%; height: 100%; display: block; }
.stm-wave-divider.stm-wave-flip { transform: scaleY(-1); }

/* ---------------------------------------------------------------------
   5. FEATURE / USP CARDS
   --------------------------------------------------------------------- */
.usp-card {
  background: #fff;
  border-radius: var(--stm-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--stm-border);
  box-shadow: var(--stm-shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.usp-card:hover { transform: translateY(-6px); box-shadow: var(--stm-shadow-hover); }
.usp-card .usp-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  background: var(--stm-wash);
  color: var(--stm-primary);
}
.usp-card h5 { margin-bottom: .6rem; }
.usp-card p { color: var(--stm-ink-soft); margin-bottom: 0; font-size: .95rem; }

/* ---------------------------------------------------------------------
   6. PRODUCT CARDS + PRICE LIST TABLE
   --------------------------------------------------------------------- */
.product-card {
  position: relative;
  background: #fff;
  border-radius: var(--stm-radius-lg);
  overflow: hidden;
  border: 1px solid var(--stm-border);
  box-shadow: var(--stm-shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--stm-shadow-hover); }

.product-card .product-image-frame {
  position: relative;
  background: var(--stm-wash);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card .product-image-frame img {
  max-width: 78%;
  max-height: 82%;
  object-fit: contain;
  transition: transform .35s ease;
}
.product-card:hover .product-image-frame img { transform: scale(1.06); }

.product-card .discount-ribbon {
  position: absolute;
  top: 12px;
  left: -2px;
  background: var(--stm-danger);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  padding: .3rem .75rem .3rem .9rem;
  border-radius: 0 50px 50px 0;
  box-shadow: 0 4px 10px rgba(224, 49, 49, .35);
  z-index: 2;
}
.product-card .wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stm-ink-soft);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  z-index: 2;
}
.product-card .wishlist-btn.active,
.product-card .wishlist-btn:hover { color: var(--stm-danger); }

.product-card .product-body { padding: 1.1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card .product-category {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--stm-aqua);
  font-weight: 700;
  margin-bottom: .3rem;
}
.product-card .product-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--stm-navy);
  margin-bottom: .4rem;
}
.product-card .product-desc { font-size: .85rem; color: var(--stm-muted); margin-bottom: .75rem; flex: 1; }

.product-card .price-row { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .85rem; }
.product-card .price-current { font-family: var(--stm-font-heading); font-weight: 700; font-size: 1.25rem; color: var(--stm-navy); }
.product-card .price-mrp { font-size: .9rem; color: var(--stm-muted); text-decoration: line-through; }
.product-card .price-deposit { display: block; font-size: .75rem; color: var(--stm-muted); margin-top: -.5rem; margin-bottom: .75rem; }

.product-card .add-to-cart-bar { display: flex; align-items: center; gap: .5rem; }
.product-card .add-to-cart-bar .btn-add-cart {
  flex: 1;
  background: var(--stm-primary);
  color: #fff;
  border: none;
  border-radius: var(--stm-radius-sm);
  padding: .55rem .75rem;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s ease;
}
.product-card .add-to-cart-bar .btn-add-cart:hover { background: var(--stm-navy); }
.product-card.out-of-stock .product-image-frame::after {
  content: "Out of Stock";
  position: absolute; inset: 0;
  background: rgba(20, 36, 51, .55);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; letter-spacing: .04em; font-size: .9rem;
}
.product-card.out-of-stock .btn-add-cart { pointer-events: none; opacity: .5; }

/* Price list table */
.price-list-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--stm-radius-lg); overflow: hidden; box-shadow: var(--stm-shadow-soft); }
.price-list-table thead th {
  background: var(--stm-navy);
  color: #fff;
  font-family: var(--stm-font-heading);
  font-weight: 600;
  padding: .95rem 1.1rem;
  border: none;
}
.price-list-table tbody td { padding: .85rem 1.1rem; border-bottom: 1px solid var(--stm-border); vertical-align: middle; }
.price-list-table tbody tr:last-child td { border-bottom: none; }
.price-list-table tbody tr:hover { background: var(--stm-wash); }
.price-list-table .product-thumb { width: 44px; height: 44px; object-fit: contain; background: var(--stm-wash); border-radius: 8px; padding: 4px; }

/* ---------------------------------------------------------------------
   7. WHY CHOOSE US ICON GRID / DELIVERY AREAS CHIPS / STATS STRIP
   --------------------------------------------------------------------- */
.why-us-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.why-us-item .why-us-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--stm-radius);
  background: linear-gradient(135deg, var(--stm-primary), var(--stm-aqua));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.why-us-item h6 { margin-bottom: .3rem; font-weight: 700; }
.why-us-item p { color: var(--stm-ink-soft); font-size: .9rem; margin-bottom: 0; }

.delivery-areas-wrap { display: flex; flex-wrap: wrap; gap: .6rem; }
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: 50px;
  background: var(--stm-wash);
  color: var(--stm-navy);
  font-weight: 600;
  font-size: .88rem;
  border: 1px solid transparent;
  transition: all .2s ease;
}
.area-chip i { color: var(--stm-primary); }
.area-chip:hover { background: var(--stm-primary); color: #fff; }
.area-chip:hover i { color: #fff; }

.stats-strip {
  background: var(--stm-gradient-hero);
  color: #fff;
  border-radius: var(--stm-radius-lg);
  padding: 2.5rem 1.5rem;
}
.stats-strip .stat-item { text-align: center; }
.stats-strip .stat-number {
  font-family: var(--stm-font-heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  display: block;
  line-height: 1;
}
.stats-strip .stat-label { font-size: .88rem; color: rgba(255,255,255,.8); margin-top: .5rem; text-transform: uppercase; letter-spacing: .05em; }

/* ---------------------------------------------------------------------
   8. TESTIMONIALS / STAR RATING
   --------------------------------------------------------------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--stm-radius-lg);
  padding: 2rem;
  box-shadow: var(--stm-shadow-soft);
  height: 100%;
  border: 1px solid var(--stm-border);
  position: relative;
}
.testimonial-card .quote-icon { color: rgba(var(--stm-aqua-rgb), .25); font-size: 2.2rem; margin-bottom: .75rem; }
.testimonial-card p.review-text { color: var(--stm-ink-soft); font-size: .95rem; margin-bottom: 1.25rem; }
.testimonial-card .reviewer { display: flex; align-items: center; gap: .75rem; }
.testimonial-card .reviewer img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-card .reviewer h6 { margin-bottom: 0; font-weight: 700; }
.testimonial-card .reviewer span { font-size: .78rem; color: var(--stm-muted); }

.stars { display: inline-flex; gap: 2px; }
.stars .star { color: #dde8ef; font-size: .95rem; }
.stars .star.filled { color: var(--stm-warning); }
.stars .star.half { position: relative; color: #dde8ef; }
.stars .star.half::before {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 0;
  width: 50%; overflow: hidden;
  color: var(--stm-warning);
}

/* ---------------------------------------------------------------------
   9. CONTACT SECTION / MAP / FOOTER
   --------------------------------------------------------------------- */
.contact-card {
  background: #fff;
  border-radius: var(--stm-radius-lg);
  padding: 2rem;
  box-shadow: var(--stm-shadow-soft);
}
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-item .contact-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--stm-wash); color: var(--stm-primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-form .form-control,
.contact-form .form-select {
  border-radius: var(--stm-radius-sm);
  border-color: var(--stm-border);
  padding: .7rem .95rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--stm-primary);
  box-shadow: 0 0 0 .2rem rgba(var(--stm-primary-rgb), .15);
}

.map-embed-frame {
  border-radius: var(--stm-radius-lg);
  overflow: hidden;
  box-shadow: var(--stm-shadow-soft);
  border: 1px solid var(--stm-border);
  line-height: 0;
}
.map-embed-frame iframe { width: 100%; height: 380px; border: 0; display: block; }

.stm-footer {
  background: var(--stm-navy);
  color: rgba(255,255,255,.78);
  padding: 4rem 0 0;
}
.stm-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1.25rem; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; }
.stm-footer .footer-brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--stm-font-heading); font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.stm-footer p { font-size: .9rem; }
.stm-footer ul { list-style: none; padding: 0; margin: 0; }
.stm-footer ul li { margin-bottom: .65rem; }
.stm-footer ul li a { color: rgba(255,255,255,.72); font-size: .9rem; }
.stm-footer ul li a:hover { color: var(--stm-aqua); padding-left: 3px; }
.stm-footer .social-icons { display: flex; gap: .6rem; margin-top: 1rem; }
.stm-footer .social-icons a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all .2s ease;
}
.stm-footer .social-icons a:hover { background: var(--stm-aqua); transform: translateY(-3px); }
.stm-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  text-align: center;
}
.stm-footer .footer-bottom a { color: rgba(255,255,255,.8); }

/* ---------------------------------------------------------------------
   10. FLOATING WHATSAPP / CALL BUTTONS
   --------------------------------------------------------------------- */
.stm-float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.stm-float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.stm-float-btn:hover { transform: scale(1.08); color: #fff; }
.stm-float-btn.whatsapp-btn { background: #25d366; }
.stm-float-btn.whatsapp-btn::after {
  content: "";
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  opacity: .55;
  animation: stm-pulse 2s infinite;
  z-index: -1;
}
.stm-float-btn.call-btn { background: var(--stm-primary); position: relative; }
@keyframes stm-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media print { .stm-float-stack { display: none !important; } }

/* ---------------------------------------------------------------------
   11. CART OFFCANVAS / DRAWER + QUANTITY STEPPER + EMPTY STATES
   --------------------------------------------------------------------- */
.cart-offcanvas { width: 420px; max-width: 92vw; }
.cart-offcanvas .offcanvas-header {
  background: var(--stm-wash);
  border-bottom: 1px solid var(--stm-border);
}
.cart-offcanvas .offcanvas-title { font-weight: 700; color: var(--stm-navy); }

.cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--stm-danger);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  min-width: 19px; height: 19px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.cart-icon-btn { position: relative; }

.cart-line-item { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--stm-border); }
.cart-line-item img { width: 64px; height: 64px; object-fit: contain; background: var(--stm-wash); border-radius: 8px; padding: 6px; flex-shrink: 0; }
.cart-line-item .cart-line-body { flex: 1; min-width: 0; }
.cart-line-item .cart-line-title { font-weight: 600; font-size: .92rem; color: var(--stm-navy); margin-bottom: .2rem; }
.cart-line-item .cart-line-meta { font-size: .78rem; color: var(--stm-muted); margin-bottom: .5rem; }
.cart-line-item .cart-line-remove { color: var(--stm-danger); font-size: .78rem; background: none; border: none; padding: 0; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stm-border);
  border-radius: 50px;
  overflow: hidden;
}
.qty-stepper button {
  width: 30px; height: 30px;
  border: none;
  background: var(--stm-wash);
  color: var(--stm-primary);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.qty-stepper button:disabled { opacity: .4; pointer-events: none; }
.qty-stepper input {
  width: 38px;
  border: none;
  text-align: center;
  font-weight: 600;
  font-size: .88rem;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-summary-box { background: var(--stm-wash); border-radius: var(--stm-radius); padding: 1.25rem; }
.cart-summary-box .summary-row { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .6rem; color: var(--stm-ink-soft); }
.cart-summary-box .summary-row.total { font-weight: 700; font-size: 1.05rem; color: var(--stm-navy); border-top: 1px dashed var(--stm-border); padding-top: .75rem; margin-top: .4rem; }

.stm-empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--stm-muted); }
.stm-empty-state .empty-icon {
  width: 96px; height: 96px; margin: 0 auto 1.25rem;
  border-radius: 50%; background: var(--stm-wash); color: var(--stm-primary);
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem;
}
.stm-empty-state h6 { color: var(--stm-navy); font-weight: 700; margin-bottom: .4rem; }
.stm-empty-state p { font-size: .88rem; margin-bottom: 1.25rem; }

/* ---------------------------------------------------------------------
   12. CUSTOMER PORTAL — order timeline, wallet card, jar card, invoice
   --------------------------------------------------------------------- */
.customer-shell { background: var(--stm-bg); min-height: 60vh; }
.portal-sidebar { background: #fff; border-radius: var(--stm-radius-lg); box-shadow: var(--stm-shadow-soft); padding: 1.5rem; }
.portal-sidebar .nav-link { color: var(--stm-ink-soft); border-radius: var(--stm-radius-sm); padding: .65rem .9rem; font-weight: 500; margin-bottom: .25rem; display: flex; align-items: center; gap: .6rem; }
.portal-sidebar .nav-link.active { background: var(--stm-wash); color: var(--stm-primary); font-weight: 700; }
.portal-sidebar .nav-link:hover { background: var(--stm-wash); }

/* Order status timeline — horizontal desktop / vertical mobile */
.order-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.order-timeline .timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 0;
}
.order-timeline .timeline-step::before {
  content: "";
  position: absolute;
  top: 18px; left: -50%; width: 100%; height: 3px;
  background: var(--stm-border);
  z-index: 0;
}
.order-timeline .timeline-step:first-child::before { display: none; }
.order-timeline .timeline-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--stm-border);
  color: var(--stm-muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .6rem;
  position: relative; z-index: 1;
  font-size: .95rem;
}
.order-timeline .timeline-label { font-size: .78rem; font-weight: 600; color: var(--stm-muted); }
.order-timeline .timeline-step.completed .timeline-dot { background: var(--stm-success); border-color: var(--stm-success); color: #fff; }
.order-timeline .timeline-step.completed::before { background: var(--stm-success); }
.order-timeline .timeline-step.completed .timeline-label { color: var(--stm-success); }
.order-timeline .timeline-step.active .timeline-dot { background: var(--stm-primary); border-color: var(--stm-primary); color: #fff; box-shadow: 0 0 0 5px rgba(var(--stm-primary-rgb), .15); }
.order-timeline .timeline-step.active .timeline-label { color: var(--stm-primary); }
.order-timeline .timeline-step.cancelled .timeline-dot { background: var(--stm-danger); border-color: var(--stm-danger); color: #fff; }
.order-timeline .timeline-step.cancelled .timeline-label { color: var(--stm-danger); }

@media (max-width: 767.98px) {
  .order-timeline { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .order-timeline .timeline-step { display: flex; align-items: center; gap: .9rem; text-align: left; width: 100%; }
  .order-timeline .timeline-step::before {
    top: 0; left: 18px; width: 3px; height: calc(100% + 1.5rem);
  }
  .order-timeline .timeline-dot { margin: 0; flex-shrink: 0; }
}

.wallet-card, .jar-card {
  border-radius: var(--stm-radius-lg);
  padding: 1.75rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--stm-shadow-soft);
}
.wallet-card { background: linear-gradient(135deg, var(--stm-navy), var(--stm-primary)); }
.jar-card { background: linear-gradient(135deg, #0b7285, var(--stm-aqua)); }
.wallet-card::after, .jar-card::after {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.wallet-card .card-label, .jar-card .card-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.wallet-card .card-amount, .jar-card .card-amount { font-family: var(--stm-font-heading); font-size: 2rem; font-weight: 700; margin: .35rem 0 1rem; }
.wallet-card .card-actions .btn, .jar-card .card-actions .btn { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .85rem; }
.wallet-card .card-actions .btn:hover, .jar-card .card-actions .btn:hover { background: #fff; color: var(--stm-navy); }
.jar-mini-stats { display: flex; gap: 1.5rem; margin-top: .75rem; position: relative; z-index: 1; }
.jar-mini-stats div { font-size: .8rem; opacity: .9; }
.jar-mini-stats strong { display: block; font-size: 1.1rem; font-family: var(--stm-font-heading); }

/* Invoice-ready table (used both on-screen and for print) */
.invoice-box { background: #fff; border-radius: var(--stm-radius-lg); box-shadow: var(--stm-shadow-soft); padding: 2rem; }
.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th, .invoice-table td { padding: .65rem .75rem; border: 1px solid var(--stm-border); font-size: .9rem; }
.invoice-table thead th { background: var(--stm-wash); color: var(--stm-navy); font-weight: 700; }
.invoice-table tfoot td { font-weight: 700; }
.invoice-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--stm-border); }
.invoice-header .invoice-brand { display: flex; align-items: center; gap: .75rem; }
.invoice-header .invoice-brand img { height: 48px; }
.invoice-meta-table td { padding: .2rem .5rem; font-size: .85rem; }

/* ---------------------------------------------------------------------
   13. STATUS BADGES (soft variants) — names must match backend statuses
   --------------------------------------------------------------------- */
.badge-soft-pending          { background: rgba(245, 159, 0, .14);  color: #b06d00; }
.badge-soft-confirmed        { background: rgba(34, 184, 207, .14); color: #0c7489; }
.badge-soft-processing       { background: rgba(10, 110, 189, .14); color: var(--stm-primary); }
.badge-soft-packed           { background: rgba(8, 59, 111, .12);   color: var(--stm-navy); }
.badge-soft-outfordelivery   { background: rgba(103, 58, 183, .13); color: #6741d9; }
.badge-soft-delivered        { background: rgba(18, 184, 134, .14); color: #0a8f68; }
.badge-soft-cancelled        { background: rgba(224, 49, 49, .13);  color: var(--stm-danger); }
.badge-soft-returned         { background: rgba(124, 139, 153, .16); color: var(--stm-ink-soft); }
.badge-soft-paid             { background: rgba(18, 184, 134, .14); color: #0a8f68; }
.badge-soft-partiallypaid    { background: rgba(245, 159, 0, .14);  color: #b06d00; }
.badge-soft-failed           { background: rgba(224, 49, 49, .13);  color: var(--stm-danger); }
.badge-soft-refunded         { background: rgba(124, 139, 153, .16); color: var(--stm-ink-soft); }

[class^="badge-soft-"], [class*=" badge-soft-"] {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .76rem;
  font-weight: 700;
  padding: .38rem .75rem;
  border-radius: 50px;
  text-transform: capitalize;
}
[class^="badge-soft-"]::before, [class*=" badge-soft-"]::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* ---------------------------------------------------------------------
   14. MISC COMPONENTS — chips, tabs, accordions used on public pages
   --------------------------------------------------------------------- */
.stm-tabs .nav-link {
  border: none;
  border-radius: 50px;
  color: var(--stm-ink-soft);
  font-weight: 600;
  padding: .55rem 1.3rem;
  margin-right: .5rem;
}
.stm-tabs .nav-link.active { background: var(--stm-primary); color: #fff; }

.stm-accordion .accordion-item { border: 1px solid var(--stm-border); border-radius: var(--stm-radius) !important; margin-bottom: .85rem; overflow: hidden; }
.stm-accordion .accordion-button { font-weight: 600; color: var(--stm-navy); background: #fff; }
.stm-accordion .accordion-button:not(.collapsed) { background: var(--stm-wash); color: var(--stm-primary); box-shadow: none; }
.stm-accordion .accordion-button:focus { box-shadow: none; }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--stm-navy);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1039;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.back-to-top.show { display: flex; }

/* ---------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .stm-hero, .stm-hero-carousel .carousel-item { min-height: 520px; }
  .section-padding { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

@media (max-width: 767.98px) {
  :root { --stm-navbar-height: 66px; }
  .stm-hero, .stm-hero-carousel .carousel-item { min-height: 460px; text-align: center; }
  .stm-hero .hero-sub { margin-left: auto; margin-right: auto; }
  .stats-strip .stat-item { margin-bottom: 1.5rem; }
  .section-padding { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .cart-offcanvas { width: 100%; }
  .invoice-box { padding: 1.25rem; }
}

@media (max-width: 575.98px) {
  .stm-hero h1 { font-size: 1.7rem; }
  .product-card .price-current { font-size: 1.05rem; }
  .stm-float-btn { width: 48px; height: 48px; font-size: 1.25rem; }
  .stm-float-stack { right: 14px; bottom: 14px; }
}

@media (max-width: 360px) {
  .stm-container { padding-left: .85rem; padding-right: .85rem; }
  .usp-card { padding: 1.5rem 1rem; }
  .stats-strip .stat-number { font-size: 1.6rem; }
}

/* ---------------------------------------------------------------------
   16. ACCESSIBILITY — reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .stm-float-btn.whatsapp-btn::after { animation: none; }
}

/* ---------------------------------------------------------------------
   17. PRINT — invoice / order print friendly (also see wwwroot/css/print.css)
   --------------------------------------------------------------------- */
@media print {
  .stm-navbar, .stm-footer, .stm-float-stack, .back-to-top,
  .no-print, .cart-offcanvas, .btn, .stm-hero .hero-actions { display: none !important; }
  body { background: #fff !important; padding-top: 0 !important; }
  .invoice-box { box-shadow: none !important; border: none !important; }
  a[href]::after { content: "" !important; }
}

/* ---------------------------------------------------------------------
   18. HERO ARTWORK & WATER IMAGERY
   Added after the original hero rules so these win on specificity ties.
   The home page hero used to be a flat gradient with an empty right half;
   it now layers a water photograph, rising bubbles, a floating product
   cluster and a wave that dissolves into the next section.
   All motion here is switched off by the prefers-reduced-motion block in
   section 16 above.
   --------------------------------------------------------------------- */

.stm-hero-carousel { position: relative; }
.stm-hero,
.stm-hero-carousel .carousel-item { min-height: 690px; }

/* --- photographic background layer ------------------------------------ */
.stm-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: stm-kenburns 22s ease-in-out infinite alternate;
}
.stm-hero .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Dark on the left where the headline sits, clearing to aqua on the right
     so the photograph and the product artwork stay readable. */
  background: linear-gradient(100deg,
              rgba(3, 26, 52, .95) 0%,
              rgba(8, 59, 111, .88) 34%,
              rgba(10, 110, 189, .62) 66%,
              rgba(34, 184, 207, .34) 100%);
}
@keyframes stm-kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.17) translate3d(-1.6%, -1.2%, 0); }
}

/* --- rising air bubbles ------------------------------------------------ */
.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-bubbles span {
  position: absolute;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%,
              rgba(255, 255, 255, .55), rgba(255, 255, 255, .10) 58%, rgba(255, 255, 255, .02) 100%);
  border: 1px solid rgba(255, 255, 255, .22);
  animation: stm-bubble-rise linear infinite;
}
@keyframes stm-bubble-rise {
  0%   { transform: translate3d(0, 0, 0) scale(.75); opacity: 0; }
  14%  { opacity: .9; }
  50%  { transform: translate3d(26px, -46vh, 0) scale(1); }
  85%  { opacity: .45; }
  100% { transform: translate3d(-14px, -108vh, 0) scale(1.2); opacity: 0; }
}
.hero-bubbles span:nth-child(1) { left:  6%; width: 18px; height: 18px; animation-duration: 15s; animation-delay:  -2s; }
.hero-bubbles span:nth-child(2) { left: 15%; width: 34px; height: 34px; animation-duration: 21s; animation-delay:  -8s; }
.hero-bubbles span:nth-child(3) { left: 27%; width: 11px; height: 11px; animation-duration: 13s; animation-delay:  -5s; }
.hero-bubbles span:nth-child(4) { left: 41%; width: 46px; height: 46px; animation-duration: 26s; animation-delay: -13s; }
.hero-bubbles span:nth-child(5) { left: 55%; width: 15px; height: 15px; animation-duration: 17s; animation-delay:  -1s; }
.hero-bubbles span:nth-child(6) { left: 68%; width: 26px; height: 26px; animation-duration: 23s; animation-delay: -16s; }
.hero-bubbles span:nth-child(7) { left: 82%; width: 13px; height: 13px; animation-duration: 14s; animation-delay:  -6s; }
.hero-bubbles span:nth-child(8) { left: 92%; width: 38px; height: 38px; animation-duration: 28s; animation-delay: -11s; }

/* --- headline column --------------------------------------------------- */
/* Section 5 gives the hero a padding-top equal to the navbar so the content
   clears it; add a little more so the eyebrow badge is not glued to the nav,
   and pad the bottom so nothing sits under the wave. */
body.has-hero .stm-hero,
body.has-hero .stm-hero-carousel .carousel-item {
  padding-top: calc(var(--stm-navbar-height) + 2rem);
  padding-bottom: 5rem;
}
.stm-hero .hero-content { max-width: 640px; }
.stm-hero h1 { text-shadow: 0 3px 22px rgba(0, 0, 0, .28); }
.stm-hero p.hero-sub { text-shadow: 0 2px 14px rgba(0, 0, 0, .26); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.75rem;
  margin-top: 2.1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-trust .ht {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}
.hero-trust .ht i { color: var(--stm-aqua); font-size: 1rem; }

/* --- floating product cluster ------------------------------------------ */
.hero-visual {
  position: absolute;
  z-index: 3;
  top: calc(50% + (var(--stm-navbar-height) / 2));
  transform: translateY(-50%);
  /* Sit inside the container gutter on wide screens, hug the edge below that. */
  right: max(1.5rem, calc((100vw - var(--stm-container-max)) / 2 + 1rem));
  width: 520px;
  height: 430px;
  pointer-events: none;
}
.hero-visual .hv-glow,
.hero-visual .hv-ring {
  position: absolute;
  left: 62%;          /* follows the right-aligned product cluster */
  top: 50%;
  border-radius: 50%;
}
.hero-visual .hv-glow {
  width: 380px; height: 380px; margin: -190px 0 0 -190px;
  background: radial-gradient(circle, rgba(34, 184, 207, .55) 0%, rgba(34, 184, 207, .16) 46%, rgba(34, 184, 207, 0) 72%);
  filter: blur(6px);
}
.hero-visual .hv-ring {
  width: 356px; height: 356px; margin: -178px 0 0 -178px;
  border: 1px dashed rgba(255, 255, 255, .28);
  animation: stm-hv-spin 46s linear infinite;
}
.hero-visual .hv-ring.r2 {
  width: 424px; height: 424px; margin: -212px 0 0 -212px;
  border: 1px solid rgba(255, 255, 255, .15);
  animation-duration: 72s;
  animation-direction: reverse;
}
@keyframes stm-hv-spin { to { transform: rotate(360deg); } }

.hero-visual .hv-cluster {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  /* Right-aligned so the left of the box stays clear for the floating chips. */
  justify-content: flex-end;
  gap: 1.1rem;
}
.hero-visual .hv-cluster img { display: block; animation: stm-hv-float 6.5s ease-in-out infinite; }
/* The artwork viewBoxes are cropped per product, so these widths are what
   restore the true size relationship: a 20L jar next to a 1L and a 500ml. */
.hero-visual .hv-jar    { width: 172px; filter: drop-shadow(0 26px 38px rgba(0, 0, 0, .38)); }
.hero-visual .hv-bottle { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .34)); }
.hero-visual .hv-bottle.b1 { width: 50px; animation-delay: -1.6s; }
.hero-visual .hv-bottle.b2 { width: 68px; animation-delay: -3.2s; }
@keyframes stm-hv-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}

.hero-visual .hv-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: 50px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--stm-navy);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 26px rgba(3, 26, 52, .30);
  animation: stm-hv-float 8s ease-in-out infinite;
}
.hero-visual .hv-chip i { color: var(--stm-primary); }
/* Both chips sit on the left of the cluster so neither covers a bottle. */
.hero-visual .hv-chip.c1 { top: 26px;    left: 0;    animation-delay: -2.2s; }
.hero-visual .hv-chip.c2 { bottom: 58px; left: 16px; animation-delay: -4.6s; }

.hero-visual .hv-price {
  position: absolute;
  z-index: 4;
  right: 6px;
  top: 8px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--stm-aqua), var(--stm-primary));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  box-shadow: 0 16px 34px rgba(3, 26, 52, .38);
  border: 3px solid rgba(255, 255, 255, .55);
  animation: stm-hv-float 7.5s ease-in-out infinite;
  animation-delay: -1s;
}
.hero-visual .hv-price small  { font-size: .66rem; opacity: .9; font-weight: 600; }
.hero-visual .hv-price strong { font-size: 1.65rem; font-weight: 700; }

/* Below lg the cluster would collide with the text, so it is hidden in the
   markup (d-none d-lg-block); these keep the tablet range tidy. */
@media (max-width: 1399.98px) {
  .hero-visual { width: 430px; height: 380px; }
  .hero-visual .hv-jar { width: 146px; }
  .hero-visual .hv-bottle.b1 { width: 43px; }
  .hero-visual .hv-bottle.b2 { width: 58px; }
  .hero-visual .hv-glow { width: 330px; height: 330px; margin: -165px 0 0 -165px; }
  .hero-visual .hv-ring { width: 312px; height: 312px; margin: -156px 0 0 -156px; }
  .hero-visual .hv-ring.r2 { width: 372px; height: 372px; margin: -186px 0 0 -186px; }
  /* Smaller box, so the chips shrink and shift left to stay off the bottles. */
  .hero-visual .hv-chip { font-size: .78rem; padding: .45rem .8rem; }
  .hero-visual .hv-chip.c1 { left: -28px; }
  .hero-visual .hv-chip.c2 { left: -20px; bottom: 52px; }
  .hero-visual .hv-price { width: 92px; height: 92px; }
  .hero-visual .hv-price strong { font-size: 1.4rem; }
}
/* Below xl the headline column is still wide enough to run into the chips, so
   the whole cluster is dropped (the markup also carries d-none d-xl-block). */
@media (max-width: 1199.98px) {
  .hero-visual { display: none !important; }
}
@media (max-width: 991.98px) {
  .stm-hero,
  .stm-hero-carousel .carousel-item { min-height: 560px; }
  .stm-hero .hero-content { max-width: 100%; }
}

/* --- wave that dissolves the hero into the page ------------------------ */
.stm-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  line-height: 0;
  color: var(--stm-bg);          /* the <path> uses fill="currentColor" */
  pointer-events: none;
}
.stm-hero-wave svg { display: block; width: 100%; height: 78px; }
@media (max-width: 767.98px) { .stm-hero-wave svg { height: 44px; } }

/* A reusable divider for the bands further down the page. Set the colour of
   the section the wave should melt INTO via the `color` property. */
.stm-wave { line-height: 0; color: #fff; }
.stm-wave svg { display: block; width: 100%; height: 64px; }
.stm-wave.flip svg { transform: scaleY(-1); }

/* --- subtle bubble texture for wash bands ------------------------------ */
/* Carries its own wash gradient: an inline `background:` shorthand on the
   section would reset background-image and wipe the pattern out. */
.stm-bubble-bg {
  position: relative;
  background-image: url("/images/pattern-bubbles.svg"), var(--stm-gradient-wash);
  background-repeat: repeat, no-repeat;
  background-size: 220px 220px, cover;
  background-position: center, center;
}
.stm-bubble-bg > * { position: relative; z-index: 1; }

/* --- stats band on water photography ----------------------------------- */
.stats-strip.stats-water {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(3, 26, 52, .92), rgba(10, 110, 189, .78)),
              url("/images/hero-default.jpg") center/cover no-repeat;
  border: none;
}
.stats-strip.stats-water .stat-number { color: #fff; }
.stats-strip.stats-water .stat-label  { color: rgba(255, 255, 255, .78); }

/* --- category tiles get a water-drop icon ------------------------------ */
.category-tile .cat-icon {
  background: linear-gradient(140deg, rgba(34, 184, 207, .18), rgba(10, 110, 189, .16)) !important;
  color: var(--stm-primary);
}
.category-tile:hover .cat-icon {
  background: linear-gradient(140deg, var(--stm-aqua), var(--stm-primary)) !important;
  color: #fff;
}
