/* ==========================================================================
   KLINIK AMISI — main.css
   One stylesheet for the whole mockup. Design system cloned from Lunéra
   (lunerax.webflow.io) per research/tokens.md + components.md + home.md.
   Fonts: Manrope (headings/buttons, free sub for SK Modernist),
          Stack Sans Headline (body) — both loaded via Google Fonts in <head>.

   CONTENTS
   01  Design tokens (:root)
   02  Reset + base typography
   03  Layout: container, section, utilities, grid helpers
   04  Buttons (all variants)
   05  Eyebrow pill + section title block
   06  Header: glass pill nav, cart badge
   07  Mobile menu drawer
   08  Hero
   09  About section (3 image cards + stat)
   10  Service section (sticky horizontal / life stages)
   11  Product card + product grid
   12  Why choose us (Formula Klinik explainer)
   13  Reviews carousel
   14  Pricing cards (light + dark)
   15  Blog / Insights cards
   16  FAQ tabs
   17  Call-to-action band
   18  Footer
   19  Page hero band (inner pages)
   20  Forms: contact style + checkout style
   21  Product detail page
   22  Shop listing: filter chips + grid
   23  Cart drawer, cart page, order summary, toast
   24  About page: why-us grid, doctors, branches
   25  Checkout success page
   26  Marquee
   27  Motion helpers (reveal, split-text masks, reduced motion)
   28  Responsive: 991 / 767 / 479

   --- Added during Astro port (PORT-PLAN.md §5) — page-specific <style>
       blocks from the mockup page heads, selectors unchanged ---
   29  Product detail page
   30  Consult wizard
   31  Cart page
   32  Checkout page
   33  Checkout success page
   34  About page
   35  FAQ page
   ========================================================================== */

/* ==========================================================================
   01  DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- colors --- */
  --bg: #faf9f6;
  --light: #faf9f6;
  --surface: #e8eee1;          /* soft sage card/tag bg (--primary-color) */
  --surface-alt: #f1f4ee;      /* pricing / alt section bg (--gray) */
  --ink: #000000;
  --ink-strong: #010013;
  --text: #444444;
  --muted: #757575;
  --border: #cccccc;
  --border-soft: #d9d9d9;
  --green: #6c8a4d;
  --green-grad: linear-gradient(90deg, #99ae7e, #8ea670 50%, #6f8d4e);
  --white: #ffffff;
  --overlay-hero: rgba(43, 59, 24, 0.5);
  --overlay-glass: rgba(255, 255, 255, 0.1);
  --overlay-chip-border: rgba(255, 255, 255, 0.16);
  --overlay-footer-line: rgba(255, 255, 255, 0.3);

  /* --- typography --- */
  --font-primary: 'Manrope', 'Stack Sans Headline', Arial, sans-serif;
  --font-secondary: 'Stack Sans Headline', 'Manrope', Arial, sans-serif;

  --fs-h1: 72px;
  --fs-h2: 48px;
  --fs-h3: 40px;
  --fs-h4: 24px;
  --fs-h5: 20px;
  --fs-h6: 18px;
  --fs-p: 16px;
  --fs-small: 14px;

  --lh-small: 100%;
  --lh-medium: 120%;
  --lh-large: 140%;
  --lh-xlarge: 160%;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* --- spacing --- */
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 100px;
  --space-9: 120px;
  --space-10: 150px;
  --section-y: 150px;
  --gutter: 50px;

  /* --- shape --- */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 30px;
  --radius-pill: 50px;
  --radius-full: 50%;
  --shadow-soft: 0 2px 8px rgba(99, 99, 99, 0.2);
  --shadow-panel: 0 5px 25px rgba(0, 0, 0, 0.25);
  --blur-glass: blur(30px);

  --container-max: 1500px;
  --container-max-sm: 1000px;
}

/* ==========================================================================
   02  RESET + BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  font-family: var(--font-secondary);
  color: var(--text);
  font-size: var(--fs-p);
  line-height: var(--lh-xlarge);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { scrollbar-gutter: stable; }
body.no-scroll { overflow: hidden; padding-right: var(--sbw, 0px); }

img { display: block; max-width: 100%; height: auto; border: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--ink);
  font-weight: var(--fw-bold);
  line-height: var(--lh-medium);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

.small-paragraph, .text-small { font-size: var(--fs-small); }
.text-medium { font-weight: var(--fw-medium); }
strong, b { font-weight: var(--fw-bold); }

::selection { background: var(--green); color: var(--light); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ==========================================================================
   03  LAYOUT: CONTAINER, SECTION, UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container.small { max-width: var(--container-max-sm); }

.section {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section.pb-zero { padding-bottom: 0; }
.section.pt-zero { padding-top: 0; }
.section.surface { background-color: var(--surface); }
.section.surface-alt { background-color: var(--surface-alt); }
.section.dark { background-color: var(--ink); }

/* colour helpers */
.white { color: var(--light) !important; }
.ink { color: var(--ink) !important; }
.muted { color: var(--text) !important; }
.center { text-align: center; }
.mb-zero { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.is-hidden { display: none !important; }

/* grid helpers */
.grid { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex-row { display: flex; align-items: center; gap: 20px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.stack-20 > * + * { margin-top: 20px; }

/* footnote used under every benefit section (compliance) */
.disclaimer {
  font-size: var(--fs-small);
  color: var(--text);
  opacity: 0.8;
  margin-top: 24px;
}
.disclaimer.white { opacity: 0.7; }

/* small tag/badge */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1px 8px 3px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink);
}
.tag.pill { border-radius: var(--radius-pill); padding: 4px 14px; }
.tag.dark { background-color: var(--ink-strong); color: var(--light); border: 1px solid var(--overlay-chip-border); }
.tag.green { background-color: var(--green); color: var(--light); }

.stars { color: var(--ink); letter-spacing: 2px; }

/* ==========================================================================
   04  BUTTONS
   ========================================================================== */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: clip;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--fs-p);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--light);
  background-color: transparent;
  background-image: var(--green-grad);
  text-align: center;
  transition: transform .3s, background-color .3s, color .3s;
}
.primary-button:active { transform: scale3d(.9, .9, .9); }

.primary-button-flex { display: flex; align-items: center; justify-content: center; gap: 28px; }
.primary-button-text-wrap { position: relative; overflow: hidden; display: inline-block; }
.primary-button-text { display: block; }
.primary-button-arrow-wrapper { width: 14px; height: 14px; overflow: hidden; position: relative; flex: 0 0 14px; }
.primary-button-arrow {
  width: 14px; height: 14px; display: block;
  transition: transform .3s cubic-bezier(.65,.05,.36,1);
}
.primary-button:hover .primary-button-arrow { transform: translateX(4px); }

/* variants */
.primary-button.light { background-image: none; background-color: var(--light); color: var(--ink); }
.primary-button.dark  { background-image: none; background-color: var(--ink); color: var(--light); }
.primary-button.ghost {
  background-image: none; background-color: transparent; color: var(--light);
  border: 1px solid var(--overlay-chip-border);
}
.primary-button.ghost.on-light { color: var(--ink); border-color: var(--border); }
.primary-button.product {
  background-image: none; background-color: var(--light); color: var(--ink); width: 100%;
}
.primary-button.product:hover { background-color: var(--green); color: var(--light); }
.primary-button.blog {
  background-image: none; background-color: var(--light); color: var(--ink); width: 100%;
}
.primary-button.blog:hover { background-color: var(--green); color: var(--light); }
.primary-button.shop { padding: 10px 20px; }
.primary-button.checkout, .primary-button.full { width: 100%; }
.primary-button.sm { padding: 9px 18px; font-size: var(--fs-small); }
.primary-button[disabled] { opacity: .5; pointer-events: none; }

/* char-mask text slide hover (GSAP fills in the clones; CSS keeps it sane without JS) */
.char-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.char-mask > span { display: inline-block; will-change: transform; }

/* icon / circle arrow buttons */
.icon-btn {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background-color: var(--green);
  color: var(--light);
  transition: transform .3s, background-color .3s;
}
.icon-btn:hover { background-color: var(--ink-strong); }
.icon-btn:active { transform: scale3d(.9, .9, .9); }
.icon-btn.round { border-radius: var(--radius-full); }
.icon-btn.soft { background-color: var(--surface); color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }

.cart-button {
  display: inline-flex; align-items: center; gap: 10px;
  background-color: #121212; color: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 30px;
  font-size: var(--fs-small); font-weight: var(--fw-medium);
  transition: transform .3s, background-color .3s;
}
.cart-button:hover { background-color: #757575; }
.cart-button:active { transform: scale3d(.9, .9, .9); }

/* pill selector (sizes / plans) */
.product-size-button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid #aaa;
  background-color: transparent;
  color: var(--text);
  font-size: var(--fs-small); font-weight: var(--fw-medium);
  transition: border-color .3s, background-color .3s, color .3s;
}
.product-size-button:hover,
.product-size-button.active,
.product-size-button[aria-pressed="true"] {
  color: var(--light); background-color: var(--ink-strong); border-color: var(--ink-strong);
}

/* ==========================================================================
   05  EYEBROW PILL + SECTION TITLE BLOCK
   ========================================================================== */
.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--surface);
  border-radius: var(--radius-sm);
  padding: 6px 24px;
  margin-bottom: 16px;
}
.section-subtitle.light { background-color: var(--light); }
.section-subtitle.glass { background-color: var(--overlay-glass); backdrop-filter: var(--blur-glass); }
.section-subtitle-dot {
  width: 9px; height: 9px; border-radius: 2px;
  background-color: var(--text);
  flex: 0 0 9px;
}
.section-subtitle.glass .section-subtitle-dot { background-color: var(--light); }
.section-subtitle-text {
  text-transform: uppercase;
  font-size: var(--fs-small);
  line-height: 1.4;
  color: var(--text);
}
.section-subtitle.glass .section-subtitle-text { color: var(--light); }

.section-title-box { position: relative; margin-bottom: 60px; }
.section-title-box.center { text-align: center; }
.section-title-box.center .section-title { margin-left: auto; margin-right: auto; }
.section-title-box.mb-zero { margin-bottom: 0; }
.section-title { margin-bottom: 0; max-width: 20ch; }
.section-title-box.center .section-title { max-width: 24ch; }
.section-title.wide { max-width: none; }
.section-text { margin-top: 20px; max-width: 60ch; }
.section-title-box.center .section-text { margin-left: auto; margin-right: auto; }

.sectitle-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 60px;
}

/* ==========================================================================
   06  HEADER
   ========================================================================== */
.main-header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 99;
}
.main-header.solid {
  position: relative;
  background-color: var(--ink);
}
.header-main-box {
  display: grid;
  grid-template-columns: .8fr 2fr 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
}
.site-logo-link { display: inline-flex; align-items: center; gap: 10px; }
.site-logo-text {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: var(--fw-bold);
  line-height: 100%;
  color: var(--light);
  letter-spacing: -0.02em;
}
.site-logo-text.dark { color: var(--ink); }
.site-logo-img { display: block; height: 46px; width: auto; }
.site-logo-img.sm { height: 38px; }
.site-logo-img.footer { height: 52px; margin-bottom: 20px; }
@media (max-width: 767px) { .site-logo-img { height: 38px; } .site-logo-img.footer { height: 44px; } }

.header-menu-wrap { display: flex; justify-content: center; }
.header-menu-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 14px 50px;
  border-radius: var(--radius-pill);
  background-color: var(--overlay-glass);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
}
.header-menu-link { position: relative; overflow: clip; }
.header-menu-link-inner { position: relative; overflow: hidden; display: block; }
.header-menu, .header-menu-hover {
  margin: 0;
  color: var(--light);
  font-size: var(--fs-p);
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .4s cubic-bezier(.65,.05,.36,1);
}
.header-menu-hover { position: absolute; inset: 0; transform: translateY(100%); }
.header-menu-link:hover .header-menu { transform: translateY(-100%); }
.header-menu-link:hover .header-menu-hover { transform: translateY(0); }
.header-menu-link[aria-current="page"] .header-menu { text-decoration: underline; text-underline-offset: 6px; }

.header-btn-box { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }

.cart-btn { position: relative; padding: 0; display: inline-flex; color: var(--light); }
.cart-btn svg { width: 24px; height: 24px; }
.shopping-cart-quantity, .cart-count {
  position: absolute; top: -4px; right: -6px;
  min-width: 14px; height: 14px; padding: 0 3px;
  border-radius: var(--radius-pill);
  background-color: var(--light); color: var(--ink);
  font-size: 8px; line-height: 14px; font-weight: var(--fw-medium);
  display: flex; align-items: center; justify-content: center;
}
.cart-count.bump { animation: cart-bump .35s ease; }
@keyframes cart-bump { 0% { transform: scale(1); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }

.menu-open-btn {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background-color: var(--light);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.menu-open-btn svg { width: 20px; height: 20px; }

/* ==========================================================================
   07  MOBILE MENU DRAWER
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; max-width: 320px;
  height: 100vh;
  background-color: var(--light);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform .4s cubic-bezier(.65,.05,.36,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-logo-box {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-link {
  display: block; width: 100%;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: color .3s, background-color .3s;
}
.mobile-menu-link:hover { background-color: var(--surface); }
.mobile-menu-title {
  font-size: 30px; font-weight: var(--fw-medium);
  text-transform: capitalize; line-height: 120%;
  color: var(--ink); margin: 0;
}
.mobile-menu-foot { padding: 24px 20px; margin-top: auto; }
.mobile-menu-foot .primary-button { width: 100%; }

.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 900;
}
.overlay.open { opacity: 1; visibility: visible; }

/* ==========================================================================
   08  HERO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-section .bg { position: absolute; inset: 0; }
.hero-bg { background-size: cover; background-position: 50% 50%; }
.hero-overlay { background: linear-gradient(180deg, rgba(43,59,24,.55), rgba(43,59,24,.5) 55%, rgba(43,59,24,.72)); }
.hero-section .container { position: relative; z-index: 2; width: 100%; }
.hero-wrapper {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px;
  padding: 100px 0 60px;
}
.hero-content { max-width: 911px; }
.hero-title { color: var(--light); margin-bottom: 24px; max-width: 26ch; }
@media (max-width: 991px) { .hero-br { display: none; } }
.hero-lead { color: var(--light); max-width: 52ch; margin-bottom: 28px; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.hero-list-box { display: flex; align-items: center; gap: 10px; color: var(--light); font-size: var(--fs-small); max-width: 260px; line-height: 1.4; }
.hero-list-icon {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.5);
  display: grid; place-items: center;
  font-size: 12px;
}
.hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.hero-icon-box { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.hero-icon { width: 90px; height: 90px; }
.hero-info-box {
  display: block;
  background-color: var(--light);
  border-radius: var(--radius-md);
  width: 100%; max-width: 300px;
  padding: 20px;
  margin-left: auto;
}
.hero-info-text { font-size: var(--fs-p); line-height: var(--lh-large); margin-bottom: 24px; color: var(--ink); }
.hero-info-btn-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-info-cat {
  background-color: var(--surface); border-radius: var(--radius-sm);
  padding: 1px 7px 3px; font-size: var(--fs-small); font-weight: var(--fw-medium);
  text-transform: uppercase; color: var(--ink);
}
.hero-info-icon { width: 16px; height: 16px; color: var(--ink); }

/* ==========================================================================
   09  ABOUT SECTION
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-wrap { display: flex; flex-direction: column; justify-content: space-between; gap: 50px; }
.about-wrap._3 { align-items: flex-end; text-align: right; }
.about-image-box { height: 100%; position: relative; }
.about-image { width: 100%; border-radius: var(--radius-md); object-fit: cover; }
.about-image.portrait, .why-us-image.portrait, .blog-image.portrait { object-position: 50% 18%; }
.about-image.main { height: 100%; min-height: 515px; }
.about-image.sq { height: 340px; }
.about-image-caption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: var(--fw-bold); font-family: var(--font-primary); color: var(--ink);
}
.about-text { font-size: var(--fs-p); color: var(--text); }
.counter-box { text-align: right; }
.counter-title { font-size: var(--fs-h3); margin-bottom: 8px; }
.counter-text { font-size: var(--fs-p); margin-bottom: 12px; }
.review-stars.two { display: inline-block; background-color: var(--surface); border-radius: var(--radius-md); padding: 3px 10px; }
.about-auhtor-box { display: flex; align-items: center; }
.about-auhtor-img {
  width: 65px; height: 65px; border-radius: var(--radius-full);
  object-fit: cover; margin-left: -30px; border: 2px solid var(--bg);
}
.about-auhtor-img._1 { margin-left: 0; }
.about-icon { width: 60px; height: 60px; }

/* ==========================================================================
   10  SERVICE SECTION (life stages, sticky horizontal on desktop)
   ========================================================================== */
.service-section { background-color: var(--surface); padding-top: var(--section-y); padding-bottom: var(--section-y); position: relative; }
.service-sticky { overflow: hidden; }
.service-wrap { display: flex; gap: 20px; padding-left: var(--gutter); will-change: transform; }
.service-box {
  flex: 0 0 480px;
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 10px 10px 0;
  display: flex; flex-direction: column;
}
.service-image-box { position: relative; border-radius: var(--radius-md); overflow: hidden; }
.service-image { width: 100%; height: 376px; object-fit: cover; }
.service-image-box::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(transparent, rgba(16,24,10,.75));
}
.service-title-box { position: absolute; inset: auto auto 0 0; padding: 24px; z-index: 2; }
.service-title { color: var(--light); margin: 0; font-size: var(--fs-h4); }
.service-content { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; }
.service-text { max-width: 80%; font-size: var(--fs-small); margin: 0; }
.service-arrow {
  width: 48px; height: 48px; flex: 0 0 48px;
  border-radius: var(--radius-md);
  background-color: var(--green); color: var(--light);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s, transform .3s;
}
.service-box:hover .service-arrow { background-color: var(--ink-strong); }
.service-arrow svg { width: 16px; height: 16px; }

/* mobile: native horizontal scroll-snap strip */
.service-slider {
  display: none;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
}
.service-slider::-webkit-scrollbar { display: none; }
.service-slider > .service-box { flex: 0 0 82%; scroll-snap-align: start; }

/* ==========================================================================
   11  PRODUCT CARD + GRID
   ========================================================================== */
.product-collection { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-collection.three { grid-template-columns: repeat(3, 1fr); }

.product-block {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.product-image-box {
  position: relative;
  background-color: var(--light);
  border-radius: var(--radius-md);
  height: 350px;
  padding: 40px 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-image {
  max-height: 100%; width: auto; max-width: 88%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: transform .3s ease;
}
.product-block:hover .product-image { transform: scale(1.08); }
.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background-color: var(--surface); color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 3px 10px 5px;
  font-size: var(--fs-small); font-weight: var(--fw-medium);
}
.product-badge.klinik { background-color: var(--ink-strong); color: var(--light); }
.product-content-box { padding: 10px 10px 0; display: flex; flex-direction: column; flex: 1; }
.product-cat-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-category { font-size: var(--fs-small); color: var(--text); }
.product-price { font-size: var(--fs-small); font-weight: var(--fw-bold); font-family: var(--font-primary); color: var(--ink); }
.product-price .from { font-weight: var(--fw-regular); opacity: .7; margin-right: 4px; }
.product-price s { opacity: .5; font-weight: var(--fw-regular); margin-left: 6px; }
.product-title { font-size: var(--fs-h5); margin: 6px 0 5px; }
.product-benefit { font-size: var(--fs-small); margin-bottom: 14px; }
.product-note { font-size: var(--fs-small); opacity: .75; margin-bottom: 10px; }
.product-actions { margin-top: auto; padding: 10px 0 10px; }

/* ==========================================================================
   12  WHY CHOOSE US
   ========================================================================== */
.why-us-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 50px; align-items: center; }
.why-us-image-wrap { position: relative; }
.why-us-image { width: 100%; height: 415px; object-fit: cover; border-radius: var(--radius-md); }
.shop-box {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.shop-box-title { font-size: var(--fs-h4); margin-bottom: 6px; }
.why-us-content { display: flex; flex-direction: column; justify-content: center; }
.why-us-kicker { font-size: var(--fs-h4); margin-bottom: 12px; }
.why-us-list { margin-top: 40px; }
.why-us-box {
  display: flex; align-items: center; gap: 24px;
  border-bottom: 1px solid silver;
  padding-bottom: 24px; margin-bottom: 24px;
}
.why-us-box.last { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.why-us-icon {
  width: 40px; height: 40px; flex: 0 0 40px;
  border-radius: var(--radius-full);
  background-color: var(--surface); color: var(--green);
  display: grid; place-items: center;
}
.why-us-title { font-size: var(--fs-h4); margin-bottom: 4px; }
.why-us-text { font-size: var(--fs-small); }

/* ==========================================================================
   13  REVIEWS
   ========================================================================== */
.review-slider {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.review-slider::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 1072px; max-width: 100%; scroll-snap-align: start; }
.review-box {
  display: grid; grid-template-columns: .8fr 1fr;
  gap: 10px; padding: 10px;
  background-color: var(--surface);
  border-radius: var(--radius-md);
  height: 100%;
}
.review-image { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius-md); }
.review-content {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 40px 40px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.review-text {
  font-family: var(--font-primary);
  font-size: var(--fs-h4); font-weight: var(--fw-bold); line-height: var(--lh-medium);
  color: var(--ink);
  margin-bottom: 60px;
}
.review-stars { display: inline-block; background-color: var(--surface); border-radius: var(--radius-md); padding: 5px 10px; margin-bottom: 16px; }
.review-author-box { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.review-author-name { font-size: var(--fs-h6); font-weight: var(--fw-medium); margin-bottom: 2px; }
.review-author-des { font-size: var(--fs-small); }
.review-nav { display: flex; gap: 8px; }

/* ==========================================================================
   14  PRICING
   ========================================================================== */
.pricing-section { background-color: var(--surface-alt); }
.pricing-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; align-items: stretch; }

.pricing-box {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 10px 10px 0;
  display: flex; flex-direction: column;
}
.pricing-top-box {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 30px;
}
.pricing-title { font-size: var(--fs-h4); margin-bottom: 8px; }
.pricing-sub { font-size: var(--fs-p); margin-bottom: 20px; }
.pricing-amount-box { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 24px; }
.pricing-amount { font-size: var(--fs-h2); line-height: 100%; margin: 0; }
.pricing-amount-text { font-size: var(--fs-small); padding-bottom: 6px; max-width: 18ch; line-height: 1.35; }
.pricing-amount-box { flex-wrap: wrap; }
.pricing-bottom { padding: 30px 20px; }
.pricing-list-box { display: flex; flex-direction: column; gap: 12px; }
.pricing-list { display: flex; align-items: flex-start; gap: 12px; }
.pricing-list-icon { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 5px; color: var(--green); }
.pricing-list-text { font-size: var(--fs-p); margin: 0; }
.pricing-note { font-size: var(--fs-small); opacity: .8; margin-top: 20px; }

.pricing-box-two {
  background-color: var(--ink);
  border-radius: var(--radius-md);
  padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.pricing-box-two .pricing-inner { display: flex; flex-direction: column; }
.pricing-top-box.two { background-color: var(--overlay-glass); }
.pricing-box-two .pricing-list-icon { color: #b6d194; }
/* image column follows the text column's height instead of forcing it taller */
.pricing-image-wrap { position: relative; min-height: 260px; border-radius: var(--radius-md); overflow: hidden; }
.pricing-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pricing-bottom.two { padding-bottom: 20px; }
@media (max-width: 991px) { .pricing-image-wrap { min-height: 320px; } }

/* ==========================================================================
   15  BLOG / INSIGHTS
   ========================================================================== */
.blog-cms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-box { background-color: var(--surface); border-radius: var(--radius-md); width: 100%; padding: 10px; display: flex; flex-direction: column; }
.blog-image-box { border-radius: var(--radius-md); overflow: hidden; }
.blog-image { width: 100%; height: 220px; object-fit: cover; transition: transform .4s ease; }
.blog-box:hover .blog-image { transform: scale(1.05); }
.blog-content { padding: 20px 20px 0; display: flex; flex-direction: column; flex: 1; }
.blog-meta-box { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.blog-meta { font-size: var(--fs-small); text-transform: uppercase; }
.blog-meta-line { width: 20px; height: 1px; background-color: var(--ink); }
.blog-title { font-size: var(--fs-h4); text-transform: none; margin-bottom: 26px; }
.blog-box .primary-button { margin-top: auto; margin-bottom: 10px; }

/* ==========================================================================
   16  FAQ TABS
   ========================================================================== */
.faq-tabs { display: grid; grid-template-columns: 1fr .8fr; gap: 16px; align-items: start; }
.faq-tabs-menu { display: flex; flex-direction: column; gap: 10px; }
.faq-tab-link {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  width: 100%; padding: 0; text-align: left;
  transition: background-color .3s, opacity .3s;
  opacity: .72;
}
.faq-tab-link:hover { opacity: .92; }
.faq-tab-link.active { opacity: 1; background-color: var(--surface); }
.faq-tab-link-content { display: flex; align-items: center; gap: 20px; padding: 15px; }
.faq-tab-ques {
  background-color: var(--light);
  border-radius: var(--radius-sm);
  padding: 5px 16px 8px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  color: var(--ink);
  flex: 0 0 auto;
}
.faq-tab-ques.ans { background-color: var(--surface); }
.faq-tab-title { font-size: var(--fs-h6); font-weight: var(--fw-bold); margin: 0; color: var(--ink); font-family: var(--font-primary); }
.faq-tabs-content {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  position: sticky; top: 30px;
}
.faq-tab-pane { display: none; }
.faq-tab-pane.active { display: block; }
.faq-tab-card {
  background-color: var(--light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 380px;
}
.faq-tab-card-text { margin-top: 20px; margin-bottom: 50px; }
.faq-tab-card .primary-button { margin-top: auto; }

/* FAQ page: grouped stacks */
.faq-group + .faq-group { margin-top: 60px; }
.faq-group-title { font-size: var(--fs-h4); margin-bottom: 24px; }

/* ==========================================================================
   17  CALL TO ACTION BAND
   ========================================================================== */
.call-to-action { position: relative; overflow: hidden; }
.call-to-action .bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 45%; }
.call-to-action .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,59,24,.82), rgba(43,59,24,.45) 70%, rgba(43,59,24,.25)); }
.call-to-action .container { position: relative; z-index: 2; }
.cta-content { max-width: 700px; padding: 100px 0; }
.cta-subtitle { color: var(--light); margin-bottom: 16px; opacity: .9; }
.cta-title { font-size: var(--fs-h1); line-height: 100%; color: var(--light); margin-bottom: 30px; }

/* ==========================================================================
   18  FOOTER
   ========================================================================== */
.main-footer { background-color: var(--ink); overflow: hidden; }
.footer-widget-box { padding: 120px 0; }
.footer-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 100px; }
.about-widget { padding-right: 50px; }
.footer-text { max-width: 400px; color: var(--light); margin: 20px 0 28px; opacity: .85; }
.social-box { display: flex; gap: 8px; }
.social-icon {
  width: 42px; height: 42px; border-radius: var(--radius-full);
  background-color: #2c2c2c; color: var(--light);
  display: grid; place-items: center;
  transition: background-color .3s;
}
.social-icon:hover { background-color: var(--green); }
.social-icon svg { width: 16px; height: 16px; }
.links-widget { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-title-two {
  font-size: var(--fs-h5); text-transform: uppercase;
  margin-bottom: 24px; color: var(--light);
}
.footer-link { display: block; color: var(--light); font-size: var(--fs-p); margin-bottom: 16px; opacity: .8; transition: opacity .3s; }
.footer-link:hover { opacity: 1; }
.footer-note { color: var(--light); opacity: .7; font-size: var(--fs-small); margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid var(--overlay-footer-line);
  border-bottom: 1px solid var(--overlay-footer-line);
  padding: 28px 0;
}
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-copyright-text { color: var(--light); font-size: var(--fs-small); opacity: .85; margin: 0; }
.footer-copyright-link { font-weight: var(--fw-medium); }
.footer-copyright-link:hover { text-decoration: underline; }
.cards-box { display: flex; align-items: center; gap: 8px; }
.pay-chip {
  height: 24px; padding: 0 10px;
  border-radius: 4px; background-color: var(--white);
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: var(--fw-bold); color: var(--ink-strong);
  letter-spacing: .04em;
}
.footer-legal { padding: 20px 0 40px; }
.footer-legal-text { color: var(--light); opacity: .6; font-size: var(--fs-small); margin: 0; }

/* ==========================================================================
   19  PAGE HERO BAND (inner pages)
   ========================================================================== */
.page-section {
  position: relative;
  overflow: hidden;
  background-image: var(--green-grad);
  padding: 180px 0 150px;
}
.page-content-box { text-align: center; }
.page-title { font-size: var(--fs-h1); color: var(--light); margin-bottom: 16px; }
.page-text { color: var(--light); max-width: 650px; margin: 0 auto; }
.page-hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ==========================================================================
   20  FORMS
   ========================================================================== */
/* --- contact / consult style (filled, 55px, radius 10) --- */
.contact-grid { display: grid; grid-template-columns: .5fr 1fr; gap: 30px; align-items: start; }
.contact-content-inner { display: flex; flex-direction: column; gap: 30px; }
.contact-block { display: flex; gap: 20px; align-items: flex-start; }
.contact-block-icon-box {
  width: 56px; height: 56px; flex: 0 0 56px;
  border-radius: var(--radius-md);
  background-image: var(--green-grad);
  color: var(--light);
  display: grid; place-items: center;
}
.contact-block-icon-box svg { width: 22px; height: 22px; }
.contact-block-title { font-size: var(--fs-h4); margin-bottom: 6px; }
.contact-block-text { font-size: var(--fs-p); margin: 0; }
.contact-block-text-link { font-weight: var(--fw-medium); text-decoration: underline; text-underline-offset: 3px; }

.contact-form-block {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 30px 40px 40px;
}
.contact-title { font-size: var(--fs-h3); margin-bottom: 30px; }
.contact-grid-three { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field-label { display: block; font-size: var(--fs-small); margin-bottom: 6px; color: var(--text); }
.contact-input {
  width: 100%; height: 55px;
  background-color: var(--light);
  color: var(--text);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  transition: border-color .3s;
}
.contact-input::placeholder { color: var(--text); opacity: .7; }
.contact-input:focus { border-color: var(--green); outline: none; }
.contact-input.textarea { resize: none; min-height: 150px; height: auto; }
select.contact-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }

.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.contact-checkbox {
  width: 16px; height: 16px; flex: 0 0 16px; margin-top: 5px;
  accent-color: var(--green);
}
.register-checkbox-label { font-size: var(--fs-p); line-height: var(--lh-large); }
.contact-success { background-color: #453326; color: #fff; border-radius: var(--radius-md); padding: 20px; text-align: center; }
.contact-error-message { background-color: #ffc13c; border-radius: var(--radius-sm); padding: 20px 10px; }

/* --- checkout style (plain, 45px, transparent) --- */
.checkout-grid { display: grid; grid-template-columns: 1fr .5fr; gap: 30px; align-items: start; }
.checkout-grid > * { min-width: 0; }
.checkout-block { border: 1px solid #e6e6e6; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 20px; background-color: var(--white); }
.checkout-block-header { background: var(--white); border-bottom: 1px solid #e6e6e6; padding: 12px 20px; font-family: var(--font-primary); font-weight: var(--fw-bold); color: var(--ink); }
.checkout-block-content { padding: 20px; }
.checkout-title { font-size: var(--fs-h3); margin-bottom: 24px; }
.checkout-input {
  width: 100%; height: 45px;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: border-color .3s;
}
.checkout-input:focus { border-color: var(--ink); outline: none; }
.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ==========================================================================
   21  PRODUCT DETAIL
   ========================================================================== */
.prod-detail-griid { display: grid; grid-template-columns: .75fr 1fr; gap: 50px; align-items: start; }
.prod-detail-image-box {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 50px;
  display: flex; align-items: center; justify-content: center;
}
.product-detail-image { border-radius: var(--radius-lg); max-height: 460px; width: auto; }
.product-detail-title { font-size: var(--fs-h3); margin-bottom: 16px; }
.product-detail-price { font-size: var(--fs-h5); font-family: var(--font-primary); font-weight: var(--fw-bold); color: var(--ink); margin-bottom: 20px; }
.product-detail-text { margin-bottom: 24px; }

.product-particular-wrap {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 0;
  margin-bottom: 24px;
}
.product-particular-box { border-right: 1px solid var(--border-soft); padding: 16px 24px; }
.product-particular-box._1 { padding-left: 0; }
.product-particular-box._3 { border-right: 0; }
.product-particular-text { font-size: var(--fs-small); opacity: .8; margin: 0 0 4px; }
.product-particular-text.two { font-size: var(--fs-p); opacity: 1; margin: 0; color: var(--ink); }

.product-detail-btn-box { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.qty-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  height: 47px; overflow: hidden;
}
.qty-stepper button { width: 40px; height: 100%; display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.qty-stepper button:hover { background-color: var(--surface); }
.qty-stepper input,
.product-detail-quantity {
  width: 52px; height: 100%; text-align: center; border: 0; background: transparent;
  font-size: var(--fs-p); color: var(--ink); -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-info-tabs-menu { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.product-info-tab-link {
  background-color: var(--surface); color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 10px 28px;
  font-family: var(--font-primary); font-weight: var(--fw-bold);
  transition: all .3s;
}
.product-info-tab-link:hover,
.product-info-tab-link.active { background-color: var(--green); color: var(--light); }
.product-description-box, .product-reviews-box {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 50px;
}
.product-description-title { font-size: var(--fs-h4); margin-bottom: 24px; }
.product-description-text { margin-bottom: 20px; }
.product-description-text.last { margin-bottom: 0; }
.ingredient-table { width: 100%; border-collapse: collapse; }
.ingredient-table th, .ingredient-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border-soft); font-size: var(--fs-small); vertical-align: top; }
.ingredient-table th { font-family: var(--font-primary); color: var(--ink); }
.product-review { display: flex; gap: 15px; border-bottom: 1px solid rgba(0,0,0,.1); margin-bottom: 30px; padding-bottom: 30px; }
.product-review.last { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.product-review-image { width: 75px; height: 75px; flex: 0 0 75px; border-radius: var(--radius-md); object-fit: cover; background-color: var(--light); display: grid; place-items: center; }
.product-review-title { font-size: var(--fs-h6); margin-bottom: 8px; }

/* ==========================================================================
   22  SHOP LISTING: FILTER CHIPS + GRID
   ========================================================================== */
.filter-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-label { font-size: var(--fs-small); text-transform: uppercase; opacity: .7; margin-right: 6px; }
.chip, .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--text);
  font-size: var(--fs-small);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover, .pill:hover { border-color: var(--green); color: var(--ink); }
.chip.active, .pill.active,
.chip[aria-pressed="true"], .pill[aria-pressed="true"] {
  background-color: var(--ink-strong); border-color: var(--ink-strong); color: var(--light);
}
.filter-result { font-size: var(--fs-small); opacity: .75; }
.empty-state { text-align: center; padding: 60px 20px; }

/* ==========================================================================
   23  CART DRAWER / CART PAGE / ORDER SUMMARY / TOAST
   ========================================================================== */
.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 100%; max-width: 480px; min-width: 320px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-panel);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.65,.05,.36,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #e6e6e6;
  padding: 16px 24px;
}
.cart-header h4 { margin: 0; }
.cart-close { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--radius-sm); }
.cart-close:hover { background-color: var(--surface); }
.cart-body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-footer { border-top: 1px solid #e6e6e6; padding: 16px 24px 24px; }

.ship-bar { margin-bottom: 16px; }
.ship-msg { font-size: var(--fs-small); margin-bottom: 8px; }
.ship-track { height: 6px; border-radius: 3px; background-color: var(--surface); overflow: hidden; }
.ship-fill { height: 100%; background-image: var(--green-grad); transition: width .4s ease; }

.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid #eee; }
.cl-img { display: block; }
.cl-img img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-md); background-color: var(--surface); }
.cl-name { font-family: var(--font-primary); font-weight: var(--fw-bold); color: var(--ink); }
.cl-meta { font-size: var(--fs-small); opacity: .75; display: flex; gap: 8px; flex-wrap: wrap; }
.cl-meta .sub { color: var(--green); }
.cl-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 2px 6px; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--radius-full); }
.qty button:hover { background-color: var(--surface); }
.qty span { min-width: 20px; text-align: center; font-size: var(--fs-small); }
.cl-remove { font-size: var(--fs-small); text-decoration: underline; opacity: .7; }
.cl-remove:hover { opacity: 1; }
.cl-right { text-align: right; }
.cl-price { font-family: var(--font-primary); font-weight: var(--fw-bold); color: var(--ink); }
.cl-price s { display: block; font-weight: 400; opacity: .5; font-size: var(--fs-small); }
.cl-unit { font-size: var(--fs-small); opacity: .6; }
.cart-empty { text-align: center; padding: 60px 10px; }
.cart-empty .ico-wrap { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--green); }
.cart-empty svg { width: 100%; height: 100%; }

.order-summary {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 30px;
  position: sticky; top: 30px;
}
.order-summary-title { font-size: var(--fs-h4); margin-bottom: 20px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: var(--fs-p); }
.summary-row + .summary-row { border-top: 1px solid rgba(0,0,0,.07); }
.summary-row.total { font-family: var(--font-primary); font-weight: var(--fw-bold); color: var(--ink); font-size: var(--fs-h5); border-top: 1px solid rgba(0,0,0,.15); margin-top: 6px; }
.voucher-row { display: flex; gap: 10px; margin: 16px 0; }
.voucher-row .contact-input { height: 47px; }
.voucher-msg { font-size: var(--fs-small); margin-bottom: 10px; }
.voucher-msg.ok { color: var(--green); }

.toast {
  position: fixed; left: 50%; bottom: 24px;
  transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 12px;
  background-color: var(--ink-strong); color: var(--light);
  border: 1px solid var(--overlay-chip-border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  z-index: 1100;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s, visibility .3s;
  max-width: calc(100% - 32px);
  font-size: var(--fs-small);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; flex: 0 0 18px; }
.toast button { text-decoration: underline; font-size: var(--fs-small); white-space: nowrap; }

/* ==========================================================================
   24  ABOUT PAGE: doctors + branches
   ========================================================================== */
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.doctor-card { background-color: var(--surface); border-radius: var(--radius-md); padding: 10px; }
.doctor-photo { width: 100%; height: 320px; object-fit: cover; object-position: top; border-radius: var(--radius-md); background-color: var(--light); }
.doctor-body { padding: 16px 10px 10px; }
.doctor-name { font-size: var(--fs-h5); margin-bottom: 6px; }
.doctor-credential { font-size: var(--fs-small); opacity: .8; margin-bottom: 8px; }
.doctor-focus { font-size: var(--fs-small); margin: 0; }

.branches-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.branch-card {
  background-color: var(--light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.branch-name { font-size: var(--fs-h5); margin-bottom: 0; }
.branch-address { font-size: var(--fs-small); margin: 0; }
.branch-links { display: flex; gap: 14px; margin-top: auto; padding-top: 12px; font-size: var(--fs-small); }
.branch-links a { text-decoration: underline; text-underline-offset: 3px; }

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-box { background-color: var(--surface); border-radius: var(--radius-md); padding: 30px; }
.step-num {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background-color: var(--light); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-primary); font-weight: var(--fw-bold); font-size: var(--fs-h5);
  margin-bottom: 20px;
}
.step-title { font-size: var(--fs-h4); margin-bottom: 8px; }

/* ==========================================================================
   25  CHECKOUT SUCCESS
   ========================================================================== */
.success-section { padding: 150px 0; }
.success-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 60px 50px;
}
.success-icon {
  width: 84px; height: 84px; margin: 0 auto 24px;
  border-radius: var(--radius-full);
  background-image: var(--green-grad);
  color: var(--light);
  display: grid; place-items: center;
}
.success-icon svg { width: 36px; height: 36px; }
.success-title { font-size: var(--fs-h3); margin-bottom: 16px; }
.success-meta { background-color: var(--light); border-radius: var(--radius-md); padding: 20px; margin: 30px 0; text-align: left; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   26  MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; width: 100%; background-color: var(--surface); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-inner { display: flex; align-items: center; gap: 50px; padding-right: 50px; white-space: nowrap; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-primary); font-weight: var(--fw-bold); color: var(--ink); font-size: var(--fs-h6); }
.marquee-item::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-full); background-color: var(--green); }

/* ==========================================================================
   27  MOTION HELPERS
   ========================================================================== */
[data-reveal] { will-change: transform, opacity; }
html.js [data-reveal] { opacity: 0; transform: translateY(40px); }
html.js [data-reveal].in, html.no-motion [data-reveal] { opacity: 1; transform: none; }
html.css-reveal [data-reveal].in { transition: opacity .5s ease, transform .5s ease; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

.split-line { display: block; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   28  RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1279px) {
  .primary-button { padding: 12px 24px; }
}

@media screen and (max-width: 991px) {
  :root {
    --fs-h1: 64px; --fs-h2: 44px;
    --section-y: 120px; --gutter: 30px;
  }
  .container { padding-left: 30px; padding-right: 30px; }
  .primary-button { padding: 11px 20px; }
  .section-subtitle { padding: 8px 18px; margin-bottom: 12px; }
  .section-subtitle-dot { width: 7px; height: 7px; flex: 0 0 7px; }
  .section-title-box, .sectitle-wrap { margin-bottom: 40px; }
  .sectitle-wrap { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* header → burger */
  .header-main-box { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
  .header-menu-wrap { display: none; }
  .menu-open-btn { display: flex; }
  .header-btn-box { gap: 15px; }
  .header-btn-box .primary-button.hide-md { display: none; }

  /* hero */
  .hero-section { min-height: 0; }
  .hero-wrapper { flex-direction: column; align-items: flex-start; padding: 140px 0 60px; }
  .hero-side { align-items: flex-start; width: 100%; }
  .hero-info-box { margin-left: 0; }

  /* grids */
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-wrap { gap: 24px; }
  .about-wrap._2 { grid-column: 1 / -1; }
  .product-collection { grid-template-columns: repeat(2, 1fr); }
  .product-collection.three { grid-template-columns: repeat(2, 1fr); }
  .product-image-box { height: 300px; }
  .why-us-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-us-box { gap: 18px; padding-bottom: 18px; margin-bottom: 18px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-box-two { grid-template-columns: 1fr; }
  .pricing-image { min-height: 320px; }
  .blog-cms { grid-template-columns: 1fr 1fr; }
  .faq-tabs { grid-template-columns: 1fr; }
  .faq-tabs-content { position: static; }
  .review-slide { flex: 0 0 88%; }
  .review-box { grid-template-columns: 1fr; }
  .review-image { height: 320px; }
  .review-content { padding: 20px; }
  .review-text { font-size: var(--fs-h5); margin-bottom: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .prod-detail-griid { grid-template-columns: 1fr; gap: 30px; }
  .doctors-grid, .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
  .footer-widget-box { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-widget { padding-right: 0; }
  .page-section { padding: 150px 0 120px; }
  .cta-content { padding: 80px 0; }
  .cta-title { font-size: var(--fs-h2); }

  /* service: native scroll strip, no pin */
  .service-wrap { display: none; }
  .service-slider { display: flex; }
}

@media screen and (max-width: 767px) {
  :root {
    --fs-h1: 56px; --fs-h2: 42px;
    --section-y: 100px; --gutter: 20px;
  }
  /* hero mobile: no spinning icon, smaller title; photo shifted so the subject's face stays in frame */
  .hero-bg { background-position: 74% 50%; }
  .hero-icon-box { display: none; }
  .hero-lead { font-size: 15px; margin-bottom: 24px; }
  .hero-title { font-size: 40px; margin-bottom: 20px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-wrap._3 { align-items: flex-start; text-align: left; }
  .counter-box { text-align: left; }
  .about-image.main { min-height: 360px; }
  .blog-cms { grid-template-columns: 1fr; gap: 20px; }
  .doctors-grid, .branches-grid { grid-template-columns: 1fr 1fr; }
  .product-particular-wrap { grid-template-columns: 1fr; border: 0; padding: 0; }
  .product-particular-box { border-right: 0; padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
  .product-description-box, .product-reviews-box { padding: 30px 20px; }
  .prod-detail-image-box { padding: 30px; }
  .contact-form-block { padding: 20px; }
  .contact-grid-three { grid-template-columns: 1fr; }
  .checkout-row { grid-template-columns: 1fr; }
  .success-card { padding: 40px 24px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .page-section { padding: 120px 0 100px; }
  .faq-tab-link-content { padding: 12px 16px; gap: 10px; }
  .faq-tab-card { padding: 24px; min-height: 0; }
}

@media screen and (max-width: 479px) {
  :root { --fs-h1: 44px; --fs-h2: 40px; --gutter: 15px; }
  .container { padding-left: 15px; padding-right: 15px; }
  .primary-button { padding: 11px 20px; font-size: var(--fs-small); }
  .hero-section { min-height: 100svh; }
  .hero-wrapper { padding: 120px 0 40px; }
  .hero-list { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-list-box { max-width: none; }
  .hero-info-box { display: none; }
  .hero-title { font-size: 36px; }
  .product-collection, .product-collection.three { grid-template-columns: 1fr; gap: 14px; }
  .product-image-box { height: 280px; }
  .doctors-grid, .branches-grid { grid-template-columns: 1fr; }
  .links-widget { grid-template-columns: 1fr 1fr; gap: 20px; }
  .faq-tab-ques { display: none; }
  .faq-tab-title { font-size: 17px; }
  .service-slider > .service-box { flex: 0 0 90%; }
  .service-image { height: 260px; }
  .cart-drawer { max-width: 100%; min-width: 0; }
  .review-slide { flex: 0 0 92%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .about-auhtor-img { width: 56px; height: 56px; margin-left: -22px; }
  .pricing-bottom { padding: 24px 14px; }
  .pricing-top-box { padding: 20px 16px; }
  .order-summary { padding: 20px; }
}

/* ==========================================================================
   29  Product detail page (page-specific, from product.html <style>)
   ========================================================================== */
.pd-share { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
  .pd-share-label { font-size: var(--fs-small); opacity: .8; }
  .pd-size-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
  .pd-sub-note { font-size: var(--fs-small); opacity: .8; margin: -12px 0 24px; }
  .pd-faq-item { border-bottom: 1px solid var(--border-soft); padding: 20px 0; }
  .pd-faq-item:last-child { border-bottom: 0; }
  .pd-faq-q { font-family: var(--font-primary); font-weight: var(--fw-bold); margin-bottom: 8px; }

/* ==========================================================================
   30  Consult wizard (page-specific, from consult.html <style>)
   ========================================================================== */
/* Page-specific additions for the consult wizard — not in main.css.
   Kept small and scoped to [data-wizard] so it never leaks into other pages. */
[data-wizard] .wz-progress { margin-bottom: 40px; }
[data-wizard] .wz-progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: var(--fs-small); color: var(--text); }
[data-wizard] .wz-bar { height: 6px; border-radius: 999px; background: var(--surface-alt, #f1f4ee); overflow: hidden; }
[data-wizard] .wz-fill { height: 100%; background: var(--green); border-radius: 999px; transition: width .35s ease; }
[data-wizard] .wz-step { display: none; }
[data-wizard] .wz-step.active { display: block; }
[data-wizard] .wz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }
[data-wizard] .wz-nav .primary-button { cursor: pointer; border: none; }
[data-wizard] .field-error { color: #b3391f; font-size: var(--fs-small); margin-top: -10px; margin-bottom: 16px; display: none; }
[data-wizard] .field-error.show { display: block; }
.choice-card { position: relative; display: block; cursor: pointer; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card .choice-card-inner {
  border: 1.5px solid var(--border, #d9d9d9); border-radius: var(--radius-md, 10px);
  background: var(--light, #faf9f6); padding: 16px 18px; transition: border-color .2s, background-color .2s;
  height: 100%;
}
.choice-card input:checked + .choice-card-inner { border-color: var(--green); background: var(--primary-color, #e8eee1); }
.choice-card-title { font-weight: var(--fw-semibold, 600); margin-bottom: 4px; display: block; }
.choice-card-desc { font-size: var(--fs-small); color: var(--text); display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid.klinik { grid-template-columns: 1fr; }
.klinik-radio-card { display: flex; gap: 16px; align-items: center; }
.klinik-radio-card img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.review-block { border: 1px solid var(--border, #d9d9d9); border-radius: var(--radius-md, 10px); padding: 16px 18px; margin-bottom: 14px; }
.review-block-title { font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .04em; color: var(--text); margin-bottom: 6px; }
.review-block-value { font-size: var(--fs-p); }
.review-edit-link { font-size: var(--fs-small); text-decoration: underline; text-underline-offset: 3px; float: right; cursor: pointer; background: none; border: none; color: var(--green); padding: 0; }
@media (max-width: 767px) {
  .choice-grid, .choice-grid.three { grid-template-columns: 1fr; }
}

/* ==========================================================================
   31  Cart page (page-specific, from cart.html <style>)
   ========================================================================== */
/* cart.html additions — not in main.css: a light note under the cart lines about
   subscribe & save (main.js has no per-line plan-switch hook, so this is a note,
   not a toggle) and the region select re-using .checkout-input's look. */
.cart-sub-note { font-size: var(--fs-small); opacity: .75; margin: -6px 0 20px; max-width: 46em; }
.cart-region-field { margin: 16px 0; }
.cart-region-field .field-label { margin-bottom: 6px; }
select.cart-region-select { width: 100%; height: 45px; background-color: transparent; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
select.cart-region-select:focus { border-color: var(--ink); outline: none; }
.cart-lines-col .ship-bar { margin-bottom: 20px; }

/* ==========================================================================
   32  Checkout page (page-specific, from checkout.html <style>)
   ========================================================================== */
/* checkout.html additions — not in main.css: field error state (no .err
   pattern exists yet) and a light divider/note style for the delivery &
   payment radio groups, built from the existing .checkbox-field pattern. */
.field-error-text { display: none; color: #b3261e; font-size: var(--fs-small); margin-top: 6px; }
.field.err .checkout-input,
.field.err select.checkout-input { border-color: #b3261e; }
.field.err .field-error-text { display: block; }
.checkout-radio-group .checkbox-field { align-items: center; margin-bottom: 14px; cursor: pointer; }
.checkout-radio-group .checkbox-field:last-child { margin-bottom: 0; }
.checkout-note { font-size: var(--fs-small); opacity: .75; margin-top: 10px; }
.checkout-note strong { color: var(--ink); opacity: 1; }
.card-block { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border-soft); }
.checkout-summary-lines { max-height: 320px; overflow-y: auto; margin-bottom: 10px; }
.checkout-empty-note { text-align: center; padding: 60px 20px; }

/* ==========================================================================
   33  Checkout success page (page-specific, from checkout-success.html <style>)
   ========================================================================== */
/* checkout-success.html additions — not in main.css: the "what happens next"
   step list re-uses .why-us-list/.why-us-box tokens loosely but that class is
   scoped to the home why-us section, so a small local list style is added. */
.success-next { text-align: left; margin: 30px 0; }
.success-next-title { font-size: var(--fs-h6); margin-bottom: 14px; }
.success-next-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.success-next-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-p); }
.success-next-list .num { flex: 0 0 24px; height: 24px; border-radius: 50%; background-color: var(--green); color: var(--light); font-size: var(--fs-small); font-weight: var(--fw-bold); display: grid; place-items: center; }
.success-items { text-align: left; margin: 20px 0; border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); padding: 16px 0; display: grid; gap: 10px; }
.success-item-row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-small); }
.success-item-row .name { color: var(--ink); }

/* ==========================================================================
   34  About page (page-specific, from about.html <style>)
   ========================================================================== */
/* Page-specific: stat strip (reuses counter-box tokens but as a 4-up row, not in main.css). */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-strip .counter-box { text-align: center; }
@media (max-width: 767px) { .stat-strip { grid-template-columns: 1fr 1fr; gap: 30px 16px; } }
.doctor-quote { font-style: italic; margin-top: 6px; color: var(--text); }

/* ==========================================================================
   35  FAQ page (page-specific, from faq.html <style>)
   ========================================================================== */
/* Page-specific: group chip nav to jump between FAQ groups (not in main.css). */
.faq-group-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.faq-group + .faq-group { margin-top: 60px; }
.faq-group-title { margin-bottom: 24px; }
