:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --primary: #0058ff;
  --primary-dark: #003bb3;
  --accent: #08b3a4;
  --alt: #845ef7;
  --text: #1a1f36;
  --text-muted: #5d6885;
  --border: rgba(26, 31, 54, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  color: white;
  max-width: 1100px;
  margin: 40px auto 0;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(12, 32, 85, 0.24);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6, 34, 90, 0.82) 0%, rgba(7, 76, 184, 0.68) 60%, rgba(21, 169, 157, 0.6) 100%),
    url('https://b2b-images-store.s3.us-east-1.amazonaws.com/healthpr-2024-11-21T20%3A43%3A35-05%3A00-IMG_0193%20(1).jpeg') center/cover no-repeat;
  background-blend-mode: multiply;
  border-radius: inherit;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(24px, 6vw, 48px);
  align-items: stretch;
}

.hero__content {
  display: grid;
  gap: 18px;
  text-align: left;
  align-content: start;
}

.hero__logo {
  width: 132px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: white;
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 36px rgba(12, 32, 85, 0.28);
}

.hero__cta:hover,
.hero__cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(12, 32, 85, 0.35);
}

.hero__supporting {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.hero__card {
  border-radius: 24px;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: clamp(20px, 4vw, 28px);
  display: grid;
  gap: 16px;
}

.hero__card h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

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

.hero__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.hero__list strong {
  font-weight: 700;
}

.hero__badge-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

main {
  margin: 32px auto 120px;
  padding: 0 24px;
  max-width: 1100px;
}

.intro {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 0;
  margin-bottom: 24px;
}

.intro__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border);
}

.intro__card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.intro__card ol {
  padding-left: 20px;
  margin: 0 0 16px;
}

.intro__note {
  font-weight: 500;
}

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

.cart-panel {
  margin-bottom: 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cart-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-panel__header h3 {
  margin: 0;
  font-size: 1.2rem;
}

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

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.cart-item__meta {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.cart-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cart-summary {
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 12px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

@media (max-width: 960px) {
  .cart-panel {
    margin-bottom: 16px;
  }
}

.badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 88, 255, 0.1);
  color: var(--primary);
  font-weight: 600;
}

.badge--accent {
  background: rgba(8, 179, 164, 0.12);
  color: var(--accent);
}

.badge--alt {
  background: rgba(132, 94, 247, 0.12);
  color: var(--alt);
}

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

form {
  display: grid;
  gap: 28px;
}

.step-indicator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .step-indicator {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px;
  }

  .step-indicator__item {
    flex: initial;
    min-width: 0;
    gap: 6px;
  }

  .step-indicator__item::after {
    display: none;
  }
}

.step-indicator__item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 150px;
  position: relative;
  min-width: 120px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.step-indicator__item::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 2px;
  background: rgba(26, 31, 54, 0.1);
  transform: translateY(-50%);
}

.step-indicator__item:last-child::after {
  display: none;
}

.step-indicator__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 88, 255, 0.12);
  color: var(--primary);
  font-size: 0.85rem;
}

.step-indicator__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.9rem;
}

.step-indicator__item.is-current {
  color: var(--text);
  cursor: default;
}

.step-indicator__item.is-current .step-indicator__number {
  background: var(--primary);
  color: white;
}

.step-indicator__item.is-complete {
  color: var(--accent);
}

.step-indicator__item.is-complete .step-indicator__number {
  background: var(--accent);
  color: white;
}

.step-indicator__item.is-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.step-indicator__item.is-disabled::after {
  background: rgba(26, 31, 54, 0.08);
}
[data-step] {
  display: none;
}

[data-step].is-active {
  display: block;
}

.selection-preview {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(0, 88, 255, 0.08);
  font-weight: 600;
  color: var(--primary);
}

.selection-preview.is-empty {
  background: rgba(26, 31, 54, 0.05);
  color: var(--text-muted);
  font-weight: 500;
}

.review {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review__section {
  display: grid;
  gap: 18px;
}

.review__content {
  background: #f8f9ff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid rgba(26, 31, 54, 0.12);
  color: var(--text);
}

.review__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.review__row {
  display: grid;
  gap: 4px;
}

.review__row dt {
  font-weight: 600;
  color: var(--text-muted);
}

.review__row dd {
  margin: 0;
  font-weight: 600;
}

.review__note {
  margin-top: 16px;
  font-size: 0.9rem;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  text-align: left;
}

.form__hint {
  flex-basis: 100%;
  margin: 0;
}

.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(26, 31, 54, 0.18);
  background: white;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease;
}

.secondary:hover,
.secondary:focus {
  border-color: var(--primary);
  background: rgba(0, 88, 255, 0.08);
}

.link-button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
}

.link-button:hover,
.link-button:focus {
  text-decoration: underline;
}
.form__section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 34px) clamp(20px, 4vw, 28px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form__section:first-of-type {
  margin-top: 24px;
}

legend {
  font-weight: 700;
  font-size: 1.15rem;
  padding: 0 0 12px;
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--three {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.grid--two > .grid {
  grid-column: 1 / -1;
}

.form__subsection {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.form__subsection:last-of-type {
  margin-bottom: 32px;
}

.form__subsection-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.form__confirmation {
  margin-top: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 16px;
}

.form__confirmation h3 {
  margin: 0;
}

.form__confirmation-summary {
  display: grid;
  gap: 18px;
}

.confirmation__section {
  border-top: 1px solid rgba(26, 31, 54, 0.12);
  padding-top: 16px;
}

.confirmation__section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.confirmation__section--warnings {
  background: rgba(255, 196, 0, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid rgba(255, 196, 0, 0.4);
}

.confirmation__section h4 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

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

.confirmation__list li {
  display: grid;
  gap: 2px;
}

.confirmation__list li strong {
  font-weight: 600;
}

.confirmation__list span {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.confirmation__totals {
  display: grid;
  gap: 8px;
}

.confirmation__totals div {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.confirmation__notes {
  background: #f5f7fb;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
}

.field {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.field span {
  color: var(--text);
}

.field input,
.field textarea,
.field select,
.product__quantity input {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(26, 31, 54, 0.16);
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.product__quantity input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 88, 255, 0.1);
}

.field--full {
  grid-column: 1 / -1;
}

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

.product-catalog {
  display: grid;
  gap: 20px;
}

.product-tree {
  display: grid;
  gap: 20px;
}

.product-tree__group {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.product-tree__heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 1.3rem;
}

.product-tree__heading small {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-tree__options {
  display: grid;
  gap: 16px;
}

.panel-card {
  display: grid;
  gap: 14px;
  text-align: left;
}

.panel-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.panel-card__subtitle {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 4px;
}

.panel-card__badges {
  display: flex;
  gap: 12px;
  align-items: center;
}

.product-tree__status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 179, 164, 0.14);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.panel-card__pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 88, 255, 0.12);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
}

.panel-card__summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.panel-card__biomarkers {
  display: grid;
  gap: 12px;
}

.panel-card__biomarker-group {
  background: rgba(0, 88, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.panel-card__biomarker-group h4 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.panel-card__biomarker-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}

.add-on-card__summary {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.add-on-card__cadences {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.add-on-card__cadence {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(26, 31, 54, 0.08);
}

.add-on-card__cadence:first-child {
  border-top: none;
  padding-top: 0;
}

.add-on-card__cadence-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.add-on-card__recurrence {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.add-on-card__cadence-price {
  font-weight: 700;
  font-size: 1.05rem;
}

.add-on-card__cadence .product__quantity {
  margin-left: auto;
}

.add-on-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
}

.add-on-card__note {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.product-tree__add-on-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--primary);
  color: white;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-tree__add-on-toggle:hover,
.product-tree__add-on-toggle:focus {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.product-tree__add-on-toggle.is-remove {
  background: rgba(204, 42, 54, 0.15);
  color: #cc2a36;
}

.product-tree__add-on-toggle.is-remove:hover,
.product-tree__add-on-toggle.is-remove:focus {
  background: #cc2a36;
  color: white;
}

@media (max-width: 720px) {
  .add-on-card__cadence {
    align-items: flex-start;
  }

  .add-on-card__cadence .product__quantity {
    width: 100%;
    margin-left: 0;
  }
}

.product-tree__option {
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 31, 54, 0.12);
  padding: 16px 18px;
  background: #f7f8fe;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.product-tree__option.panel-card {
  display: grid;
  gap: 16px;
  align-items: flex-start;
  justify-content: initial;
}

.product-tree__option:hover,
.product-tree__option:focus {
  border-color: rgba(0, 88, 255, 0.3);
  background: #eef3ff;
  transform: translateY(-1px);
}

.product-tree__option.is-active {
  border-color: var(--primary);
  background: rgba(0, 88, 255, 0.12);
  box-shadow: 0 12px 28px rgba(0, 88, 255, 0.18);
}

.product-tree__option:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 88, 255, 0.18);
}

.product-tree__label {
  display: grid;
  gap: 6px;
}

.product-tree__label strong {
  font-size: 1.1rem;
}

.product-tree__description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-tree__meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.product-tree__pill-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.product-tree__pill {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 88, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 600;
}

.product-tree__pill[data-type="MONTHLY"] {
  background: rgba(8, 179, 164, 0.15);
  color: var(--accent);
}

.product-tree__pill[data-type="QUARTERLY"] {
  background: rgba(132, 94, 247, 0.18);
  color: var(--alt);
}

.product-tree__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-top: 16px;
}

.product-tree__controls button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: rgba(26, 31, 54, 0.08);
  color: var(--text);
  transition: background 0.2s ease;
}

.product-tree__controls button:hover,
.product-tree__controls button:focus {
  background: rgba(0, 88, 255, 0.16);
}

.product-tree__controls button.is-primary {
  background: var(--primary);
  color: white;
}

.product-tree__controls button.is-primary:hover,
.product-tree__controls button.is-primary:focus {
  background: var(--primary-dark);
}

.product-tree__quantity {
  display: grid;
  gap: 6px;
  min-width: 120px;
}

.product-tree__controls-buttons {
  display: flex;
  gap: 12px;
}

.product-tree__controls input {
  width: 120px;
}

.product-tree__empty {
  color: var(--text-muted);
  font-style: italic;
}

.product-tree__add-ons {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 31, 54, 0.12);
}

.add-on-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 31, 54, 0.12);
  padding: 18px 20px;
  background: #f6fffb;
  display: grid;
  gap: 12px;
}

.add-on-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.add-on-card__header-info {
  display: grid;
  gap: 6px;
}

.add-on-card__header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.add-on-card__logo {
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

.add-on-card__more-info {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.add-on-card__more-info:hover,
.add-on-card__more-info:focus {
  text-decoration: underline;
}

.add-on-card__description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.add-on-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.add-on-card__actions input {
  width: 80px;
}

.add-on-card__badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(8, 179, 164, 0.14);
  color: var(--accent);
}

.product-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 31, 54, 0.12);
  background: #f8f9ff;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

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

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 88, 255, 0.3);
  background: #eef3ff;
}

.product-card--add-on {
  background: #f6fffb;
}

.product-card__header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.product-card__title {
  margin: 0;
  font-size: 1.15rem;
}

.product-card__subtitle {
  margin: 0;
  font-weight: 500;
  color: var(--text-muted);
}

.product-card__price {
  font-weight: 700;
  font-size: 1.1rem;
}

.product-card__badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 88, 255, 0.12);
  color: var(--primary);
}

.product-card__badge[data-type="MONTHLY"] {
  background: rgba(8, 179, 164, 0.15);
  color: var(--accent);
}

.product-card__badge[data-type="QUARTERLY"] {
  background: rgba(132, 94, 247, 0.18);
  color: var(--alt);
}

.product-card__body {
  color: var(--text-muted);
}

.product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.product__quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.product__quantity input {
  width: 90px;
}

.product__quantity button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 88, 255, 0.12);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product__quantity button:hover {
  background: rgba(0, 88, 255, 0.24);
}

.summary {
  display: grid;
  gap: 12px;
}

.summary__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(26, 31, 54, 0.12);
}

.summary__item:last-child {
  border-bottom: none;
}

.summary__label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.summary__value {
  font-weight: 700;
  font-size: 1.05rem;
}

.summary__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary__remove {
  border: none;
  background: transparent;
  color: #cc2a36;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.summary__remove:hover,
.summary__remove:focus {
  text-decoration: underline;
}

.summary__footer {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  background: var(--primary);
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary:hover,
.primary:focus {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.24);
}

.form__status {
  min-height: 20px;
  font-weight: 600;
}

.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 40px 16px;
  font-size: 0.9rem;
}


@media (max-width: 960px) {
  .product-tree {
    gap: 16px;
  }

  .product-tree__group {
    padding: 20px;
  }

  .product-tree__heading {
    font-size: 1.2rem;
  }


  .hero {
    padding: 48px 20px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__card {
    order: 2;
  }

  .step-indicator {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .step-indicator__item {
    width: 100%;
  }

  .step-indicator__item::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta {
    width: 100%;
    justify-content: center;
  }

  .hero__supporting {
    text-align: center;
  }

  .form__actions {
    justify-content: stretch;
  }

  .secondary,
  .primary {
    width: 100%;
    justify-content: center;
  }

  .product-tree__group {
    padding: 18px;
  }

  .product-tree__option {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .product-tree__meta {
    width: 100%;
    text-align: left;
  }

  .product-tree__controls {
    width: 100%;
    flex-wrap: wrap;
  }

  .product-tree__controls input {
    flex: 1;
    min-width: 120px;
  }
}

@media (max-width: 720px) {
  main {
    margin: 24px auto 80px;
    padding: 0 16px;
  }

  .intro {
    margin-top: 16px;
  }

  .product__actions {
    justify-content: flex-start;
  }

  .product__quantity {
    width: 100%;
  }

  .product__quantity input {
    flex: 1;
  }
}

/* KMAK Discount Pricing Styles */
.price-original {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9em;
  margin-right: 8px;
  opacity: 0.7;
}

.price-discounted {
  color: var(--accent);
  font-weight: 600;
}
