/* Cessnock Labs: site styles (Bootstrap 5 + this file)
   Brand colours and fonts are set in :root. Change them here to re-theme. */

:root {
  --ink: #0e1a13;
  --ink-2: #16261c;
  --ink-line: #254030;
  --accent: #5ed31f;        /* logo green, for dark backgrounds */
  --accent-deep: #2f7a14;   /* green for text on white */
  --white: #ffffff;
  --light: #f1f5ee;
  --line: #dce5d6;
  --text: #1c241f;
  --muted: #56635a;
  --muted-dark: #a3b3a8;

  --font-head: "Red Hat Display", "Segoe UI", Arial, sans-serif;
  --font-body: "Red Hat Text", "Segoe UI", Arial, sans-serif;
  --radius: 12px;
}

/* Base */
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); font-size: 1.075rem; line-height: 1.65; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.005em; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
h3 { font-size: 1.3rem; }
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); }

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 4rem) 0; }
.bg-light-c { background: var(--light); }
.bg-ink { background: var(--ink); color: #e6e6e3; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.text-muted-c { color: var(--muted); }
.bg-ink .text-muted-c { color: var(--muted-dark); }
.label {
  display: block; font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .75rem;
}
.bg-ink .label, .on-image .label { color: var(--accent); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 1rem 0 0; }
.bg-ink .section-head p { color: var(--muted-dark); }
.rule { width: 48px; height: 3px; background: var(--accent); border: 0; opacity: 1; margin: 0 0 1.25rem; }

/* Buttons */
.btn-c {
  display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-c svg { width: 17px; height: 17px; }
.btn-dark-c { background: var(--ink); color: #fff; }
.btn-dark-c:hover { background: #000; color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #7fe34a; color: var(--ink); }
.btn-outline-light-c { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light-c:hover { background: #fff; color: var(--ink); }
.btn-outline-c { border-color: var(--ink); color: var(--ink); }
.btn-outline-c:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #1e8e4d; color: #fff; }
.btn-wa:hover { background: #17733e; color: #fff; }

/* Top bar */
.topbar { background: var(--ink); color: var(--muted-dark); font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.topbar a { color: #d9d9d6; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar .items { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; margin-right: .35rem; vertical-align: -2px; color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .35); }
.site-header .navbar { padding: .9rem 0; }
.brand-logo { display: block; width: 62px; color: var(--ink); }
.lg-dark { fill: #111; } .lg-green { fill: #4dd500; }
.site-footer .lg-dark { fill: #fff; }
.brand-logo svg { width: 100%; height: auto; display: block; }
.site-header .nav-link { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); padding: .5rem 1.05rem !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--accent-deep); }
.site-header .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius); padding: .4rem; box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .35); }
.site-header .dropdown-item { font-weight: 500; padding: .55rem .9rem; border-radius: 4px; }
.site-header .dropdown-item:hover { background: var(--light); color: var(--accent-deep); }
.navbar-toggler { border: 1px solid var(--line); }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) { .site-header .navbar-collapse { padding: 1rem 0; } .site-header .btn-c { margin-top: .5rem; } }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 20, 13, .9) 0%, rgba(8, 20, 13, .62) 50%, rgba(8, 20, 13, .2) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 5rem; padding-bottom: 5rem; }
.hero h1 { color: #fff; max-width: 15em; }
.hero p { font-size: 1.2rem; color: #d7d7d4; max-width: 36rem; margin: 1.25rem 0 2rem; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; z-index: 3; margin-top: -60px; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .4); }
.fact { padding: 1.75rem 1.5rem; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--font-head); font-size: 2.1rem; color: var(--ink); line-height: 1; }
.fact span { display: block; color: var(--muted); margin-top: .5rem; font-size: .98rem; }
@media (max-width: 767.98px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Page banner (inner pages) */
.page-banner { position: relative; padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 6vw, 5rem); color: #fff; background: var(--ink); overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 20, 13, .88), rgba(8, 20, 13, .45)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin: 0; }
.page-banner p { color: #d7d7d4; font-size: 1.15rem; max-width: 40rem; margin: 1rem 0 0; }
.crumbs { font-size: .92rem; color: #bdbdb9; margin-bottom: 1rem; }
.crumbs a { color: #bdbdb9; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 .45rem; }

/* Images */
.img-frame { border-radius: var(--radius); overflow: hidden; background: var(--light); }
.img-frame img, .img-frame video, .img-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-1 { aspect-ratio: 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.img-stack { position: relative; padding: 0 0 3rem 3rem; }
.img-stack .small { position: absolute; left: 0; bottom: 0; width: 46%; border: 6px solid #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4); }

/* Product cards (home) */
.p-card { display: block; text-decoration: none; color: var(--text); height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.p-card:hover { border-color: var(--accent-deep); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .45); color: var(--text); }
.p-card .img { aspect-ratio: 1; overflow: hidden; background: var(--light); }
.p-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .img img { transform: scale(1.03); }
.p-card .txt { padding: 1.4rem 1.4rem 1.5rem; }
.p-card .cat { font-size: .82rem; font-weight: 600; color: var(--accent-deep); text-transform: uppercase; letter-spacing: .08em; }
.p-card h3 { margin: .4rem 0 .5rem; font-size: 1.22rem; }
.p-card p { color: var(--muted); margin: 0 0 1rem; font-size: 1rem; }
/* Horizontal product scroller (home) */
.p-scroll-wrap { position: relative; }
.p-scroll { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--accent-deep) var(--line); -webkit-overflow-scrolling: touch; }
.p-scroll:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; }
.p-slide { flex: 0 0 calc((100% - 3rem) / 3.2); min-width: 260px; scroll-snap-align: start; }
@media (max-width: 767.98px) { .p-slide { flex-basis: 78%; } }
.p-scroll-ctl { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.p-scroll-ctl button { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.p-scroll-ctl button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.p-scroll-ctl button:disabled { opacity: .35; cursor: default; }
.p-scroll-ctl svg { width: 20px; height: 20px; }
.p-scroll-ctl .pp { margin-right: auto; }
.p-scroll-ctl .pp svg { width: 16px; height: 16px; }
.p-scroll-ctl .i-play { display: none; }
.p-scroll-ctl .pp.is-paused .i-play { display: block; }
.p-scroll-ctl .pp.is-paused .i-pause { display: none; }
.p-card .more { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); }
.p-card:hover .more { color: var(--accent-deep); }

/* Parallax band */
.parallax { position: relative; padding: clamp(6rem, 14vw, 10rem) 0; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; }
.parallax::before { content: ""; position: absolute; inset: 0; background: rgba(8, 20, 13, .72); }
.parallax .container { position: relative; z-index: 1; }
.parallax h2 { color: #fff; max-width: 18em; }
.parallax p { color: #dcdcd8; font-size: 1.15rem; max-width: 38rem; margin: 1rem 0 2rem; }
@media (hover: none), (max-width: 991.98px) { .parallax { background-attachment: scroll; } }

/* Strengths */
.strength { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; }
.strength .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.25rem; }
.strength .ic svg { width: 24px; height: 24px; }
.strength h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.strength p { color: var(--muted); margin: 0; }

/* Video */
.video-box { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.video-box img, .video-box video, .video-box iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-box .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; border: 0; transition: transform .2s; }
.video-box .play:hover { transform: scale(1.06); }
.video-box .play svg { width: 28px; margin-left: 4px; }
.video-cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--muted-dark); font-size: .98rem; }

/* Dosage forms */
.forms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.form-tile { text-align: center; padding: 1.75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.form-tile svg { width: 46px; height: 46px; color: var(--accent-deep); margin-bottom: .9rem; stroke-width: 1.6; }
.form-tile h3 { font-size: 1.05rem; margin: 0; }
a.form-tile { display: block; color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.form-tile:hover, a.form-tile:focus-visible { border-color: var(--accent-deep); box-shadow: 0 16px 40px -22px rgba(0, 0, 0, .35); }
@media (max-width: 767.98px) { .forms { grid-template-columns: repeat(2, 1fr); } .form-tile:last-child { grid-column: span 2; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--light); }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* CTA */
.cta { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(2.25rem, 5vw, 3.5rem); border-top: 5px solid var(--accent); }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.cta p { color: var(--muted-dark); margin: .75rem 0 0; }

/* Check list */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ed31f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* About */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; }
.founder.solo { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 767.98px) { .founder { grid-template-columns: 1fr; } }
.mv { padding: 2.25rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); height: 100%; }
.mv h3 { margin-bottom: .75rem; }
.mv p { color: var(--muted); margin: 0; font-size: 1.1rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; counter-reset: s; }
.steps > div { border-top: 3px solid var(--accent); padding-top: 1.25rem; counter-increment: s; }
.steps > div::before { content: "Step " counter(s); display: block; font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { color: var(--muted-dark); margin: 0; font-size: .98rem; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }
.reg { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; }
.reg .k { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.reg .v { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); margin-top: .35rem; word-break: break-word; }
.reg p { color: var(--muted); margin: .4rem 0 0; font-size: .98rem; }

/* Products page */
.p-nav { position: sticky; top: var(--hh, 76px); z-index: 1020; background: #fff; border-bottom: 1px solid var(--line); }
.p-nav .pn-list { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.p-nav a { white-space: nowrap; padding: 1rem 1.1rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.p-nav a:hover, .p-nav a.active { color: var(--ink); border-color: var(--accent); }
.pn-toggle, .pn-sheet-h, .pn-back, .pn-i, .pn-t small { display: none; }
.product + .product { border-top: 1px solid var(--line); }
.product:nth-of-type(even) { background: var(--light); }
.pg-main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--light); border: 1px solid var(--line); }
.pg-main img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: .75rem; }
.pg-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--light); }
.pg-thumbs button.active, .pg-thumbs button:hover { border-color: var(--accent-deep); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-sub { color: var(--accent-deep); font-weight: 600; font-size: 1.1rem; margin-top: -.25rem; }
.p-h { font-family: var(--font-head); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin: 1.75rem 0 .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .45rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; font-weight: 600; font-size: .95rem; }
.chip i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.chip.plain { padding: .4rem .95rem; }
.comp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.comp th, .comp td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.comp thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.comp td:last-child, .comp th:last-child { text-align: right; }
.comp .tbu { color: var(--muted); font-style: italic; }
/* Product groups with variants */
.group-head { margin-bottom: 2rem; }
.variant { height: 100%; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1.25rem; }
.variant h3 { font-size: 1.3rem; margin: .5rem 0 0; }
.variant .p-sub { margin: 0; font-size: .95rem; line-height: 1.4; }
.variant .p-h { margin: .75rem 0 .5rem; }
.variant .pg-thumbs { gap: .5rem; margin-top: .5rem; }
.variant .comp th, .variant .comp td { padding: .55rem .75rem; font-size: .95rem; }
.comp-nutri { max-width: 760px; }
.comp-nutri .comp th, .comp-nutri .comp td { padding: .45rem .9rem; font-size: .95rem; }
.comp-nutri .comp td:nth-child(2), .comp-nutri .comp th:nth-child(2) { text-align: right; }
.small-note { font-size: .93rem; color: var(--muted); margin-top: .75rem; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.use-grid div { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.use-grid h4 { font-size: 1.02rem; margin-bottom: .4rem; }
.use-grid p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 767.98px) { .use-grid { grid-template-columns: 1fr; } }

/* Contact */
.c-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.c-item:last-child { border-bottom: 0; }
.c-item .ic { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.c-item .ic svg { width: 20px; }
.c-item small { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.c-item span { font-weight: 600; font-size: 1.05rem; }
a.c-item:hover span { color: var(--accent-deep); }
.form-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-label { font-weight: 600; font-size: .95rem; }
.form-control, .form-select { border: 1px solid #d6d2c8; border-radius: var(--radius); padding: .75rem .95rem; font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 .2rem rgba(94, 211, 31, .3); }
.hp-field { position: absolute; left: -9999px; }
.form-alert { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; margin-bottom: 1.2rem; }
.form-alert.ok { background: #e8f4ec; color: #1b6a39; }
.form-alert.err { background: #fbeaea; color: #8e2a2a; }
.form-alert.show { display: block; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c4c5c3; padding: 4.5rem 0 1.75rem; }
.site-footer .brand-logo { width: 84px; margin-bottom: 1.25rem; }
.site-footer h5 { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #c4c5c3; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.disclaimer { font-size: .9rem; color: var(--muted-dark); border-top: 1px solid var(--ink-line); margin-top: 3rem; padding-top: 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .9rem; color: var(--muted-dark); margin-top: 1rem; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); }
.wa-float:hover { color: #fff; }
.wa-float svg { width: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 575.98px) { .container { padding-left: 1.25rem; padding-right: 1.25rem; } }
@media (max-width: 575.98px) { .fact { padding: 1.25rem 1rem; } .fact strong { font-size: 1.6rem; } .img-stack { padding: 0 0 2rem 1.5rem; } }

/* Products page on phones: group picker sheet, swipe decks, collapsed composition */
.comp-d { margin-top: .75rem; }
.comp-d summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-family: var(--font-head); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); padding: .25rem 0 .75rem; }
.comp-d summary::-webkit-details-marker { display: none; }
.comp-d summary::after { content: ""; width: 9px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.comp-d[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.comp-d summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.v-count { display: none; }
html.pn-lock { overflow: hidden; }
@media (max-width: 767.98px) {
  html { scroll-padding-top: calc(var(--hh, 100px) + 64px); }
  /* group picker: one slim sticky bar, the groups open in a bottom sheet */
  .p-nav .container { padding-top: 0; padding-bottom: 0; }
  .pn-toggle { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .7rem 0; background: none; border: 0; text-align: left; color: var(--ink); cursor: pointer; min-height: 56px; }
  .pn-toggle .pn-k { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-right: 1px solid var(--line); padding-right: .75rem; line-height: 1.2; }
  .pn-toggle .pn-cur { flex: 1; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
  .pn-toggle svg { width: 22px; height: 22px; flex: none; transition: transform .2s; }
  .p-nav.open .pn-toggle svg { transform: rotate(180deg); }
  .pn-back { display: block; position: fixed; inset: 0; background: rgba(14, 26, 19, .55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 1090; }
  .p-nav.open { z-index: 1200; }
  .p-nav.open .pn-back { opacity: 1; visibility: visible; }
  .p-nav .pn-list { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; max-height: 82vh; overflow-y: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 0 1.25rem calc(1rem + env(safe-area-inset-bottom)); transform: translateY(104%); visibility: hidden; transition: transform .3s ease, visibility .3s; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .45); }
  .p-nav.open .pn-list { transform: none; visibility: visible; }
  .pn-sheet-h { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 1.1rem 0 .8rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
  .pn-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: var(--ink); }
  .pn-x svg { width: 22px; height: 22px; }
  .p-nav .pn-list a { display: grid; grid-template-columns: 56px 1fr 18px; align-items: center; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; font-size: 1rem; color: var(--ink); min-height: 72px; }
  .p-nav .pn-list a:last-child { border-bottom: 0; }
  .p-nav .pn-list a::after { content: ""; width: 9px; height: 9px; border: solid var(--muted); border-width: 2px 2px 0 0; transform: rotate(45deg); justify-self: end; margin-right: 4px; }
  .p-nav .pn-list a.active { color: var(--accent-deep); border-color: var(--line); }
  .p-nav .pn-list a.active::after { border-color: var(--accent-deep); }
  .pn-i { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--light); border: 1px solid var(--line); color: var(--accent-deep); }
  .pn-i img { width: 100%; height: 100%; object-fit: cover; }
  .pn-i svg { width: 26px; height: 26px; }
  .pn-t { display: block; font-family: var(--font-head); font-weight: 700; line-height: 1.25; }
  .pn-t small { display: block; margin-top: .15rem; font-family: var(--font-body, inherit); font-weight: 400; font-size: .88rem; color: var(--muted); }
  /* group header: tighter */
  .product.section { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .product .d-flex.flex-wrap.gap-3 { gap: .6rem !important; }
  .product .d-flex.flex-wrap.gap-3 .btn-c { flex: 1 1 auto; justify-content: center; padding: .8rem 1rem; font-size: .95rem; text-align: center; }
  /* variants become a swipe deck with a peek of the next card */
  .v-track { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin: 0 -1.25rem; padding: 0 1.25rem .5rem; --bs-gutter-x: 0; --bs-gutter-y: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-left: 1.25rem; }
  .v-track::-webkit-scrollbar { display: none; }
  .v-track > * { flex: 0 0 84%; width: 84%; max-width: 84%; padding: 0; margin: 0; scroll-snap-align: start; }
  .v-track > :only-child { flex-basis: 100%; width: 100%; max-width: 100%; }
  .v-count { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; font-size: .88rem; color: var(--muted); }
  .v-count .v-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
  .v-count .v-bar i { display: block; height: 100%; width: 0; background: var(--accent-deep); border-radius: 3px; transition: width .2s; }
  .v-count b { color: var(--ink); font-weight: 700; }
  .variant { padding: .8rem .8rem 1.1rem; }
  /* usage notes: one joined card instead of three */
  .use-grid { gap: 0; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
  .use-grid div { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); padding: 1rem 1.1rem; }
  .use-grid div:last-child { border-bottom: 0; }
}
