:root {
  --ink: #1f2933;
  --muted: #657182;
  --line: #e8edf2;
  --soft: #f7fafc;
  --panel: #ffffff;
  --teal: #10847e;
  --teal-dark: #0a6762;
  --coral: #ff6f61;
  --coral-dark: #e85c4f;
  --mint: #e9f7f5;
  --amber: #fff3d9;
  --blue: #edf5ff;
  --shadow: 0 18px 45px rgba(20, 34, 47, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a.btn {
  -webkit-tap-highlight-color: transparent;
}

.top-strip {
  background: var(--teal-dark);
  color: #fff;
  font-size: 13px;
  padding: 8px 20px;
}

.strip-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 21px;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #42b7a9);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(16, 132, 126, 0.22);
}

.brand-name {
  color: var(--coral);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 11px;
  border-radius: 8px;
  color: #3d4a58;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--teal);
  background: var(--mint);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: #cdd8e1;
  background: var(--soft);
}

.icon-button svg,
.brand-mark svg,
.stat-icon svg,
.pill-icon svg,
.mini-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
}

.hero {
  background: linear-gradient(180deg, #f5fbfa 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 54px 0 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.hero-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 26px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.search-panel label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  padding: 0 10px;
}

.search-panel input,
.compact-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
}

.btn {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  background: linear-gradient(180deg, #14938c 0%, var(--teal) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-height: 46px;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(16, 132, 126, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%);
  box-shadow: 0 16px 28px rgba(16, 132, 126, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(16, 132, 126, 0.18);
}

.btn:focus-visible,
.icon-button:focus-visible,
.small-add:focus-visible,
.filter-tab:focus-visible {
  outline: 3px solid rgba(16, 132, 126, 0.26);
  outline-offset: 3px;
}

.btn.secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
  color: var(--teal-dark);
  border: 1px solid #acd8d3;
  box-shadow: 0 9px 18px rgba(20, 34, 47, 0.07);
}

.btn.secondary:hover {
  background: #f4fbfa;
  border-color: var(--teal);
  box-shadow: 0 12px 22px rgba(20, 34, 47, 0.08);
}

.btn.coral {
  background: linear-gradient(180deg, #ff7d70 0%, var(--coral) 100%);
  box-shadow: 0 10px 20px rgba(255, 111, 97, 0.2);
}

.btn.coral:hover {
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-dark) 100%);
  box-shadow: 0 14px 24px rgba(255, 111, 97, 0.25);
}

.btn.add-cart {
  min-width: 104px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.quick-card {
  padding: 16px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 34, 47, 0.05);
}

.quick-card strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 15px;
}

.quick-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pill-icon,
.stat-icon,
.mini-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--teal);
  background: var(--mint);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-check {
  position: absolute;
  left: -26px;
  bottom: 28px;
  width: min(310px, 82%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.floating-check b {
  display: block;
  margin-bottom: 8px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}

.progress {
  height: 8px;
  background: #e9eef3;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 86%;
  background: var(--teal);
}

section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 0;
}

.band {
  background: var(--soft);
}

.category-grid,
.store-grid,
.lab-grid,
.article-grid,
.value-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-card,
.product-card,
.lab-card,
.article-card,
.value-card,
.contact-card,
.plan-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.category-card {
  padding: 18px 14px;
  text-align: center;
}

.category-card .pill-icon {
  margin: 0 auto 12px;
}

.category-card b {
  display: block;
  font-size: 14px;
}

.category-card small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.compact-search {
  width: min(100%, 460px);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: #3d4a58;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.filter-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.store-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  background: var(--soft);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.product-body h3,
.lab-card h3,
.article-card h3,
.value-card h3,
.plan-card h3 {
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 0;
}

.product-body p,
.lab-card p,
.article-card p,
.value-card p,
.plan-card p,
.step-card p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.price {
  font-size: 19px;
  font-weight: 900;
}

.mrp {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 13px;
  margin-left: 5px;
  font-weight: 600;
}

.small-add {
  border: 1px solid #b9ded9;
  background: linear-gradient(180deg, #fff 0%, var(--mint) 100%);
  color: var(--teal-dark);
  width: 42px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(20, 34, 47, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.small-add:hover {
  transform: translateY(-1px);
  border-color: var(--teal);
  box-shadow: 0 12px 22px rgba(16, 132, 126, 0.13);
}

.promo-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.promo-panel {
  border-radius: 8px;
  padding: 34px;
  background: var(--teal-dark);
  color: #fff;
  overflow: hidden;
}

.promo-panel h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.promo-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.promo-img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.lab-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lab-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lab-card .test-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  background: var(--soft);
  color: #52606d;
  border: 1px solid var(--line);
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stat-card strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 28px;
}

.stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.article-grid,
.value-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.article-body,
.value-card,
.plan-card,
.step-card,
.contact-card {
  padding: 20px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card.featured {
  border-color: rgba(16, 132, 126, 0.45);
  box-shadow: var(--shadow);
}

.plan-price {
  font-size: 34px;
  font-weight: 950;
  margin: 14px 0;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  gap: 10px;
  color: #3d4a58;
}

.check-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 2px;
  background: var(--mint);
  box-shadow: inset 0 0 0 5px #fff;
  border: 5px solid var(--teal);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
  margin-bottom: 14px;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 7px;
  color: #3d4a58;
  font-weight: 750;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  padding: 13px 12px;
  outline: 0;
  background: #fff;
}

.form textarea {
  min-height: 126px;
  resize: vertical;
}

.form .btn,
.cart-total .btn {
  width: 100%;
}

.site-footer {
  background: #132a2e;
  color: #fff;
  padding: 44px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-col h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.drawer,
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.drawer.active,
.modal.active {
  pointer-events: auto;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 30, 0.42);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.active .scrim {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.active .drawer-panel {
  transform: translateX(0);
}

.drawer-head,
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-items {
  display: grid;
  gap: 12px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-total {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: grid;
  gap: 12px;
}

.modal-card {
  position: absolute;
  width: min(520px, calc(100% - 32px));
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 16px));
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.active .modal-card {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  background: #132a2e;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 120;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.empty-state {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed #cbd6df;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .nav-inner {
    grid-template-columns: auto auto;
  }

  .main-nav {
    position: fixed;
    top: 113px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero-grid,
  .promo-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .quick-actions,
  .store-grid,
  .category-grid,
  .lab-grid,
  .article-grid,
  .value-grid,
  .stats-row,
  .plans,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .strip-inner {
    display: block;
    text-align: center;
  }

  .strip-inner span:last-child {
    display: none;
  }

  .nav-inner {
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .header-actions .optional-action {
    display: none;
  }

  .main-nav {
    top: 103px;
  }

  .hero-grid {
    padding: 34px 0 32px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel .btn {
    width: 100%;
  }

  .product-card .price-row,
  .lab-card .price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-card .btn,
  .lab-card .btn {
    width: 100%;
  }

  .quick-actions,
  .store-grid,
  .category-grid,
  .lab-grid,
  .article-grid,
  .value-grid,
  .stats-row,
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }

  .toolbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .floating-check {
    position: static;
    width: auto;
    margin-top: 12px;
  }

  section {
    padding: 44px 0;
  }

  .promo-panel {
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
