:root {
  --berry: #b52f5b;
  --berry-dark: #7e1f43;
  --teal: #1e7772;
  --teal-dark: #12514e;
  --aqua: #dff4ef;
  --aqua-soft: #f1faf8;
  --lemon: #f4e676;
  --blush: #f8e7ed;
  --ink: #242625;
  --muted: #626a67;
  --line: #d8ddda;
  --soft: #f5f6f4;
  --white: #ffffff;
  --container: 1240px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  color: inherit;
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(30, 119, 114, 0.42);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 48px), 850px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-180%);
  padding: 8px 12px;
  background: var(--lemon);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}


.site-header {
  position: relative;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 74px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 202px;
  color: var(--teal-dark);
  line-height: 1;
}

.brand-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  place-items: center;
  border: 3px solid var(--teal);
  border-radius: 50%;
  color: var(--berry);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 20px;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 25px 0;
  color: #3e4441;
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--berry);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-order,
.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid var(--berry);
  border-radius: 999px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.header-cart {
  min-width: 42px;
  padding-inline: 11px;
  border-color: var(--line);
  color: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 26px;
  border: 2px solid var(--berry);
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--berry-dark);
  border-color: var(--berry-dark);
}

.button:active {
  transform: translateY(1px);
}

.button--outline {
  background: #fff;
  color: var(--berry);
}

.button--teal {
  border-color: var(--teal);
  background: var(--teal);
}

.button--teal:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.button--wide {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--berry);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link::after {
  content: "→";
  text-decoration: none;
}

.display-title,
.section-title {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-weight: 500;
  line-height: 1.05;
}

.section-title {
  font-size: clamp(38px, 4.5vw, 64px);
}

.section-lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  margin-bottom: 46px;
}

.eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* Home */
.home-hero {
  position: relative;
  min-height: min(700px, calc(100svh - 150px));
  overflow: hidden;
  background: var(--aqua);
}

.home-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34%;
  background: var(--lemon);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 58px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(56%, 680px);
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(56px, 6.5vw, 92px);
}

.hero-copy h1 span {
  display: block;
  margin-top: 12px;
  color: var(--berry);
  font-family: Arial, "Noto Sans TC", sans-serif;
  font-size: 0.34em;
  font-weight: 900;
  line-height: 1.18;
}

.hero-copy p {
  max-width: 520px;
  margin: 24px 0 0;
  color: #3e5550;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-art {
  position: absolute;
  z-index: 2;
  right: -2%;
  bottom: 1%;
  width: min(53vw, 720px);
}

.hero-art img {
  width: 100%;
  filter: drop-shadow(0 25px 30px rgba(36, 38, 37, 0.2));
}

.hero-price {
  position: absolute;
  right: 5%;
  bottom: 9%;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.proof-item:last-child {
  border-right: 1px solid var(--line);
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  color: var(--teal-dark);
  font-size: 17px;
}

.proof-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.compare-section {
  padding: 110px 0;
}

.compare-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
  align-items: center;
}

.compare-copy p {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
}

.compare-copy .button {
  margin-top: 28px;
}

.checklist {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 25px 12px 25px 56px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.checklist li::before {
  position: absolute;
  top: 24px;
  left: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid var(--teal);
  border-radius: 50%;
  color: var(--teal);
  content: "✓";
  font-size: 15px;
}

.ritual-section {
  padding: 104px 0 110px;
  background: var(--soft);
}

.ritual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ritual-step {
  min-width: 0;
}

.ritual-step img {
  width: 100%;
  aspect-ratio: 1.1;
  object-fit: cover;
  border-radius: 6px;
}

.ritual-step strong {
  display: block;
  margin-top: 18px;
  color: var(--teal-dark);
  font-size: 13px;
}

.ritual-step h3 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: 25px;
  font-weight: 500;
}

.ritual-step p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dose-finder {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: #fff;
}

.dose-finder::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 23%;
  background: var(--lemon);
  content: "";
}

.dose-finder-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 620px;
  align-items: center;
  gap: 90px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.dose-finder-copy h2 {
  color: #fff;
}

.dose-finder-copy p {
  max-width: 520px;
  margin: 22px 0 0;
  color: #d9efed;
}

.dose-finder-copy img {
  width: min(100%, 520px);
  margin-top: 30px;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.2));
}

.dose-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(18, 81, 78, 0.9);
}

.dose-choice {
  min-width: 0;
  padding: 22px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.dose-choice:hover {
  border-color: var(--lemon);
  background: rgba(255, 255, 255, 0.13);
}

.dose-choice strong,
.dose-choice span,
.dose-choice small {
  display: block;
}

.dose-choice strong {
  color: var(--lemon);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.dose-choice span {
  margin-top: 13px;
  color: #fff;
  font-weight: 900;
}

.dose-choice small {
  margin-top: 3px;
  color: #cce3e1;
}

.plans-section {
  padding: 108px 0;
}

.plans-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.featured-plan,
.plan-row {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.featured-plan {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 700px;
  background: var(--aqua);
}

.featured-plan-media {
  display: grid;
  place-items: center;
  padding: 40px;
}

.featured-plan-media img {
  width: min(88%, 560px);
}

.featured-plan-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  background: #fff;
}

.featured-plan-copy h3,
.plan-row h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.featured-plan-copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-price {
  white-space: nowrap;
  color: var(--berry);
  font-size: 24px;
  font-weight: 900;
}

.plan-stack {
  display: grid;
  gap: 20px;
}

.plan-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  min-height: 220px;
  background: var(--soft);
}

.plan-row:nth-child(2) {
  background: var(--blush);
}

.plan-row:nth-child(3) {
  background: #fff9ce;
}

.plan-row img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.plan-row-copy {
  padding: 24px;
}

.plan-row-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.plan-row-copy .plan-price {
  display: block;
  margin-top: 16px;
}

.plan-row-copy .text-link {
  margin-top: 12px;
}

.facts-band {
  padding: 102px 0;
  background: var(--lemon);
}

.facts-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  gap: 1px;
  background: rgba(36, 38, 37, 0.2);
}

.facts-intro,
.fact-block {
  min-height: 250px;
  padding: 30px;
  background: var(--lemon);
}

.facts-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 39px;
  font-weight: 500;
  line-height: 1.08;
}

.fact-block strong {
  color: var(--berry);
  font-size: 14px;
}

.fact-block h3 {
  margin: 55px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.fact-block p {
  margin: 10px 0 0;
  color: #545742;
  font-size: 14px;
}

.faq-section {
  padding: 108px 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 50px 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 5px;
  color: var(--berry);
  content: "+";
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 720px;
  padding: 0 0 24px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.journal-section {
  padding: 104px 0;
  background: var(--aqua-soft);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.journal-card {
  overflow: hidden;
  border-bottom: 2px solid var(--teal);
  background: #fff;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}

.journal-card:first-child img {
  aspect-ratio: 1;
}

.journal-copy {
  padding: 24px;
}

.journal-copy span {
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.journal-copy h3 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}

.journal-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.final-order {
  padding: 92px 0;
  background: var(--berry);
  color: #fff;
}

.final-order-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-order h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.05;
}

.final-order .button {
  border-color: #fff;
  background: #fff;
  color: var(--berry);
}

/* Interior */
.page-hero {
  padding: 76px 0 68px;
  background: var(--aqua);
}

.page-hero--berry {
  background: var(--berry);
  color: #fff;
}

.page-hero--lemon {
  background: var(--lemon);
}

.page-hero-inner {
  max-width: 880px;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 500;
  line-height: 1;
}

.page-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: #3f5a55;
  font-size: 18px;
}

.page-hero--berry p {
  color: #f6dce5;
}

.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding-top: 13px;
  padding-bottom: 13px;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  color: #aeb5b1;
  content: "/";
}

/* Shop */
.catalog-section {
  padding: 90px 0 108px;
}

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

.catalog-toolbar h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.catalog-toolbar span {
  color: var(--muted);
}

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

.catalog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.catalog-media {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  background: var(--aqua);
}

.catalog-card:nth-child(2) .catalog-media {
  background: var(--blush);
}

.catalog-card:nth-child(3) .catalog-media {
  background: #fff9ce;
}

.catalog-card:nth-child(4) .catalog-media {
  background: var(--soft);
}

.catalog-media img {
  width: 90%;
}

.catalog-copy {
  padding: 22px;
}

.catalog-copy h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.catalog-copy p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-price {
  display: block;
  margin-top: 17px;
  color: var(--berry);
  font-size: 23px;
  font-weight: 900;
}

.catalog-actions {
  display: grid;
  gap: 8px;
  margin-top: 17px;
}

.comparison-section {
  padding: 96px 0 108px;
  background: var(--soft);
}

.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 8px;
}

.comparison-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison-table th {
  color: var(--teal-dark);
  font-size: 13px;
}

.comparison-table td {
  color: #4f5753;
}

.comparison-table .price {
  color: var(--berry);
  font-weight: 900;
}

.order-path {
  padding: 100px 0;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.path-item {
  min-height: 230px;
  padding: 28px;
  border: 2px solid var(--teal);
  border-radius: 8px;
}

.path-item strong {
  color: var(--berry);
  font-family: Georgia, serif;
  font-size: 42px;
}

.path-item h3 {
  margin: 28px 0 0;
  font-size: 21px;
}

.path-item p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Product */
.product-purchase {
  padding: 46px 0 86px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 26px;
  align-items: start;
}

.product-gallery {
  min-width: 0;
}

.gallery-main {
  display: grid;
  aspect-ratio: 1.22;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--aqua-soft);
}

.gallery-main img {
  width: min(88%, 650px);
  max-height: 100%;
  object-fit: contain;
}

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

.gallery-thumb {
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.2;
  padding: 4px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.gallery-thumb[aria-current="true"] {
  border: 2px solid var(--teal);
}

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

.gallery-thumb--step img {
  object-fit: cover;
}

.purchase-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
  padding: 28px;
  border-radius: 8px;
  background: var(--soft);
}

.purchase-benefits h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.benefit-item strong,
.benefit-item span {
  display: block;
}

.benefit-item strong {
  color: var(--teal-dark);
}

.benefit-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.purchase-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: clamp(42px, 4.3vw, 62px);
  font-weight: 500;
  line-height: 1.02;
}

.purchase-summary {
  margin: 18px 0 0;
  color: var(--muted);
}

.purchase-step {
  margin-top: 28px;
}

.purchase-step h2 {
  margin: 0 0 14px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.dose-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.dose-option {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.dose-option strong,
.dose-option span {
  display: block;
}

.dose-option strong {
  color: var(--teal-dark);
  font-size: 18px;
}

.dose-option span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.dose-option.is-selected {
  border: 2px solid var(--teal);
  background: var(--aqua-soft);
}

.selected-plan {
  margin-top: 12px;
  padding: 20px;
  border: 2px solid var(--teal);
  border-radius: 6px;
}

.selected-plan-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.selected-plan-top strong {
  font-size: 17px;
}

.selected-plan-top span {
  color: var(--berry);
  font-size: 20px;
  font-weight: 900;
}

.selected-plan ul {
  margin: 15px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.selected-plan li {
  position: relative;
  padding-left: 22px;
}

.selected-plan li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.selected-plan li + li {
  margin-top: 6px;
}

.buy-row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 10px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-control button,
.quantity-control input {
  min-width: 0;
  border: 0;
  background: #fff;
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
  font-size: 20px;
}

.purchase-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.purchase-total strong {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.purchase-total span {
  color: var(--muted);
  font-size: 13px;
}

.purchase-faq {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.purchase-faq details {
  border-bottom: 1px solid var(--line);
}

.purchase-faq summary {
  position: relative;
  padding: 16px 34px 16px 0;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.purchase-faq summary::-webkit-details-marker {
  display: none;
}

.purchase-faq summary::after {
  position: absolute;
  right: 3px;
  color: var(--berry);
  content: "+";
  font-size: 22px;
}

.purchase-faq details[open] summary::after {
  content: "−";
}

.purchase-faq div {
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.product-keyrail {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--lemon);
}

.product-keyrail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.keyrail-item {
  padding: 22px;
  border-left: 1px solid rgba(36, 38, 37, 0.2);
}

.keyrail-item:last-child {
  border-right: 1px solid rgba(36, 38, 37, 0.2);
}

.keyrail-item strong,
.keyrail-item span {
  display: block;
}

.keyrail-item strong {
  font-size: 13px;
}

.keyrail-item span {
  margin-top: 3px;
  color: #5c5c47;
  font-size: 14px;
}

.product-deep {
  padding: 108px 0;
}

.deep-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 78px;
}

.deep-nav {
  align-self: start;
  position: sticky;
  top: 24px;
}

.deep-nav h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 500;
}

.deep-nav ul {
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.deep-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.prose-block + .prose-block {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.prose-block h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.1;
}

.prose-block h3 {
  margin: 30px 0 0;
  color: var(--teal-dark);
}

.prose-block p,
.prose-block ul,
.prose-block ol {
  margin-top: 20px;
  color: var(--muted);
}

.prose-block ul,
.prose-block ol {
  padding-left: 1.4em;
}

.prose-block li + li {
  margin-top: 8px;
}

.spec-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 150px;
  color: var(--teal-dark);
}

.spec-table td {
  color: var(--muted);
}

.info-callout {
  margin-top: 28px;
  padding: 22px;
  border-left: 5px solid var(--berry);
  background: var(--blush);
  color: #654252;
}

.usage-banner {
  padding: 100px 0;
  background: var(--teal);
  color: #fff;
}

.usage-banner .section-title {
  color: #fff;
}

.usage-banner .section-lead {
  color: #d6edeb;
}

.mini-ritual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.mini-ritual {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.mini-ritual img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.mini-ritual div {
  padding: 17px;
}

.mini-ritual strong {
  display: block;
  color: var(--berry);
  font-size: 12px;
}

.mini-ritual span {
  display: block;
  margin-top: 4px;
  font-weight: 800;
}

.related-products {
  padding: 96px 0 108px;
  background: var(--soft);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.related-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.related-card img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  background: var(--aqua-soft);
}

.related-card div {
  padding: 16px;
}

.related-card strong,
.related-card span {
  display: block;
}

.related-card span {
  margin-top: 4px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 800;
}

/* Blog and article */
.blog-section {
  padding: 90px 0 108px;
}

.blog-feature {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--aqua);
}

.blog-feature img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.blog-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
}

.blog-feature-copy span,
.blog-card-copy span {
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.blog-feature-copy h2 {
  margin: 13px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(36px, 4vw, 53px);
  font-weight: 500;
  line-height: 1.1;
}

.blog-feature-copy p {
  margin: 18px 0 0;
  color: var(--muted);
}

.blog-feature-copy .text-link {
  width: fit-content;
  margin-top: 24px;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.blog-card {
  border-bottom: 2px solid var(--teal);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 6px;
}

.blog-card-copy {
  padding: 19px 0 26px;
}

.blog-card-copy h2 {
  margin: 8px 0 0;
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.28;
}

.blog-card-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.article-header {
  padding: 86px 0 54px;
  background: var(--aqua);
  text-align: center;
}

.article-header h1 {
  max-width: 980px;
  margin: 14px auto 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: clamp(46px, 6.5vw, 80px);
  font-weight: 500;
  line-height: 1.05;
}

.article-meta {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.article-feature {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
  transform: translateY(36px);
}

.article-feature img {
  width: 100%;
  max-height: 630px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--soft);
}

.article-body {
  width: min(calc(100% - 48px), 820px);
  margin: 104px auto 108px;
  color: #505754;
  font-size: 18px;
}

.article-body > p:first-child {
  color: var(--ink);
  font-size: 22px;
}

.article-body h2 {
  margin: 62px 0 0;
  font-family: Georgia, "Times New Roman", "Noto Serif TC", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.15;
}

.article-body h3 {
  margin: 34px 0 0;
  color: var(--teal-dark);
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-top: 20px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-callout {
  margin-top: 32px;
  padding: 24px;
  border-left: 5px solid var(--teal);
  background: var(--aqua-soft);
  color: var(--teal-dark);
}

/* Guide and cart */
.guide-section {
  padding: 92px 0 108px;
}

.guide-list {
  border-top: 1px solid var(--line);
}

.guide-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 38px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.guide-row strong {
  color: var(--berry);
  font-size: 13px;
}

.guide-row h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 500;
}

.guide-row p {
  margin: 10px 0 0;
  color: var(--muted);
}

.guide-row .text-link {
  margin-top: 14px;
}

.cart-section {
  min-height: 600px;
  padding: 96px 0;
  background: var(--aqua-soft);
}

.cart-empty {
  width: min(100%, 720px);
  min-height: 390px;
  margin: 0 auto;
  padding: 54px;
  border: 2px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.cart-icon {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--lemon);
  color: var(--berry);
  font-family: Georgia, serif;
  font-size: 34px;
}

.cart-empty h1 {
  margin: 23px 0 0;
  font-family: Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.08;
}

.cart-empty p {
  max-width: 500px;
  margin: 14px auto 0;
  color: var(--muted);
}

.cart-empty .button {
  margin-top: 23px;
}

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr;
  gap: 70px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-symbol {
  border-color: var(--aqua);
  color: var(--lemon);
}

.footer-brand .brand-copy small {
  color: #bcd9d6;
}

.footer-brand p {
  max-width: 430px;
  margin: 22px 0 0;
  color: #c2dcda;
}

.site-footer h2 {
  margin: 0;
  color: var(--lemon);
  font-size: 14px;
}

.footer-links {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: #d8e9e7;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #abcac7;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 16px;
  }

  .primary-nav ul {
    gap: 18px;
  }

  .header-order {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.85fr);
  }
}

@media (max-width: 900px) {
  .container,
  .narrow,
  .article-body,
  .article-feature {
    width: min(calc(100% - 36px), var(--container));
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 68px;
  }

  .brand {
    min-width: 0;
    justify-self: center;
  }

  .primary-nav {
    position: fixed;
    z-index: 60;
    top: 98px;
    right: 0;
    bottom: 0;
    left: 0;
    visibility: hidden;
    transform: translateY(-10px);
    padding: 26px 24px;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .primary-nav ul {
    display: block;
  }

  .primary-nav li + li {
    border-top: 1px solid var(--line);
  }

  .primary-nav a {
    padding: 15px 0;
    font-size: 18px;
  }

  .header-cart {
    width: 42px;
    overflow: hidden;
    color: transparent;
  }

  .header-cart::before {
    color: var(--teal-dark);
    content: "袋";
  }

  .home-hero {
    min-height: min(730px, calc(100svh - 126px));
  }

  .hero-copy {
    width: 68%;
    align-self: flex-start;
    padding-top: 35px;
  }

  .hero-art {
    right: -12%;
    width: 68vw;
  }

  .compare-grid,
  .dose-finder-inner,
  .product-layout,
  .deep-grid {
    grid-template-columns: 1fr;
  }

  .dose-finder::before {
    display: none;
  }

  .plans-layout {
    grid-template-columns: 1fr;
  }

  .featured-plan {
    min-height: 610px;
  }

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

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

  .journal-card:first-child {
    grid-column: 1 / -1;
  }

  .deep-nav {
    position: static;
  }

  .deep-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
  }

  .deep-nav a {
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

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

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

  .blog-feature img {
    min-height: 350px;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .container,
  .narrow,
  .article-body,
  .article-feature {
    width: min(calc(100% - 32px), var(--container));
  }


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 620px) and (max-height: 720px) {
  .hero-inner {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p {
    max-width: 290px;
    font-size: 14px;
  }

  .hero-art {
    right: -8%;
    width: 78vw;
  }

  .hero-price {
    display: none;
  }
}
