/* =============================================
   PRODUCT DETAIL PAGE — Industrial White Theme
   Ported from su-tankeri.php reference design
   ============================================= */

/* --- Ortak üst etiket (.section-label) — kırmızı kategori şeridi --- */
.capacity-header .section-label,
.faq-header .section-label,
.services-header .section-label,
.compatibility-header .section-label,
.references-marquee-header .section-label,
.product-video-section .video-header .section-label,
.service-ext-header .section-label {
    font-size: var(--text-sm, 0.875rem);
    font-weight: 700;
    color: var(--primary, #cc0000);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-2, 16px);
    max-width: none;
}

/* --- BREADCRUMB --- */
.breadcrumb {
    position: relative;
    z-index: 2;
    padding: var(--space-3, 24px) 0;
    background: var(--surface-muted, var(--light-gray, #f5f5f5));
    margin-top: var(--breadcrumb-offset-top, 118px);
    margin-bottom: 0 !important;
    /* Override inner-pages.css margin-bottom: var(--space-2) */
    border-bottom: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
}

/* inner-pages.css .breadcrumb { display:flex } tek çocuk .container ile taşma/merkez hatalarına yol açabiliyor */
body.inner-page .breadcrumb {
    display: block;
    overflow-x: visible;
}

body.inner-page .breadcrumb .container {
    min-width: 0;
    max-width: 100%;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    row-gap: 10px;
    padding-left: 0;
    min-width: 0;
    white-space: normal;
}

.breadcrumb a {
    /* Override inner-pages.css rgba(255,255,255,0.5) which is invisible on light bg */
    color: #484848 !important;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    transition: var(--transition-base, 250ms ease);
}

.breadcrumb a i {
    line-height: 1;
    flex-shrink: 0;
}

.breadcrumb a:hover {
    color: var(--primary, #cc0000) !important;
}

.breadcrumb-separator {
    color: #484848 !important;
    opacity: 0.5;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-height: 1.45em;
}

.breadcrumb-separator i {
    display: block;
    line-height: 1;
    font-size: 0.7rem;
}

.breadcrumb strong {
    color: var(--dark, #222);
    font-size: 14px;
    font-weight: 600;
    min-width: 0;
    flex: 1 1 auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.45;
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        gap: 6px 10px;
        row-gap: 8px;
    }

    .breadcrumb a,
    .breadcrumb strong {
        font-size: 0.8125rem;
    }
}

/* breadcrumb üst boşluğu: js/app.js header yüksekliğine göre --breadcrumb-offset-top atar */

/* --- PRODUCT HERO (Dark with BG image) --- */
.product-hero {
    position: relative;
    z-index: 1;
    isolation: isolate;
    height: auto;
    background: var(--secondary, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: clamp(2.25rem, 5.5vw, 4.5rem);
    padding-bottom: clamp(2.5rem, 6.5vw, 5.5rem);
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    /* 1920/650 oranı yalnızca MIN yükseklik; içerik uzunsa height doğal olarak büyür */
    min-height: calc(100vw * 650 / 1920);
}

.product-hero img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.product-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-hero h1 {
    font-size: clamp(2.25rem, 6vw, 5rem);
    color: white;
    margin-bottom: var(--space-3, 24px);
    letter-spacing: -0.03em;
    line-height: var(--line-height-tight, 1.2);
}

.product-subtitle {
    font-size: var(--font-subheading, 1.125rem);
    opacity: 0.9;
    margin-bottom: var(--space-4, 32px);
}

.hero-authority-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-2, 16px) var(--space-4, 32px);
    border-radius: var(--radius-sm, 4px);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4, 32px);
    backdrop-filter: blur(10px);
}

.hero-certifications {
    display: flex;
    justify-content: center;
    gap: var(--space-4, 32px);
    margin-top: var(--space-3, 24px);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.85;
}

.hero-certifications span {
    display: flex;
    align-items: center;
    gap: var(--space-1, 8px);
}

/* --- STICKY SUB-NAV --- */
/* top: JS --product-subnav-top ile header-wrapper yüksekliğine eşitlenir (fallback ~80px = scrolled nav) */
.product-subnav {
    position: sticky;
    top: var(--product-subnav-top, 80px);
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
}

.product-subnav .container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: var(--space-3, 24px) var(--space-5, 40px);
}

.product-subnav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray, #484848);
    text-decoration: none;
    padding: var(--space-3, 24px) 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-base, 250ms ease);
}

.product-subnav a:hover,
.product-subnav a.active {
    color: var(--primary, #cc0000);
    border-bottom-color: var(--primary, #cc0000);
}

/* --- SECTION DEFAULTS --- */
.product-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
}

.product-section h2 {
    font-size: var(--font-title, 2rem);
    margin-bottom: var(--space-6, 48px);
    text-align: left;
}

/* --- GENEL BİLGİ: başlık + metin aynı sütunda (dar sütun tek kez) --- */
.product-description-column {
    max-width: 900px;
    margin-left: 0;
    margin-right: auto;
}

.product-section .masonry-gallery {
    margin-top: var(--space-8, 64px);
}

.type-card-icon {
    margin-bottom: var(--space-2, 16px);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-card-icon img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.chassis-strip--table-addon {
    margin-top: var(--space-4, 32px);
    border-top: none;
    background: transparent;
}

.chassis-strip .chassis-logos.chassis-logos--centered {
    justify-content: center;
    opacity: 0.85;
}

.chassis-strip--table-addon .truck-brand-logo {
    height: 40px;
    margin: 0 var(--space-2, 16px);
    filter: grayscale(1);
}

/* CMS inline text-align’ı ezmek için (ör. ortalanmış h2) */
#genel-bilgi .engineering-content :is(h2, h3) {
    text-align: left !important;
}

/* --- ENGINEERING / SEO CONTENT --- */
.engineering-content {
    max-width: none;
    margin: 0;
    font-size: var(--font-body, 1rem);
    line-height: 1.8;
    color: var(--gray, #484848);
}

.engineering-content p {
    margin-bottom: var(--space-4, 32px);
}

/* --- PHOTO GALLERY (2:1 grid) --- */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-4, 32px);
    max-width: 1000px;
    margin: 0 auto;
}

.photo-gallery-grid .gallery-main {
    background: var(--light-gray, #f5f5f5);
    border-radius: var(--radius, 8px);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.photo-gallery-grid .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-gallery-grid .gallery-side {
    display: grid;
    gap: var(--space-4, 32px);
}

.photo-gallery-grid .gallery-side-item {
    background: var(--light-gray, #f5f5f5);
    border-radius: var(--radius, 8px);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.photo-gallery-grid .gallery-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-cta-card {
    background: var(--secondary, #111);
    border-radius: var(--radius, 8px);
    padding: var(--space-5, 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    aspect-ratio: 4/3;
}

.gallery-cta-card i {
    font-size: 2.5rem;
    color: var(--primary, #cc0000);
    margin-bottom: var(--space-3, 24px);
}

.gallery-cta-card span {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.gallery-cta-card .cta-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: var(--space-1, 8px);
}

/* --- MATERIAL / OPTIONS DARK STRIP --- */
.material-strip {
    background: var(--secondary, #111);
    padding: var(--space-6, 48px) 0;
}

.material-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5, 40px);
    text-align: center;
}

.material-strip-item .strip-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary, #cc0000);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-1, 8px);
}

.material-strip-item .strip-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.material-strip-item .strip-detail {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* --- CAPACITY / MODELS GRID --- */
.capacity-section {
    background: var(--surface-muted-warm, var(--light-gray, #f5f5f5));
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
}

.capacity-header {
    text-align: left;
    margin-bottom: var(--space-10, 80px);
}

.capacity-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-3, 24px);
}

.capacity-header p {
    color: var(--gray, #484848);
    max-width: 600px;
    margin: 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5, 40px);
}

/* Desktop/tablet: Swiper container ve wrapper "şeffaf" — mevcut grid çalışır.
   Swiper sadece mobilde JS tarafından init edilir; o zaman bu kural devre dışı
   kalır çünkü .swiper-initialized class'ı eklenir ve Swiper'ın kendi inline
   style'ları öncelik kazanır. */
.types-grid.swiper:not(.swiper-initialized),
.product-usage-grid.swiper:not(.swiper-initialized) {
    display: grid;
}

.types-grid.swiper:not(.swiper-initialized) > .swiper-wrapper,
.product-usage-grid.swiper:not(.swiper-initialized) > .swiper-wrapper {
    display: contents;
}

.types-grid.swiper:not(.swiper-initialized) > .swiper-pagination,
.product-usage-grid.swiper:not(.swiper-initialized) > .swiper-pagination {
    display: none;
}

/* Uyumluluk kartları: desktop'ta tamamen gizli, mobilde Swiper olarak görünür */
.compatibility-cards {
    display: none;
}

.type-card {
    background: white;
    border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
    padding: var(--space-6, 48px);
    border-radius: var(--radius, 8px);
    text-align: center;
    transition: var(--transition, 400ms ease);
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.type-capacity {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--primary, #cc0000);
    margin-bottom: var(--space-2, 16px);
}

.type-chassis {
    font-weight: 700;
    margin-top: var(--space-2, 16px);
}

.type-card p {
    font-size: 14px;
    margin-top: var(--space-3, 24px);
    color: var(--gray, #484848);
    line-height: 1.6;
}

.type-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark, #222);
    margin-bottom: var(--space-2, 16px);
    line-height: 1.3;
}

/* Model cards: media-first layout for real product images */
.type-card--model {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.type-card--model .type-card-media {
    width: 100%;
    line-height: 0;
    margin-bottom: var(--space-3, 24px);
    background: #f3f3f3;
    overflow: hidden;
}

.type-card--model .type-card-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.type-card--model .type-card-media--placeholder {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-lighter, #b9b9b9);
    font-size: 2.25rem;
}

.type-card--model .type-card-title {
    padding: 0 var(--space-6, 48px);
    margin-bottom: var(--space-2, 16px);
    overflow-wrap: anywhere;
}

.type-card--model .type-chassis,
.type-card--model p {
    padding-left: var(--space-6, 48px);
    padding-right: var(--space-6, 48px);
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .type-card--model .type-card-title,
    .type-card--model .type-chassis,
    .type-card--model p {
        padding-left: var(--space-4, 24px);
        padding-right: var(--space-4, 24px);
    }

    .type-card--model .type-card-arrow {
        margin-left: var(--space-4, 24px);
    }
}

.type-card-cta {
    background: var(--secondary, #111);
    color: white;
    border: none;
    padding: var(--space-6, 48px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: var(--radius, 8px);
}

.type-card-cta .cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-2, 16px);
}

.type-card-cta p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: var(--space-3, 24px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.type-card-cta a {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.type-card-cta a:hover {
    color: var(--primary, #cc0000);
}

/* Chassis compatibility strip */
.chassis-strip {
    margin-top: var(--space-10, 80px);
    text-align: left;
    padding-top: var(--space-6, 48px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.chassis-strip .strip-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray, #484848);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3, 24px);
}

.chassis-strip .chassis-logos {
    display: flex;
    justify-content: flex-start;
    gap: var(--space-8, 64px);
    flex-wrap: wrap;
    opacity: 0.7;
}

.chassis-strip .chassis-logos span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
}

/* --- USAGE AREAS --- */
.product-usage-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--surface-muted-warm, var(--light-gray, #f5f5f5));
}

.product-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-5, 40px);
    margin-top: var(--space-6, 48px);
}

.product-usage-card {
    padding: var(--space-5, 40px);
    background: var(--light, #fff);
    border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
    border-radius: var(--radius, 8px);
    transition: border-color var(--transition-base, 250ms ease), box-shadow var(--transition-base, 250ms ease);
}

.product-usage-card:hover {
    border-color: rgba(204, 0, 0, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-usage-card .product-usage-icon {
    color: var(--primary, #cc0000);
    font-size: 2rem;
    margin-bottom: var(--space-3, 24px);
    line-height: 1;
}

.product-usage-card h3 {
    font-size: var(--font-subheading, 1.125rem);
    font-weight: 700;
    margin-bottom: var(--space-2, 16px);
    color: var(--dark, #222);
    font-family: var(--font-family-display, 'Montserrat', sans-serif);
}

.product-usage-card p {
    color: var(--gray, #484848);
    font-size: var(--font-body, 1rem);
    line-height: var(--line-height-relaxed, 1.7);
    margin: 0;
}

.product-usage-section h2 {
    font-size: var(--font-title, 2rem);
    margin-bottom: var(--space-6, 48px);
    text-align: left;
}

/* app.css .section-title { text-align: center } — ürün detayda sola */
.product-usage-section .section-title {
    text-align: left;
    margin-bottom: var(--space-6, 48px);
}

.product-usage-section .section-title h2 {
    display: block;
    text-align: left;
}

.product-usage-section .section-title p {
    margin: 0;
    max-width: 42rem;
}

.usage-list {
    max-width: 900px;
    margin: var(--space-8, 64px) auto 0;
    display: grid;
    gap: var(--space-5, 40px);
}

.usage-list h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-2, 16px);
    color: var(--dark, #222);
}

.usage-list p {
    color: var(--gray, #484848);
    line-height: 1.8;
}

/* --- TECHNICAL SPECS --- */
.product-specs-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--light, #fff);
}

.product-specs-section h2 {
    font-size: var(--font-title, 2rem);
    margin-bottom: var(--space-6, 48px);
    text-align: left;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5, 40px);
    margin-top: var(--space-6, 48px);
}

.spec-group {
    background: transparent;
    padding: 0;
    padding-left: var(--space-6, 48px);
    border-left: 2px solid var(--dark, #222);
}

.spec-group h3 {
    font-size: 1.375rem;
    margin-bottom: var(--space-4, 32px);
    color: var(--dark, #222);
    font-weight: 700;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    margin-bottom: var(--space-2, 16px);
    font-size: var(--font-body, 1rem);
    color: var(--dark, #222);
}

.spec-list strong {
    color: var(--dark, #222);
    font-weight: 700;
}

/* --- ENGINEERING SERVICES --- */
.product-engineering-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--surface-muted, var(--light-gray, #f5f5f5));
}

.product-engineering-section h2 {
    font-size: var(--font-title, 2rem);
    margin-bottom: var(--space-6, 48px);
    text-align: left;
}

/* --- FAQ ACCORDION --- */
.faq-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--surface-muted-warm, var(--light-gray, #f5f5f5));
}

.faq-header {
    text-align: left;
    margin-bottom: var(--space-10, 80px);
}

.faq-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-3, 24px);
    max-width: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius, 8px);
    margin-bottom: var(--space-3, 24px);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5, 40px);
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--light-gray, #f5f5f5);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark, #222);
    margin: 0;
}

.faq-question i {
    color: var(--gray, #484848);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 var(--space-5, 40px);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-5, 40px) var(--space-5, 40px);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer p {
    color: var(--gray, #484848);
    line-height: 1.8;
    padding-bottom: var(--space-5, 40px);
}

/* --- SERVICES INCLUDED --- */
.services-included {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--light, #fff);
}

.services-header {
    text-align: left;
    margin-bottom: var(--space-10, 80px);
}

.services-header h2 {
    font-size: 2rem;
    margin-bottom: var(--space-3, 24px);
}

.services-header p {
    color: var(--gray, #484848);
    max-width: 42rem;
    margin: 0;
}

.services-dl {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-6, 48px);
}

.services-dl .service-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-4, 32px);
    padding-bottom: var(--space-6, 48px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.services-dl .service-row:last-child {
    border-bottom: none;
}

.services-dl dt {
    font-weight: 700;
    font-size: var(--font-subheading, 1.125rem);
    color: var(--dark, #222);
}

.services-dl dd {
    color: var(--gray, #484848);
    line-height: 1.8;
    margin: 0;
}

/* --- CTA SECTION (dark) --- */
.cta-section {
    background: var(--dark, #222);
    padding: calc(var(--page-section-y, 5rem) + var(--space-3, 24px)) 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-3, 24px);
}

.cta-section p {
    color: white;
    opacity: 0.9;
    margin-bottom: var(--space-10, 80px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2, 16px);
    padding: var(--space-3, 24px) var(--space-6, 48px);
    background: var(--primary, #cc0000);
    color: white;
    border-radius: var(--radius-sm, 4px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-base, 250ms ease);
    border: none;
    cursor: pointer;
}

.cta-section .btn-primary:hover {
    background: var(--primary-dark, #a00000);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(204, 0, 0, 0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .product-hero h1 {
        font-size: 3rem;
    }

    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .material-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }

    .services-dl .service-row {
        grid-template-columns: 1fr;
    }

    .product-subnav .container {
        flex-wrap: nowrap;
        gap: var(--space-3, 20px);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        padding-bottom: 2px;
    }

    .product-subnav .container::-webkit-scrollbar {
        height: 6px;
    }

    .product-subnav .container::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 999px;
    }

    .product-subnav a {
        flex-shrink: 0;
        white-space: nowrap;
        padding: var(--space-2, 16px) 0;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding-top: clamp(2rem, 8vw, 3.25rem);
        padding-bottom: clamp(2.25rem, 9vw, 3.75rem);
    }

    .product-hero h1 {
        font-size: 2.5rem;
    }

    .material-strip-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4, 32px);
    }

    .hero-certifications {
        flex-direction: column;
        align-items: center;
    }

    .product-subnav .container {
        gap: var(--space-2, 14px);
    }

    .product-subnav a {
        font-size: 0.7rem;
    }

    .chassis-strip .chassis-logos {
        gap: var(--space-4, 32px);
    }

    .compatibility-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

}

/* ============================================================
   MOBILE POLISH (≤576px) — Kategori detay sayfası
   ============================================================ */
@media (max-width: 576px) {

    /* ------------------------------------------------------------
       SECTION SPACING — tüm ana section'larda dikey padding düşür
       ------------------------------------------------------------ */
    .product-section,
    .capacity-section,
    .compatibility-section,
    .product-usage-section,
    .product-specs-section,
    .product-engineering-section,
    .references-marquee-section,
    .faq-section,
    .service-extensions-section,
    .spare-parts-section,
    .product-video-section {
        padding: var(--space-6, 48px) 0;
    }

    .cta-section {
        padding: var(--space-6, 48px) 0 0;
    }

    .material-strip {
        padding: var(--space-4, 32px) 0;
    }

    /* ------------------------------------------------------------
       TYPOGRAPHY — ana başlıklar mobil için ölçeklendirme
       ------------------------------------------------------------ */
    .product-section h2,
    .product-usage-section h2,
    .product-specs-section h2,
    .product-engineering-section h2,
    .capacity-header h2,
    .compatibility-header h2,
    .faq-header h2,
    .video-header h2,
    .service-ext-header h2,
    .references-marquee-header h2,
    .spare-parts-header h2,
    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: var(--space-3, 24px);
        line-height: 1.25;
    }

    .capacity-header,
    .compatibility-header,
    .faq-header,
    .service-ext-header,
    .references-marquee-header,
    .spare-parts-header {
        margin-bottom: var(--space-4, 32px);
    }

    .capacity-header p,
    .compatibility-header p,
    .product-section p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .section-label {
        font-size: 0.7rem !important;
        margin-bottom: var(--space-1, 8px) !important;
    }

    /* ------------------------------------------------------------
       HERO — mobilde daha kompakt
       ------------------------------------------------------------ */
    .product-hero h1 {
        font-size: 2rem;
        margin-bottom: var(--space-2, 16px);
    }

    .product-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-3, 24px);
    }

    .hero-authority-badge {
        font-size: 0.75rem;
        padding: 10px 18px;
        margin-bottom: var(--space-3, 24px);
    }

    .hero-certifications {
        gap: var(--space-2, 16px);
        font-size: 0.72rem;
        margin-top: var(--space-2, 16px);
    }

    /* ------------------------------------------------------------
       MASONRY GALLERY — mobilde 2 kolon
       ------------------------------------------------------------ */
    .masonry-gallery {
        columns: 2;
        column-gap: 10px;
    }

    .masonry-item {
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .masonry-item img,
    .masonry-overlay {
        border-radius: 8px;
    }

    .masonry-cta {
        aspect-ratio: auto;
    }

    .masonry-cta a {
        padding: var(--space-3, 24px) var(--space-2, 16px);
    }

    .masonry-cta i {
        font-size: 1.6rem;
    }

    .masonry-cta span {
        font-size: 0.9rem;
    }

    .masonry-cta .cta-sub {
        font-size: 0.75rem;
    }

    /* ------------------------------------------------------------
       SWIPER CAROUSELS — types-grid + product-usage-grid
       ------------------------------------------------------------ */
    /* Swiper init olunca grid'i devre dışı bırak; Swiper kendi flex layout'unu uygular */
    .types-grid.swiper.swiper-initialized,
    .product-usage-grid.swiper.swiper-initialized {
        display: block;
        grid-template-columns: none;
        gap: 0;
    }

    .types-grid.swiper,
    .product-usage-grid.swiper {
        overflow: visible;
        padding: 4px 4px 32px;
        margin-top: 0;
    }

    .types-grid .swiper-slide,
    .product-usage-grid .swiper-slide {
        height: auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .types-grid.swiper .swiper-pagination,
    .product-usage-grid.swiper .swiper-pagination {
        position: absolute;
        bottom: 4px;
        left: 0;
        right: 0;
        text-align: center;
    }

    .types-grid.swiper .swiper-pagination-bullet,
    .product-usage-grid.swiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        background: rgba(0, 0, 0, 0.25);
        opacity: 1;
        margin: 0 4px;
        transition: background 200ms ease, transform 200ms ease;
    }

    .types-grid.swiper .swiper-pagination-bullet-active,
    .product-usage-grid.swiper .swiper-pagination-bullet-active {
        background: var(--primary, #cc0000);
        transform: scale(1.2);
    }

    /* Type card iç padding ve fontlar mobilde küçült */
    .type-card,
    .type-card-link {
        padding: var(--space-4, 32px) var(--space-3, 24px);
    }

    .type-card-title {
        font-size: 1.15rem;
    }

    .type-card p,
    .type-chassis {
        font-size: 0.85rem;
    }

    .type-card--model {
        padding: 0;
    }

    .type-card--model .type-card-title {
        padding: 0 var(--space-3, 24px);
    }

    .type-card--model .type-chassis,
    .type-card--model p {
        padding: 0 var(--space-3, 24px);
    }

    .type-card--model .type-card-arrow {
        align-self: center;
        margin-left: 0;
    }

    .type-card-cta {
        padding: var(--space-4, 32px) var(--space-3, 24px);
    }

    .type-card-cta .cta-title {
        font-size: 1.15rem;
    }

    /* Usage card iç padding küçült */
    .product-usage-card {
        padding: var(--space-4, 32px) var(--space-3, 24px);
    }

    .product-usage-card h3 {
        font-size: 1rem;
    }

    .product-usage-card p {
        font-size: 0.875rem;
    }

    /* ------------------------------------------------------------
       UYUMLULUK — mobilde tablo gizli, Swiper kart carousel görünür
       ------------------------------------------------------------ */
    .compatibility-table-wrapper {
        display: none;
    }

    .compatibility-cards {
        display: block;
    }

    /* Swiper init olunca grid'i devre dışı bırak (tutarlılık için) */
    .compatibility-cards.swiper.swiper-initialized {
        display: block;
    }

    .compatibility-cards.swiper {
        overflow: visible;
        padding: 4px 4px 32px;
    }

    .compatibility-cards .swiper-slide {
        height: auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    /* Pagination noktaları (diğer Swiper'larla aynı stil) */
    .compatibility-cards.swiper .swiper-pagination {
        position: absolute;
        bottom: 4px;
        left: 0;
        right: 0;
        text-align: center;
    }

    .compatibility-cards.swiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        background: rgba(0, 0, 0, 0.25);
        opacity: 1;
        margin: 0 4px;
        transition: background 200ms ease, transform 200ms ease;
    }

    .compatibility-cards.swiper .swiper-pagination-bullet-active {
        background: var(--primary, #cc0000);
        transform: scale(1.2);
    }

    /* Kart kendisi */
    .compat-card {
        background: white;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 12px;
        padding: var(--space-3, 24px);
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
        gap: var(--space-3, 24px);
    }

    .compat-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2, 16px);
        padding-bottom: var(--space-2, 16px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .compat-card-brand {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--dark, #222);
        margin: 0;
        flex: 1 1 auto;
        line-height: 1.3;
    }

    .compat-card-details {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .compat-card-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-2, 16px);
    }

    .compat-card-row dt {
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.68rem;
        letter-spacing: 0.05em;
        color: var(--gray, #484848);
        flex: 0 0 auto;
        margin: 0;
    }

    .compat-card-row dd {
        font-size: 0.875rem;
        color: var(--dark, #222);
        text-align: right;
        margin: 0;
        word-break: break-word;
    }

    .compat-card-row dd code {
        font-family: 'JetBrains Mono', 'Fira Code', monospace;
        font-size: 0.75rem;
        padding: 2px 8px;
        border-radius: 4px;
        background: var(--light-gray, #f5f5f5);
        color: var(--dark, #333);
    }

    .compat-card .compat-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
        flex: 0 0 auto;
    }

    /* Truck logos — kart altı strip */
    .chassis-strip--table-addon {
        margin-top: var(--space-4, 32px);
        padding-top: var(--space-3, 24px);
    }

    .chassis-strip--table-addon .chassis-logos {
        gap: var(--space-3, 24px);
    }

    .chassis-strip--table-addon .truck-brand-logo {
        max-height: 28px;
    }

    /* ------------------------------------------------------------
       SPECS — tek kolon + iç padding
       ------------------------------------------------------------ */
    .specs-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4, 32px);
        margin-top: var(--space-3, 24px);
    }

    .spec-group {
        padding-left: var(--space-3, 24px);
    }

    .spec-group h3 {
        font-size: 1rem;
    }

    .spec-list li {
        font-size: 0.875rem;
    }

    /* ------------------------------------------------------------
       FAQ — kompakt padding ve typography
       ------------------------------------------------------------ */
    .faq-item {
        margin-bottom: var(--space-2, 16px);
    }

    .faq-question {
        padding: var(--space-3, 24px);
    }

    .faq-question h3 {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .faq-answer {
        padding: 0 var(--space-3, 24px);
    }

    .faq-item.active .faq-answer {
        padding-bottom: var(--space-3, 24px);
    }

    .faq-answer p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    /* ------------------------------------------------------------
       SERVICES — tek kolon + kart padding
       ------------------------------------------------------------ */
    .service-ext-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3, 24px);
    }

    .service-ext-card {
        padding: var(--space-4, 32px) var(--space-3, 24px);
    }

    .service-ext-card h3 {
        font-size: 1rem;
    }

    .service-ext-card p {
        font-size: 0.875rem;
    }

    /* ------------------------------------------------------------
       MATERIAL STRIP — değer fontları küçült
       ------------------------------------------------------------ */
    .material-strip-grid {
        gap: var(--space-3, 24px);
    }

    .strip-value {
        font-size: 1.75rem !important;
    }

    .strip-label {
        font-size: 0.7rem !important;
    }

    .strip-detail {
        font-size: 0.8rem !important;
    }

    /* ------------------------------------------------------------
       CHASSIS STRIP (modeller altındaki marka şeridi)
       ------------------------------------------------------------ */
    .chassis-strip {
        margin-top: var(--space-5, 40px);
        padding-top: var(--space-3, 24px);
    }

    .chassis-strip .chassis-logos {
        gap: var(--space-3, 24px);
        font-size: 0.85rem;
    }

    /* ------------------------------------------------------------
       CTA SECTION
       ------------------------------------------------------------ */
    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: var(--space-3, 24px);
    }

    .cta-section .btn-primary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    /* ------------------------------------------------------------
       VIDEO SECTION
       ------------------------------------------------------------ */
    .product-video-section .video-header {
        margin-bottom: var(--space-3, 24px);
    }

    /* ------------------------------------------------------------
       BREADCRUMB — mobile kompakt
       ------------------------------------------------------------ */
    .breadcrumb {
        padding: var(--space-2, 16px) 0;
    }

    /* ------------------------------------------------------------
       PRODUCT-DESCRIPTION — okunabilir font + boşluklar
       ------------------------------------------------------------ */
    .product-description-column h2 {
        font-size: 1.5rem;
    }

    .engineering-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .engineering-content h2,
    .engineering-content h3 {
        font-size: 1.15rem;
        margin-top: var(--space-4, 32px);
    }
}


/* =============================================
   TRUCK COMPATIBILITY TABLE
   ============================================= */

.compatibility-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--surface-muted, var(--light-gray, #f5f5f5));
}

.compatibility-header {
    text-align: left;
    margin-bottom: var(--space-8, 64px);
}

.compatibility-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark, #222);
    margin: var(--space-2, 16px) 0;
}

.compatibility-header p {
    color: var(--gray, #484848);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0;
    line-height: 1.7;
}

.compatibility-table-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    background: white;
}

.compatibility-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compatibility-table thead {
    background: var(--secondary, #111);
}

.compatibility-table thead th {
    color: white;
    padding: 16px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    white-space: nowrap;
}

.compatibility-table tbody tr {
    border-bottom: 1px solid var(--light-gray, #f0f0f0);
    transition: background 200ms ease;
}

.compatibility-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.015);
}

.compatibility-table tbody tr:hover {
    background: rgba(0, 0, 0, 0.035);
}

.compatibility-table td {
    padding: 14px 24px;
    color: var(--dark, #222);
    vertical-align: middle;
}

.compatibility-table td strong {
    font-weight: 700;
    color: var(--dark, #111);
}

.compatibility-table td code {
    background: var(--light-gray, #f5f5f5);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--dark, #333);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.compat-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.compat-high {
    background: rgba(34, 139, 34, 0.1);
    color: #1a7a1a;
}

.compat-medium {
    background: rgba(200, 150, 0, 0.1);
    color: #9a7000;
}

.compatibility-note {
    text-align: left;
    margin-top: var(--space-4, 32px);
    color: var(--gray, #484848);
    font-size: 0.9rem;
}

.compatibility-note i {
    margin-right: 6px;
    color: var(--primary, #cc0000);
}


/* =============================================
   MASONRY PHOTO GALLERY
   ============================================= */

.masonry-gallery {
    columns: 3;
    column-gap: 16px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.masonry-item a {
    display: block;
    position: relative;
    text-decoration: none;
}

.masonry-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 400ms ease;
}

.masonry-item:hover img {
    transform: scale(1.03);
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 300ms ease;
    border-radius: 12px;
}

.masonry-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay i {
    font-size: 2rem;
    color: white;
}

.masonry-cta {
    background: var(--secondary, #111);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border-radius: 12px;
}

.masonry-cta a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    padding: var(--space-4, 32px);
    text-align: center;
}

.masonry-cta i {
    font-size: 2.5rem;
    opacity: 0.6;
}

.masonry-cta span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.masonry-cta .cta-sub {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.7;
}


/* =============================================
   CLIENT REFERENCES — INFINITE MARQUEE
   ============================================= */

.references-marquee-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0 var(--space-8, 64px);
    background: var(--light, #fff);
    /* Kenar solması (mask değil) — hover scale dikeyde kesilmesin */
    --marquee-fade-bg: var(--light, #ffffff);
    overflow: visible;
}

.references-marquee-header {
    text-align: left;
    margin-bottom: var(--space-6, 48px);
}

.references-marquee-header .section-label {
    margin-left: 0;
    margin-right: 0;
}

.references-marquee-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark, #222);
    margin: var(--space-2, 16px) 0 0;
}

/* Anasayfa: eski “trusted-by” görünümüne yakın zemin + ortalanmış başlık */
.references-marquee-section--home {
    background: #fafafa;
    --marquee-fade-bg: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.references-marquee-section--home .references-marquee-header {
    text-align: center;
}

.references-marquee-section--home .references-marquee-header .section-label {
    margin-left: auto;
    margin-right: auto;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
}

/* Yumuşak kenar: mask-image kullanmıyoruz (hover’da üst/alt kırpma yapmaması için) */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(7rem, 14vw);
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--marquee-fade-bg), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--marquee-fade-bg), transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: marquee-scroll var(--marquee-duration, 90s) linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.marquee-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    min-width: 160px;
    height: 80px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

/* Referans logoları: max 270×115, object-fit contain (kırpma yok) */
.marquee-logo--natural {
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 12px 20px;
}

.marquee-logo--natural img {
    max-width: var(--brand-ref-logo-max-w, 270px);
    max-height: var(--brand-ref-logo-max-h, 115px);
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.marquee-logo:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.marquee-logo:not(.marquee-logo--natural) img {
    max-width: 130px;
    max-height: 44px;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


/* =============================================
   RESPONSIVE: NEW SECTIONS
   ============================================= */

@media (max-width: 992px) {
    .masonry-gallery {
        columns: 2;
    }

    .compatibility-header h2,
    .references-marquee-header h2 {
        font-size: 1.75rem;
    }

    .marquee-logo {
        min-width: 140px;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    /* NOT: .masonry-gallery (2 kolon), .compatibility-table padding/font ve
       .types-grid / .product-usage-grid carousel davranışı yukarıdaki
       "MOBILE-ONLY OVERRIDES" bloğunda tanımlı. */

    .compatibility-header h2,
    .references-marquee-header h2 {
        font-size: 1.5rem;
    }

    .marquee-logo {
        min-width: 120px;
        padding: 12px 16px;
        height: auto;
    }

    .marquee-track {
        gap: 32px;
    }
}


/* ===================================================
   CLICKABLE MODEL CARDS
   =================================================== */
.type-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
}

.type-card-link:hover {
    border-color: var(--primary, #cc0000);
}

.type-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary, #cc0000);
    color: white;
    font-size: 0.8rem;
    margin-top: var(--space-3, 24px);
    margin-bottom: var(--space-3, 24px);
    transition: transform 300ms ease, background 300ms ease;
}

.type-card-link:hover .type-card-arrow {
    transform: translateX(4px);
    background: var(--primary-dark, #990000);
}


/* ===================================================
   VIDEO SECTION
   =================================================== */
.product-video-section {
    padding: var(--page-section-y-tight, var(--space-8, 64px)) 0 var(--page-section-y, var(--space-10, 80px));
    background: var(--surface-muted, var(--light-gray, #f5f5f5));
}

.product-video-section .video-header {
    text-align: left;
    margin-bottom: var(--space-3, 24px);
    /* Override app.css homepage hero styles (.video-header = 100vh there) */
    height: auto;
    width: auto;
    position: static;
    overflow: visible;
}

.product-video-section .video-header h2 {
    max-width: none;
}



.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* ===================================================
   SERVICE EXTENSIONS STRIP
   =================================================== */
.service-extensions-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--light, #fff);
}

.service-ext-header {
    text-align: left;
    margin-bottom: var(--space-7, 56px);
}

.service-ext-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--dark, #222);
    max-width: none;
}

.service-ext-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4, 32px);
    max-width: 1100px;
    margin: 0 auto;
}

.service-ext-card {
    text-align: center;
    padding: var(--space-5, 40px) var(--space-3, 24px);
    border-radius: var(--radius-lg, 12px);
    border: var(--border-subtle, 1px solid rgba(0, 0, 0, 0.06));
    transition: all 300ms ease;
}

.service-ext-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary, #cc0000);
}

.service-ext-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary, #cc0000), var(--primary-dark, #990000));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-3, 24px);
    font-size: 1.25rem;
    color: white;
    transition: transform 300ms ease;
}

.service-ext-card:hover .service-ext-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-ext-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary, #1a1a2e);
    margin-bottom: var(--space-2, 16px);
}

.service-ext-card p {
    font-size: 0.875rem;
    color: var(--gray, #484848);
    line-height: 1.6;
}

/* --- SPARE PARTS (Panel-driven) --- */
.spare-parts-section {
    padding: var(--page-section-y, var(--space-10, 80px)) 0;
    background: var(--surface-muted, #f6f7f8);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.spare-parts-header h2 {
    margin-bottom: var(--space-6, 48px);
}

.spare-parts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.spare-part-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.spare-part-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    border-color: rgba(204, 0, 0, 0.2);
}

.spare-part-media {
    aspect-ratio: 4 / 3;
    background: #f2f3f5;
    overflow: hidden;
}

.spare-part-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spare-part-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--secondary, #111);
    padding: 14px 16px 16px;
    margin: 0;
    line-height: 1.3;
}

/* Tabs variant: spare parts categories */
.spare-parts-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 8px 2px 12px;
    margin: -20px 0 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.spare-parts-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--secondary, #111);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s ease;
}

.spare-parts-tab:hover {
    border-color: rgba(204, 0, 0, 0.45);
}

.spare-parts-tab.active {
    background: var(--primary, #cc0000);
    border-color: var(--primary, #cc0000);
    color: #fff;
}

.spare-parts-tab:focus-visible {
    outline: var(--focus-outline-width, 3px) solid var(--focus-outline-color, #cc0000);
    outline-offset: var(--focus-outline-offset, 2px);
}

.spare-parts-empty {
    padding: 18px 0 0;
    color: var(--gray, #484848);
    font-size: 0.95rem;
}

.spare-parts-panel.is-switching-out {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 140ms ease, transform 140ms ease;
}

.spare-parts-panel.is-switching-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

@media (max-width: 1200px) {
    .spare-parts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .spare-parts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .spare-parts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-ext-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3, 24px);
    }
}

.sptka {
    background: transparent;
    padding-bottom: 0;
}
