/* Shared visual system for the storefront, editorial pages, and checkout. */
:root {
  --green: #176b70;
  --green-dark: #173c46;
  --green-soft: #e4f1ef;
  --mint: #d9ece8;
  --cream: #f3f7f6;
  --paper: #fff;
  --ink: #193840;
  --muted: #526b70;
  --line: #d7e5e3;
  --shadow: 0 18px 44px rgba(22, 61, 69, .07);
  --radius: 12px;
}

body { background: var(--cream); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.6; }
h1, h2, h3, .brand-copy strong { text-wrap: balance; }
h1, h2, .hero h1, .page-heading h1, .section-heading h2, .blog-article h1, .blog-article h2, .product-summary h1, .home-intro h2, .home-editorial h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.035em; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid #bb7d30; outline-offset: 3px; }
button:focus-visible, input:focus-visible, select:focus-visible { outline-offset: 2px; }
.shell { width: min(1240px, calc(100% - 64px)); }
.top-strip { background: #143842; color: #eaf5f3; font-size: 12px; font-weight: 500; letter-spacing: .01em; }
.top-strip-inner { min-height: 39px; }
.site-header { box-shadow: none; border-bottom: 1px solid var(--line); }
.header-main { min-height: 92px; gap: 30px; }
.brand-mark { border-radius: 50%; background: var(--green-dark); width: 46px; height: 46px; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; font-size: 24px; font-weight: 700; color: var(--green-dark); }
.brand-copy small { color: var(--green); letter-spacing: .09em; font-size: 10px; margin-top: 5px; }
.site-search { border-radius: 6px; background: #f5f9f8; border-color: var(--line); height: 52px; }
.site-search button { border-radius: 4px; background: var(--green-dark); height: 40px; font-size: 13px; }
.site-search button:hover { background: var(--green); }
.site-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23, 107, 112, .12); }
.header-contact { color: var(--green-dark); }
.header-contact svg { background: var(--green-soft); border-radius: 50%; }
.main-nav { border-top: 1px solid #e8efed; }
.nav-inner { gap: 32px; min-height: 54px; }
.nav-link { color: #476168; font-weight: 600; font-size: 14px; }
.nav-link:hover, .nav-link.is-active { color: var(--green); }
.nav-link.is-active:after { background: var(--green); height: 2px; border-radius: 0; }

/* The featured products replace the generic medicine illustration. */
.hero-wrap { background: #e5f0ee; border-bottom: 1px solid #d3e6e2; }
.hero { min-height: 540px; grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr); gap: 58px; overflow: visible; }
.hero-copy { padding: 64px 0 72px; }
.hero .eyebrow { color: #246d73; }
.eyebrow { color: #276d72; font-size: 11px; letter-spacing: .11em; font-weight: 700; }
.hero h1 { font-size: clamp(51px, 5vw, 76px); line-height: 1.05; letter-spacing: -.045em; margin: 18px 0 22px; max-width: 650px; }
.hero-lead { color: #3c5d62; font-size: 17px; line-height: 1.7; max-width: 570px; }
.hero-actions { margin-top: 30px; }
.button { min-height: 50px; border-radius: 5px; font-weight: 700; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-primary { background: var(--green-dark); color: #fff; }
.button-primary:hover { background: var(--green); }
.button-light { box-shadow: none; border: 1px solid #abcac7; color: var(--green-dark); }
.button-light:hover { background: #f8fbfa; }
.hero-showcase { position: relative; height: 460px; width: 100%; align-self: center; }
.hero-feature { position: absolute; inset: 20px 16% 34px 8%; background: #fff; border: 1px solid #dceae7; border-radius: 120px 120px 14px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 36px 28px; overflow: hidden; }
.hero-feature:before { content: ""; position: absolute; width: 290px; height: 290px; border-radius: 50%; background: #e6f2ef; left: 50%; top: 52%; transform: translate(-50%, -50%); }
.hero-feature img { position: relative; width: 88%; height: 275px; object-fit: contain; mix-blend-mode: multiply; }
.hero-feature span { position: relative; font-family: Georgia, "Times New Roman", serif; font-size: 23px; color: var(--green-dark); margin-top: 7px; }
.hero-feature small { position: relative; color: var(--muted); font-size: 12px; }
.hero-mini { position: absolute; right: 0; bottom: 5px; display: flex; align-items: center; gap: 12px; width: 205px; min-height: 98px; background: #f9fcfb; border: 1px solid #dceae7; border-radius: 8px; padding: 12px; box-shadow: 0 12px 28px rgba(22,61,69,.10); }
.hero-mini img { width: 62px; height: 72px; object-fit: contain; mix-blend-mode: multiply; }
.hero-mini span { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--green-dark); }
.hero-mini small { display: block; color: var(--muted); font-weight: 400; font-size: 11px; margin-top: 4px; }

.section { padding-block: 78px; }
.section-products { padding-top: 10px; }
.section-heading { margin-bottom: 27px; }
.section-heading h2, .page-heading h1 { font-size: clamp(34px, 3.5vw, 50px); line-height: 1.12; }
.text-link { color: var(--green); font-size: 13px; }
.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category-card { border-radius: 8px; min-height: 160px; padding: 19px; box-shadow: none; transition: border-color .18s ease, background-color .18s ease; }
.category-card:hover { transform: none; box-shadow: none; border-color: #8db9b4; background: #fafdFC; }
.category-icon { border-radius: 50%; width: 47px; height: 47px; }
.tone-mint .category-icon, .tone-blue .category-icon, .tone-peach .category-icon, .tone-rose .category-icon { background: #e6f2ef; color: var(--green); }
.category-card-title { font-size: 14px; font-weight: 700; }
.category-card-copy small { font-size: 11px; }
.card-arrow { color: #649b99; }
.product-grid { gap: 14px; }
.product-card, .blog-card { border-radius: 8px; box-shadow: none; transition: border-color .18s ease; }
.product-card:hover, .blog-card:hover { transform: none; box-shadow: none; border-color: #8db9b4; }
.product-visual { height: 240px; background: #f7faf9; border-bottom: 1px solid #edf2f1; }
.product-card-image { width: 84%; height: 84%; mix-blend-mode: multiply; }
.product-card-body { padding: 20px 21px 23px; }
.product-category { color: #346e73; letter-spacing: .055em; }
.product-card h3, .product-card h2 { min-height: 0; margin: 9px 0 14px; font-size: 21px; }
.product-card-pricing strong { color: var(--green-dark); }
.stock-status { color: #216b5b; }
.home-intro { padding-top: 86px; padding-bottom: 10px; }
.home-intro h2, .home-editorial h2 { font-size: clamp(35px, 3.5vw, 49px); }
.home-intro-main p, .home-editorial-heading p { color: #4b656b; }
.home-intro-aside, .home-copy-card, .category-story, .legal-card, .info-aside, .order-panel, .catalog-sidebar, .blog-article, .blog-aside { border-radius: 8px; box-shadow: none; }
.home-intro-aside { border-top: 4px solid var(--green); }
.home-copy-card { padding: 28px; }
.home-copy-number { border-radius: 50%; background: #e6f2ef; }
.home-help, .category-editorial-outro { background: #e2efec; border-radius: 8px; }
.service-band { background: #dfece9; }
.service-grid a > span { border-radius: 50%; }
.site-footer { background: #143842; }
.footer-brand .brand-mark { background: #c6dcd6; color: var(--green-dark); }
.footer-grid a:not(.brand), .footer-grid span { color: #d1e1df; }
.footer-bottom { border-color: #41656a; }
.breadcrumbs { color: #567278; font-size: 12px; }
.page-heading { padding-top: 34px; padding-bottom: 22px; }
.catalog-layout { grid-template-columns: 248px minmax(0, 1fr); gap: 28px; }
.catalog-sidebar { padding: 23px; }
.catalog-sidebar a { font-size: 13px; }
.catalog-sidebar a:hover, .catalog-sidebar a.is-active { color: var(--green); }
.product-page { gap: 55px; }
.product-image-panel { background: #fff; border-radius: 8px; }
.product-summary h1 { line-height: 1.08; }
.product-pricing { background: #e9f2f0; border-radius: 6px; }
.product-price-current { color: var(--green-dark); }
.order-panel { border-top: 4px solid var(--green); }
.order-form input:not([type=checkbox]), .order-form select { border-radius: 5px; min-height: 46px; }
.order-form input:focus, .order-form select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(23,107,112,.12); }
.blog-card-image, .blog-hero { background: #e9f2f0; }
.blog-card-date { display: block; margin: 8px 0 0; color: #657b77; font-size: 13px; line-height: 1.4; }
.blog-card h2, .blog-article h3 { color: var(--green-dark); }
.blog-article { max-width: 100%; }
.blog-article .blog-published { margin: -10px 0 22px; color: #657b77; font-size: 14px; line-height: 1.4; }
.blog-article p, .blog-article li { color: #3f5960; line-height: 1.8; }
.blog-article a { color: var(--green); }
.notice-card, .contact-tiles a { background: #e6f2ef; border-color: #c7ded9; }
.doctor-bio-intro .small-note { font-size: 14px !important; line-height: 1.65; color: var(--green-dark); background: #e6f2ef; border-left: 4px solid var(--green); padding: 16px 18px; margin: 0 0 22px; }

@media (max-width: 1100px) {
  .hero { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); }
  .hero-showcase { transform: scale(.9); transform-origin: center right; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shell { width: min(100% - 36px, 760px); }
  .menu-toggle { background: var(--green-soft); color: var(--green-dark); border-radius: 5px; }
  .nav-inner { gap: 0; }
  .hero { min-height: 430px; grid-template-columns: minmax(0, 1fr) minmax(230px, .7fr); }
  .hero h1 { font-size: clamp(40px, 5vw, 56px); }
  .hero-showcase { height: 370px; transform: scale(.82); }
  .category-grid, .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 32px); }
  .header-main { min-height: 0; }
  .brand-copy strong { font-size: 21px; }
  .site-search { height: 46px; }
  .site-search button { height: 36px; }
  .hero { display: flex; flex-direction: column; gap: 0; min-height: 0; }
  .hero-copy { padding: 49px 0 25px; }
  .hero h1 { font-size: clamp(42px, 11vw, 58px); max-width: 540px; }
  .hero-lead { font-size: 15px; }
  .hero-showcase { height: 300px; width: min(100%, 390px); transform: none; align-self: center; margin-bottom: 18px; }
  .hero-feature { inset: 0 17% 12px 6%; border-radius: 100px 100px 10px 10px; padding: 10px 20px; }
  .hero-feature:before { width: 210px; height: 210px; }
  .hero-feature img { height: 190px; }
  .hero-feature span { font-size: 19px; }
  .hero-mini { width: 145px; min-height: 75px; gap: 5px; padding: 7px; }
  .hero-mini img { width: 43px; height: 60px; }
  .hero-mini span { font-size: 11px; }
  .hero-mini small { font-size: 9px; }
  .section { padding-block: 52px; }
  .section-products { padding-top: 8px; }
  .section-heading h2, .page-heading h1 { font-size: 34px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .category-card { min-height: 142px; padding: 14px; }
  .category-card-title { font-size: 12px; }
  .product-grid, .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-visual { height: 165px; }
  .product-card-body { padding: 13px; }
  .product-card h3, .product-card h2 { font-size: 16px; margin: 6px 0 10px; }
  .home-intro { padding-top: 55px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { padding: 10px; }
  .product-image-panel { min-height: 340px; }
  .product-summary h1 { font-size: 42px; }
  .order-panel { padding: 20px; }
  .blog-article { padding: 24px; }
}
@media (max-width: 385px) {
  .hero h1 { font-size: 40px; }
  .product-visual { height: 140px; }
  .product-card-pricing { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.product-data-notice {
  margin: 18px 0;
  padding: 18px 20px;
  border: 1px solid #c8ded9;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #edf6f3;
  color: var(--green-dark);
}
.product-data-notice strong { display: block; margin-bottom: 5px; }
.product-data-notice p { margin: 0; font-size: 14px; line-height: 1.6; }
.product-data-notice a,
.product-related-guide a,
.seo-related a,
.article-related a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.product-data-notice a:focus-visible,
.product-related-guide a:focus-visible,
.seo-related a:focus-visible,
.article-related a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.product-related-guide,
.article-related {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid #d4e7e2;
  border-radius: 8px;
  background: #f5faf8;
}
.product-editorial .product-related-guide h2,
.blog-article .article-related h2 { margin: 0 0 10px; font-size: 23px; }
.product-related-guide p { margin-bottom: 0; }
.article-related ul { margin: 8px 0 0; padding-left: 20px; }
.article-related li + li { margin-top: 6px; }

.seo-related {
  margin-bottom: 58px;
  padding-top: 27px;
  border-top: 1px solid #c8ded9;
}
.seo-related h2 { margin: 0 0 8px; color: var(--green-dark); }
.seo-related p { max-width: 70ch; color: #485e50; }
.seo-related ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 14px 0 0; padding-left: 20px; }
.seo-related li { max-width: 46ch; }

@media (max-width: 650px) {
  .product-data-notice { padding: 15px 16px; }
  .product-related-guide, .article-related { padding: 17px 16px; }
  .seo-related { margin-bottom: 42px; }
  .seo-related ul { display: block; }
  .seo-related li + li { margin-top: 8px; }
}
