:root {
  --sealed-space: #0a0e18;
  --sealed-paper: #f4f1e9;
  --sealed-white: #fbfaf6;
  --sealed-ink: #171b21;
  --sealed-muted: #696e76;
  --sealed-line: rgba(22, 27, 34, 0.14);
  --sealed-gold: #b58a32;
  --sealed-green: #1f5948;
  --sealed-rust: #8e4b39;
}

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

html {
  scroll-behavior: smooth;
}

body.sealed-detail-page {
  min-width: 320px;
  margin: 0;
  color: var(--sealed-ink);
  background: var(--sealed-paper);
  font-family: Arial, "Noto Sans TC", sans-serif;
}

.sealed-detail-page [hidden] {
  display: none !important;
}

.sealed-detail-page button,
.sealed-detail-page a {
  font: inherit;
}

.sealed-detail-page a {
  color: inherit;
  text-decoration: none;
}

.sealed-detail-main {
  width: min(1240px, calc(100vw - 48px));
  min-height: 74vh;
  margin: 0 auto;
  padding: 34px 0 100px;
}

.sealed-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: var(--sealed-muted);
  font-size: 11px;
}

.sealed-breadcrumb a:hover {
  color: var(--sealed-green);
}

.sealed-breadcrumb strong {
  color: var(--sealed-ink);
}

.sealed-detail-status {
  display: grid;
  min-height: 420px;
  place-items: center;
  margin-top: 26px;
  border-top: 1px solid var(--sealed-line);
  border-bottom: 1px solid var(--sealed-line);
  color: var(--sealed-muted);
  font-size: 14px;
}

.sealed-detail-status a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid var(--sealed-line);
  border-radius: 6px;
  color: var(--sealed-green);
  background: var(--sealed-white);
  font-weight: 800;
}

.sealed-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 70px;
  align-items: center;
  margin-top: 26px;
  padding: 54px 0 70px;
  border-top: 1px solid var(--sealed-line);
  border-bottom: 1px solid var(--sealed-line);
}

.sealed-product-media-column {
  min-width: 0;
}

.sealed-product-media {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 0.9;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--sealed-line);
  border-radius: 8px;
  background: #e9e7df;
}

.sealed-product-image {
  width: 90%;
  max-width: 90%;
  height: 90%;
  max-height: 90%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 26px rgba(24, 28, 35, 0.2));
}

.sealed-fallback-stack {
  position: relative;
  display: grid;
  width: min(290px, 58%);
  aspect-ratio: 0.86;
  place-items: center;
}

.sealed-fallback-stack::before {
  position: absolute;
  inset: 8px -14px -8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 7px;
  background: #d8dbe0;
  box-shadow: 0 18px 34px rgba(20, 24, 30, 0.16);
  content: "";
}

.sealed-fallback-art {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 26px;
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 7px;
  color: #fff;
  background: #49677d;
  box-shadow: 0 22px 38px rgba(22, 27, 34, 0.24);
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.sealed-fallback-art.card-purple {
  background: #6d5f82;
}

.sealed-fallback-art.card-red {
  background: #8b5b4c;
}

.sealed-fallback-art.card-gold {
  color: #182018;
  background: #b89a58;
}

.sealed-fallback-art.card-green {
  background: #416a5d;
}

.sealed-fallback-art.card-navy {
  background: #354a70;
}

.sealed-fallback-art span {
  align-self: flex-end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.sealed-fallback-art strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
}

.sealed-fallback-art small {
  font-size: 9px;
  font-weight: 800;
}

.sealed-media-disclosure {
  margin: 12px 0 0;
  color: var(--sealed-muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.sealed-product-copy {
  min-width: 0;
}

.sealed-kicker,
.sealed-section-heading > p {
  margin: 0;
  color: var(--sealed-gold);
  font-size: 10px;
  font-weight: 850;
}

.sealed-product-copy h1 {
  max-width: 660px;
  margin: 14px 0 16px;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.sealed-product-subtitle {
  max-width: 620px;
  margin: 0;
  color: var(--sealed-muted);
  font-size: 15px;
  line-height: 1.75;
}

.sealed-product-tags {
  display: flex;
  gap: 7px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.sealed-product-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--sealed-line);
  border-radius: 5px;
  color: var(--sealed-green);
  background: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 800;
}

.sealed-product-tags span.is-stock {
  color: var(--sealed-rust);
}

.sealed-purchase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  max-width: 540px;
  margin-top: 34px;
  padding: 1px;
  background: var(--sealed-line);
}

.sealed-purchase-row > div {
  display: grid;
  gap: 7px;
  min-height: 92px;
  align-content: center;
  padding: 16px 19px;
  background: var(--sealed-white);
}

.sealed-purchase-row span {
  color: var(--sealed-muted);
  font-size: 10px;
  font-weight: 800;
}

.sealed-purchase-row strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
}

.sealed-product-actions {
  display: flex;
  gap: 10px;
  max-width: 540px;
  margin-top: 14px;
}

.sealed-product-actions button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.sealed-add-button {
  flex: 1;
  border: 1px solid var(--sealed-green);
  color: #fff;
  background: var(--sealed-green);
}

.sealed-add-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.sealed-cart-button {
  border: 1px solid var(--sealed-line);
  color: var(--sealed-ink);
  background: var(--sealed-white);
}

.sealed-purchase-note {
  max-width: 540px;
  margin: 12px 0 0;
  color: var(--sealed-muted);
  font-size: 10px;
  line-height: 1.6;
}

.sealed-facts-section,
.sealed-trust-section,
.sealed-related-section {
  padding: 78px 0 0;
}

.sealed-section-heading h2 {
  margin: 9px 0 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 34px;
  font-weight: 400;
}

.sealed-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 25px;
  border-top: 1px solid var(--sealed-line);
  border-left: 1px solid var(--sealed-line);
}

.sealed-fact {
  display: grid;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 18px;
  border-right: 1px solid var(--sealed-line);
  border-bottom: 1px solid var(--sealed-line);
  background: rgba(255, 255, 255, 0.32);
}

.sealed-fact span {
  color: var(--sealed-muted);
  font-size: 10px;
  font-weight: 800;
}

.sealed-fact strong {
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.sealed-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 25px;
  padding: 28px 0;
  border-top: 1px solid var(--sealed-line);
  border-bottom: 1px solid var(--sealed-line);
}

.sealed-trust-grid article {
  padding-right: 24px;
  border-right: 1px solid var(--sealed-line);
}

.sealed-trust-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.sealed-trust-grid strong {
  color: var(--sealed-green);
  font-size: 13px;
}

.sealed-trust-grid p {
  margin: 9px 0 0;
  color: var(--sealed-muted);
  font-size: 12px;
  line-height: 1.7;
}

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

.sealed-related-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--sealed-line);
  border-radius: 8px;
  background: var(--sealed-white);
}

.sealed-related-media {
  display: grid;
  width: 116px;
  aspect-ratio: 0.88;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: #e9e7df;
}

.sealed-related-media img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.sealed-related-mini-art {
  display: grid;
  width: 72%;
  height: 78%;
  place-items: center;
  padding: 10px;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 5px;
  color: #fff;
  background: #4c687e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.1;
  text-align: center;
}

.sealed-related-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sealed-related-copy span {
  color: var(--sealed-gold);
  font-size: 9px;
  font-weight: 800;
}

.sealed-related-copy h3 {
  display: -webkit-box;
  margin: 7px 0 8px;
  overflow: hidden;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sealed-related-copy footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.sealed-related-copy footer strong {
  font-size: 14px;
}

.sealed-related-copy footer a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--sealed-line);
  border-radius: 5px;
  color: var(--sealed-green);
  font-size: 10px;
  font-weight: 800;
}

.sealed-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px max(24px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--sealed-line);
  color: var(--sealed-muted);
  background: #ece8df;
  font-size: 11px;
}

.sealed-detail-footer a {
  color: var(--sealed-green);
  font-weight: 800;
}

.sealed-detail-footer .footer-email {
  text-decoration-color: rgba(25, 62, 48, 0.34);
  text-underline-offset: 3px;
}

.sealed-detail-footer .footer-email:hover,
.sealed-detail-footer .footer-email:focus-visible {
  color: var(--sealed-ink);
}

.sealed-detail-toast {
  position: fixed;
  z-index: 120;
  bottom: 24px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border-radius: 6px;
  color: #fff;
  background: rgba(10, 14, 24, 0.94);
  box-shadow: 0 16px 38px rgba(7, 10, 16, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: 180ms ease;
  font-size: 12px;
}

.sealed-detail-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .sealed-product-hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
    gap: 42px;
  }

  .sealed-product-copy h1 {
    font-size: 40px;
  }

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

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

@media (max-width: 700px) {
  body.sealed-detail-page {
    padding-bottom: 68px;
  }

  .sealed-detail-main {
    width: calc(100vw - 28px);
    padding-top: 18px;
  }

  .sealed-breadcrumb {
    overflow-x: auto;
    white-space: nowrap;
  }

  .sealed-product-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 30px 0 52px;
  }

  .sealed-product-media {
    aspect-ratio: 1 / 0.92;
  }

  .sealed-product-copy h1 {
    margin-top: 11px;
    font-size: 34px;
  }

  .sealed-product-subtitle {
    font-size: 14px;
  }

  .sealed-purchase-row {
    margin-top: 25px;
  }

  .sealed-purchase-row strong {
    font-size: 23px;
  }

  .sealed-product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sealed-facts-section,
  .sealed-trust-section,
  .sealed-related-section {
    padding-top: 60px;
  }

  .sealed-section-heading h2 {
    font-size: 29px;
  }

  .sealed-trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .sealed-trust-grid article,
  .sealed-trust-grid article:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--sealed-line);
  }

  .sealed-trust-grid article:last-child {
    border-bottom: 0;
  }

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

  .sealed-detail-footer {
    display: grid;
    padding: 30px 18px 92px;
  }
}

@media (max-width: 430px) {
  .sealed-fallback-stack {
    width: 58%;
  }

  .sealed-fallback-art {
    padding: 18px;
  }

  .sealed-fallback-art strong {
    font-size: 25px;
  }

  .sealed-fallback-art span {
    font-size: 20px;
  }

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

  .sealed-purchase-row > div {
    min-height: 76px;
  }

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

  .sealed-fact {
    min-height: 100px;
    padding: 14px;
  }

  .sealed-related-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .sealed-related-media {
    width: 92px;
  }
}

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

  .sealed-detail-toast {
    transition: none;
  }
}
