/* Isolated product presentation; uses the original theme variables. */
body .shop-page > h1 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 32px; }
body .filters { align-items: center; gap: 20px; padding-block: 18px; margin-bottom: 40px; }
body .filters > label { gap: 10px; }
body .filters select { min-height: 44px; border-radius: 6px; font-size: 14px; }
body .filters .button { min-height: 44px; padding: 10px 20px; }
body .filters > span { padding: 0; font-size: 13px; }
body .filters summary { font-size: 14px; }
body .filter-options label { min-height: 44px; }
body .product-grid { gap: 48px 26px; }
body .product-image { aspect-ratio: 4 / 5; border-radius: 6px; }
body .product-image img { padding: 0; object-fit: cover; }
body .product-meta { margin-top: 12px; font-size: 11px; letter-spacing: .055em; }
body .product-meta .icon-button { width: 44px; height: 44px; }
body .product-meta .icon-button svg { width: 19px; height: 19px; }
body .product-card h3 { font-size: 17px; line-height: 1.45; letter-spacing: -.018em; margin-bottom: 8px; }
body .product-card h3 { min-height: 2.9em; }
body main:focus-visible { outline: none; }
body .product-card p { font-size: 13px; margin-bottom: 12px; }
body .product-card strong { font-size: 16px; font-weight: 500; letter-spacing: .01em; }
body .product-card > .text-link {
  margin-top: 18px; padding: 10px 14px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 5px; justify-content: space-between; width: 100%;
}
body .product-card > .text-link:hover { background: var(--surface); text-decoration: none; border-color: var(--primary); }
body .product-page { padding-top: 28px; }
body .breadcrumbs { font-size: 12px; margin-bottom: 24px; color: var(--muted); gap: 12px; }
body .product-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
body .gallery-main { border-radius: 6px; aspect-ratio: 1; display: block; cursor: zoom-in; }
body .gallery-main img { object-fit: contain; }
body .thumbnails { gap: 12px; margin-top: 14px; }
body .thumbnails button { width: 76px; height: 76px; border-radius: 4px; padding: 3px; }
body .thumbnails button img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .thumbnails [aria-pressed="true"] { border-width: 2px; }
body .purchase > p:first-child { font-size: 11px; letter-spacing: .07em; margin-bottom: 14px; }
body .purchase h1 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.15; margin-bottom: 16px; max-width: 19ch; }
body .purchase p { font-size: 14px; line-height: 1.85; margin-bottom: 18px; }
body .purchase .price { font-size: 25px; font-weight: 500; margin: 22px 0 24px; }
body .purchase .notice { border-radius: 4px; font-size: 12px; padding: 14px 16px; }
body .quantity:has(select) { display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: 9px; font-size: 13px; margin: 24px 0 12px; }
body .quantity select { width: 100%; min-height: 48px; border-radius: 5px; }
body #variant-status { font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
body .quantity { justify-content: space-between; font-size: 13px; margin-bottom: 24px; }
body .quantity input { width: 88px; min-height: 48px; border-radius: 5px; text-align: center; }
body .purchase > .text-button { margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; font-size: 14px; }
body .purchase > .text-button:hover { background: var(--surface); }
body .purchase > .muted { margin-top: 16px; font-size: 12px; text-align: center; }
body .product-information { max-width: 100%; border-top: 1px solid var(--line); margin-top: 64px; padding-top: 36px; }
body .product-information h2 { font-size: 26px; margin-bottom: 24px; }
body .product-information details p { max-width: 70ch; font-size: 14px; line-height: 1.8; }
body .zoom-dialog { padding: 20px; border-radius: 6px; }
@media (min-width: 701px) and (max-width: 1024px) {
  body .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px 20px; }
  body .product-detail { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
  body .purchase h1 { font-size: 28px; }
  body .filters { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  body .shop-page { padding-top: 32px; }
  body .shop-page > h1 { font-size: 30px; margin-bottom: 24px; }
  body .filters { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; margin-bottom: 28px; }
  body .filters details { grid-column: 1; grid-row: 1; min-width: 0; }
  body .filters > .text-link { grid-column: 2; grid-row: 1; justify-self: end; }
  body .filters > label { grid-column: 1; grid-row: 2; }
  body .filters > button { grid-column: 2; grid-row: 2; }
  body .filters > span { grid-column: 1 / -1; margin-left: 0; }
  body .filter-options { grid-template-columns: minmax(0,1fr); }
  body .filters > label { gap: 8px; }
  body .filters select { max-width: 145px; font-size: 13px; }
  body .filters .button { padding-inline: 14px; }
  body .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 16px; }
  body .product-image { aspect-ratio: 4/5; }
  body .product-meta { margin-top: 4px; font-size: 10px; letter-spacing: .015em; }
  body .product-meta .icon-button { margin-right: -8px; }
  body .product-card h3 { font-size: 15px; line-height: 1.5; }
  body .product-card p { font-size: 12px; margin-bottom: 8px; }
  body .product-card strong { font-size: 15px; }
  body .product-card > .text-link { font-size: 12px; padding-inline: 10px; margin-top: 14px; gap: 6px; }
  body .product-card > .text-link svg { width: 16px; height: 16px; }
  body .product-page { padding-top: 12px; }
  body .breadcrumbs { margin-bottom: 16px; }
  body .product-detail { grid-template-columns: minmax(0,1fr); gap: 32px; }
  body .thumbnails button { width: 64px; height: 64px; }
  body .purchase h1 { font-size: 30px; max-width: 20ch; }
  body .purchase .price { margin-block: 18px; font-size: 24px; }
  body .purchase p { font-size: 14px; }
  body .purchase .notice { font-size: 12px; }
  body .purchase > .muted { font-size: 12px; }
  body .quantity select, body .quantity input { font-size: 16px; }
  body .product-information { margin-top: 40px; padding-top: 28px; }
  body .product-information h2 { font-size: 24px; }
}
