.th-product-page.th-wrap { --wrap: 1312px; --detail-surface: #f5f8fb; --detail-rule: #dbe4ed; }
.th-product-page.th-section { padding-top: clamp(20px, 2.7vw, 38px); }
.th-product-page .th-crumb { gap: 7px; margin-bottom: clamp(18px, 2vw, 30px); font-size: .8rem; }
.th-product-page .th-crumb a { text-decoration: none; }
.th-product-page .th-crumb a:hover { text-decoration: underline; }

.th-detail-overview {
    display: grid;
    grid-template: 'gallery intro' auto 'gallery buy' 1fr / minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(28px, 4.2vw, 64px);
    align-items: start;
    padding-bottom: clamp(27px, 4.5vw, 56px);
    border-bottom: 1px solid var(--detail-rule);
}
.th-detail-overview-text { grid-template: 'intro' auto 'buy' 1fr / minmax(0, 55rem); }
.th-detail-intro { grid-area: intro; min-width: 0; }
.th-detail-buy { grid-area: buy; min-width: 0; }
.th-detail-gallery { grid-area: gallery; margin: 0; min-width: 0; }
.th-detail-intro h1 { margin: 0; font: 750 clamp(1.65rem, 2.65vw, 2.55rem)/1.15 system-ui, sans-serif; letter-spacing: -.034em; }
.th-detail-photo { display: grid; place-items: center; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--detail-rule); background: #fff; padding: clamp(5px, 1.05vw, 16px); }
.th-detail-photo .th-product-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; border: 0; }
.th-detail-gallery .th-gallery { flex-wrap: nowrap; padding: 4px 4px 6px; margin-top: 7px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bdcbd8 transparent; }
.th-detail-gallery .th-gallery button { flex: 0 0 auto; display: grid; place-items: center; min-height: 52px; padding: 4px; border-color: var(--detail-rule); }
.th-detail-gallery .th-gallery img { width: clamp(47px, 5vw, 66px); height: auto; aspect-ratio: 1; }
.th-detail-gallery .th-gallery button:hover { border-color: #1c5f92; }
.th-detail-gallery .th-gallery button[aria-pressed="true"] { border-color: #1c5f92; box-shadow: inset 0 0 0 1px #1c5f92; }
.th-detail-gallery .th-product-caption { margin-top: 6px; padding-top: 0; font-size: .78rem; color: var(--muted); }

.th-detail-buy .th-product-discovery-links { margin-top: 9px; gap: 4px 18px; }
.th-detail-buy .th-product-guide-link { display: inline-flex; gap: 6px; align-items: center; min-height: 31px; }
.th-detail-information > .th-product-guide-link { display: inline-flex; margin-top: 16px; min-height: 35px; align-items: center; gap: 6px; }

.th-detail-information { padding-top: clamp(24px, 4vw, 45px); }
.th-detail-information h2, .th-detail-inquiry h2 { color: var(--navy); font: 730 clamp(1.42rem, 2.3vw, 1.95rem)/1.25 system-ui, sans-serif; letter-spacing: -.027em; }
.th-detail-information-grid { display: grid; grid-template-columns: minmax(0, 59rem); gap: clamp(18px, 3vw, 42px); align-items: start; }
.th-detail-information-grid.th-detail-has-media { grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr); }
.th-detail-description { max-width: none; margin: 0; min-width: 0; }
.th-detail-description > :last-child { margin-bottom: 0; }
.th-detail-specs { display: grid; margin: 0 0 20px; border: 1px solid var(--detail-rule); font-size: .89rem; }
.th-detail-specs > div { display: grid; grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); border-bottom: 1px solid var(--detail-rule); }
.th-detail-specs > div:nth-child(odd) { background: var(--detail-surface); }
.th-detail-specs > div:last-child { border-bottom: 0; }
.th-detail-specs :is(dt, dd) { padding: 9px 13px; overflow-wrap: anywhere; }
.th-detail-specs dt { font-weight: 700; color: var(--navy); }
.th-detail-specs dd { margin: 0; color: var(--muted); }
.th-detail-information-grid figure { margin: 0; min-width: 0; }
.th-detail-reference img { width: 100%; max-height: 470px; object-fit: contain; border: 1px solid var(--detail-rule); }
.th-detail-information-grid .th-product-video video { aspect-ratio: 16 / 9; object-fit: contain; background: #142e46; }

.th-detail-inquiry { margin-top: clamp(27px, 4.5vw, 54px); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: clamp(16px, 3vw, 36px); padding: clamp(17px, 3vw, 34px); border: 1px solid var(--detail-rule); background: var(--detail-surface); }
.th-detail-inquiry-copy p { color: var(--muted); }
.th-detail-inquiry-copy a { display: block; width: fit-content; margin-top: 7px; overflow-wrap: anywhere; }
.th-product-page .th-detail-inquiry .th-quote { margin: 0; padding: clamp(14px, 2.4vw, 25px); max-width: none; width: 100%; min-width: 0; background: #fff; }
.th-detail-inquiry form :is(input:not([type="hidden"]), textarea, button) { min-height: 44px; }

.th-related-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 7px 18px; margin-bottom: 16px; }
.th-related-heading h2 { margin: 0; color: var(--navy); font: 750 clamp(1.26rem, 2.1vw, 1.7rem)/1.22 system-ui, sans-serif; letter-spacing: -.025em; }
.th-related-heading a { color: #195387; font-size: .85rem; font-weight: 680; text-decoration: none; }
.th-related-heading a:hover { text-decoration: underline; }
.th-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); padding: 0; margin: 0; list-style: none; }
.th-related-grid > li { min-width: 0; }
.th-related-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--detail-rule); background: #fff; color: var(--navy); text-decoration: none; }
.th-related-card:hover, .th-related-card:focus-visible { border-color: #7597b6; }
.th-related-card:hover .th-related-action { text-decoration: underline; }
.th-related-photo { position: relative; aspect-ratio: 1; border-bottom: 1px solid var(--detail-rule); background: #f8fafc; }
.th-related-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(7px, 1.1vw, 15px); object-fit: contain; }
.th-related-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: clamp(10px, 1.2vw, 16px); }
.th-related-model { margin: 0 0 5px; color: #6e5124; font-size: .71rem; font-weight: 750; letter-spacing: .06em; overflow-wrap: anywhere; }
.th-related-name { margin: 0 0 11px; color: var(--navy); font: 730 clamp(.89rem, 1.25vw, 1.03rem)/1.35 system-ui, sans-serif; overflow-wrap: anywhere; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.th-related-action { margin-top: auto; color: #195387; font-size: .81rem; font-weight: 720; }
.th-related-action span { margin-inline-start: 4px; }

@media (max-width: 820px) {
    .th-detail-overview, .th-detail-overview-text { grid-template: 'intro' auto 'gallery' auto 'buy' auto / minmax(0, 1fr); row-gap: 16px; }
    .th-detail-overview-text { grid-template: 'intro' auto 'buy' auto / minmax(0, 1fr); }
    .th-detail-intro h1 { margin-bottom: 0; max-width: 35ch; }
    .th-detail-photo { aspect-ratio: 6 / 5; }
    .th-detail-information-grid.th-detail-has-media, .th-detail-inquiry { grid-template-columns: minmax(0, 1fr); }
    .th-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .th-detail-photo { aspect-ratio: 1 / 1; }
    .th-detail-intro h1 { font-size: clamp(1.35rem, 5.8vw, 1.7rem); overflow-wrap: anywhere; }
    .th-detail-specs :is(dt, dd) { padding: 8px 9px; }
    .th-detail-specs > div { grid-template-columns: minmax(0, .39fr) minmax(0, .61fr); }
}
