[hidden] { display: none !important; }
.product-main { padding-block: 28px 64px; }
.product-crumbs { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.product-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 44px; }
.gallery-stage { aspect-ratio: 4 / 3; background: var(--panel); overflow: hidden; }
.gallery-stage > img, .gallery-stage > video { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.gallery-thumbs button { width: 76px; min-height: 64px; padding: 4px; border: 1px solid var(--line); background: var(--panel); font-size: 12px; }
.gallery-thumbs img { width: 100%; height: 56px; object-fit: contain; background: #fff; }
.gallery-thumbs [aria-pressed="true"] { border-color: var(--accent); }
.product-category, .product-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.product-summary h1 { font-size: clamp(36px, 4vw, 58px); line-height: 1.05; letter-spacing: -.04em; margin-block: 10px 16px; }
.product-lead { color: #d5d2cb; font-size: 18px; line-height: 1.5; }
.product-specs { margin-block: 24px; font-size: 16px; line-height: 1.5; }
.product-specs > div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); }
.product-specs dt { color: var(--muted); }
.product-specs dd { margin: 0; }
.product-price { font-size: 28px; font-weight: 650; margin-bottom: 18px; }
.product-buy { width: 100%; padding: 15px 18px; border: 1px solid var(--ink); color: var(--bg); background: var(--ink); font-size: 16px; font-weight: 650; }
.product-buy:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.product-buy:disabled { opacity: .6; cursor: wait; }
.product-note { margin-top: 12px; }
.product-sections { display: flex; flex-wrap: wrap; gap: 26px; border-block: 1px solid var(--line); padding-block: 18px; margin-top: 48px; }
.product-details { padding-block: 36px; }
.product-details h2, .product-order h2 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 22px; }
.description-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.description-columns h3 { font-size: 20px; margin-bottom: 10px; }
.description-columns p, .product-kit { color: #d5d2cb; font-size: 16px; line-height: 1.65; }
.product-kit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; padding-left: 20px; }
.product-order { width: min(600px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 32px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); }
.product-order::backdrop { background: rgb(0 0 0 / .75); }
.order-close { display: block; margin-left: auto; padding: 4px 10px; border: 1px solid var(--line); background: transparent; font-size: 24px; }
.product-sections button { padding: 0; border: 0; background: transparent; }
.product-order form { margin-top: 22px; }
.product-order p { line-height: 1.6; margin-bottom: 12px; }
.product-order form { display: grid; gap: 14px; }
.product-order label { display: grid; gap: 6px; font-size: 15px; }
.product-order input:not([type="checkbox"]) { width: 100%; padding: 12px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); font: inherit; }
.product-order .order-consent { display: flex; align-items: start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.order-consent a { text-decoration: underline; }
.order-status { font-size: 14px; }
.catalog-price { color: var(--ink); font-size: 21px; font-weight: 650; margin-bottom: 14px; }
.product-test { margin-top: 30px; max-width: 640px; }
.test-preview { display: flex; width: 100%; align-items: center; gap: 22px; padding: 0; border: 1px solid var(--line); background: var(--panel); color: var(--ink); text-align: left; }
.test-preview:hover { border-color: var(--accent); color: var(--ink); }
.test-preview-image { position: relative; display: block; flex: 0 0 180px; aspect-ratio: 16 / 10; overflow: hidden; }
.test-preview-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.55); transform-origin: 55% 30%; }
.test-play { position: absolute; left: 10px; bottom: 10px; padding: 7px 11px; background: rgb(18 18 17 / .85); color: #fff; font-size: 14px; }
.test-preview-copy { display: grid; gap: 10px; padding: 16px 20px 16px 0; }
.test-preview-copy strong { font-size: 19px; line-height: 1.3; }
.test-preview-copy > span { color: var(--muted); font-size: 14px; }
.test-dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 14px; background: var(--bg); border: 1px solid var(--line); }
.test-dialog::backdrop { background: rgb(0 0 0 / .8); }
.test-dialog video { display: block; width: 100%; max-height: 75vh; margin-top: 10px; }
@media (max-width: 520px) {
  .test-preview { gap: 14px; }
  .test-preview-image { flex-basis: 120px; }
  .test-preview-copy strong { font-size: 16px; }
}
.product-order { color-scheme: light; background: #f1f0ec; color: #171918; border: 0; padding: 32px 38px; }
.product-order h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.product-order .order-close { color: #171918; border: 0; }
.order-eyebrow { color: #d32f2f; font: 700 10px/1.4 Consolas, monospace; letter-spacing: .1em; }
.order-selection { display: grid; gap: 5px; background: #e9e7df; padding: 14px; border-left: 2px solid #d32f2f; }
.order-selection > span { color: #727873; font-size: 10px; text-transform: uppercase; }
.order-selection strong { font-size: 18px; }
.order-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.order-fields label > span { font: 700 10px/1.4 Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; }
.order-field-full { grid-column: 1 / -1; }
.field-required { color: #d32f2f; }
.product-order input:not([type="checkbox"]) { background: #fff; color: #171918; border: 1px solid #aaa; font-size: 16px; border-radius: 0; }
.product-order input:focus { outline: 1px solid #d32f2f; border-color: #d32f2f; }
.product-order .order-consent { color: #555; }
.product-order .product-buy { background: #171918; color: #fff; border-color: #171918; }
.city-autocomplete { position: relative; min-width: 0; }
.city-suggestions { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; max-height: 250px; overflow-y: auto; border: 1px solid #aaa; background: #fff; box-shadow: 0 8px 18px rgb(0 0 0 / .15); }
.city-suggestion { display: block; width: 100%; padding: 12px; border: 0; border-bottom: 1px solid #ddd; background: #fff; color: #171918; font-size: 14px; text-align: left; }
.city-suggestion:hover, .city-suggestion:focus { background: #eeeae3; color: #171918; }
@media (max-width: 520px) { .order-fields { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .product-intro, .product-order { grid-template-columns: 1fr; gap: 28px; }
  .description-columns { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .product-kit { grid-template-columns: 1fr; }
  .product-order { padding: 20px; }
}

/* Color executions share a model and price; each keeps its own gallery. */
.product-gallery[hidden] { display: none; }
.product-variants { border: 0; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.product-variants legend { margin-bottom: 10px; font-size: 15px; color: #bdbab2; }
.product-variants button { display: inline-flex; align-items: center; gap: 9px; padding: 12px 14px; background: transparent; border: 1px solid #45443e; color: #f2f0e9; cursor: pointer; font: inherit; }
.product-variants button[aria-pressed="true"] { border-color: #f2f0e9; background: #242421; }
.product-variants button:focus-visible { outline: 2px solid #e34435; outline-offset: 3px; }
.product-variants button span { width: 16px; height: 16px; border-radius: 50%; background: var(--swatch); border: 1px solid #777; }

.earmor-product .gallery-stage { aspect-ratio: 1; }
.earmor-product .gallery-stage > img { object-position: center top; }

.earmor-product .gallery-stage > img[data-photo-fit="contain"] { object-fit: contain; background: #fff; object-position: center; }

.vector-product .gallery-stage > img { object-fit: contain; background: #fff; }

/* Reading layout for the optics descriptions. */
.vector-product .description-columns { display: block; max-width: 780px; }
.vector-product .description-columns > div + div { margin-top: 28px; }
.vector-product .description-columns h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.vector-product .description-columns p { font-size: 18px; line-height: 1.7; }

/* Frame cutout portraits from their visible subject bounds, anchored to the crop. */
.gallery-stage:has(> img[style*="--person-w"]), .model-photo:has(> img[style*="--person-w"]) { position: relative; container-type: size; overflow: hidden; }
.gallery-stage > img[style*="--person-w"], .snowpeak-catalog .model-photo > img[style*="--person-w"] { position: absolute; bottom: 0; left: 50%; top: auto; width: min(calc(100cqw * var(--person-w)), calc(100cqh * var(--person-h))); height: auto; max-width: none; object-fit: initial; transform: translateX(calc(-1 * var(--person-x))); background: transparent; }

.vector-product .gallery-stage:has(> img[style*="--person-w"]:not([hidden])) { background: #fff; }
