/* Shared by generated product pages only. */
.product-page { min-height: 100%; height: auto; }
.product-main { padding-block: 42px 64px; }
.product-back { display: inline-block; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; padding-block: 8px; }
.product-heading { max-width: 850px; margin: 24px auto 30px; text-align: center; }
.product-category { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.product-heading h1 { font-family: var(--script); font-weight: 400; color: var(--pink-text); font-size: clamp(44px, 6vw, 76px); line-height: 1.12; margin: 0 0 24px; overflow-wrap: anywhere; }
.product-prices { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0 0 18px; }
.product-prices li { display: flex; flex-direction: column; align-items: center; justify-content: center; width: clamp(110px, 18vw, 200px); min-height: 49px; font-family: Georgia, 'Times New Roman', serif; padding: 0; border: 1px solid var(--pink-text); border-radius: 14px; background: rgba(255,255,255,.58); box-shadow: 0 6px 14px rgba(42,35,36,.04); color: rgba(16,14,14,.95); }
.product-price-amount { display: block; font-size: clamp(19px, 1.9vw, 25px); line-height: .95; }
.product-price-detail { display: block; margin-top: 4px; font-size: clamp(9px, .95vw, 12px); line-height: 1; }
.product-divider { display: flex; align-items: center; gap: 18px; margin: 28px auto 32px; color: var(--pink-text); max-width: 760px; }
.product-divider::before, .product-divider::after { content: ''; height: 1px; background: var(--blush); flex: 1; }
.product-divider span { font-size: 23px; line-height: 1; }
.product-note { max-width: 660px; margin: 0 auto 20px; color: var(--muted); }
.product-inquiry { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; }
.product-feature { max-width: 880px; margin: 0 auto; text-align: center; }
.product-photo { display: block; width: 100%; padding: 0; border: 1px solid rgba(42,35,36,.1); border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.5); cursor: zoom-in; }
.product-feature img { width: 100%; height: auto; max-height: 680px; object-fit: contain; }
.product-feature .product-photo { border: 0; background: transparent; border-radius: 0; }
.product-gallery { margin-top: 0; }
.product-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.product-photo-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.product-bottom-links { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.product-page :focus-visible { outline: 2px solid var(--muted); outline-offset: 5px; }
.product-skip { position: fixed; top: 8px; left: 8px; transform: translateY(-200%); background: var(--ivory); padding: 12px; z-index: 100; }
.product-skip:focus { transform: none; }
.product-viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; background: #211c1e; color: var(--ivory); }
.product-viewer::backdrop { background: rgba(0,0,0,.85); }
.product-viewer-layout { height: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 12px; padding: 60px 18px 20px; }
.product-viewer-figure { grid-column: 2; grid-row: 1; margin: 0; min-width: 0; text-align: center; }
.product-viewer-image { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; margin: auto; object-fit: contain; touch-action: pan-y pinch-zoom; }
.product-viewer figcaption { margin-top: 14px; font-size: 14px; }
.product-viewer button { min-width: 48px; min-height: 48px; padding: 0; border: 1px solid rgba(255,248,242,.45); border-radius: 50%; background: transparent; color: var(--ivory); font-size: 32px; cursor: pointer; }
.product-viewer-prev { grid-column: 1; grid-row: 1; }
.product-viewer-next { grid-column: 3; grid-row: 1; }
.product-viewer-close { position: absolute; top: 12px; right: 18px; }
.product-viewer button:focus-visible { outline-color: var(--blush); }
.product-viewer button[hidden] { display: none; }
@media (max-width: 780px) {
  .product-main { padding-block: 24px 40px; }
  .product-heading { margin-block: 18px 24px; }
  .product-heading h1 { margin-bottom: 18px; }
  .product-prices { gap: 8px; }
  .product-prices li { min-height: 33px; border-radius: 10px; }
  .product-price-amount { font-size: clamp(15px, 4.7vw, 18px); }
  .product-price-detail { margin-top: 2px; font-size: clamp(7px, 2.2vw, 9px); }
  .product-divider { margin-block: 24px; }
  .product-note { font-size: 14px; }
  .product-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-feature img { max-height: 580px; }
  .product-bottom-links { flex-direction: column; }
  .product-viewer-layout { display: flex; justify-content: center; align-items: center; padding-inline: 8px; }
  .product-viewer-figure { width: 100%; }
  .product-viewer-prev, .product-viewer-next { position: absolute; top: 50%; background: rgba(33,28,30,.7) !important; }
  .product-viewer-prev { left: 8px; }
  .product-viewer-next { right: 8px; }
}
