body.product-page {
  background: linear-gradient(180deg, rgba(246,250,252,0.92) 0%, rgba(237,248,250,0.85) 100%);
}

body.product-catalogue {
  background: linear-gradient(180deg, rgba(241, 251, 251, 0.95) 0%, rgba(232, 244, 255, 0.9) 100%);
}

.product-catalogue main {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(48px, 12vw, 120px);
}

.catalog-hero {
  padding: clamp(48px, 12vw, 140px) clamp(16px, 6vw, 48px) 0;
}

.catalog-hero__grid {
  display: grid;
  gap: clamp(32px, 7vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.catalog-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(18, 178, 160, 0.12);
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.catalog-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-top: 18px;
  color: var(--ink);
}

.catalog-hero .lead {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 16px;
}

.catalog-hero__offers {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  color: var(--ink);
}

.catalog-hero__offers li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(18, 178, 160, 0.14);
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 600;
}

.catalog-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.catalog-hero__card {
  background: rgba(255,255,255,0.9);
  border-radius: 28px;
  border: 1px solid rgba(15, 17, 26, 0.06);
  box-shadow: 0 22px 48px rgba(15, 17, 26, 0.1);
  padding: clamp(24px, 5vw, 40px);
  display: grid;
  gap: 18px;
}

.catalog-hero__card h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--ink);
}

.catalog-hero__card p {
  color: var(--muted);
}

.catalog-hero__card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.catalog-hero__card dt {
  font-weight: 700;
  color: var(--ink);
}

.catalog-hero__card dd {
  margin: 0;
  color: var(--muted);
}

.catalog-section {
  padding: 0 clamp(16px, 6vw, 48px);
}

.catalog-section--muted {
  background: rgba(255, 255, 255, 0.6);
  padding-top: clamp(40px, 8vw, 72px);
  padding-bottom: clamp(40px, 8vw, 72px);
}

.catalog-section__header {
  max-width: 70ch;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.catalog-section__header .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(18, 178, 160, 0.1);
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.catalog-section__header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-top: 16px;
  color: var(--ink);
}

.catalog-section__header p {
  color: var(--muted);
  margin-top: 12px;
}

.catalog-grid {
  display: grid;
  gap: clamp(24px, 5vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.catalog-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  box-shadow: 0 18px 40px rgba(15, 17, 26, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.catalog-card img {
  width: 100%;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(18, 178, 160, 0.08), rgba(56, 190, 255, 0.08));
  padding: 32px;
}

.catalog-card__body {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

.catalog-card__body h3 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--ink);
}

.catalog-card__body p {
  color: var(--muted);
}

.catalog-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--ink);
}

.catalog-card__meta strong {
  color: var(--ink);
}

.catalog-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-card--placeholder {
  background: rgba(18, 178, 160, 0.08);
  border: 1px dashed rgba(18, 178, 160, 0.4);
  box-shadow: none;
}

.catalog-grid--placeholder {
  justify-items: center;
}

.catalog-card--placeholder .catalog-card__body {
  align-items: flex-start;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal);
  border: 1px solid rgba(18, 178, 160, 0.3);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  box-shadow: 0 10px 18px rgba(18, 178, 160, 0.16);
  transform: translateY(-2px);
}

.product-page main {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 72px);
  padding-bottom: clamp(48px, 12vw, 120px);
}

.catalog-category-bar {
  position: sticky;
  top: 72px;
  z-index: 9;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 17, 26, 0.08);
  box-shadow: 0 8px 24px rgba(15, 17, 26, 0.08);
}

.catalog-category-bar .container {
  padding: clamp(14px, 2vw, 18px) clamp(16px, 6vw, 48px);
}

.catalog-category-bar__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-category-bar__scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(18, 178, 160, 0.22);
  background: rgba(18, 178, 160, 0.1);
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.category-pill:hover,
.category-pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(18, 178, 160, 0.18);
}

.category-pill.is-active,
.category-pill[aria-pressed="true"] {
  background: var(--teal);
  color: #fff;
  border-color: transparent;
}

.category-pill--link {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  background: rgba(15, 17, 26, 0.04);
  border-color: rgba(15, 17, 26, 0.08);
  color: var(--ink);
}

.category-pill--link:hover,
.category-pill--link:focus-visible {
  box-shadow: 0 10px 20px rgba(15, 17, 26, 0.12);
  transform: translateY(-2px);
}

.category-pill--checkout {
  background: linear-gradient(120deg, #12b2a0, #0f8fbd);
  color: #fff;
  border-color: transparent;
}

.category-pill--checkout:hover,
.category-pill--checkout:focus-visible {
  box-shadow: 0 12px 28px rgba(18, 178, 160, 0.25);
  transform: translateY(-2px);
}


.catalog-actions {
  padding: 0 clamp(16px, 6vw, 48px);
}

.catalog-actions__grid {
  display: grid;
  gap: clamp(16px, 4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* --- Pharmacy hub cards --- */
.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 4vw, 32px);
  align-items: stretch;
}

.pill-grid--single {
  max-width: 720px;
}

.pill-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(231, 247, 252, 0.9) 100%);
  border: 1px solid rgba(15, 143, 189, 0.08);
  box-shadow: 0 32px 68px -32px rgba(6, 64, 95, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.pill-card.is-hidden {
  display: none;
}

.pill-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(18, 178, 160, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.pill-card:hover,
.pill-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 36px 72px -28px rgba(10, 73, 126, 0.28);
}

.pill-card:hover::after,
.pill-card:focus-within::after {
  opacity: 1;
}

.pill-card__media {
  display: flex;
  justify-content: center;
  position: relative;
}

.pill-card__media {
  display: flex;
  justify-content: center;
  position: relative;
}

.pill-card__badge--dental {
  background: linear-gradient(120deg, #1fc9b5, #0f8fbd);
}

.pill-card__badge--dental {
  background: linear-gradient(120deg, #1fc9b5, #0f8fbd);
}

.pill-card__badge--systemic {
  background: linear-gradient(120deg, #6a6ff5, #4d53c7);
}

.pill-card__badge--systemic {
  background: linear-gradient(120deg, #6a6ff5, #4d53c7);
}

.pill-card__badge--pain {
  background: linear-gradient(120deg, #ff7a6f, #ff4f5e);
}

.pill-card__badge--pain {
  background: linear-gradient(120deg, #ff7a6f, #ff4f5e);
}

.pill-card__body {
  display: grid;
  gap: 10px;
  text-align: left;
}

.pill-card__body h3 {
  font-size: 1.2rem;
  color: var(--ink);
}

.pill-card__tagline {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pill-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
}

.pill-card__pricing span {
  font-weight: 700;
  font-size: 1.15rem;
}

.pill-card__pricing small {
  font-size: 0.85rem;
  color: var(--muted);
}

.pill-card__action {
  align-self: start;
  padding: 10px 18px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(120deg, #1fc9b5, #0f8fbd);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 16px 26px rgba(12, 121, 147, 0.26);
}

.pill-card__action::after {
  content: "→";
  font-size: 1rem;
  opacity: 0.75;
}

.pill-card__action:hover,
.pill-card__action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 32px rgba(12, 121, 147, 0.32);
}

.pill-card__detail {
  font-size: 0.95rem;
  color: var(--muted);
}

.pill-card__detail ul {
  padding-left: 20px;
  margin: 16px 0;
  display: grid;
  gap: 8px;
}

.pill-card__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(15, 143, 189, 0.08);
  border-radius: 12px;
  color: var(--ink);
}

.pill-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-chip {
  display: inline-flex;
  align-items: center;

  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(15, 143, 189, 0.12);
  color: var(--ink);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.link-chip:hover,
.link-chip:focus-visible {
  background: rgba(15, 143, 189, 0.22);
  transform: translateY(-1px);
}

/* --- Product drawer modal --- */
.product-drawer {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 80;
}

.product-drawer[hidden] {
  display: none;
}

.product-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 31, 43, 0.58);
  backdrop-filter: blur(4px);
}

.product-drawer__panel {
  position: relative;
  width: min(640px, 92vw);
  max-height: 90vh;
  background: linear-gradient(160deg, #ffffff 0%, #e9f8ff 100%);
  border-radius: 28px;
  box-shadow: 0 40px 90px rgba(3, 39, 58, 0.35);
  overflow: hidden;
  animation: drawerIn 0.45s ease forwards;
}

@keyframes drawerIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(9, 69, 116, 0.22);
}

.product-drawer__content {
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 24px;
  overflow-y: auto;
  max-height: inherit;
}

.product-drawer__header {
  display: grid;
  gap: 8px;
}

.product-drawer__category {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.product-drawer__header h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--ink);
}

.product-drawer__tagline {
  font-size: 1rem;
  color: var(--muted);
}

.product-drawer__body {
  display: grid;
  gap: 16px;
  font-size: 0.97rem;
  color: var(--muted);
}

.product-drawer__body ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.product-drawer__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(15, 143, 189, 0.1);
  padding-top: 16px;
}

.product-drawer__price span {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.product-drawer__price small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.product-drawer__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  background: rgba(15, 143, 189, 0.1);
  overflow: hidden;
}

.quantity-control input {
  width: 60px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 0;
}

.quantity-control__btn {
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
  padding: 10px;
  cursor: pointer;
  color: var(--teal);
  transition: background 0.2s ease;
}

.quantity-control__btn:hover,
.quantity-control__btn:focus-visible {
  background: rgba(15, 143, 189, 0.18);
}

.product-drawer__disclaimer {
  flex-basis: 100%;
  font-size: 0.85rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- Cart experience --- */
.cart-experience {
  display: grid;
  gap: clamp(24px, 5vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.cart-experience__column {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  border: 1px solid rgba(15, 143, 189, 0.08);
  box-shadow: 0 36px 72px -30px rgba(10, 73, 126, 0.25);
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 20px;
}

.cart-header h3 {
  font-size: 1.4rem;
  color: var(--ink);
}

.cart-header p {
  color: var(--muted);
  margin-top: 6px;
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-items.is-updated {
  animation: cartPulse 0.8s ease;
}

@keyframes cartPulse {
  from {
    box-shadow: 0 0 0 0 rgba(15, 143, 189, 0.38);
  }
  to {
    box-shadow: 0 0 0 24px rgba(15, 143, 189, 0);
  }
}

.cart-empty {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 143, 189, 0.08);
  color: var(--muted);
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(231, 247, 252, 0.7);
  border: 1px solid rgba(15, 143, 189, 0.12);
}

.cart-item__info {
  display: grid;
  gap: 6px;
}

.cart-item__name {
  font-weight: 700;
  color: var(--ink);
}

.cart-item__name .cart-item__badge {
  margin-left: 8px;
}

.cart-item__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(18, 178, 160, 0.12);
  color: var(--teal);
}

.cart-item__savings {
  margin: 0;
  font-size: 0.85rem;
  color: #0f8fbd;
}

.cart-item__meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.cart-item__controls {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.cart-item__remove {
  background: transparent;
  border: none;
  color: #ff5c5c;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cart-item__remove i {
  font-size: 1rem;
}

.cart-totals {
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 143, 189, 0.12);
}

.cart-totals div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

.cart-totals__note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.price-card .saving {
  color: #0b5c5a;
  font-weight: 600;
.cart-totals__highlight {
  background: linear-gradient(120deg, rgba(31, 201, 181, 0.18), rgba(15, 143, 189, 0.18));
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  color: var(--ink);
}

.cart-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(112, 154, 255, 0.14);
  color: var(--ink);
  font-size: 0.95rem;
}

.cart-hint a {
  color: var(--teal);
  font-weight: 700;
}

.cart-preview {
  padding: clamp(32px, 6vw, 54px) clamp(16px, 6vw, 48px);
  background: linear-gradient(140deg, rgba(18, 178, 160, 0.08), rgba(15, 143, 189, 0.12));
}

.cart-preview__grid {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.cart-preview__grid h2 {
  margin-bottom: 12px;
}

.cart-preview__grid p {
  margin-bottom: 0;
}

.cart-preview__actions {
  display: grid;
  gap: 12px;
}

.cart-preview__actions .btn {
  justify-content: center;
}

.cart-preview__note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.smart-form--cart {
  display: grid;
  gap: 24px;
}

.smart-form__group {
  border: 1px solid rgba(15, 143, 189, 0.12);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 16px;
  background: rgba(231, 247, 252, 0.6);
}

.smart-form__group legend {
  font-weight: 700;
  color: var(--ink);
  padding: 0 8px;
  font-size: 1rem;
}

.smart-form__group--muted {
  background: rgba(255, 255, 255, 0.68);
}

.smart-form__row {
  display: grid;
  gap: 8px;
}

.smart-form__row--split {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.smart-form__row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.smart-form__row input,
.smart-form__row textarea,
.smart-form__row select {
  border-radius: 14px;
  border: 1px solid rgba(15, 143, 189, 0.12);
  padding: 12px 14px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.smart-form__row input:focus,
.smart-form__row textarea:focus,
.smart-form__row select:focus {
  border-color: rgba(15, 143, 189, 0.65);
  box-shadow: 0 0 0 4px rgba(15, 143, 189, 0.18);
  outline: none;
}

.patient-preview {
  border-radius: 16px;
  border: 1px dashed rgba(15, 143, 189, 0.35);
  background: rgba(231, 247, 252, 0.52);
  padding: 18px;
  display: grid;
  gap: 6px;
  color: var(--ink);
}

.patient-preview h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.patient-preview p {
  margin: 0;
  color: var(--muted);
}

.payment-card {
  border-radius: 20px;
  border: 1px solid rgba(15, 143, 189, 0.14);
  padding: 20px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(231, 247, 252, 0.9));
  display: grid;
  gap: 18px;
}

.payment-card__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}

.payment-card__upi-id {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.payment-card__info {
  font-size: 0.85rem;
  color: var(--muted);
}

.payment-card__qr {
  justify-self: center;
  text-align: center;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
  border-radius: 18px;
  border: 1px dashed rgba(15, 143, 189, 0.24);
}

.payment-card__qr svg {
  width: 120px;
  height: 120px;
}

.payment-card__qr figcaption {
  font-size: 0.8rem;
  color: var(--muted);
}

.btn.tertiary {
  background: rgba(15, 143, 189, 0.12);
  color: var(--teal);
  padding: 10px 14px;
  border-radius: 14px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn.tertiary:hover,
.btn.tertiary:focus-visible {
  background: rgba(15, 143, 189, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .product-drawer__panel {
    width: min(540px, 94vw);
  }

  .cart-item {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .cart-item__controls {
    justify-items: stretch;
    grid-auto-flow: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .pill-card__body {
    text-align: center;
  }

  .pill-card__action {
    justify-self: center;
  }

  .product-drawer__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-drawer__controls {
    width: 100%;
    justify-content: space-between;
  }
}

.action-card {
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: clamp(20px, 5vw, 28px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 17, 26, 0.06);
  box-shadow: 0 18px 32px rgba(15, 17, 26, 0.12);
}

.action-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(18, 178, 160, 0.16), rgba(64, 139, 255, 0.16));
  color: var(--teal);
  font-size: 1.8rem;
}

.action-card__body h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.action-card__body p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.catalog-conditions {
  padding: 0 clamp(16px, 6vw, 48px);
}

.catalog-conditions__header {
  max-width: 72ch;
  display: grid;
  gap: 12px;
}

.catalog-alpha {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: clamp(18px, 4vw, 28px) 0;
}

.alpha-pill {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 17, 26, 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 600;
  min-width: 38px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.alpha-pill:hover,
.alpha-pill:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 17, 26, 0.12);
}

.alpha-pill.is-active,
.alpha-pill[aria-pressed="true"] {
  background: var(--teal);
  color: #fff;
  border-color: transparent;
}

.catalog-conditions__grid {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.catalog-conditions__group {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  box-shadow: 0 16px 28px rgba(15, 17, 26, 0.12);
  padding: 20px 24px;
}

.catalog-conditions__group h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--teal);
}

.catalog-conditions__group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.catalog-conditions__group a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(18, 178, 160, 0.6);
}

.catalog-conditions__empty {
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(15, 17, 26, 0.05);
  color: var(--muted);
  font-weight: 600;
}

.catalog-best-sellers {
  padding: 0 clamp(16px, 6vw, 48px);
}

.catalog-best-sellers__header {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(18px, 4vw, 32px);
}

.catalog-best-sellers__badge {
  display: grid;
  place-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(255, 114, 98, 0.14), rgba(255, 196, 105, 0.2));
  border-radius: 16px;
  border: 1px solid rgba(255, 114, 98, 0.3);
  color: #c64b2c;
  text-align: center;
  font-weight: 700;
}

.catalog-best-sellers__badge small {
  font-weight: 600;
  font-size: 0.75rem;
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: clamp(16px, 3vw, 24px);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.product-rail::-webkit-scrollbar {
  height: 6px;
}

.product-rail::-webkit-scrollbar-thumb {
  background: rgba(18, 178, 160, 0.3);
  border-radius: 999px;
}

.product-tile {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  box-shadow: 0 18px 28px rgba(15, 17, 26, 0.12);
  padding: 20px 22px 24px;
  display: grid;
  gap: 12px;
  text-align: left;
  position: relative;
  min-height: 100%;
}

.product-tile img {
  justify-self: center;
}

.product-tile__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(18, 178, 160, 0.12);
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 999px;
}

.product-tile__tag--warning {
  background: rgba(255, 114, 98, 0.2);
  color: #c64b2c;
}

.product-tile h3 {
  margin: 8px 0 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.product-tile__use {
  color: var(--muted);
  margin: 0;
}

.product-tile__price {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.product-tile__price span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.product-tile__cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-tile__cta:hover,
.product-tile__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(18, 178, 160, 0.26);
}

.product-tile--upcoming {
  align-content: start;
}

.is-hidden {
  display: none !important;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 680px) {
  .catalog-category-bar {
    top: 60px;
  }

  .action-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .action-card__icon {
    justify-self: start;
  }

  .product-rail {
    grid-auto-columns: minmax(220px, 82%);
  }
}

.product-hero {
  padding-top: clamp(48px, 12vw, 128px);
  position: relative;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(123, 224, 214, 0.25), transparent 45%),
              radial-gradient(circle at 80% 15%, rgba(148, 201, 255, 0.25), transparent 55%);
  pointer-events: none;
}

.product-hero .hero-grid {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.product-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
}

.product-hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(18, 178, 160, 0.12);
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.product-hero .price-card {
  background: rgba(255,255,255,0.85);
  border-radius: 24px;
  border: 1px solid rgba(15,17,26,0.08);
  box-shadow: 0 18px 40px rgba(15,17,26,0.08);
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-card .price-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-card .mrp {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.price-card .final-price {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--teal);
}

.price-card .saving {
  color: #0b5c5a;
  font-weight: 600;
}

.price-controls {
  display: grid;
  gap: 12px;
}

.price-controls label {
  font-weight: 600;
  color: var(--muted);
}

.price-controls input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.price-controls input[type="number"] {
  width: 90px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,17,26,0.1);
  font-weight: 600;
}

.price-card .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.price-card .cta-buttons .btn {
  flex: 1;
  min-width: 180px;
}

.order-perks {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.order-perks__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(18, 178, 160, 0.08);
  border: 1px dashed rgba(18, 178, 160, 0.4);
  border-radius: 18px;
  padding: 14px 16px;
}

.order-perks__item i {
  font-size: 1.4rem;
  color: var(--teal);
  flex-shrink: 0;
}

.order-perks__item strong {
  color: var(--ink);
}

.order-perks__item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-options {
  border: 1px solid rgba(15, 17, 26, 0.12);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.form-options legend {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 8px;
}

.option-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
}

.option-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  margin-top: 4px;
}

.option-checkbox strong {
  color: var(--ink);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,17,26,0.08);
  background: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.offer-grid {
  display: grid;
  gap: clamp(18px, 4vw, 32px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.offer-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  box-shadow: 0 16px 36px rgba(15, 17, 26, 0.08);
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  gap: 12px;
}

.offer-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 178, 160, 0.12);
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.offer-card ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.offer-card strong {
  color: var(--ink);
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.resource-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 17, 26, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.resource-links a:hover,
.resource-links a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 17, 26, 0.12);
}

.small-print {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}

.product-gallery {
  padding-block: clamp(24px, 10vw, 96px);
}

.product-gallery h2,
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  color: var(--ink);
  margin-bottom: clamp(18px, 3vw, 28px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.gallery-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(15,17,26,0.06);
  box-shadow: 0 12px 24px rgba(15,17,26,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(18,178,160,0.12), rgba(122,163,255,0.12));
}

.gallery-card figcaption {
  padding: 18px 22px 24px;
  font-weight: 600;
  color: var(--muted);
}

.product-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.detail-card {
  background: rgba(255,255,255,0.92);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(15,17,26,0.06);
  box-shadow: 0 14px 30px rgba(15,17,26,0.05);
}

.detail-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.detail-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.detail-card ul li {
  padding-left: 26px;
  position: relative;
  color: var(--muted);
}

.detail-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.composition-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(15,17,26,0.06);
  background: #ffffff;
}

.composition-table th,
.composition-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(15,17,26,0.06);
  color: var(--muted);
}

.composition-table th {
  background: rgba(18,178,160,0.12);
  color: var(--ink);
}

.prescription-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  border: 1px solid rgba(15, 17, 26, 0.12);
  box-shadow: 0 20px 44px rgba(15, 17, 26, 0.1);
  padding: clamp(20px, 4vw, 32px);
  display: grid;
  gap: 18px;
}

.prescription-card__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prescription-card__header span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.prescription-card__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.prescription-card dl {
  margin: 0;
  display: grid;
  gap: 6px;
}

.prescription-card dt {
  font-weight: 700;
  color: var(--ink);
}

.prescription-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.prescription-card__note {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 193, 79, 0.16);
  border: 1px solid rgba(255, 193, 79, 0.35);
  color: #6a4b07;
  font-weight: 600;
}

.assurance-banner {
  background: rgba(18, 178, 160, 0.08);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(18, 178, 160, 0.2);
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.assurance-banner i {
  font-size: 1.4rem;
}

.how-to-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.how-to-steps article {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(15,17,26,0.05);
  box-shadow: 0 12px 20px rgba(15,17,26,0.05);
  padding: 20px 24px;
}

.how-to-steps h3 {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.how-to-steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-grid {
  background: rgba(255,255,255,0.95);
  border-radius: 26px;
  border: 1px solid rgba(15,17,26,0.08);
  box-shadow: 0 20px 50px rgba(15,17,26,0.12);
  padding: clamp(28px, 5vw, 40px);
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.booking-grid form {
  display: grid;
  gap: 16px;
}

.booking-grid label {
  font-weight: 600;
  color: var(--muted);
}

.booking-grid input,
.booking-grid select,
.booking-grid textarea {
  border: 1px solid rgba(15,17,26,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.9);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-grid input:focus,
.booking-grid select:focus,
.booking-grid textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18,178,160,0.18);
}

.booking-grid textarea {
  resize: vertical;
  min-height: 120px;
}

.status-toast {
  display: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 600;
  color: #064e3b;
  background: rgba(16, 185, 129, 0.18);
}

.status-toast.is-visible {
  display: block;
}

.delivery-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-accordion {
  display: grid;
  gap: 16px;
}

.faq-accordion details {
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  border: 1px solid rgba(15,17,26,0.08);
  padding: 18px 22px;
  box-shadow: 0 12px 20px rgba(15,17,26,0.06);
}

.faq-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.faq-accordion p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.trust-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--muted);
}

.trust-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18,178,160,0.12);
  color: var(--ink);
  font-weight: 600;
}

.product-editorial {
  background: rgba(14, 116, 144, 0.08);
  border-radius: 28px;
  border: 1px solid rgba(15, 17, 26, 0.06);
  padding: clamp(24px, 6vw, 48px);
  display: grid;
  gap: clamp(18px, 4vw, 32px);
  box-shadow: 0 18px 36px rgba(14, 116, 144, 0.12);
}

.product-editorial__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 3vw, 24px);
}

.editor-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  padding: 18px 22px;
  display: grid;
  gap: 8px;
}

.editor-card strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.editor-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .price-card .cta-buttons {
    flex-direction: column;
  }

  .price-card .cta-buttons .btn {
    min-width: auto;
    width: 100%;
  }
}

/* =========================================================
   Advanced marketplace refresh
========================================================= */
.advanced-hero {
  position: relative;
  padding: clamp(56px, 12vw, 140px) clamp(16px, 6vw, 48px) clamp(24px, 8vw, 64px);
  background: linear-gradient(135deg, rgba(18, 178, 160, 0.18), rgba(64, 139, 255, 0.12));
}

.advanced-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.4), transparent 55%),
              radial-gradient(circle at 90% 15%, rgba(255, 255, 255, 0.2), transparent 60%);
}

.advanced-hero__grid {
  position: relative;
  display: grid;
  gap: clamp(32px, 7vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
  z-index: 1;
}

.advanced-hero__intro {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
}

.advanced-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(15, 17, 26, 0.08);
}

.advanced-hero__search {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 22px 36px rgba(15, 17, 26, 0.12);
}

.search-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  background: rgba(15, 17, 26, 0.04);
  border-radius: 999px;
  padding: 12px 20px;
}

.search-panel i {
  color: var(--teal);
  font-size: 1.2rem;
}

.search-panel input[type="search"] {
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--ink);
}

.search-panel__clear {
  border: none;
  background: rgba(18, 178, 160, 0.12);
  color: var(--teal);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.search-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-chip {
  border: none;
  background: rgba(18, 178, 160, 0.1);
  color: var(--teal);
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-chip:hover,
.search-chip:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(18, 178, 160, 0.18);
}

.advanced-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.advanced-hero__actions .btn.link {
  background: transparent;
  color: var(--teal);
  padding: 10px 0;
  border-bottom: 2px solid rgba(18, 178, 160, 0.2);
  border-radius: 0;
}

.advanced-hero__metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.advanced-hero__metrics dt {
  font-weight: 700;
  color: var(--ink);
}

.advanced-hero__metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.advanced-hero__card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  box-shadow: 0 26px 48px rgba(15, 17, 26, 0.14);
  padding: clamp(24px, 4vw, 36px);
  display: grid;
  gap: 18px;
}

.advanced-hero__card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.advanced-hero__card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.advanced-hero__card a {
  color: var(--teal);
}

.advanced-hero__note {
  background: rgba(18, 178, 160, 0.1);
  border-radius: 18px;
  padding: 12px 16px;
  color: var(--ink);
  font-weight: 600;
}

.category-rail {
  position: sticky;
  top: 72px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 17, 26, 0.08);
}

.category-rail__scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(14px, 3vw, 18px) clamp(16px, 6vw, 48px);
  overflow-x: auto;
  scrollbar-width: none;
}

.category-rail__scroll::-webkit-scrollbar {
  display: none;
}

.category-rail__label {
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-showcase {
  padding: clamp(20px, 6vw, 48px) clamp(16px, 6vw, 48px);
}

.category-showcase__grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.category-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding: clamp(18px, 3vw, 24px);
  border-radius: 20px;
  border: 1px solid rgba(15, 17, 26, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(18, 178, 160, 0.08);
}

.category-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, #12b2a0, #0f8fbd);
}

.category-card:nth-child(2) .category-card__icon {
  background: linear-gradient(135deg, #4a6cf7, #1a44d4);
}

.category-card:nth-child(3) .category-card__icon {
  background: linear-gradient(135deg, #ff7a6f, #ff4f5e);
}

.category-card__body h3 {
  margin: 0 0 4px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink);
}

.category-card__body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.advanced-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
}

.advanced-card__media {
  position: relative;
  background: linear-gradient(135deg, rgba(18, 178, 160, 0.08), rgba(64, 139, 255, 0.08));
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 40px);
}

.advanced-card__media img {
  max-width: min(80%, 260px);
  width: 100%;
  height: auto;
}

.advanced-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(15, 17, 26, 0.85);
  color: #fff;
}

.advanced-card__tag--dental {
  background: linear-gradient(135deg, #1bc3b4, #0f8fa4);
}

.advanced-card__tag--systemic {
  background: linear-gradient(135deg, #5168ff, #2c4cd3);
}

.advanced-card__body {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
}

.advanced-card__body p {
  color: var(--muted);
}

.advanced-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--ink);
}

.advanced-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn.link {
  background: rgba(15, 17, 26, 0.04);
  color: var(--teal);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
}

.search-empty-state {
  margin-top: clamp(24px, 4vw, 36px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 114, 98, 0.1);
  color: #c64b2c;
}

.systemic-note {
  margin-top: clamp(28px, 5vw, 40px);
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  align-items: start;
  background: rgba(81, 104, 255, 0.1);
  border: 1px solid rgba(81, 104, 255, 0.28);
  border-radius: 20px;
  padding: 18px 22px;
  color: var(--ink);
}

.systemic-note i {
  font-size: 1.4rem;
  color: #2c4cd3;
}

.order-assistant {
  background: rgba(255, 255, 255, 0.95);
  padding-top: clamp(48px, 8vw, 80px);
  padding-bottom: clamp(48px, 8vw, 80px);
}

.smart-form {
  display: grid;
  gap: clamp(18px, 4vw, 24px);
  background: rgba(15, 17, 26, 0.03);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid rgba(15, 17, 26, 0.08);
  box-shadow: 0 22px 46px rgba(15, 17, 26, 0.12);
}

.smart-form__row {
  display: grid;
  gap: 8px;
}

.smart-form__row--split {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.smart-form label {
  font-weight: 700;
  color: var(--ink);
}

.smart-form input,
.smart-form select,
.smart-form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 17, 26, 0.12);
  padding: 12px 16px;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}

.smart-form textarea {
  resize: vertical;
}

.smart-form__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(18, 178, 160, 0.12);
  color: var(--teal);
  font-weight: 600;
}

.smart-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.smart-form__status {
  margin: 0;
  font-weight: 600;
  color: var(--teal);
  min-height: 24px;
}

.seo-section {
  background: linear-gradient(135deg, rgba(18, 178, 160, 0.05), rgba(64, 139, 255, 0.06));
  padding-bottom: clamp(48px, 10vw, 88px);
}

.seo-grid {
  display: grid;
  gap: clamp(18px, 4vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.seo-grid article {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  border: 1px solid rgba(15, 17, 26, 0.06);
  padding: 20px 24px;
  box-shadow: 0 16px 32px rgba(15, 17, 26, 0.1);
}

.seo-grid h3 {
  margin-top: 0;
  color: var(--ink);
}

.seo-grid ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.faq-block {
  margin-top: clamp(32px, 6vw, 48px);
  display: grid;
  gap: 12px;
}

.faq-block details {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  border: 1px solid rgba(15, 17, 26, 0.06);
  padding: 16px 20px;
  box-shadow: 0 12px 24px rgba(15, 17, 26, 0.08);
}

.faq-block summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.faq-block p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 920px) {
  .category-rail {
    top: 64px;
  }
}

@media (max-width: 720px) {
  .advanced-hero__card {
    position: relative;
  }

  .advanced-hero__metrics {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .smart-form__row--split {
    grid-template-columns: 1fr;
  }

  .advanced-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
