/* Ürün ve yedek ekipman detay sayfaları */

/* Galeri */
.product-gallery .dlab-thum-bx { aspect-ratio: 7 / 5; overflow: hidden; }
.product-gallery .dlab-thum-bx img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery .check-km { position: relative; height: 100%; cursor: zoom-in; }
.product-gallery .check-km .zoom-icon {
    position: absolute; right: 12px; bottom: 12px;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px;
    opacity: .75; transition: opacity .2s;
}
.product-gallery .check-km:hover .zoom-icon { opacity: 1; }
.product-gallery #sync2 .dlab-media { aspect-ratio: 7 / 5; overflow: hidden; cursor: pointer; }
.product-gallery #sync2 .dlab-media img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery #sync2 .owl-item.current .dlab-media { outline: 2px solid var(--color-hover); outline-offset: -2px; }

/* Sağ blok */
.product-summary .product-category { display: inline-block; margin-bottom: 10px; font-size: 14px; }
.product-summary .product-actions .site-button { margin: 0 10px 10px 0; }

/* Videolar */
.product-videos .video-frame { position: relative; aspect-ratio: 16 / 9; }
.product-videos .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Alttaki carousel */
.related-products .item-img { aspect-ratio: 7 / 5; overflow: hidden; }
.related-products .item-img img { width: 100%; height: 100%; object-fit: cover; }
.related-products .item-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-products--wide .item-img { aspect-ratio: 21 / 9; }

/* --- Boru üretim hattı detayı ------------------------------------------ */

/* 21:9 kapak */
.line-hero { aspect-ratio: 21 / 9; overflow: hidden; background: #f0f0f0; }
.line-hero > a, .line-hero img { display: block; width: 100%; height: 100%; }
.line-hero img { object-fit: cover; }
.line-hero .check-km { position: relative; cursor: zoom-in; }
.line-hero .check-km .zoom-icon {
    position: absolute; right: 16px; bottom: 16px;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: 18px;
    opacity: .75; transition: opacity .2s;
}
.line-hero .check-km:hover .zoom-icon { opacity: 1; }

.line-meta { font-weight: 500; }
.line-meta i { margin-right: 6px; }
.line-quote .product-actions .site-button { margin: 0 10px 10px 0; }

/* Üretim akışı: masaüstünde yan yana oklu, mobilde alt alta */
.line-flow {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.line-flow-step { position: relative; }
.line-flow-step:not(:last-child)::after {
    content: "\e628"; /* themify ti-arrow-right */
    font-family: "themify";
    position: absolute; top: 50%; right: -30px; transform: translateY(-50%);
    font-size: 20px; color: var(--color-hover);
}
.line-flow-card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    border: 1px solid #e5e5e5; background: #fff; color: inherit;
    transition: box-shadow .2s, transform .2s;
}
.line-flow-card:hover { border-color: var(--color-primary); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); transform: translateY(-3px); color: inherit; }
.line-flow-no {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    min-width: 40px; padding: 6px 8px; text-align: center;
    background: var(--color-primary); color: var(--color-secondry); font-weight: 700;
}
.line-flow-img { display: block; aspect-ratio: 7 / 5; overflow: hidden; }
.line-flow-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.line-flow-card:hover .line-flow-img img { transform: scale(1.04); }
.line-flow-name { display: block; padding: 15px 15px 5px; font-weight: 600; color: #222; }
.line-flow-more { display: block; padding: 0 15px 15px; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--color-secondry); }

@media (max-width: 575px) {
    .line-flow { grid-template-columns: 1fr; gap: 36px; }
    .line-flow-step:not(:last-child)::after {
        top: auto; right: auto; bottom: -30px; left: 50%;
        transform: translateX(-50%) rotate(90deg);
    }
}
