:root {
  color-scheme: light;
  --ink: #18211c;
  --muted: #6f756f;
  --paper: #f7f4ec;
  --panel: rgba(255, 253, 247, 0.88);
  --line: rgba(24, 33, 28, 0.12);
  --forest: #214f3d;
  --forest-deep: #17392d;
  --gold: #ad7f2e;
  --shadow: 0 26px 70px rgba(28, 40, 32, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(24, 33, 28, 0.025) 1px, transparent 1px);
  background-size: 100% 32px;
  content: "";
  pointer-events: none;
}

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

a {
  text-decoration: none;
}

.detail-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(24, 33, 28, 0.08);
  background: rgba(247, 244, 236, 0.88);
  backdrop-filter: blur(18px);
}

.detail-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  letter-spacing: 0;
}

.detail-brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.detail-brand-copy {
  display: grid;
  gap: 1px;
}

.detail-brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
}

.detail-brand-copy small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #6d726d;
  font-size: 13px;
}

.detail-header nav a {
  position: relative;
  padding: 28px 0 25px;
}

.detail-header nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 1px;
  background: var(--forest);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: 180ms ease;
}

.detail-header nav a:hover,
.detail-header nav a.active {
  color: var(--ink);
}

.detail-header nav a:hover::after,
.detail-header nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.detail-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 13px;
}

.detail-member-link,
.detail-cart-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.detail-member-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--forest);
  font-weight: 700;
}

.detail-cart-link b {
  display: grid;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  font-size: 12px;
}

main {
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
}

.detail-loading,
.detail-error {
  display: grid;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  place-items: center;
  align-content: center;
  padding: 40px 20px;
  text-align: center;
}

.detail-loading span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(33, 79, 61, 0.2);
  border-top-color: var(--forest);
  border-radius: 50%;
  animation: detail-spin 900ms linear infinite;
}

.detail-loading p,
.detail-error p {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.detail-error h1 {
  margin: 8px 0 28px;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 52px;
  font-weight: 500;
}

.detail-error a {
  padding: 13px 23px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
}

@keyframes detail-spin {
  to {
    transform: rotate(360deg);
  }
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(1400px, 92vw);
  margin: 0 auto;
  padding: 28px 0 18px;
  color: #7d827d;
  font-size: 12px;
}

.detail-breadcrumb b {
  max-width: 48vw;
  overflow: hidden;
  color: #4e554f;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(430px, 1.1fr);
  gap: 64px;
  width: min(1400px, 92vw);
  margin: 0 auto;
  padding: 12px 0 70px;
}

.gallery-column {
  position: sticky;
  top: 92px;
  align-self: start;
}

.gallery-frame {
  position: relative;
  display: grid;
  height: min(600px, calc(100vh - 138px));
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(24, 33, 28, 0.07);
  border-radius: 8px;
  background: #efede6;
  box-shadow: var(--shadow);
}

.gallery-frame::before,
.gallery-frame::after {
  display: none;
}

.gallery-frame::before {
  width: 520px;
  height: 520px;
}

.gallery-frame::after {
  width: 390px;
  height: 390px;
}

.gallery-glow {
  display: none;
}

.gallery-main {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(64%, 390px);
  min-height: 440px;
  place-items: center;
  perspective: 1200px;
}

.gallery-main img {
  display: block;
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 28px 28px rgba(26, 37, 30, 0.19));
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-main:hover img,
.gallery-main:hover .detail-card-art {
  transform: rotateY(-3deg) rotateX(2deg) translateY(-4px);
  filter: drop-shadow(0 35px 34px rgba(26, 37, 30, 0.24));
}

.detail-card-art {
  position: relative;
  display: grid;
  width: min(100%, 350px);
  aspect-ratio: 0.7;
  align-content: space-between;
  overflow: hidden;
  padding: 34px 30px 27px;
  border: 7px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), transparent 30%),
    linear-gradient(145deg, #52695b, #143c30 70%);
  box-shadow: 0 30px 50px rgba(26, 37, 30, 0.22);
  transition: transform 300ms ease, filter 300ms ease;
}

.detail-card-art::before,
.detail-card-art::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  content: "";
}

.detail-card-art::before {
  top: 18%;
  left: -35%;
  width: 150%;
  height: 48%;
  transform: rotate(-18deg);
}

.detail-card-art::after {
  right: -22%;
  bottom: 15%;
  width: 80%;
  height: 36%;
}

.detail-card-art > span,
.detail-card-art > strong,
.detail-card-art > small {
  position: relative;
  z-index: 1;
}

.detail-card-art > span {
  justify-self: end;
  font-family: Georgia, serif;
  font-size: 30px;
}

.detail-card-art > strong {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 0.86;
  text-transform: uppercase;
}

.detail-card-art > small {
  font-size: 8px;
  letter-spacing: 0.2em;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(24, 33, 28, 0.12);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.86);
  cursor: pointer;
  transform: translateY(-50%);
  transition: 160ms ease;
}

.gallery-nav:hover {
  color: #fff;
  background: var(--forest);
}

.gallery-nav.previous {
  left: 22px;
}

.gallery-nav.next {
  right: 22px;
}

.gallery-nav[hidden] {
  display: none;
}

.gallery-counter {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 999px;
  color: #5c625d;
  background: rgba(255, 253, 247, 0.78);
  font-size: 11px;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-thumbnails::-webkit-scrollbar {
  display: none;
}

.gallery-thumbnails button {
  display: grid;
  flex: 0 0 74px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.8);
  cursor: pointer;
}

.gallery-thumbnails button.active {
  border-color: var(--forest);
  box-shadow: inset 0 0 0 1px var(--forest);
}

.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-thumbnail-art {
  display: grid;
  width: 43px;
  height: 62px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  background: var(--forest);
  font-family: Georgia, serif;
  font-size: 11px;
}

.gallery-note {
  margin: 13px 4px 0;
  color: #848983;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.product-story {
  align-self: start;
  padding: 10px 0 0;
}

.story-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.story-eyebrow span:last-child {
  color: var(--forest);
  letter-spacing: 0.08em;
}

.product-story h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.06;
  text-wrap: balance;
}

.story-subtitle {
  max-width: 620px;
  margin: 16px 0 19px;
  color: #6d736e;
  font-size: 14px;
  line-height: 1.65;
}

.story-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.story-signals span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #545b55;
  background: rgba(255, 253, 247, 0.58);
  font-size: 11px;
}

.story-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-price-row div {
  display: grid;
  gap: 7px;
}

.story-price-row span,
.quantity-control > span {
  color: #7b817c;
  font-size: 11px;
}

.story-price-row strong {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 500;
}

.story-price-row p {
  margin: 0 0 7px;
  color: var(--forest);
  font-size: 12px;
}

.purchase-panel {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding-top: 14px;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
}

.quantity-control div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-control button {
  width: 24px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity-control button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
}

.quantity-control b {
  min-width: 18px;
  text-align: center;
}

.primary-buy {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--forest);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: 180ms ease;
}

.primary-buy:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.primary-buy:disabled {
  color: #858983;
  background: #deddd6;
  cursor: not-allowed;
  transform: none;
}

.card-condition-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(173, 127, 46, 0.28);
  border-left: 3px solid var(--gold);
  border-radius: 7px;
  background: rgba(173, 127, 46, 0.07);
}

.card-condition-notice > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(173, 127, 46, 0.48);
  border-radius: 50%;
  color: #805c20;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
}

.card-condition-notice strong {
  display: block;
  color: #684b1c;
  font-size: 12px;
  font-weight: 850;
}

.card-condition-notice p {
  margin: 4px 0 0;
  color: #656961;
  font-size: 10.5px;
  line-height: 1.65;
}

.detail-cart-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid rgba(33, 79, 61, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.74);
}

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

.detail-cart-state.maxed {
  background:
    linear-gradient(135deg, rgba(156, 74, 48, 0.07), transparent 58%),
    rgba(255, 253, 247, 0.74);
}

.detail-cart-state-copy {
  display: grid;
  gap: 5px;
}

.detail-cart-state-copy span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.detail-cart-state-copy strong {
  color: var(--forest);
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
}

.detail-cart-state-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.detail-cart-state-stats {
  display: flex;
  gap: 8px;
}

.detail-cart-state-stats div {
  display: grid;
  min-width: 74px;
  min-height: 58px;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(33, 79, 61, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.56);
}

.detail-cart-state-stats b {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

.detail-cart-state-stats small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 760;
}

.detail-cart-state a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.secondary-actions button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.54);
  cursor: pointer;
  transition: 160ms ease;
}

.secondary-actions button:hover,
.secondary-actions button.active {
  border-color: rgba(33, 79, 61, 0.5);
  color: var(--forest);
  background: rgba(33, 79, 61, 0.06);
}

.pocket-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 15px;
  border: 1px solid rgba(33, 79, 61, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
}

.pocket-bridge[hidden] {
  display: none;
}

.pocket-bridge div {
  display: grid;
  gap: 5px;
}

.pocket-bridge span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.pocket-bridge strong {
  color: var(--forest);
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
}

.pocket-bridge p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.pocket-bridge a {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  font-size: 11px;
  font-weight: 850;
}

.purchase-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.purchase-notes div {
  display: block;
  color: #777d77;
  font-size: 11px;
  line-height: 1.6;
}

.purchase-notes b {
  display: block;
  margin-bottom: 4px;
  color: #414842;
  font-weight: 600;
}

.decision-desk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(1400px, 92vw);
  margin: 0 auto;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.decision-score-card {
  display: grid;
  min-height: 150px;
  place-items: center;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(33, 79, 61, 0.09);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.62);
}

.decision-score-card span,
.decision-copy > p {
  margin: 0;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.decision-score-card strong {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 0.95;
}

.decision-score-card small {
  color: var(--muted);
  font-size: 11px;
}

.decision-copy {
  min-width: 0;
  padding: 4px 2px;
}

.decision-copy h2 {
  margin: 7px 0 12px;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

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

.decision-signal {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(24, 33, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.decision-signal span {
  display: block;
  color: var(--forest);
  font-size: 11px;
  font-weight: 800;
}

.decision-signal p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.decision-signal.stock {
  background: rgba(156, 74, 48, 0.07);
}

.decision-signal.value,
.decision-signal.low,
.decision-signal.alert {
  background: rgba(173, 127, 46, 0.08);
}

.decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.decision-actions button,
.decision-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.decision-actions button.active {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
}

.add-on-route {
  width: min(1400px, 92vw);
  margin: 0 auto;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.add-on-route[hidden] {
  display: none;
}

.add-on-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.add-on-heading p {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.add-on-heading h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
}

.add-on-heading button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--forest);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
}

.add-on-note {
  max-width: 560px;
  margin: 12px 0 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.add-on-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.add-on-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(24, 33, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.add-on-media {
  display: block;
  min-height: 150px;
  background: rgba(238, 234, 224, 0.58);
}

.add-on-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.add-on-media .route-mini-art {
  min-height: 150px;
  border: 0;
  border-radius: 0;
}

.add-on-card-copy {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.add-on-card-copy span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.add-on-card-copy h3 {
  display: -webkit-box;
  min-height: 38px;
  margin: 0;
  overflow: hidden;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.add-on-card-copy p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.add-on-card-copy div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.add-on-card-copy strong {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.add-on-card-copy button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(33, 79, 61, 0.16);
  border-radius: 999px;
  background: rgba(33, 79, 61, 0.07);
  color: var(--forest);
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.facts-section,
.price-section,
.collection-route,
.return-section {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

.facts-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 8vw, 130px);
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.section-intro p,
.route-copy p,
.return-section p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.section-intro h2,
.route-copy h2,
.return-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 52px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.section-intro span,
.route-copy > span,
.return-section span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fact-card {
  display: grid;
  min-height: 122px;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.fact-card span {
  color: #858a85;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.fact-card strong {
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 22px;
  font-weight: 500;
}

.fact-card a {
  display: grid;
  gap: 8px;
}

.fact-card a small {
  color: var(--forest);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fact-card a:hover strong {
  color: var(--forest);
}

.price-section {
  display: grid;
  grid-template-columns: minmax(270px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(50px, 8vw, 130px);
  padding: 96px 0 105px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 92px;
}

.price-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(260px, 0.68fr);
  gap: 12px;
}

.price-chart-card,
.price-alert-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.price-chart-card {
  min-width: 0;
  padding: 22px;
}

.price-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 9px;
}

.price-summary div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px;
  border-radius: 13px;
  background: rgba(239, 235, 225, 0.58);
}

.price-summary span {
  color: #858a85;
  font-size: 9px;
  letter-spacing: 0.06em;
}

.price-summary strong {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.price-summary strong.down {
  color: var(--forest);
}

.price-summary strong.up {
  color: #945d48;
}

.price-chart {
  min-height: 250px;
  margin-top: 18px;
}

.price-chart svg {
  display: block;
  width: 100%;
  height: 250px;
  overflow: visible;
}

.price-chart-grid {
  stroke: rgba(24, 33, 28, 0.08);
  stroke-width: 1;
}

.price-chart-area {
  fill: url("#priceAreaGradient");
}

.price-chart-line {
  fill: none;
  stroke: var(--forest);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.price-chart-dot {
  fill: #fffdf7;
  stroke: var(--forest);
  stroke-width: 2;
}

.price-chart-dot:last-of-type {
  fill: var(--gold);
  stroke: #fffdf7;
  stroke-width: 3;
}

.price-chart-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #8b8f8b;
  font-size: 9px;
}

.price-chart-note b {
  color: #626863;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.price-history-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 7px;
  margin-top: 15px;
}

.price-history-values div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid rgba(24, 33, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.5);
}

.price-history-values span {
  color: #858a85;
  font-size: 9px;
}

.price-history-values strong {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.price-alert-card {
  display: grid;
  align-content: start;
  padding: 25px;
}

.price-alert-card > p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.price-alert-card h3 {
  margin: 0 0 13px;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.12;
}

.price-alert-card > span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.price-alert-card form {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}

.price-alert-card label {
  display: grid;
  gap: 8px;
}

.price-alert-card label > span {
  color: #727873;
  font-size: 10px;
}

.target-price-input {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.58);
}

.target-price-input b {
  color: #6e746f;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 500;
}

.target-price-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-family: Georgia, serif;
  font-size: 21px;
}

.price-alert-card form > button {
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--forest);
  cursor: pointer;
  font-weight: 700;
}

.price-alert-card form > button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.price-alert-status {
  min-height: 44px;
  margin-top: 13px;
  color: #6e746f;
  font-size: 10px;
  line-height: 1.6;
}

.price-alert-status a,
.price-alert-status button {
  padding: 0;
  border: 0;
  color: var(--forest);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-alert-status.reached {
  color: var(--forest);
}

.price-alert-remove {
  width: fit-content;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(24, 33, 28, 0.3);
  color: #757b76;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.collection-route {
  padding: 90px 0 110px;
}

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

.route-copy > span {
  max-width: 390px;
  margin-bottom: 6px;
}

.route-return-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(33, 79, 61, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 6% 0%, rgba(173, 127, 46, 0.12), transparent 15rem),
    linear-gradient(135deg, rgba(33, 79, 61, 0.06), transparent 60%),
    rgba(255, 253, 247, 0.75);
}

.route-return-card[hidden] {
  display: none;
}

.route-return-copy {
  display: grid;
  gap: 7px;
}

.route-return-copy span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.route-return-copy h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0;
}

.route-return-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.route-return-stats {
  display: flex;
  gap: 8px;
}

.route-return-stats div {
  display: grid;
  min-width: 78px;
  min-height: 64px;
  place-items: center;
  align-content: center;
  gap: 3px;
  border: 1px solid rgba(33, 79, 61, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.route-return-stats b {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

.route-return-stats small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 780;
}

.route-return-actions {
  display: grid;
  gap: 8px;
}

.route-return-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(33, 79, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--forest);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.route-return-actions a:first-child {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
}

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

.route-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.72);
  transition: 190ms ease;
}

.route-card:hover {
  box-shadow: 0 18px 40px rgba(28, 40, 32, 0.11);
  transform: translateY(-4px);
}

.route-card-media {
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(230, 226, 214, 0.68));
}

.route-card-media img {
  width: 100%;
  height: 230px;
  object-fit: contain;
}

.route-mini-art {
  display: grid;
  width: 125px;
  aspect-ratio: 0.7;
  align-content: space-between;
  padding: 16px 13px 12px;
  border: 4px solid #fff;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #607268, var(--forest));
  box-shadow: 0 18px 25px rgba(28, 40, 32, 0.17);
}

.route-mini-art span {
  justify-self: end;
  font-family: Georgia, serif;
}

.route-mini-art strong {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 0.9;
  text-transform: uppercase;
}

.route-mini-art small {
  font-size: 4px;
  letter-spacing: 0.15em;
}

.route-card-copy {
  display: grid;
  gap: 9px;
  padding: 19px;
}

.route-card-copy a {
  color: inherit;
}

.route-card-copy > span {
  color: #8b8f8b;
  font-size: 10px;
}

.route-card-copy h3 {
  min-height: 46px;
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.12;
}

.route-card-copy strong {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.route-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.route-card-price-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(33, 79, 61, 0.08);
  color: var(--forest);
  font-size: 9px;
  font-weight: 780;
  white-space: nowrap;
}

.route-card-actions {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.8fr;
  gap: 7px;
  margin-top: 2px;
}

.route-card-actions a,
.route-card-actions button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid rgba(33, 79, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--forest);
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.route-card-actions button.active {
  border-color: rgba(33, 79, 61, 0.34);
  background: rgba(33, 79, 61, 0.08);
}

.route-card-actions button:last-child {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
}

.route-card-actions button:disabled {
  border-color: rgba(24, 33, 28, 0.08);
  color: #858983;
  background: #deddd6;
  cursor: not-allowed;
}

.return-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 90px;
  padding: 54px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.12), transparent 18rem),
    var(--forest);
}

.return-section p {
  color: #d9bf87;
}

.return-section span {
  color: rgba(255, 255, 255, 0.66);
}

.return-section a {
  flex: 0 0 auto;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 13px;
}

.mobile-purchase {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  width: min(390px, calc(100vw - 48px));
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(17, 19, 24, 0.96);
  box-shadow: 0 20px 54px rgba(7, 10, 8, 0.3);
  backdrop-filter: blur(18px);
}

.mobile-purchase[hidden] {
  display: none;
}

.mobile-purchase div {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding-left: 7px;
}

.mobile-purchase span {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-purchase strong {
  font-family: Georgia, serif;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mobile-purchase button {
  min-width: 158px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  color: #17170f;
  background: #e5be62;
  cursor: pointer;
  font-weight: 800;
}

.mobile-purchase button:disabled {
  color: #8e918c;
  background: #d8d8d2;
}

.detail-pocket-dock {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 44;
  display: grid;
  width: min(360px, calc(100vw - 48px));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(33, 79, 61, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(173, 127, 46, 0.12), transparent 12rem),
    rgba(255, 253, 247, 0.9);
  box-shadow: 0 20px 54px rgba(20, 31, 24, 0.16);
  backdrop-filter: blur(18px);
}

.detail-pocket-dock[hidden] {
  display: none;
}

.detail-pocket-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.detail-pocket-dock-head div {
  display: grid;
  gap: 3px;
}

.detail-pocket-dock-head span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.detail-pocket-dock-head strong {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 500;
}

.detail-pocket-dock-head small {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 16px;
}

.detail-pocket-dock-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.detail-pocket-dock-tools #detailPocketClose {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 79, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}

.detail-pocket-dock-tools #detailPocketClose:hover {
  border-color: rgba(33, 79, 61, 0.3);
  color: var(--forest);
}

.detail-pocket-dock-list {
  display: grid;
  gap: 8px;
}

.detail-pocket-dock-empty {
  margin: 0;
  padding: 18px 14px;
  border: 1px dashed rgba(33, 79, 61, 0.18);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.7;
}

.detail-pocket-dock-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  padding: 7px;
  border: 1px solid rgba(33, 79, 61, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.detail-pocket-dock-item > a {
  display: grid;
  width: 48px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(230, 226, 214, 0.72);
}

.detail-pocket-dock-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-pocket-dock-item .route-mini-art {
  width: 34px;
  padding: 7px 5px 6px;
  border-width: 2px;
  border-radius: 7px;
  box-shadow: none;
}

.detail-pocket-dock-item .route-mini-art strong {
  font-size: 8px;
}

.detail-pocket-dock-item-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.detail-pocket-dock-item strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-pocket-dock-item span {
  color: var(--forest);
  font-family: Georgia, serif;
  font-size: 13px;
}

.detail-pocket-dock-item-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-pocket-dock-item-actions {
  display: grid;
  gap: 4px;
}

.detail-pocket-dock-item button {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 79, 61, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
}

.detail-pocket-dock-item .detail-pocket-dock-item-cart {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
  font-weight: 850;
}

.detail-pocket-dock-item .detail-pocket-dock-item-cart:disabled {
  border-color: rgba(33, 79, 61, 0.08);
  color: var(--muted);
  background: rgba(33, 79, 61, 0.08);
  cursor: not-allowed;
  opacity: 0.52;
}

.detail-pocket-dock-more {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.detail-pocket-dock-actions {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 8px;
}

.detail-pocket-dock-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(33, 79, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--forest);
  font-size: 11px;
  font-weight: 850;
}

.detail-pocket-dock-actions a:first-child {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.detail-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 18px;
  border-radius: 12px;
  color: #fff;
  background: #263a30;
  box-shadow: 0 12px 34px rgba(20, 31, 24, 0.22);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 180ms ease;
}

.detail-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .detail-header {
    grid-template-columns: auto 1fr auto;
  }

  .detail-header nav {
    justify-self: center;
    gap: 18px;
  }

  .detail-brand-copy small,
  .detail-cart-link > span {
    display: none;
  }

  .product-stage {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.85fr);
    gap: 36px;
  }

  .gallery-frame {
    height: 540px;
    min-height: 500px;
  }

  .gallery-main {
    min-height: 420px;
  }

  .product-story h1 {
    font-size: 42px;
  }

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

  .price-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 88px;
  }

  .detail-header {
    position: static;
    min-height: 62px;
    padding: 0 16px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-purchase,
  .detail-pocket-dock {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .detail-brand-logo {
    width: 36px;
    height: 36px;
  }

  .detail-brand-copy strong {
    font-size: 13px;
  }

  .detail-header nav {
    gap: 13px;
    font-size: 11px;
  }

  .detail-header nav a {
    padding: 22px 0 20px;
  }

  .detail-header nav a::after {
    bottom: 13px;
  }

  .detail-header-actions {
    gap: 9px;
  }

  .detail-member-link {
    font-size: 11px;
  }

  .detail-breadcrumb {
    width: calc(100% - 32px);
    padding: 18px 0 10px;
  }

  .product-stage {
    display: block;
    width: 100%;
    padding: 0 0 50px;
  }

  .gallery-column {
    position: static;
    padding: 0 12px;
  }

  .gallery-frame {
    height: 420px;
    min-height: 420px;
    border-radius: 8px;
  }

  .gallery-main {
    width: min(69%, 300px);
    min-height: 330px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
  }

  .gallery-nav.previous {
    left: 13px;
  }

  .gallery-nav.next {
    right: 13px;
  }

  .gallery-counter {
    right: 14px;
    bottom: 13px;
  }

  .gallery-note {
    display: none;
  }

  .product-story {
    padding: 30px 20px 0;
  }

  .product-story h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .story-subtitle {
    margin: 14px 0 18px;
    font-size: 14px;
  }

  .story-price-row {
    align-items: start;
  }

  .story-price-row strong {
    font-size: 36px;
  }

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

  .quantity-control {
    min-height: 52px;
  }

  .primary-buy {
    display: block;
  }

  .detail-cart-state {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .detail-cart-state-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .detail-cart-state a {
    width: 100%;
  }

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

  .secondary-actions button {
    min-height: 40px;
    padding: 0 5px;
    font-size: 10px;
  }

  .pocket-bridge {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 8px;
  }

  .pocket-bridge a {
    width: 100%;
  }

  .purchase-notes div {
    display: grid;
    grid-template-columns: 95px 1fr;
  }

  .purchase-notes {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .purchase-notes b {
    margin-bottom: 0;
  }

  .decision-desk {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    padding: 50px 0;
  }

  .decision-score-card {
    min-height: 118px;
  }

  .decision-signals {
    grid-template-columns: 1fr;
  }

  .decision-signal {
    min-height: auto;
  }

  .add-on-route {
    width: calc(100% - 40px);
    padding: 50px 0;
  }

  .add-on-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .add-on-heading button {
    width: 100%;
  }

  .add-on-rail {
    grid-auto-columns: 78%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .add-on-card {
    scroll-snap-align: start;
  }

  .facts-section,
  .price-section,
  .collection-route,
  .return-section {
    width: calc(100% - 40px);
  }

  .facts-section {
    display: block;
    padding: 65px 0;
  }

  .price-section {
    display: block;
    padding: 65px 0 78px;
  }

  .price-experience {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .price-alert-card {
    padding: 22px;
  }

  .facts-grid {
    margin-top: 30px;
  }

  .fact-card {
    min-height: 105px;
    padding: 16px;
  }

  .fact-card strong {
    font-size: 18px;
  }

  .collection-route {
    padding: 62px 0 78px;
  }

  .route-copy {
    display: block;
  }

  .route-copy > span {
    display: block;
    margin-top: 14px;
  }

  .route-return-card {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 20px;
  }

  .route-return-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-return-stats div {
    min-width: 0;
  }

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

  .route-return-actions a {
    width: 100%;
  }

  .route-grid {
    display: flex;
    width: calc(100% + 20px);
    margin-right: -20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .route-grid::-webkit-scrollbar {
    display: none;
  }

  .route-card {
    flex: 0 0 76vw;
    scroll-snap-align: start;
  }

  .return-section {
    display: block;
    margin-bottom: 28px;
    padding: 34px 26px;
  }

  .return-section a {
    display: inline-block;
    margin-top: 27px;
  }

  .detail-pocket-dock {
    right: 10px;
    bottom: 86px;
    left: 10px;
    width: auto;
    max-height: calc(100vh - 190px);
    max-height: calc(100svh - 190px);
    overflow: auto;
    border-radius: 8px;
  }

  .detail-pocket-dock-actions {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-purchase {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    grid-template-columns: 1fr 1.15fr;
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
  }

  .mobile-purchase div {
    display: grid;
    gap: 3px;
    padding-left: 6px;
  }

  .mobile-purchase span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 9px;
  }

  .mobile-purchase strong {
    font-family: Georgia, serif;
    font-size: 20px;
  }

  .mobile-purchase button {
    min-width: 0;
    min-height: 48px;
    border-radius: 13px;
  }

  .detail-toast {
    right: 16px;
    bottom: 94px;
  }
}

@media (max-width: 430px) {
  .detail-header nav a:nth-child(4) {
    display: none;
  }

  .gallery-frame {
    height: 390px;
    min-height: 390px;
  }

  .gallery-main {
    min-height: 310px;
  }

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

  .fact-card {
    min-height: 92px;
  }
}
