/* =========================================================
   Mr. RO — main stylesheet (the only stylesheet the site uses)
   ---------------------------------------------------------
   Plain CSS, no build step. Edit and save, then refresh.
   1. Brand colours and sizes live in :root below. Change a
      colour there and it changes everywhere.
   2. Reusable pieces (buttons, cards, sections) have their
      own clearly named classes further down.
   ========================================================= */

:root {
  /* Brand colours */
  --navy: #0B2E4F;          /* main brand colour: headings, buttons, footer */
  --navy-700: #123a61;
  --cyan: #00D1F9;          /* accent colour: highlights, dots, underlines */
  --cyan-50: #e6f9fe;
  --cyan-100: #b1ebff;
  --whatsapp: #128243;      /* WhatsApp buttons: darker than the logo green so white text stays readable */
  --whatsapp-hover: #0e6b37;
  --accent-text: #00869f;   /* cyan dark enough to read on white (headings, links) */

  /* Mineral colours (match the pouch colours) */
  --calcium: #c62828;   --calcium-50: #fdecec;
  --magnesium: #2e7d32; --magnesium-50: #eaf5ea;
  --sodium: #1e4fbf;    --sodium-50: #e9effc;

  /* Neutrals */
  --ink: #1a1c1c;
  --muted: #4b5563;
  --line: #e2e5ea;
  --bg: #f8f8f8;
  --white: #ffffff;

  /* Type */
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 20px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 8px 30px rgba(11, 46, 79, 0.06);
  --shadow-lg: 0 16px 40px rgba(11, 46, 79, 0.12);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--navy); }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy p { color: rgba(255,255,255,.82); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 16px; }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ---------- Small labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: var(--cyan-100);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.section-navy .eyebrow { background: rgba(0,209,249,.15); color: var(--cyan); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cyan-50); color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 12px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--cyan); color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 52px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--cyan); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.menu-toggle svg { width: 30px; height: 30px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px 0 16px; }
.mobile-nav a { display: block; padding: 13px var(--gutter); text-decoration: none; color: var(--ink); font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; background: var(--cyan-50); }
.mobile-nav a.btn { display: flex; color: #fff; font-weight: 600; margin: 12px var(--gutter) 0; width: calc(100% - 2 * var(--gutter)); padding: 15px 20px; }
.mobile-nav.open { display: block; }

@media (max-width: 1020px) {
  .main-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { background: var(--white); padding: 48px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--accent-text); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero-media img { width: 100%; height: auto; aspect-ratio: 3168 / 1344; object-fit: cover; }
.price-chip { display: inline-flex; align-items: baseline; gap: 6px; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 12px; font-weight: 600; margin: 4px 0 24px; }
.price-chip strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--cyan); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; color: var(--navy); font-size: .95rem; }
.trust-item span { font-size: .85rem; color: var(--muted); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Home hero slider ----------
   Slide 1: full-width photo with text on a white fade on the left.
   Slide 2: text on the left, cut-out product photo on the right.
   On phones the photo moves below the text so the text stays readable. */
.hero-slider { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; overflow: hidden; min-height: 600px; display: flex; align-items: center;
         opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; z-index: 1; }
.slide .accent { color: var(--accent-text); }
.slide-text { max-width: 560px; padding: 64px 0 88px; }
.slide-title { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }

.slide-cover .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.slide-cover::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.55) 52%, rgba(255,255,255,0) 66%); }
.slide-content { position: relative; z-index: 2; width: 100%; }

.slide-water { background: linear-gradient(120deg, #fff 0%, var(--cyan-50) 60%, #d5f4fd 100%); }
.slide-split { width: 100%; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.slide-media img { width: 100%; max-height: 460px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(11,46,79,.18)); }

.slider-controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; align-items: center; gap: 14px; pointer-events: none; }
.slider-controls[hidden] { display: none; }
.slider-controls > * { pointer-events: auto; }
.slider-dots { display: flex; gap: 2px; background: rgba(255,255,255,.92); padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); }
.slider-dot { width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.slider-dot::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #c3cad3; transition: background .2s, transform .2s; }
.slider-dot[aria-current="true"]::before { background: var(--navy); transform: scale(1.2); }
.slider-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); }
.slider-arrow:hover { background: var(--navy); color: #fff; }
.slider-arrow svg { width: 22px; height: 22px; }

.trust-strip { background: #fff; padding: 32px 0; border-bottom: 1px solid var(--line); }
.trust-strip .trust-row { margin-top: 0; }

@media (max-width: 860px) {
  .slide { min-height: 0; display: block; }
  .slide-cover { display: flex; flex-direction: column; }
  .slide-cover::before { display: none; }
  .slide-cover .slide-bg { position: static; order: 2; height: auto; aspect-ratio: 3168 / 1344; }
  .slide-text { padding: 36px 0 24px; }
  .slide-split { grid-template-columns: 1fr; gap: 0; }
  .slide-media { padding-bottom: 72px; }
  .slide-media img { max-height: 280px; }
  .slide-cover .slide-content { order: 1; }
  .slide-cover .slide-bg { margin-bottom: 72px; }
}

/* Page header (inner pages) */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: 56px 0; text-align: center; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 720px; margin: 0 auto; }
.breadcrumb { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #9aa3ad; }
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--navy); }
.page-hero.left { text-align: left; }
.page-hero.left .breadcrumb ol { justify-content: flex-start; }
.page-hero.left p { margin: 0; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card-navy { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.88); }
.card-navy h2, .card-navy h3 { color: #fff; }
.card-hover { transition: box-shadow .25s, transform .25s; }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--cyan-50); color: var(--navy); margin-bottom: 16px; }
.icon-badge svg { width: 26px; height: 26px; }
.section-navy .icon-badge { background: rgba(0,209,249,.14); color: var(--cyan); }

/* Product cards */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.element { width: 46px; height: 46px; border-radius: 12px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center; }
.product-img { padding: 8px 22px 0; background: #fff; }
.product-img img { max-height: 260px; width: auto; margin: 0 auto; object-fit: contain; }
.product-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.product-body h3 { margin-bottom: 6px; }
.compound { font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; display: inline-block; margin-bottom: 12px; align-self: flex-start; }
.product-body p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.product-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; margin-bottom: 16px; }
.product-price strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); }
.product-price span { font-size: .85rem; color: var(--muted); }
.product-actions { display: grid; gap: 10px; }
.is-calcium .product-top, .is-calcium.tint { background: var(--calcium-50); }
.is-calcium .element { background: var(--calcium); }
.is-calcium .compound { background: var(--calcium-50); color: var(--calcium); }
.is-magnesium .product-top, .is-magnesium.tint { background: var(--magnesium-50); }
.is-magnesium .element { background: var(--magnesium); }
.is-magnesium .compound { background: var(--magnesium-50); color: var(--magnesium); }
.is-sodium .product-top, .is-sodium.tint { background: var(--sodium-50); }
.is-sodium .element { background: var(--sodium); }
.is-sodium .compound { background: var(--sodium-50); color: var(--sodium); }

/* Specs / data tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.data-table th, .data-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.data-table thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .03em; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 600; color: var(--navy); width: 42%; background: #fbfbfc; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td strong { font-family: var(--font-head); color: var(--navy); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 22px 24px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy); background: var(--cyan-100); width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Check list */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--cyan-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2E4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section-navy .checklist li::before { background-color: var(--cyan); }

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 32px; margin: 24px 0; }
.stat { border-left: 3px solid var(--cyan); padding-left: 14px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* Founder / media blocks */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; background: #fff; }
.media-frame img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.quote { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 600; color: var(--navy); line-height: 1.35; margin: 0 0 20px; }
.quote-by { font-size: .9rem; color: var(--muted); }
.quote-by strong { color: var(--navy); }
.founder-photo { max-width: 380px; margin: 0 auto; }
.founder-photo img { aspect-ratio: 716 / 1000; object-fit: cover; object-position: top; }

/* Document (COA / spec sheet) cards */
.doc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.doc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: inherit; }
.doc-thumb { background: #eef1f4; padding: 18px 18px 0; height: 230px; overflow: hidden; }
.doc-thumb img { width: 100%; height: auto; border-radius: 6px 6px 0 0; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.doc-body { padding: 18px 20px 22px; }
.doc-body h3, .section-navy .doc-body h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy); }
.doc-body p, .section-navy .doc-body p { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }

/* Article cards */
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card .body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.article-card h3 a { text-decoration: none; color: var(--navy); }
.article-card h3 a:hover { color: var(--accent-text); }
.article-card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.meta { font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Callouts */
.callout { border-left: 4px solid var(--cyan); background: var(--cyan-50); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.25em; }
.callout p:last-child { margin-bottom: 0; }
.callout-navy { border-left-color: var(--navy); background: #eef2f6; }
.callout-amber { border-left-color: #d97706; background: #fff7e6; }
.cta-box { background: linear-gradient(135deg, var(--cyan-50), #fff); border: 2px solid rgba(0,209,249,.35); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-box h3, .cta-box h4 { margin: 0 0 4px; }
.cta-box p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Big CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 32px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(0,209,249,.14); right: -120px; top: -160px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* Secondary business band (water delivery) */
.water-band { background: linear-gradient(135deg, #fff 0%, var(--cyan-50) 100%); border: 1px solid var(--line); border-radius: 32px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.water-band img { width: 100%; max-height: 300px; object-fit: contain; }
@media (max-width: 860px) { .water-band { grid-template-columns: 1fr; padding: 28px; } }

/* FAQ (uses <details>) */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* Articles (long reading pages) */
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); }
.article h2 { margin-top: 1.6em; font-size: 1.6rem; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.4em; }
.article .lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.article .table-wrap { margin: 0 0 1.25em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; font-size: .85rem; color: var(--muted); margin-top: 18px; }
.formula { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--navy); color: #fff; padding: 18px; border-radius: var(--radius); text-align: center; font-size: 1rem; margin: 0 0 1em; }
.source-note { font-size: .82rem; color: #6b7280; font-style: italic; }

/* Team */
.team-card { text-align: center; }
.avatar { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 3px solid var(--cyan-100); background: var(--bg); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.role { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #007489; margin-bottom: 10px; }

/* Contact */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #d5d9df; border-radius: 10px; padding: 12px 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,209,249,.2); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { font-size: .9rem; padding: 12px 14px; border-radius: 10px; background: #e9f7ef; color: #14532d; display: none; }
.form-status.show { display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent-text); flex-shrink: 0; margin-top: 3px; }
.contact-list strong { display: block; color: var(--navy); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.hours li:last-child { border-bottom: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 380px; background: #e5e7eb; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Legal pages */
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; margin-bottom: 40px; }
.site-footer h2 { font-family: var(--font-head); color: var(--cyan); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 14px; }
.footer-brand img { width: 52px; height: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp chat (all pages) ---------- */
.wa-widget { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float { width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s, background .2s; position: relative; }
.wa-float:hover { transform: scale(1.06); background: var(--whatsapp-hover); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--whatsapp); opacity: 0; animation: wa-pulse 2.6s ease-out 3s 3; }
@keyframes wa-pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float-close { display: none; }
.wa-float-close svg { width: 26px; height: 26px; }
.wa-widget.is-open .wa-float > svg { display: none; }
.wa-widget.is-open .wa-float-close { display: flex; }
.wa-panel { width: min(340px, calc(100vw - 36px)); background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(11,46,79,.25); overflow: hidden; border: 1px solid var(--line); animation: wa-in .2s ease-out; }
.wa-panel[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wa-panel-head { display: flex; align-items: center; gap: 12px; background: var(--whatsapp); color: #fff; padding: 14px 14px 14px 16px; }
.wa-panel-head img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; }
.wa-panel-head div { flex: 1; line-height: 1.25; }
.wa-panel-head strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.wa-panel-head span { font-size: .78rem; opacity: .9; }
.wa-close { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.wa-close svg { width: 18px; height: 18px; }
.wa-panel-body { padding: 16px; background: #efeae2; }
.wa-bubble { background: #fff; border-radius: 0 12px 12px 12px; padding: 10px 14px; font-size: .92rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); max-width: 88%; margin-bottom: 14px; }
.wa-quick { display: grid; gap: 8px; }
.wa-quick a { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #d9e7dd; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; padding: 10px 14px; border-radius: 12px; transition: background .15s, border-color .15s; }
.wa-quick a:hover { background: #e7f5ec; border-color: var(--whatsapp); color: var(--ink); }
.wa-quick svg { width: 18px; height: 18px; color: var(--whatsapp); flex-shrink: 0; }
.wa-panel-foot { margin: 0; padding: 10px 16px; font-size: .78rem; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
.wa-teaser { display: flex; align-items: center; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(11,46,79,.18); border: 1px solid var(--line); animation: wa-in .3s ease-out; max-width: calc(100vw - 36px); }
.wa-teaser[hidden] { display: none; }
.wa-teaser-text { background: none; border: 0; font: inherit; font-size: .9rem; color: var(--ink); padding: 11px 6px 11px 16px; cursor: pointer; text-align: left; }
.wa-teaser-text strong { color: var(--whatsapp); }
.wa-teaser-close { background: none; border: 0; color: var(--muted); padding: 8px 10px 8px 4px; cursor: pointer; display: inline-flex; }
.wa-teaser-close svg { width: 16px; height: 16px; }
html.drawer-open .wa-widget { display: none; }

/* ---------- Shop: header cart ---------- */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; color: var(--navy); text-decoration: none; border: 1px solid var(--line); background: #fff; transition: background .2s, border-color .2s; }
.cart-link:hover { background: var(--cyan-50); border-color: var(--cyan); color: var(--navy); }
.cart-link svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--calcium); color: #fff; font-size: .75rem; font-weight: 700; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.cart-count[hidden] { display: none; }
@media (max-width: 1020px) { .header-cta .cart-link { display: inline-flex; } }

/* ---------- Shop: buy box (pack picker + quantity + add) ---------- */
.buy-box { display: grid; gap: 12px; margin-top: 4px; }
.pack-picker, .mix-sizes, .mix-fill, .pay-options { border: 0; padding: 0; margin: 0; min-width: 0; }
.pack-picker legend, .mix-sizes legend, .mix-fill legend, .pay-options legend { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.pack-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pack-picker legend { grid-column: 1 / -1; }
.pack-opt { position: relative; cursor: pointer; display: block; }
.pack-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pack-body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; height: 100%; padding: 10px 6px; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s, box-shadow .15s; }
.pack-opt:hover .pack-body { border-color: #b8c2cc; }
.pack-opt input:checked + .pack-body { border-color: var(--navy); background: #f2f6fa; box-shadow: 0 0 0 1px var(--navy) inset; }
.pack-opt input:focus-visible + .pack-body { outline: 3px solid var(--cyan); outline-offset: 2px; }
.pack-kg { font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.2; }
.pack-kg small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.pack-price { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink); }
.pack-perkg { font-size: .75rem; color: var(--muted); }
.pack-save, .save-chip { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .02em; color: #14632f; background: #e3f4e8; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.save-chip { margin-left: 6px; vertical-align: middle; }
.pack-save[hidden], .save-chip[hidden] { display: none; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.buy-row .add-btn { flex: 1; padding-left: 14px; padding-right: 14px; }
.add-btn.is-added { background: var(--whatsapp); }
.buy-total { margin: 0; font-size: .95rem; color: var(--muted); }
.buy-total strong { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; margin-left: 4px; }
.card-link { margin-top: 14px; font-size: .92rem; }
.card-links { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: .92rem; flex-wrap: wrap; }
.link-wa { display: inline-flex; align-items: center; gap: 6px; color: var(--whatsapp); font-weight: 600; text-decoration: none; }
.link-wa svg { width: 16px; height: 16px; }
.link-wa:hover { color: var(--whatsapp-hover); text-decoration: underline; }

/* Bigger version on product pages */
.buy-page { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; gap: 16px; }
.buy-page .pack-body { padding: 14px 8px; gap: 4px; }
.buy-page .pack-price { font-size: 1.15rem; color: var(--navy); }
.buy-page .buy-row .btn { padding-top: 15px; padding-bottom: 15px; font-size: 1rem; }
.buy-extras { margin-bottom: 4px; }
.mix-hint { margin-top: 12px; }

/* Quantity stepper */
.qty-stepper { display: inline-flex; align-items: stretch; border: 1px solid #cfd5dc; border-radius: 10px; overflow: hidden; background: #fff; flex-shrink: 0; }
.qty-stepper button { width: 38px; border: 0; background: #f3f5f7; color: var(--navy); font-size: 1.2rem; font-weight: 600; cursor: pointer; line-height: 1; }
.qty-stepper button:hover:not(:disabled) { background: var(--cyan-50); }
.qty-stepper button:disabled { color: #b6bec7; cursor: not-allowed; }
.qty-stepper input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--ink); -moz-appearance: textfield; appearance: textfield; padding: 8px 0; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper.sm button { width: 34px; }
.qty-stepper.sm input { width: 38px; padding: 6px 0; }

/* Element badge sizes + mixed box colour */
.element.sm { width: 38px; height: 38px; font-size: .95rem; border-radius: 10px; flex-shrink: 0; }
.element.is-calcium, .is-calcium .element.sm { background: var(--calcium); }
.element.is-magnesium, .is-magnesium .element.sm { background: var(--magnesium); }
.element.is-sodium, .is-sodium .element.sm { background: var(--sodium); }
.element.is-mix { background: linear-gradient(135deg, var(--calcium) 0 33%, var(--magnesium) 33% 66%, var(--sodium) 66%); font-size: .8rem; }

/* ---------- Shop: mixed box builder ---------- */
.mix-split { align-items: start; }
.mix-builder { display: grid; gap: 20px; }
.mix-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mix-sizes legend { grid-column: 1 / -1; }
.mix-fill { display: grid; gap: 10px; }
.mix-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mix-row.is-calcium { background: var(--calcium-50); border-color: transparent; }
.mix-row.is-magnesium { background: var(--magnesium-50); border-color: transparent; }
.mix-row.is-sodium { background: var(--sodium-50); border-color: transparent; }
.mix-name { flex: 1; font-weight: 600; color: var(--navy); line-height: 1.25; }
.mix-name small { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); }
.mix-meter { display: flex; gap: 4px; height: 12px; }
.mix-meter .seg { flex: 1; border-radius: 4px; background: #e3e7ec; transition: background .2s; }
.mix-meter .seg.is-calcium { background: var(--calcium); }
.mix-meter .seg.is-magnesium { background: var(--magnesium); }
.mix-meter .seg.is-sodium { background: var(--sodium); }
.mix-count { margin: 8px 0 0; font-size: .9rem; color: var(--muted); }
.mix-count strong { color: var(--navy); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Shop: slide-in mini cart ---------- */
.cart-drawer-wrap { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.cart-drawer-wrap.open { visibility: visible; }
.cart-overlay { position: absolute; inset: 0; background: rgba(11,46,79,.45); opacity: 0; transition: opacity .25s; }
.cart-drawer-wrap.open .cart-overlay { opacity: 1; }
.cart-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.cart-drawer-wrap.open .cart-drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.1rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.mini-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-item > div { flex: 1; line-height: 1.3; min-width: 0; }
.mini-item strong { display: block; color: var(--navy); font-size: .95rem; }
.mini-item span:not(.element) { font-size: .8rem; color: var(--muted); }
.mini-item b { font-family: var(--font-head); color: var(--navy); white-space: nowrap; }
.mini-item.is-new { background: #f0faf3; margin: 0 -12px; padding: 12px; border-radius: 12px; border-bottom-color: transparent; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.drawer-total strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.drawer-save { font-size: .85rem; color: #14632f; font-weight: 600; margin-top: -6px; }
.drawer-note { font-size: .85rem; margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--cyan-50); color: var(--navy); }
.drawer-note.is-good { background: #e3f4e8; color: #14632f; }
html.drawer-open { overflow: hidden; }

/* ---------- Shop: cart page ---------- */
.cart-section { padding-top: 48px; }
.cart-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.cart-heading h1 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.cart-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 48px 28px; }
.cart-empty[hidden], .cart-layout[hidden] { display: none; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); grid-template-areas: "items summary" "form summary"; gap: 24px; align-items: start; }
.cart-items { grid-area: items; }
.cart-summary { grid-area: summary; position: sticky; top: calc(var(--header-h) + 20px); }
.checkout { grid-area: form; }
.cart-layout .card h2 { margin-bottom: 14px; }
.cart-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item-info { line-height: 1.35; }
.cart-item-info strong { display: block; color: var(--navy); }
.cart-item-info span { display: block; font-size: .85rem; color: var(--muted); }
.cart-item-info .unit em { font-style: normal; color: #14632f; font-weight: 600; }
.line-price { font-family: var(--font-head); color: var(--navy); min-width: 84px; text-align: right; }
.remove-btn { width: 36px; height: 36px; border: 0; background: none; color: #8a94a0; border-radius: 50%; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.remove-btn:hover { background: var(--calcium-50); color: var(--calcium); }
.remove-btn svg { width: 18px; height: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .95rem; border-bottom: 1px dashed var(--line); }
.sum-row.save { color: #14632f; font-weight: 600; }
.sum-row.total { border-bottom: 0; border-top: 2px solid var(--navy); margin-top: 6px; padding-top: 12px; font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.sum-row.total span:last-child { font-family: var(--font-head); font-size: 1.35rem; }
.sum-row .good { color: #14632f; }
.sum-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.good-note { color: #14632f; font-weight: 600; }
.cart-summary .field { margin-bottom: 14px; }
.checkout { display: grid; gap: 16px; }
.checkout .form-row { gap: 16px; }
.field textarea[rows="2"], .field textarea[rows="3"] { min-height: 0; }
.was-validated :invalid { border-color: var(--calcium); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.pay-opt:has(input:checked) { border-color: var(--navy); background: #f2f6fa; }
.pay-opt input { margin-top: 4px; accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; }
.pay-opt strong { display: block; color: var(--navy); }
.pay-opt small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.pay-note { font-size: .85rem; color: var(--muted); margin: 0; }
.place-btn { padding: 18px; font-size: 1.05rem; }
.place-btn.is-loading { opacity: .7; cursor: progress; }
.form-status.is-error { background: var(--calcium-50); color: #8f1d1d; }
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; grid-template-areas: "items" "summary" "form"; }
  .cart-summary { position: static; }
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "badge info remove" "badge qty price"; row-gap: 10px; }
  .cart-item .element { grid-area: badge; align-self: start; }
  .cart-item-info { grid-area: info; }
  .cart-item .qty-stepper { grid-area: qty; justify-self: start; }
  .cart-item .line-price { grid-area: price; }
  .cart-item .remove-btn { grid-area: remove; align-self: start; }
  .card.cart-items, .card.cart-summary, .card.checkout { padding: 20px; }
}

/* ---------- Welcome offer pop-up (small card, never full screen) ---------- */
.offer-pop { position: fixed; left: 18px; bottom: 18px; z-index: 70; width: min(360px, calc(100vw - 36px)); background: #fff; border-radius: 20px; padding: 24px 22px 18px; box-shadow: 0 20px 50px rgba(11,46,79,.28); border: 1px solid var(--line); opacity: 0; transform: translateY(24px); transition: opacity .3s ease, transform .3s ease; }
.offer-pop.open { opacity: 1; transform: none; }
.offer-pop h2 { font-size: 1.25rem; margin: 10px 0 6px; padding-right: 28px; }
.offer-pop p { font-size: .92rem; color: var(--muted); margin: 0 0 14px; }
.offer-badge { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: #fff; background: var(--calcium); padding: 5px 12px; border-radius: 999px; }
.offer-badge.is-done { background: var(--whatsapp); }
.offer-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.offer-close:hover { background: var(--line); }
.offer-close svg { width: 20px; height: 20px; }
.offer-form { display: grid; gap: 10px; }
.offer-form input { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid #d5d9df; border-radius: 10px; padding: 12px 14px; }
.offer-form input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,209,249,.2); }
.offer-error { color: #8f1d1d; font-size: .85rem; margin: 0 !important; min-height: 0; }
.offer-error:empty { display: none; }
.offer-fine { font-size: .75rem !important; margin: 2px 0 0 !important; }
.offer-fine a { color: var(--muted); }
@media (max-width: 640px) {
  .offer-pop { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; padding: 20px 18px calc(16px + env(safe-area-inset-bottom)); max-height: 60vh; overflow-y: auto; }
  .offer-pop { padding-top: 16px; }
  .offer-pop h2 { font-size: 1.05rem; margin: 8px 0 10px; }
  .offer-view > p { display: none; }
  .offer-form { grid-template-columns: 1fr 1fr; gap: 8px; }
  .offer-form input { padding: 11px 12px; font-size: .95rem; }
  .offer-form .btn, .offer-error, .offer-fine { grid-column: 1 / -1; }
  .offer-badge { font-size: .78rem; padding: 4px 10px; }
  html.offer-open .wa-widget { bottom: calc(var(--offer-h, 260px) + 12px); }
}
.wa-widget { transition: bottom .3s ease; }

/* ---------- Shop: order confirmed ---------- */
.confirm-wrap { max-width: 960px; }
.confirm-head { text-align: center; margin-bottom: 28px; }
.confirm-icon { width: 72px; height: 72px; border-radius: 50%; background: #e3f4e8; color: var(--whatsapp); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.confirm-icon svg { width: 36px; height: 36px; }
.confirm-head .lead { font-size: 1.1rem; color: var(--muted); max-width: 620px; margin: 0 auto 8px; }
.order-no { font-size: 1rem; color: var(--muted); }
.order-no strong { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--navy); background: var(--cyan-50); padding: 4px 10px; border-radius: 8px; margin-left: 6px; }
.confirm-grid { align-items: start; margin-bottom: 24px; }
.next-steps { padding-left: 1.2em; margin: 0; display: grid; gap: 12px; color: var(--muted); }
.next-steps strong { color: var(--navy); }
.order-table td small { color: var(--muted); }
.order-table td:last-child, .order-table th:last-child { text-align: right; white-space: nowrap; }
.confirm-wrap .card .table-wrap { margin-bottom: 12px; }
.confirm-actions { justify-content: center; }
.confirm-wrap .callout { text-align: center; margin-bottom: 24px; }
.confirm-wrap .callout .btn { margin-top: 10px; }
.h4 { font-size: 1.15rem; }
.h3 { font-size: 1.3rem; }

/* Respect users who turn off motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Form checks (messages under fields) ---------- */
.field-error { color: #b42318; font-size: .82rem; font-weight: 500; margin: 6px 0 0; }
.field-error:empty { display: none; }
[aria-invalid="true"], .field [aria-invalid="true"], .offer-form [aria-invalid="true"] { border-color: #d92d20 !important; background: #fff6f5 !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(217,45,32,.18) !important; }
.offer-form .field-error { grid-column: 1 / -1; margin: -4px 0 0; }

/* ---------- Contact icons (footer) ---------- */
.contact-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.icon-link { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); transition: background .2s, color .2s, transform .15s; }
.site-footer .icon-link { color: #fff; text-decoration: none; }
.icon-link:hover, .site-footer .icon-link:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); transform: translateY(-2px); text-decoration: none; }
.icon-link.is-wa:hover, .site-footer .icon-link.is-wa:hover { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.icon-link svg { width: 20px; height: 20px; }
.footer-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-info li { display: flex; gap: 10px; align-items: flex-start; }
.footer-info svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--cyan); }
.footer-info a[href^="tel:"] { white-space: nowrap; }
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ---------- Slide-in cart: quantity controls ---------- */
.mini-item { align-items: flex-start; }
.mini-info { flex: 1; min-width: 0; }
.mini-controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.mini-remove { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .82rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.mini-remove:hover { color: var(--calcium); }
.mini-item b { padding-top: 2px; }
.drawer-empty { color: var(--muted); padding: 24px 0; text-align: center; }
.mini-info > span { display: block; }
.trust-strip.bg-grey { background: var(--bg); }
