.store-product {
  --product-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans TC", "Noto Sans JP", sans-serif;
  --sans: var(--product-font);
  background: #fcfaf7;
  color: #2a211d;
  font-family: var(--product-font);
}
.store-product .product-shell {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}
.pdp-trail {
  max-width: 1096px;
  margin-inline: auto;
  min-height: 0;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 4px;
  padding: 13px 0;
  font: 650 11px/1.35 var(--product-font);
  color: #786d65;
}
.pdp-trail a,.pdp-trail span:not([aria-current]) { flex: none; }
.pdp-trail span { color: inherit; }
.pdp-trail .pdp-current { display: inline; }
.pdp-trail [aria-current="page"] { min-width: 0; overflow-wrap: anywhere; color: inherit; }
.pdp-top {
  max-width: 1096px;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin: 10px auto 44px;
  line-height: normal;
}
.pdp-gallery,.pdp-buy { min-width: 0; }
.pdp-stage {
  border-color:#ece1d5;
  border-radius: 16px;
  background: white;
}
.pdp-stage .pdp-hero-image {
  user-select: none;
  touch-action: pan-y pinch-zoom;
  cursor: zoom-in;
}
.pdp-gallery:has(.pdp-thumbs button:nth-child(2)) .pdp-hero-image { cursor: grab; }
.pdp-gallery .pdp-hero-image:active { cursor: grabbing; }
#pdp-zoom {
  opacity: 0;
  transition: opacity .14s ease;
}
.pdp-stage:hover #pdp-zoom,#pdp-zoom:focus-visible { opacity: 1; }
.pdp-thumbs {
  gap: 7px;
  padding: 10px 2px 4px;
  scrollbar-width: thin;
}
.pdp-thumbs button {
  flex-basis: 51px;
  height: 51px;
  border: 1px solid #e5d8ca;
  border-radius: 9px;
  padding: 3px;
}
.pdp-thumbs button[aria-pressed="true"] {
  border: 1px solid #3d2a20;
  padding: 3px;
  box-shadow: 0 0 0 1px #3d2a20;
}
.pdp-buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  max-width: none;
  padding: 2px 0 0;
}
.pdp-buy > :where(.pdp-category, h1, .pdp-price-note, form) { grid-column: 1 / -1; }
.pdp-category {
  display: block;
  width: fit-content;
  margin: 0 0 7px;
  font: 750 12px/1.4 var(--product-font);
  color: #a16642;
  letter-spacing: .13em;
}
.pdp-buy h1 {
  max-width: 650px;
  margin: 0 0 12px;
  color: #2a211d;
  font: 680 clamp(26px,2.25vw,34px)/1.18 var(--product-font);
  letter-spacing: -.05em;
  text-wrap: wrap;
}
.pdp-stock,.pdp-stock.available {
  grid-area: 3 / 2;
  gap: 8px;
  border-radius: 99px;
  padding: 7px 11px;
  color: #46603c;
  background: #e9eee6;
  font: 700 11px var(--product-font);
}
.pdp-stock.unknown { color: #77634c; background: #eee7de; }
.pdp-stock .pdp-stock-dot { width: 6px; height: 6px; color:#698454; }
.pdp-stock.unknown .pdp-stock-dot { color:#a28054; }
.pdp-stock b { font-weight: inherit; }
.pdp-price {
  grid-area: 3 / 1;
  margin: 0;
  color: #2a211d;
  font: 700 clamp(25px,2.2vw,31px)/1.2 var(--product-font);
  letter-spacing: -.04em;
}
.pdp-price-note {
  max-width: 480px;
  margin: 5px 0 0;
  color: #8d8075;
  font: 400 11px/1.6 var(--product-font);
}
.pdp-buy #product-form { margin: 0; border: 0; padding: 0; }
.pdp-option:has(option:only-child) { display: none; }
.pdp-option { margin: 0 0 22px; }
.pdp-mobile-action { font-family: var(--product-font); }
@media(max-width:760px) {
  .store-product .product-shell { width: calc(100% - 28px); padding-bottom: 100px; }
  .pdp-trail { margin-top: 4px; padding: 14px 0; }
  .pdp-top { display: block; max-width: 540px; margin: 4px auto 34px; }
  .pdp-trail { max-width: 540px; }
  .pdp-stage { aspect-ratio: 1.5; }
  .pdp-buy { padding: 16px 2px 0; }
  .pdp-buy h1 { font-size: clamp(23px,5.5vw,29px); }
  .pdp-thumbs button { flex-basis: 46px; height: 46px; }
  .pdp-mobile-action {
    min-height: 58px;
    padding: 9px 16px max(9px,env(safe-area-inset-bottom));
    background: #fcfaf7fa;
    border-color: #ded4ca;
    box-shadow: 0 -8px 25px #28190f19;
  }
  .pdp-mobile-action span { font-size: 9px; line-height: 1.35; }
  .pdp-mobile-action strong { font-size: 14px; line-height: 1.55; }
  .pdp-mobile-action button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 9px 14px;
    font: 750 12px/1.4 var(--product-font);
  }
  .pdp-mobile-action button::after {
    content: "";
    width: 12px;
    height: 12px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8h16l-2 12H6zM9 9V6a3 3 0 016 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
@media(max-width:480px) {
  .store-product .product-shell { width: calc(100% - 20px); }
}
