/* LTDVIN component detail. Unslop method: Damir Sokolovsky, CC BY 4.0.
   https://github.com/heydamir/unslop */
.product-gallery-frame { display: grid; place-items: center; height: 450px; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.product-gallery-window { position: relative; display: block; width: min(100%, 450px); aspect-ratio: 1; overflow: hidden; }
.product-gallery-window img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.product-summary { min-width:0; }
.product-detail .product-summary h1 { margin:0 0 16px; }
.product-brand { margin:0 0 16px; font-size:13px; }
.product-identifiers { display:flex; flex-wrap:wrap; gap:16px 24px; margin:16px 0; }
.product-identifiers > div { min-width:0; }
.product-identifiers dt { margin-bottom:4px; color:var(--muted); font-size:12px; line-height:1.5; }
.product-identifiers dd { margin:0; color:var(--ink); font-size:14px; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; }
.product-detail .detail-price { margin:24px 0 16px; font-size:28px; font-weight:500; line-height:1.3; letter-spacing:0; font-variant-numeric:tabular-nums; }
.product-price-unit { display:inline-block; margin-left:4px; font-size:13px; font-weight:400; letter-spacing:0; white-space:nowrap; }
.product-quantity-row { display:block; margin:0 0 8px; }
.product-quantity-row label { display:block; margin-bottom:8px; font-size:14px; }
.product-quantity-control { display: grid; grid-template-columns: 42px minmax(82px, 112px) 42px; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.product-quantity-control button { min-height: 42px; border: 0; border-radius: 0; background: #f5f5f5; font: inherit; font-size: 22px; cursor: pointer; }
.product-quantity-control input { width: 100%; min-width: 0; border: 0; border-radius: 0; margin: 0; padding: 8px 4px; text-align: center; font: inherit; appearance: textfield; -moz-appearance: textfield; }
.product-quantity-control input::-webkit-inner-spin-button, .product-quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.product-quantity-control button:disabled { color: #999; cursor: default; }
.product-detail button.button:disabled { opacity: .55; cursor: not-allowed; }
.product-total-line { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 16px; margin:16px 0; font-size:14px; }
.product-total-line strong { font-size:22px; font-weight:500; letter-spacing:0; font-variant-numeric:tabular-nums; }
.product-quantity-error { color: #a12a25; font-size: 13px; }
.product-snapshot, #product-quantity-help { font-size: 12px; line-height: 1.6; }
#product-quantity-help { margin: 4px 0 12px; }
.product-document { text-decoration: underline; text-underline-offset: 3px; }
.product-purchase-grid { display:grid; grid-template-areas:"order" "tiers"; gap:28px; align-items:start; margin:16px 0 24px; }
.product-purchase-grid > * { min-width: 0; }
.product-tier-prices { grid-area:tiers; }
.product-tier-prices h2 { margin:0 0 12px; font-size:16px; font-weight:500; line-height:1.4; letter-spacing:0; }
.product-order-controls { grid-area:order; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px 24px; padding:20px 0; border-block:1px solid var(--border); background:transparent; }
.product-order-controls .product-quantity-row { grid-area:1/1; margin:0; }
.product-order-controls .product-total-line { grid-area:1/2; display:block; margin:0; }
.product-order-controls .product-total-line > span { display:block; margin-bottom:8px; font-size:14px; line-height:20px; }
.product-order-controls .product-total-line strong { display:flex; align-items:center; min-height:46px; font-size:24px; }
.product-order-controls #product-quantity-help { grid-area:3/1/auto/3; margin:0; }
.product-order-controls .product-quantity-error { grid-column:1/-1; margin:0; }
.product-order-controls .product-quantity-control { width:100%; }
.product-detail .product-order-controls .button { grid-area:2/1/auto/3; min-height:48px; margin:0; font-size:14px; }
.product-price-table { display: table; width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.product-price-table th, .product-price-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.product-price-table th { color: var(--muted); font-size: 11px; font-weight: 500; }
.product-price-table th:last-child, .product-price-table td:last-child { text-align: right; }
.product-price-table tr.is-active { background: #ecf4fb; }
.product-price-table tr.is-unavailable { color: var(--muted); }
.product-tier-note { margin: 8px 0 0; font-size: 11px; line-height: 1.4; }
.product-order-controls .product-quantity-row { margin-top: 0; }
.product-tier-choice { padding: 2px 0; border: 0; background: transparent; color: #075a9d; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.product-tier-choice:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.product-info-section { margin-block:40px; }
.product-info-section h2,.product-questions h2 { font-size:24px; font-weight:500; line-height:1.3; }
.product-specs { gap:0 32px; }
.product-specs > div { padding:16px 0; border-bottom:1px solid var(--border); }
.product-specs dt { line-height:1.5; }
.product-specs dd { margin-top:8px; line-height:1.6; overflow-wrap:anywhere; }
@media(min-width: 1200px) {
  .product-order-controls .product-quantity-row { display: block; }
  .product-order-controls .product-quantity-row label { display: block; margin-bottom: 8px; font-size: 14px; }
  .product-order-controls .product-quantity-control { width: 100%; grid-template-columns: 38px minmax(60px,1fr) 38px; }
}
@media(max-width:767px) {
  .product-gallery-frame { height:auto; aspect-ratio:1; }
  .product-gallery-window { width:100%; }
  .product-detail .detail-price { font-size:28px; }
  .product-order-controls { grid-template-columns:minmax(0,1fr); padding:20px 0; }
  .product-order-controls .product-quantity-row { grid-area:1/1; }
  .product-order-controls .product-total-line { grid-area:2/1; display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .product-order-controls .product-total-line > span { margin:0; }
  .product-order-controls .product-total-line strong { min-height:0; font-size:22px; }
  .product-detail .product-order-controls .button { grid-area:3/1; }
  .product-order-controls #product-quantity-help { grid-area:4/1; }
  .product-info-section { margin-block:32px; }
  .product-info-section h2,.product-questions h2 { font-size:22px; }
}
