:root {
  --ink: #1b133c;
  --ink-soft: rgba(27, 19, 60, 0.7);
  --ink-faint: rgba(27, 19, 60, 0.12);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --orange: #f97316;
  --paper: #f8f4ee;
  --white: #fefefe;
  --shadow: 0 18px 60px rgba(27, 19, 60, 0.13);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

h1,
h2 {
  font-family: "Instrument Serif", "Songti SC", serif;
  font-weight: 400;
  letter-spacing: 0;
}

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

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  width: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 16px 20px 34px;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: top;
}

.hero-filter {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.28), transparent 40%),
    linear-gradient(180deg, rgba(248, 244, 238, 0.2) 0%, rgba(248, 244, 238, 0.56) 70%, var(--paper) 100%),
    rgba(255, 255, 255, 0.12);
  backdrop-filter: saturate(1.08);
}

.hospital-corner-brand {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 11;
  display: block;
  width: clamp(220px, 18vw, 300px);
}

.hospital-corner-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  align-self: center;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 10px 30px rgba(27, 19, 60, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.logo {
  width: 24px;
  height: 24px;
  fill: var(--ink);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  position: relative;
  color: rgba(27, 19, 60, 0.8);
  font-size: 14px;
  font-weight: 500;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a.is-active {
  color: var(--ink);
}

.nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  content: "";
}

.sub-header {
  position: sticky;
  top: 16px;
  margin: 16px auto 0;
}

.page-hero {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 0;
}

.page-hero h1 {
  max-width: 930px;
  margin-bottom: 24px;
  font-size: clamp(62px, 9vw, 128px);
  line-height: 0.92;
}

.page-hero p:last-child {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.8;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1060px, 100%);
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 46px 0 0;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: min(100%, 760px);
  margin-bottom: 24px;
  padding: 8px 16px;
  border: 1px solid rgba(27, 19, 60, 0.1);
  border-radius: var(--radius);
  background: var(--glass);
  color: rgba(27, 19, 60, 0.82);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
  backdrop-filter: blur(12px);
}

.badge-icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  max-width: 930px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(54px, 8.4vw, 118px);
  line-height: 0.95;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.52);
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 780px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(13px, 1.35vw, 17px);
  line-height: 1.9;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.72);
}

.hero-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  padding: 0 30px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.hero-cta:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.hero-dock {
  display: grid;
  width: min(920px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(27, 19, 60, 0.09);
  border-radius: var(--radius);
  background: rgba(27, 19, 60, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-dock article {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.68);
  text-align: left;
}

.hero-dock strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Instrument Serif", "Songti SC", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.hero-dock span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 0;
}

.section-kicker {
  margin-bottom: 14px;
  color: rgba(27, 19, 60, 0.56);
  font-size: 13px;
  font-weight: 600;
}

.section h2 {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
  text-wrap: balance;
}

.thesis-grid,
.module-grid,
.compare-grid,
.audience-grid,
.timeline,
.cooperation-grid,
.open-grid,
.flow-board {
  display: grid;
  gap: 14px;
}

.thesis-grid,
.compare-grid,
.audience-grid,
.open-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.flow-board,
.timeline {
  grid-template-columns: repeat(4, 1fr);
}

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

.thesis article,
.flow-board article,
.modules article,
.compare article,
.audience article,
.timeline article,
.cooperation article,
.open-items article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(27, 19, 60, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 42px rgba(27, 19, 60, 0.06);
  backdrop-filter: blur(12px);
}

.thesis article span,
.compare article span,
.timeline article span,
.cooperation article span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
}

.flow-board article,
.modules article {
  min-height: 250px;
}

.flow-board svg,
.modules svg,
.audience svg {
  width: 28px;
  height: 28px;
  margin-bottom: 34px;
  color: var(--ink);
  stroke-width: 1.7;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

p {
  color: var(--ink-soft);
  line-height: 1.8;
}

.modules article span {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(27, 19, 60, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.46);
  color: rgba(27, 19, 60, 0.68);
  font-size: 12px;
  font-weight: 600;
}

.mechanism {
  width: min(1180px, calc(100% - 40px));
}

.mechanism .flow-board article:nth-child(2),
.modules article:nth-child(3),
.audience article:nth-child(2),
.cooperation article:nth-child(2) {
  background: rgba(255, 255, 255, 0.86);
}

.cooperation article {
  min-height: 300px;
}

.cooperation h3 {
  font-family: "Instrument Serif", "Songti SC", serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  line-height: 0.95;
}

.open-items {
  padding-bottom: 90px;
}

.open-items article {
  min-height: 260px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1180px) {
  .hospital-corner-brand {
    position: relative;
    top: auto;
    left: auto;
    align-self: center;
    width: min(300px, calc(100% - 32px));
    margin-top: 18px;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .site-header {
    width: min(100%, 560px);
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav {
    gap: 18px;
    min-width: max-content;
  }

  .hero-content {
    min-height: calc(100vh - 78px);
    padding-top: 36px;
  }

  h1 {
    font-size: clamp(48px, 13vw, 86px);
  }

  .hero-dock,
  .thesis-grid,
  .module-grid,
  .compare-grid,
  .audience-grid,
  .open-grid,
  .flow-board,
  .timeline,
  .cooperation-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 82px;
  }

  .sub-header {
    top: 10px;
    width: calc(100% - 28px);
  }

  .page-hero {
    width: min(100% - 28px, 1120px);
    padding-top: 72px;
  }

  .page-hero h1 {
    font-size: clamp(48px, 16vw, 82px);
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 10px 14px 24px;
  }

  .site-header {
    padding: 12px 14px;
  }

  .hospital-corner-brand {
    width: min(280px, calc(100% - 28px));
    margin-top: 16px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .nav a {
    font-size: 13px;
  }

  .badge {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    font-size: 12px;
  }

  h1 {
    width: 100%;
    font-size: 37px;
    line-height: 1;
  }

  .hero-copy {
    width: min(100%, 342px);
    max-width: 342px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-cta {
    width: 100%;
  }

  .hero-dock article {
    padding: 15px 18px;
  }

  .section {
    width: min(100% - 28px, 1120px);
  }

  .section h2 {
    font-size: 42px;
  }

  .thesis article,
  .flow-board article,
  .modules article,
  .compare article,
  .audience article,
  .timeline article,
  .cooperation article,
  .open-items article {
    min-height: auto;
  }
}

/* Product store */
button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.store-page {
  background: #f6f5f2;
}

.store-page .sub-header {
  align-self: auto;
}

.store-page .site-header {
  display: flex;
  width: max-content;
  max-width: calc(100% - 32px);
}

.cart-trigger {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.profile-trigger {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(27, 19, 60, 0.13);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.profile-trigger:hover {
  border-color: var(--orange);
  background: #fff8f3;
  transform: translateY(-1px);
}

.profile-trigger.is-complete::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22a06b;
  content: "";
}

.profile-trigger svg {
  width: 19px;
  height: 19px;
}

.cart-trigger svg {
  width: 18px;
  height: 18px;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.store-intro {
  padding-top: 92px;
}

.store-intro h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(56px, 8vw, 104px);
}

.featured-store {
  padding-top: 62px;
}

.featured-product {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(27, 19, 60, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(27, 19, 60, 0.08);
}

.product-gallery {
  min-width: 0;
  padding: 16px;
  background: #e9e8e5;
}

.gallery-stage {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  background: #f0efed;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.photo-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--orange);
  opacity: 1;
}

.featured-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.product-badge {
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff0e6;
  color: #c6540a;
  font-size: 12px;
  font-weight: 700;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.stock-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2fa36b;
  box-shadow: 0 0 0 4px rgba(47, 163, 107, 0.12);
}

.featured-details h2 {
  margin-bottom: 8px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 700;
  line-height: 1.14;
}

.product-subtitle {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.featured-price {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}

.featured-price small {
  margin-right: 4px;
  font-size: 20px;
}

.product-description {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.feature-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--orange);
}

.feature-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 13px;
}

.purchase-actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
}

.buy-primary,
.buy-secondary,
.checkout-button,
.submit-order,
.order-success button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 24px rgba(27, 19, 60, 0.16);
}

.buy-secondary {
  border: 1px solid rgba(27, 19, 60, 0.15);
  background: #fff;
}

.buy-primary:hover,
.buy-secondary:hover,
.checkout-button:hover,
.submit-order:hover {
  transform: translateY(-1px);
}

.buy-primary svg,
.buy-secondary svg {
  width: 17px;
  height: 17px;
}

.service-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 11px;
}

.service-notes span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-notes svg {
  width: 14px;
  height: 14px;
}

.medical-product-details {
  padding-top: 114px;
}

.medical-detail-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: end;
  margin-bottom: 48px;
}

.medical-detail-intro .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.medical-detail-intro h2 {
  margin-bottom: 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.98;
}

.medical-detail-intro > div {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.medical-detail-intro > div p:last-child {
  margin-bottom: 0;
}

.medical-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 48px;
}

.medical-feature-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(27, 19, 60, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 42px rgba(27, 19, 60, 0.06);
}

.medical-feature-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  color: var(--orange);
}

.medical-feature-grid h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.medical-feature-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.medical-info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-bottom: 14px;
}

.medical-info-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.medical-info-card .section-kicker {
  color: rgba(255, 255, 255, 0.58);
}

.medical-info-card h3 {
  margin-bottom: 28px;
  font-family: "Instrument Serif", "Songti SC", serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
}

.specs-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 0;
}

.specs-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13px;
}

.specs-card dt {
  color: rgba(255, 255, 255, 0.58);
}

.specs-card dd {
  margin: 0;
  text-align: right;
}

.spec-note {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.6;
}

.scenes-card {
  background: #2f7f7d;
}

.scenes-card ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenes-card li {
  position: relative;
  padding-left: 19px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
}

.scenes-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.customer-note {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.customer-note h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.customer-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

.practice-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.practice-value-grid article {
  padding: 34px;
  border: 1px solid rgba(27, 19, 60, 0.09);
  border-radius: var(--radius);
  background: #fff;
}

.practice-value-grid span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.practice-value-grid h3 {
  margin: 14px 0 12px;
  font-size: 22px;
}

.practice-value-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.medical-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(27, 19, 60, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.medical-disclaimer svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--orange);
}

.medical-disclaimer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.product-collection {
  padding-top: 114px;
  padding-bottom: 114px;
}

.collection-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.collection-heading h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 6vw, 72px);
}

.collection-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  font-size: 14px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(27, 19, 60, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(27, 19, 60, 0.05);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  background: #ebeae7;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.035);
}

.product-card-image > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.product-card-body {
  padding: 22px;
}

.product-category {
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
}

.product-card h3 {
  min-height: 29px;
  margin-bottom: 8px;
  font-size: 19px;
}

.product-card-body > p:not(.product-category) {
  min-height: 48px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.7;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-bottom strong {
  font-size: 25px;
}

.product-card-bottom small {
  margin-right: 3px;
  font-size: 14px;
}

.product-card-bottom button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-card-bottom button:hover {
  background: var(--orange);
  transform: translateY(-1px);
}

.product-card-bottom button svg {
  width: 18px;
  height: 18px;
}

.store-footer {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(27, 19, 60, 0.12);
}

.store-footer p {
  margin: 0;
  font-size: 12px;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 14, 36, 0.38);
  backdrop-filter: blur(3px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  width: min(430px, 100%);
  height: 100dvh;
  flex-direction: column;
  background: #fff;
  box-shadow: -24px 0 60px rgba(27, 19, 60, 0.16);
  transform: translateX(105%);
  transition: transform 0.3s ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-open {
  overflow: hidden;
}

.cart-head,
.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(27, 19, 60, 0.09);
}

.cart-head p,
.checkout-head p {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-head span,
.checkout-head span {
  color: var(--ink-soft);
  font-size: 12px;
}

.cart-head button,
.checkout-head button {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(27, 19, 60, 0.1);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.cart-head svg,
.checkout-head svg {
  width: 18px;
  height: 18px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(27, 19, 60, 0.08);
}

.cart-item img {
  width: 76px;
  height: 76px;
  border-radius: 6px;
  background: #efeeeb;
  object-fit: cover;
}

.cart-item h3 {
  margin-bottom: 5px;
  font-size: 14px;
}

.cart-item-price {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
}

.cart-quantity {
  display: inline-grid;
  grid-template-columns: 28px 30px 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(27, 19, 60, 0.12);
  border-radius: 6px;
}

.cart-quantity button {
  display: grid;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.cart-quantity svg {
  width: 13px;
  height: 13px;
}

.cart-quantity span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.remove-cart-item {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.remove-cart-item svg {
  width: 16px;
  height: 16px;
}

.cart-empty {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-empty > svg {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: rgba(27, 19, 60, 0.35);
}

.cart-empty p {
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 700;
}

.cart-empty span {
  color: var(--ink-soft);
  font-size: 12px;
}

.cart-footer {
  padding: 22px 24px 26px;
  border-top: 1px solid rgba(27, 19, 60, 0.09);
}

.cart-total,
.checkout-pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total span,
.checkout-pay-row span {
  color: var(--ink-soft);
  font-size: 13px;
}

.cart-total strong,
.checkout-pay-row strong {
  font-size: 24px;
}

.checkout-button,
.submit-order,
.order-success button {
  width: 100%;
  background: var(--ink);
  color: #fff;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.checkout-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(27, 19, 60, 0.22);
}

.checkout-dialog::backdrop {
  background: rgba(18, 14, 36, 0.5);
  backdrop-filter: blur(4px);
}

.checkout-form {
  display: grid;
  gap: 17px;
  padding: 0 24px 26px;
}

.checkout-form[hidden] {
  display: none;
}

.checkout-form .checkout-head {
  margin: 0 -24px 4px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(27, 19, 60, 0.15);
  border-radius: 6px;
  outline: none;
  background: #fbfaf8;
  color: var(--ink);
  font-size: 14px;
  resize: vertical;
}

.profile-dialog {
  width: min(560px, calc(100% - 28px));
}

.cart-toast.profile-toast {
  background: #18794e;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.checkout-pay-row {
  margin: 2px 0 0;
  padding: 14px 0;
  border-top: 1px solid rgba(27, 19, 60, 0.09);
}

.order-success {
  padding: 54px 32px 36px;
  text-align: center;
}

.order-success[hidden] {
  display: none;
}

.order-success > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #e9f7ef;
  color: #248456;
}

.order-success > span svg {
  width: 25px;
  height: 25px;
}

.order-success h3 {
  font-size: 22px;
}

.order-success p {
  margin-bottom: 24px;
  font-size: 13px;
}

.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 120;
  padding: 11px 18px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 960px) {
  .store-page .site-header {
    width: calc(100% - 28px);
    max-width: none;
    gap: 14px;
    overflow: hidden;
  }

  .store-page .nav {
    min-width: 0;
    flex: 1;
    overflow-x: auto;
  }

  .store-page .nav a {
    flex: 0 0 auto;
  }

  .featured-product {
    grid-template-columns: 1fr;
  }

  .featured-details {
    padding: 38px;
  }

  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .medical-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .medical-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .store-intro {
    padding-top: 68px;
  }

  .store-intro h1 {
    font-size: 48px;
  }

  .featured-store {
    padding-top: 44px;
  }

  .product-gallery {
    padding: 9px;
  }

  .featured-details {
    padding: 28px 20px 24px;
  }

  .medical-product-details {
    padding-top: 82px;
  }

  .medical-detail-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 34px;
  }

  .medical-detail-intro .section-kicker {
    margin-bottom: -8px;
  }

  .medical-detail-intro h2 {
    font-size: 46px;
  }

  .medical-feature-grid,
  .practice-value-grid {
    grid-template-columns: 1fr;
  }

  .medical-feature-grid article {
    min-height: auto;
  }

  .specs-card dl {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .purchase-actions {
    grid-template-columns: 1fr;
  }

  .collection-heading {
    display: block;
  }

  .collection-heading > p {
    margin-top: 18px;
  }

  .product-card-grid {
    grid-template-columns: 1fr;
  }

  .product-card-image {
    aspect-ratio: 1.16 / 1;
  }

  .product-collection {
    padding-top: 82px;
    padding-bottom: 80px;
  }

  .store-footer {
    width: calc(100% - 28px);
    align-items: flex-start;
    flex-direction: column;
  }
}

.profile-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.profile-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #66726c;
  font-size: 13px;
  font-weight: 500 !important;
  line-height: 1.55;
}

.profile-consent input {
  flex: 0 0 auto;
  width: 17px !important;
  height: 17px;
  margin-top: 2px;
  accent-color: #2e6d4e;
}

.profile-toast.is-error {
  background: #9f3434;
}

.submit-order:disabled {
  cursor: wait;
  opacity: 0.68;
}

@media (max-width: 480px) {
  .store-page .site-header {
    padding: 10px 12px;
  }

  .store-page .brand span {
    display: none;
  }

  .store-page .nav {
    gap: 15px;
  }

  .cart-trigger {
    width: 36px;
    height: 36px;
  }

  .profile-trigger {
    width: 36px;
    height: 36px;
  }

  .gallery-thumbs {
    gap: 5px;
  }

  .product-meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .featured-details h2 {
    font-size: 29px;
  }

  .featured-price {
    font-size: 40px;
  }

  .service-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .cart-item img {
    width: 64px;
    height: 64px;
  }
}
