/* ==========================================================================
   Timely CarePlus KE Ltd — Stylesheet
   Brand: Deep Navy #083247 | Healthcare Green #0B9439 | Bright Lime #9FEA3B
         Soft Green #91D1A2 | White #FFFFFF
   No gradients. Solid, professional healthcare palette.
   ========================================================================== */

:root {
  --navy: #083247;
  --navy-800: #0a3f59;
  --navy-700: #0c4d6e;
  --green: #0B9439;
  --green-700: #0a7f30;
  --lime: #9FEA3B;
  --soft-green: #91D1A2;
  --soft-green-50: #eaf6ee;
  --soft-green-100: #d9efdf;
  --white: #FFFFFF;
  --ink: #0f2a38;
  --muted: #5b7280;
  --line: #e3eaee;
  --bg-soft: #f4f8f5;
  --wa: #25D366;
  --wa-700: #1da851;
  --shadow-sm: 0 1px 2px rgba(8, 50, 71, 0.06), 0 1px 3px rgba(8, 50, 71, 0.04);
  --shadow: 0 4px 14px rgba(8, 50, 71, 0.08), 0 2px 6px rgba(8, 50, 71, 0.05);
  --shadow-lg: 0 18px 40px rgba(8, 50, 71, 0.12), 0 6px 14px rgba(8, 50, 71, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 72px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: -0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: var(--radius-pill);
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; text-align: center; line-height: 1;
}
.btn svg { flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--block { display: flex; width: 100%; }
.btn--sm { padding: 9px 14px; font-size: 0.85rem; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }

.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(11, 148, 57, 0.28); }
.btn--green:hover { background: var(--green-700); box-shadow: 0 10px 22px rgba(11, 148, 57, 0.34); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); box-shadow: var(--shadow); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28); }
.btn--wa:hover { background: var(--wa-700); box-shadow: 0 10px 22px rgba(37, 211, 102, 0.34); }

.btn--outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--green); color: var(--green); }

.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn--outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-link-danger { color: #c0392b; font-weight: 600; font-size: 0.85rem; padding: 4px 6px; border-radius: 6px; }
.btn-link-danger:hover { background: #fdecea; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: 0.92rem; }
.link-arrow span { transition: transform .2s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 0.82rem; max-width: 100vw; overflow: hidden; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; min-width: 0; }
.topbar__msg { opacity: 0.92; }
.topbar__links { display: flex; gap: 18px; align-items: center; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; opacity: 0.95; }
.topbar__links a:hover { color: var(--lime); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 100vw; overflow: hidden; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; min-width: 0; }
.header .brand { align-self: stretch; height: 100%; min-width: 0; overflow: hidden; flex: 1 1 auto; }
.header .brand-logo { height: 100%; max-height: none; width: auto; max-width: 100%; object-fit: contain; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  height: 100%;
  width: auto;
  max-height: 56px;
  display: block;
  object-fit: contain;
}
.brand-logo-footer {
  max-height: 72px;
  margin-bottom: 14px;
}
.brand-logo--confirm { max-height: 64px; }
.brand-logo--confirm { max-height: 36px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 9px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem; color: var(--ink); transition: background .15s, color .15s; }
.nav__link:hover { background: var(--soft-green-50); color: var(--green); }
.nav__link.is-active { color: var(--green); background: var(--soft-green-50); }
.nav__cta { margin-left: 8px; }
.nav__cta--wa { background: var(--wa); color: #fff; padding: 9px 16px; }
.nav__cta--wa:hover { background: var(--wa-700); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-pill); color: var(--navy); background: var(--soft-green-50); transition: background .15s, color .15s; }
.cart-btn:hover { background: var(--soft-green-100); color: var(--green); }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }
.cart-btn__count:empty { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--soft-green-50); }
.nav-toggle span { width: 20px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; padding: 64px 0 96px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--lime); background: rgba(159, 234, 59, 0.12); padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(159, 234, 59, 0.25); }
.hero__eyebrow-icon { width: 20px; height: 20px; border-radius: 4px; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; margin: 18px 0 16px; font-weight: 800; }
.hero__title .hl { color: var(--lime); }
.hero__lead { font-size: 1.1rem; color: rgba(255,255,255,0.86); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-pill); padding: 8px 14px; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.9); transition: background .2s var(--ease), border-color .2s var(--ease); }
.trust-chip:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); }
.trust-chip__icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(159,234,59,0.16); color: var(--lime); flex-shrink: 0; }
.trust-chip__text { white-space: nowrap; }

.hero__media { position: relative; max-width: 460px; margin-left: auto; }
.hero__img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; display: block; }
.hero__media-badge { position: absolute; left: -16px; bottom: 28px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg); }
.hero__media-badge-icon { color: var(--green); flex-shrink: 0; display: inline-flex; }
.hero__media-badge strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 0.95rem; }
.hero__media-badge span { font-size: 0.82rem; color: var(--muted); }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero__wave svg { width: 100%; height: 70px; }

/* ---------- Stats strip ---------- */
.stats { background: #fff; padding: 0 0 20px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: -28px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 14px 8px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); line-height: 1; }
.stat__label { font-size: 0.76rem; color: var(--muted); line-height: 1.2; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--top { padding-top: 56px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.section__sub { color: var(--muted); margin-top: 10px; max-width: 620px; }
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }

.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.eyebrow--light { color: var(--lime); }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--soft-green); }

.product-card__media { position: relative; display: block; background: var(--soft-green-50); aspect-ratio: 4 / 3; overflow: hidden; }
.product-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(8,50,71,0.02); opacity: 0; transition: opacity .2s; }
.product-card:hover .product-card__media::after { opacity: 1; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.product-card:hover .product-card__img { transform: scale(1.05); }
.product-card__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; background: var(--navy); color: #fff; padding: 4px 9px; border-radius: var(--radius-pill); }
.tag:nth-child(2) { background: var(--green); }

.product-card__body { display: flex; flex-direction: column; padding: 18px; flex: 1; }
.product-card__title { font-size: 1.02rem; margin-bottom: 6px; }
.product-card__title a:hover { color: var(--green); }
.product-card__desc { font-size: 0.88rem; color: var(--muted); flex: 1; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__price { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--navy); margin-bottom: 14px; }
.product-card__actions { display: flex; flex-direction: row; gap: 8px; align-items: stretch; }
.product-card__actions .btn--icon-only {
  flex: 0 0 auto;
  width: auto;
  min-width: 42px;
  padding: 9px;
  white-space: nowrap;
}
.product-card__actions .btn--wa {
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding: 9px 8px;
  font-size: 0.8rem;
  gap: 5px;
}
.product-card__actions .btn svg { flex-shrink: 0; }

.add-cart-form { flex: 0 0 auto; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.services-grid--detailed { grid-template-columns: repeat(2, 1fr); }
.service-card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--soft-green); }
.service-card__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; background: var(--soft-green-50); border-radius: var(--radius); }
.service-card h3 { font-size: 1.12rem; }
.service-card p { font-size: 0.9rem; color: var(--muted); }
.service-card--full { padding: 0; overflow: hidden; }
.service-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-green-50); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__media .service-card__icon { position: absolute; bottom: -20px; left: 20px; width: 48px; height: 48px; background: #fff; box-shadow: var(--shadow); border: 3px solid #fff; }
.service-card__media--full { aspect-ratio: 16 / 9; }
.service-card__media--full .service-card__icon { width: 52px; height: 52px; bottom: -24px; left: 24px; }
.service-card--img .service-card__body { padding-top: 32px; }
.service-points { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 12px; }
.service-points li { display: flex; gap: 8px; font-size: 0.9rem; color: var(--ink); }
.service-points span { color: var(--green); font-weight: 700; }

.services-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.services-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Why choose us ---------- */
.why { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.why__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-lg); }
.why__img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.why__stats { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; z-index: 2; }
.why__stats div { background: rgba(8, 50, 71, 0.82); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 14px; backdrop-filter: blur(4px); }
.why__stats strong { display: block; color: var(--lime); font-family: var(--font-head); font-size: 1.05rem; }
.why__stats span { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.why__list { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 28px; }
.why__list li { display: flex; gap: 14px; }
.why__check { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.why__list strong { display: block; color: var(--navy); font-family: var(--font-head); }
.why__list p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee-scroll 60s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); flex: 0 0 340px; max-width: 340px; }
.testimonial__stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { font-size: 0.95rem; color: var(--ink); margin-bottom: 16px; }
.testimonial figcaption { display: flex; flex-direction: column; }
.testimonial figcaption strong { color: var(--navy); font-family: var(--font-head); }
.testimonial figcaption span { font-size: 0.85rem; color: var(--muted); }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Page hero ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero--sm { padding: 40px 0 32px; }
.page-hero--image { background-image: var(--hero-img); background-size: cover; background-position: center; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: rgba(8, 50, 71, 0.78); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.85); margin-top: 10px; max-width: 620px; }

/* ---------- Shop layout ---------- */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.shop-count { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.filter-pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; color: var(--ink); transition: all .15s var(--ease); white-space: nowrap; }
.filter-pill:hover { border-color: var(--soft-green); background: var(--soft-green-50); color: var(--green); }
.filter-pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-pill.is-active .filter-pill__count { background: var(--lime); color: var(--navy); }
.filter-pill__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--soft-green-50); color: var(--navy); font-size: 0.72rem; font-weight: 700; font-family: var(--font-head); }
.filter-pill__label { line-height: 1; }

.empty-state { text-align: center; padding: 60px 20px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.empty-state__img { width: 100%; max-width: 400px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.empty-state__icon { display: inline-flex; color: var(--soft-green); margin-bottom: 12px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 20px; }
.empty-state__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Product detail ---------- */
.product-detail { padding: 36px 0 64px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--line); }
.breadcrumb > span:last-child { color: var(--ink); font-weight: 600; }

.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail__media { display: block; background: var(--soft-green-50); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; position: relative; }
.product-detail__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail__tags { position: absolute; top: 20px; left: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.product-detail__info h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 8px 0 14px; }
.product-detail__price { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--green); margin-bottom: 16px; }
.product-detail__desc { color: var(--ink); margin-bottom: 24px; }
.product-detail__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.product-detail__form { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; flex: 1 1 100%; }
.product-detail__btns { display: flex; gap: 12px; flex: 1 1 100%; }
.product-detail__btns > * { flex: 1 1 0; min-width: 0; }
.product-detail__assurance { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.product-detail__assurance li { display: flex; align-items: center; gap: 8px; }
.product-detail__assurance a { color: var(--green); font-weight: 600; }

.related { margin-top: 56px; }
.related .section__title { font-size: 1.5rem; margin-bottom: 24px; }

/* ---------- Quantity control ---------- */
.qty-control { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; background: #fff; }
.qty-btn { width: 38px; height: 42px; font-size: 1.2rem; color: var(--navy); background: #fff; transition: background .15s; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--soft-green-50); color: var(--green); }
.qty-input { width: 48px; height: 42px; text-align: center; border: none; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); font-weight: 600; color: var(--navy); -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-control--sm .qty-btn { width: 32px; height: 36px; font-size: 1rem; }
.qty-control--sm .qty-input { height: 36px; width: 42px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-table th { text-align: left; font-family: var(--font-head); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 14px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.cart-table td { padding: 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-table__product strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1rem; }
.cart-table__tags { font-size: 0.8rem; color: var(--muted); }
.cart-remove { display: inline; }
.cart-update { margin-top: 16px; }

.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 14px; }
.cart-summary h2 { font-size: 1.15rem; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.cart-summary__row--muted { color: var(--muted); }
.cart-summary__total { padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.cart-summary__wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--wa); font-weight: 600; font-size: 0.9rem; padding: 8px; }
.cart-summary__wa:hover { color: var(--wa-700); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.form__title { font-size: 1.25rem; margin-bottom: 4px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row { display: flex; flex-direction: column; gap: 6px; }
.form__row label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form__row input, .form__row textarea { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.form__row input:focus, .form__row textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(11,148,57,0.12); }
.form__fieldset { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__fieldset legend { font-weight: 600; font-size: 0.9rem; color: var(--navy); padding: 0 8px; }
.radio-card { cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card__body { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, background .15s; }
.radio-card input:checked + .radio-card__body { border-color: var(--green); background: var(--soft-green-50); }
.radio-card__body strong { color: var(--navy); font-family: var(--font-head); }
.radio-card__body small { color: var(--muted); }
.form__note { font-size: 0.82rem; color: var(--muted); text-align: center; }
.checkout-submit { margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-list__icon--green { background: var(--green); }
.contact-list__icon--wa { background: var(--wa); }
.contact-list__icon--navy { background: var(--navy); font-size: 1.3rem; }
.contact-list strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 0.95rem; }
.contact-list a { color: var(--green); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-hours { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; }
.contact-hours h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contact-hours p { font-size: 0.9rem; color: var(--muted); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 16px; }
.alert--success { background: var(--soft-green-50); border: 1px solid var(--soft-green); color: var(--green-700); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.form--checkout { padding: 30px; }
.cart-summary--checkout { position: sticky; top: calc(var(--header-h) + 16px); }
.checkout-items { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 10px 0; }
.checkout-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.checkout-items__name { color: var(--ink); }
.checkout-help { padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.checkout-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; margin-top: 6px; }

/* ---------- Order confirmation ---------- */
.confirm { text-align: center; max-width: 560px; padding: 60px 20px; }
.confirm__check { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; align-items: center; justify-content: center; font-size: 2.2rem; margin-bottom: 18px; box-shadow: 0 10px 24px rgba(11,148,57,0.3); }
.confirm h1 { font-size: 2rem; margin-bottom: 12px; }
.confirm__lead { color: var(--muted); margin-bottom: 28px; }
.confirm__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.confirm__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.85rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-lg); }
.about__img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.about__badge { position: absolute; left: 20px; bottom: 20px; z-index: 2; background: rgba(8, 50, 71, 0.82); border-radius: var(--radius); padding: 14px 20px; backdrop-filter: blur(4px); font-family: var(--font-head); }
.about__badge strong { display: block; color: var(--lime); font-size: 1.25rem; }
.about__badge span { color: rgba(255,255,255,0.85); font-size: 0.9rem; }
.about__content p { color: var(--muted); margin-bottom: 16px; }
.about__content strong { color: var(--navy); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card__icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: var(--soft-green-50); border-radius: 50%; margin-bottom: 16px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; z-index: 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(11, 148, 57, 0.72); z-index: 1; }
.cta-band__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band__text h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band__text p { color: rgba(255,255,255,0.9); margin-top: 6px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer__brand .brand { margin-bottom: 16px; }
.footer__tagline { color: var(--lime); font-family: var(--font-head); font-weight: 600; }
.footer__sub { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 4px; }
.footer__col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col a { font-size: 0.9rem; color: rgba(255,255,255,0.75); transition: color .15s; }
.footer__col a:hover { color: var(--lime); }
.footer__contact li a { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer__credit { color: var(--lime); font-family: var(--font-head); font-weight: 600; }

/* ---------- Floating action buttons ---------- */
.fab-group { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab--wa { background: var(--wa); }
.fab--call { background: var(--navy); width: 48px; height: 48px; }
.fab--wa::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 14px 20px; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; z-index: 120; opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease); font-size: 0.9rem; }
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast__link { color: var(--lime); font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { max-width: 100%; margin-left: 0; max-height: 420px; }
  .hero__img { max-height: 420px; }
  .hero__media-badge { left: 16px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat { padding: 12px 8px; }
  .stat__value { font-size: 1.15rem; }
  .stat__label { font-size: 0.72rem; }
  .why { grid-template-columns: 1fr; gap: 32px; }
  .why__media { min-height: 280px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__media { min-height: 280px; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .brand-logo { max-height: 44px; }
  .header .brand-logo { max-height: none; }
  .header__actions { gap: 8px; flex-shrink: 0; }
  .brand-logo-footer { max-height: 56px; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; gap: 4px; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; height: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav__cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: flex; }
  .topbar__msg { display: none; }
  .topbar__inner { justify-content: flex-end; }

  .shop-layout { grid-template-columns: 1fr; }
  .filter-bar { gap: 8px; }
  .filter-pill { padding: 8px 12px 8px 10px; font-size: 0.82rem; }
  .filter-pill__count { min-width: 20px; height: 20px; font-size: 0.68rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card__body { padding: 14px; }
  .product-card__title { font-size: 0.95rem; margin-bottom: 4px; line-height: 1.25; }
  .product-card__desc { font-size: 0.8rem; margin-bottom: 10px; -webkit-line-clamp: 2; }
  .product-card__price { font-size: 1.05rem; margin-bottom: 10px; }
  .product-card__actions { gap: 6px; }
  .product-card__actions .btn--icon-only { min-width: 38px; padding: 7px; }
  .product-card__actions .btn--wa { font-size: 0.74rem; padding: 7px 6px; gap: 4px; }
  .tag { font-size: 0.6rem; padding: 3px 7px; }
  .services-grid--detailed { grid-template-columns: 1fr; }
  .product-detail__grid { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .cart-summary--checkout { position: static; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .testimonial { flex: 0 0 280px; max-width: 280px; }
}

@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .hero { padding: 44px 0 84px; }
  .hero__title { font-size: 2rem; }
  .hero__media { max-height: 340px; }
  .hero__img { max-height: 340px; }
  .hero__media-badge { left: 12px; bottom: 16px; padding: 10px 14px; }
  .brand-logo { max-height: 38px; }
  .header .brand-logo { max-height: none; }
  .header__actions { gap: 6px; }
  .cart-btn, .nav-toggle { width: 40px; height: 40px; }
  .brand-logo-footer { max-height: 48px; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; white-space: normal; text-align: center; line-height: 1.25; font-size: 0.85rem; padding: 12px 10px; gap: 6px; }
  .hero__actions .btn svg { flex-shrink: 0; }
  .trust-chip { padding: 7px 11px; font-size: 0.76rem; gap: 6px; }
  .trust-chip__icon { width: 22px; height: 22px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: -20px; }
  .stat { padding: 10px 6px; }
  .stat__value { font-size: 1.05rem; }
  .stat__label { font-size: 0.68rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; margin-inline: -16px; width: calc(100% + 32px); }
  .service-card { border-radius: var(--radius-sm); }
  .service-card__body { padding: 12px 10px 14px; }
  .service-card__body h3 { font-size: 0.88rem; }
  .service-card__body p { font-size: 0.76rem; line-height: 1.4; }
  .service-card__media .service-card__icon { width: 36px; height: 36px; bottom: -16px; left: 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; margin-inline: -16px; width: calc(100% + 32px); }
  .product-card { border-radius: var(--radius-sm); }
  .product-card__body { padding: 10px; }
  .product-card__title { font-size: 0.86rem; margin-bottom: 3px; line-height: 1.25; }
  .product-card__desc { font-size: 0.74rem; margin-bottom: 8px; line-height: 1.4; }
  .product-card__price { font-size: 0.92rem; margin-bottom: 8px; }
  .product-card__actions { gap: 5px; }
  .product-card__actions .btn--icon-only { min-width: 34px; padding: 6px; }
  .product-card__actions .btn--wa { font-size: 0.68rem; padding: 6px 5px; gap: 3px; }
  .tag { font-size: 0.56rem; padding: 2px 6px; }

  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; padding: 8px; }
  .cart-table td { border-bottom: none; padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .cart-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 0.8rem; }
  .cart-table td[data-label]::before { display: block; }
  .cart-table__product { display: block; }
  .cart-table__product::before { display: none; }
  .cart-table td:last-child { justify-content: center; }
  .cart-table td:not([data-label])::before { display: none; }

  .form__grid, .form__fieldset { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .fab-group { right: 14px; bottom: 14px; }
  .fab--wa { width: 52px; height: 52px; }
  .fab--wa::after { width: 52px; height: 52px; }
  .product-detail__form { flex-direction: column; align-items: stretch; }
  .product-detail__btns { flex-direction: row; }
  .section__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .stat { padding: 8px 4px; }
  .stat__value { font-size: 0.95rem; }
  .stat__label { font-size: 0.62rem; }
  .cart-btn, .nav-toggle { width: 36px; height: 36px; }
  .header__actions { gap: 4px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .fab--wa::after { display: none; }
  .marquee__track { animation: none !important; transform: none !important; width: 100%; flex-wrap: wrap; justify-content: center; }
  .testimonial { flex: 0 0 300px; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .header, .fab-group, .cta-band, .toast, .nav-toggle { display: none; }
  body { color: #000; }
}
