/* Product detail (T12): a quiet product stage, a soft option picker, one selection and dealer-ready tables. */
.product-intro { padding: calc(var(--header-top-h) + 20px) 0 64px; }
.product-breadcrumb { margin-bottom: 32px; gap: 8px; font-size: 12px; line-height: 1.5; }
.product-breadcrumb a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.product-breadcrumb [aria-current] { color: var(--muted); overflow-wrap: anywhere; }
.breadcrumb__separator { color: var(--line); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(28px, 4vw, 56px); row-gap: 20px; align-items: start; }
.product-heading { grid-column: 2; grid-row: 1; min-width: 0; padding-top: 8px; }
.product-heading h1 { font-family: var(--font); font-size: clamp(28px, 2.8vw, 42px); font-weight: 500; line-height: 1.02; letter-spacing: -.028em; overflow-wrap: anywhere; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.product-meta__label { margin-right: 4px; }
.product-meta__code { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.product-meta__series a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .product-meta__series a:hover { color: var(--ink); text-decoration-color: var(--ink); } }

/* Gallery (app.js: thumbnails, arrows, swipe, lightbox; higold:variant-media switches to a variant's image). */
.product-gallery { grid-column: 1; grid-row: 1 / 3; min-width: 0; }
.gallery__main { position: relative; width: 100%; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.gallery__main > picture, .gallery__main > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; view-transition-name: product-image; }
.gallery__main img:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: -5px; }
.gallery__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.gallery__toolbar[hidden] { display: none; }
.product-gallery__zoom { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-align: left; font-size: 12px; color: var(--ink-2); }
.product-gallery__zoom svg { flex: 0 0 18px; }
.gallery__pagination { display: flex; align-items: center; flex-shrink: 0; gap: 6px; }
.gallery__arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); }
.gallery__arrow:hover { background: var(--surface); border-color: var(--gold-deep); }
[data-gallery-prev] svg { transform: rotate(180deg); }
.gallery__count { min-width: 44px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); }
.gallery__thumbs { display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; margin-top: 14px; padding: 3px 2px 10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.gallery__thumb { flex: 0 0 72px; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px; background: var(--surface); box-shadow: none; scroll-snap-align: start; opacity: .65; }
.gallery__thumb.is-active { border-color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold-deep); opacity: 1; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; opacity: 1; }
.gallery__thumb picture, .gallery__thumb img { width: 100%; height: 100%; display: block; }
.gallery__thumb img { object-fit: contain; border-radius: 0; }

/* Information column */
.product-info { grid-column: 2; grid-row: 2; position: static; min-width: 0; }
.product-sale-price { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-sale-price .catalog-price__foreign { font-size: 18px; }
.product-sale-price .catalog-price__try { font-size: 22px; color: var(--ink); }
.product-sale-price .catalog-price-note, .product-variants > .catalog-price-note { margin: 10px 0 0; }
.variants-table__price { min-width: 180px; }
.variants-table__price .catalog-prices { margin-top: 0; }
.variants-table__price .catalog-prices__empty { max-width: 180px; margin-top: 0; }
.product-notice { margin: 0 0 20px; padding: 12px 16px; border-left: 2px solid var(--gold); border-radius: var(--r-sm); background: var(--surface); font-size: 14px; line-height: 1.6; color: var(--ink); }
.product-summary { font-size: 15px; line-height: 1.75; color: var(--ink-2); margin-bottom: 26px; }
.product-block-title { font-family: var(--font); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--ink); margin: 0 0 12px; }
html:not(.js) .product-js-only { display: none !important; }

/* Option picker: native radios under soft 44px pills; unavailable combinations stay focusable but dimmed. */
.product-picker { display: grid; gap: 20px; margin: 0 0 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.product-picker:focus { outline: none; }
.product-picker .product-block-title { margin-bottom: -4px; }
.picker-axis { min-width: 0; margin: 0; padding: 0; border: 0; }
.picker-axis__legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.picker-axis__values { display: flex; flex-wrap: wrap; gap: 8px; }
.picker-option { position: relative; display: inline-flex; min-width: 0; max-width: 100%; }
.picker-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.picker-option__label {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-width: 44px; min-height: 44px; max-width: 100%; padding: 10px 16px; border-radius: 999px;
    background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
    font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--ink-2); text-align: center; overflow-wrap: anywhere;
    transition: box-shadow var(--t) var(--ease-out), background var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .picker-option:hover .picker-option__label { box-shadow: inset 0 0 0 1px var(--gold); color: var(--ink); } }
.picker-option input:checked + .picker-option__label { background: var(--surface); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.picker-option input:focus-visible + .picker-option__label { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.picker-option input[aria-disabled="true"] + .picker-option__label {
    color: var(--muted); background: repeating-linear-gradient(135deg, var(--bg) 0 7px, var(--surface) 7px 8px);
    text-decoration: line-through; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px;
}
.picker-option input[aria-disabled="true"]:checked + .picker-option__label { box-shadow: inset 0 0 0 2px var(--muted); }
.picker-swatch { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 999px; background: var(--swatch, transparent); box-shadow: inset 0 0 0 1px rgba(20, 24, 21, .24); }
.picker-swatch--sm { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.picker-apply { justify-self: start; }
.js .picker-apply { display: none; }

/* Selected product code, dimensions, features and set contents */
.product-facts { margin: 0 0 20px; border-top: 1px solid var(--line); }
.product-facts__row { display: grid; grid-template-columns: minmax(96px, max-content) minmax(0, 1fr); align-items: center; gap: 6px 20px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.product-facts dt { font-size: 13px; color: var(--muted); }
.product-facts dd { margin: 0; min-width: 0; font-size: 14px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.product-code-value { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 44px; }
.product-code-value__code { font-family: var(--font); font-size: 17px; font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.product-code-value__empty { font-size: 13px; color: var(--muted); }
.product-facts__raw { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.product-copy {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px;
    background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
    font-size: 13px; font-weight: 500; color: var(--ink-2);
    transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t) var(--ease-out), color var(--t) var(--ease-out);
}
.product-copy:active { transform: scale(.97); }
.product-copy:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .product-copy:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); } }
.product-copy--icon { width: 44px; padding: 0; background: transparent; box-shadow: none; }
.product-features, .product-kit { margin: 0 0 22px; }
.product-features__list { display: grid; gap: 6px; }
.product-features__list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.6; color: var(--ink-2); overflow-wrap: anywhere; }
.product-features__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 7px; height: 1px; background: var(--gold); }
.product-kit__list { display: flex; flex-wrap: wrap; gap: 0 18px; }
.product-kit__list li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-variant-numeric: tabular-nums; }
.product-kit__list a, .product-kit__list li > span[translate] { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.product-kit__list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.product-kit__qty { color: var(--muted); }

/* Quote card: quantity + add button (JS); without JavaScript a quote request link replaces them. */
.product-selection { padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: none; scroll-margin-top: calc(var(--header-h) + 24px); }
.product-selection__title { font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin-bottom: 16px; }
.product-selection .quote-options { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: end; gap: 12px; margin: 0; }
.product-selection .field { margin: 0; }
.product-selection .field label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.product-selection input { width: 100%; min-width: 0; min-height: 52px; padding: 12px; font-size: 16px; text-align: center; font-variant-numeric: tabular-nums; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); }
.product-selection input:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.product-selection input[aria-invalid="true"] { border-color: #b3401f; background: #fdf4f0; }
.product-cta { min-width: 0; margin: 0; }
.product-page .product-cta > .btn, .product-page .product-whatsapp { width: 100%; min-width: 0; min-height: 52px; border-radius: 999px; padding: 14px 18px; font-size: 14px; white-space: normal; justify-content: center; box-shadow: none; }
.product-cta .btn--solid, .product-page .sticky-cta .btn--solid { --bgc: var(--ink); --fg: var(--bg); }
.product-cta .btn--solid:hover, .product-page .sticky-cta .btn--solid:hover { --bgc: var(--gold-deep); }
.quote-options__error { grid-column: 1 / -1; margin: 0; }
.product-page .product-whatsapp { margin-top: 10px; --bgc: var(--bg); --fg: var(--ink-2); --bdc: var(--line-strong); }
.product-page .product-whatsapp:hover { --bgc: var(--surface); --bdc: var(--ink); }
.product-whatsapp svg { color: #0e7a37; }
.product-selection__nojs { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.product-selection__nojs .link-arrow { margin-top: 4px; }
.product-quote-next { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: 10px; font-size: 13px; color: var(--gold-deep); }
.product-quote-next[hidden] { display: none; }
.product-selection__note { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.65; }

/* Lower sections */
.product-content { padding-block: 0 64px; }
.product-section { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.product-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.product-section__title { font-family: var(--font); font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.025em; text-transform: none; color: var(--ink); margin: 0; }
.product-section__meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.product-about .product-section__title { margin-bottom: 20px; }
.product-about__body { display: grid; gap: 16px; max-width: 75ch; }
.product-about__body p { font-size: 15px; line-height: 1.8; color: var(--ink-2); overflow-wrap: anywhere; }

/* All product codes: sticky header inside a scroll box, sticky code column while scrolling sideways. */
/* position: relative → görsel olarak gizli (sr-only, absolute) etiketler kaydırma kutusunda kalır; belgeyi yatayda genişletmez. */
.variants-table__scroll { position: relative; max-height: min(72vh, 760px); overflow: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); }
.variants-table__scroll:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.variants-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.variants-table th, .variants-table td { padding: 6px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); background: var(--bg); }
.variants-table tbody tr:last-child > * { border-bottom: 0; }
.variants-table thead th { position: sticky; top: 0; z-index: 2; padding-block: 12px; background: var(--surface); font-size: 12px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.variants-table thead th:first-child { left: 0; z-index: 3; }
.variants-table__code { position: sticky; left: 0; z-index: 1; font-weight: 500; white-space: nowrap; }
.variants-table__code-inner { display: inline-flex; align-items: center; gap: 2px; }
.variants-table__code a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .variants-table__code a:hover { text-decoration-color: var(--ink); } }
.variants-table tr[aria-current="true"] > * { background: #f7f2ea; }
.variants-table tr[aria-current="true"] > .variants-table__code { box-shadow: inset 3px 0 0 var(--gold); }
.variants-table__dims, .variants-table__docs, .variants-table td:has(> .picker-swatch--sm) { white-space: nowrap; }
.variants-table__features { min-width: 200px; max-width: 340px; color: var(--ink-2); }
.doc-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
@media (hover: hover) and (pointer: fine) { .doc-chip:hover { text-decoration-color: var(--ink); } }
.variants-add { display: flex; align-items: center; gap: 8px; }
.variants-add__qty { width: 76px; min-height: 44px; padding: 8px; font-size: 16px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); }
.variants-add__qty:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.variants-add__qty[aria-invalid="true"] { border-color: #b3401f; background: #fdf4f0; }
.variants-add__button { min-height: 44px; white-space: nowrap; }
.variants-add__button.is-done { --bdc: var(--gold); --fg: var(--gold-deep); }

/* Documents */
.product-documents__filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: -8px 0 12px; font-size: 13px; color: var(--ink-2); }
.product-documents__all { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.doc-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; }
.doc-group { min-width: 0; }
.doc-group__title { font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); margin: 0 0 8px; }
.doc-item { padding: 10px 0 12px; border-top: 1px solid var(--line); }
.doc-item.is-match { padding-left: 12px; box-shadow: inset 2px 0 0 var(--gold); }
.doc-item__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.doc-item__icon { flex: 0 0 18px; color: var(--gold-deep); transition: transform var(--t) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .doc-item__link:hover .doc-item__icon { transform: translateY(2px); } }
.doc-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.doc-item__lang { padding: 0 5px; border: 1px solid var(--line-strong); border-radius: 4px; font-weight: 500; color: var(--ink-2); letter-spacing: .04em; }
.doc-item__match { font-weight: 500; color: var(--gold-deep); }
.doc-item__codes { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }

.product-related .rail { position: relative; } /* kart içindeki sr-only (absolute) metinler rayın dışına taşıp sayfayı genişletmesin */
.product-related .section-head h2 { font-size: 24px; font-weight: 500; letter-spacing: -.028em; color: var(--ink); }

/* Mobile sticky quote bar (app.js shows it when the main button is out of view). */
.sticky-cta { position: fixed; inset: auto 0 0; z-index: 80; display: none; align-items: center; gap: 16px; padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); background: rgba(251,251,250,.97); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform var(--t) var(--ease-out), visibility 0s var(--t); }
.sticky-cta.is-show { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.sticky-cta__selection { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; min-height: 48px; flex: 1 1 40%; font-size: 12px; line-height: 1.5; }
[data-selection-summary] { overflow-wrap: anywhere; }
.sticky-cta__edit { color: var(--gold-deep); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.product-page .sticky-cta > .btn { flex: 1 1 60%; min-width: 0; min-height: 50px; padding: 12px; border-radius: 999px; font-size: 13px; line-height: 1.5; white-space: normal; box-shadow: none; }
body.has-sticky-cta main { padding-bottom: var(--sticky-cta-space); }

@media (max-width: 980px) {
    .product-intro { padding-top: calc(var(--header-top-h) + 12px); padding-bottom: 40px; }
    .product-breadcrumb { margin-bottom: 16px; gap: 4px 8px; }
    .product-detail { display: flex; flex-direction: column; gap: 24px; }
    .product-detail > * { width: 100%; }
    .product-heading { padding-top: 0; }
    .product-heading h1 { font-size: clamp(27px, 4.2vw, 38px); max-width: 30ch; }
    .gallery__main { aspect-ratio: 1.2; }
    .product-summary { margin-bottom: 24px; max-width: 70ch; }
    .doc-groups { gap: 24px 32px; }
}
@media (max-width: 720px) {
    .product-intro { padding-top: calc(var(--header-top-h) + 8px); }
    .product-breadcrumb { font-size: 11px; margin-bottom: 12px; }
    .product-breadcrumb [aria-current], .product-breadcrumb .breadcrumb__separator:has(+ [aria-current]) { display: none; }
    .product-detail { gap: 20px; }
    .product-heading h1 { font-size: clamp(27px, 7.2vw, 34px); }
    .gallery__main { aspect-ratio: 1; }
    .gallery__toolbar { padding-block: 6px; gap: 4px; }
    .product-gallery__zoom { max-width: 52%; font-size: 11px; }
    .gallery__pagination { gap: 2px; }
    .gallery__count { min-width: 34px; font-size: 11px; }
    .gallery__thumbs { margin-top: 10px; gap: 8px; }
    .gallery__thumb { flex-basis: 60px; width: 60px; height: 60px; }
    .product-summary { font-size: 14px; line-height: 1.75; }
    .product-selection { padding: 20px 16px; }
    .product-selection .quote-options { grid-template-columns: 80px minmax(0, 1fr); }
    .product-content { padding-bottom: 32px; }
    .product-section { padding-block: 28px; }
    .product-section__title { font-size: 20px; }
    .doc-groups { grid-template-columns: minmax(0, 1fr); }
    .variants-table { min-width: 680px; }
    .variants-table th, .variants-table td { padding-inline: 10px; }
    .product-page .sticky-cta { display: flex; }
}
@media (max-width: 359px) {
    .product-selection .quote-options { grid-template-columns: minmax(0, 1fr); }
    .product-selection .quote-options__qty { max-width: 110px; }
    .product-gallery__zoom { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    .product-page *, .product-page *::before, .product-page *::after { scroll-behavior: auto; }
    .product-copy:active { transform: none; }
}
