/**
 * Anasayfa hizmetler bölümü – tam modüler
 * Sadece bu dosya ve js/index-services.js kullanılır.
 * style.css'deki .services-block-three / .services-page-section kart stilleri
 * bu bölümü etkilemez (class isimleri farklı).
 *
 * Görünüm: 1065x710 oranında kapak kartları, metin alt satıra geçer.
 */

/* Bölüm konteyneri – mobilde açık mavi + gradient, masaüstünde düz beyaz */
.index-services-section {
    padding-bottom: 8px;
    background: linear-gradient(180deg, #EBF4FF 0%, #EBF4FF 65%, #ffffff 100%);
    --index-card-image-radius: 8px;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
@media (min-width: 768px) {
    /* Masaüstü: kartlarda açık mavi yerine beyaz yüzey + açık gri border */
    .index-services-section {
        background: #ffffff;
        --index-services-surface: #f0f0f0;
        --index-card-image-radius: 8px;
    }
    .index-services-section .index-service-item__inner {
        background: #ffffff;
        border: 1px solid #e3e3e3 !important;
    }
    .index-services-section .index-service-item__lower {
        background: #ffffff;
    }
    .index-services-section .section-title-row__btn {
        background-color: var(--index-services-surface);
    }
}

/* Anasayfa mobil: ürün bölümü düz beyaz; kartlar masaüstüyle aynı (beyaz yüzey + #e3e3e3 border) */
@media (max-width: 767px) {
    body.page-index .services-page-section.index-services-section {
        background: #ffffff;
        --index-services-surface: #f0f0f0;
    }
    body.page-index .services-page-section.index-services-section .index-service-item__inner {
        background: #ffffff;
        border: 1px solid #e3e3e3 !important;
    }
    body.page-index .services-page-section.index-services-section .index-service-item__lower {
        background: #ffffff;
    }
}

/* /urunler mobil: kartlar anasayfadaki gibi #e3e3e3 border (masaüstü zaten .index-services-section 768+ kuralından) */
@media (max-width: 767px) {
    .index-services-section.index-services-section--page .index-service-item__inner {
        background: #ffffff;
        border: 1px solid #e3e3e3 !important;
    }
    .index-services-section.index-services-section--page .index-service-item__lower {
        background: #ffffff;
    }
}

body.page-index .services-page-section.index-services-section .section-title-row__btn:not(.section-title-row__btn--primary) {
    background-color: #f0f0f0;
}
/* Hover: arka plan aynı; yalnızca metin turuncu (genel .section-title-row__btn:hover arka planını ezer) */
body.page-index .services-page-section.index-services-section .section-title-row__btn:not(.section-title-row__btn--primary):hover {
    background-color: #f0f0f0;
    color: var(--theme-primary, #FA6101);
}

.index-services-section .index-badge-wrapper {
    margin-top: -40px;
}

/* ===== Modüler: Başlık + sağ buton satırı (Ürün Kategorileri, Galeri, Blog vb. için) ===== */
.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0;
    flex-wrap: wrap;
}
.section-title-row h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #000000;
}
/* Varsayılan: beyaz buton (Tümünü Gör vb.) */
.section-title-row__btn {
    margin-left: auto;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.section-title-row__btn:hover {
    background-color: #f0f0f0;
    color: #000000;
    text-decoration: none;
}
/* Anasayfa hizmetler: "Tümünü Gör" — alttaki kartlar gibi hover'da sadece metin turuncu */
.index-services-section .section-title-row__btn:not(.section-title-row__btn--primary) {
    transition: color 0.2s ease;
}
.index-services-section .section-title-row__btn:not(.section-title-row__btn--primary):hover {
    color: var(--theme-primary, #FA6101);
    text-decoration: none;
}
@media (min-width: 768px) {
    .index-services-section .section-title-row__btn:not(.section-title-row__btn--primary):hover {
        background-color: var(--index-services-surface);
    }
}
@media (max-width: 767px) {
    .index-services-section .section-title-row__btn:not(.section-title-row__btn--primary):hover {
        background-color: #ffffff;
    }
}
/* Fiyat Al butonu: turuncu, hover efekti yok */
.section-title-row__btn--primary {
    background-color: var(--theme-primary, #FA6101) !important;
    color: #fff !important;
    font-weight: 700;
    transition: none !important;
}
.section-title-row__btn--primary:hover {
    background-color: var(--theme-primary-hover, var(--theme-primary, #FA6101)) !important;
    color: #fff !important;
    text-decoration: none;
}
@media (max-width: 767px) {
    .section-title-row__btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    /* Anasayfa "Ürün ve Uygulamalarımız" + Tümünü Gör: tek satır, başlık taşarsa … */
    .services-page-section.index-services-section .section-title-row {
        flex-wrap: nowrap;
        gap: 8px;
        min-width: 0;
    }
    .services-page-section.index-services-section .section-title-row h2 {
        min-width: 0;
        flex: 1 1 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* Yatay scroll alanı (scrollbar gizli); masaüstünde mouse ile sürükleyerek kaydırma */
.index-services-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin-top: 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.index-services-scroll-wrapper:active {
    cursor: grabbing;
}
.index-services-scroll-wrapper.index-services-scroll-wrapper--dragging {
    cursor: grabbing;
}
.index-services-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.index-services-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    min-width: min-content;
    justify-content: center;
    align-items: stretch;
}

/* Kart – 1065x710 oranında; aynı satırdakiler eşit yükseklik (mobil varsayılan) */
.index-services-section .index-service-item {
    flex: 0 0 auto;
    width: 115px;
    max-width: 115px;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.index-services-section .index-service-item__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    padding: 0;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: none;
}

/* Tüm Hizmetler kartı: inner doğrudan link, eşit yükseklik için flex */
.index-services-section a.index-service-item__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
    min-height: 0;
}
.index-services-section a.index-service-item__inner:hover .index-service-item__title {
    color: var(--theme-primary, #FA6101);
}

/* Görsel alanı: 4:3, kutunun üst kısmı; resmin üst/sol/sağında 1px boşluk */
.index-services-section .index-service-item__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: none;
    border-radius: var(--index-card-image-radius) var(--index-card-image-radius) 0 0;
    overflow: hidden;
    flex-shrink: 0;
    transition: none;
    padding: 4px;
    box-sizing: border-box;
}

.index-services-section .index-service-item__inner:hover .index-service-item__image {
    opacity: 0.95;
}

.index-services-section .index-service-item__image a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.index-services-section .index-service-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--index-card-image-radius) var(--index-card-image-radius) 0 0;
}

/* Ürün kartı + modüler skeleton: köşe yuvarlaklığı (image-skeleton.css) */
.index-services-section .index-service-item__image.skeleton-media {
    border-radius: var(--index-card-image-radius) var(--index-card-image-radius) 0 0;
}

/* Tüm Hizmetler: aynı 4:3 placeholder, kutunun içinde */
.index-services-section .index-service-item__image--placeholder {
    aspect-ratio: 4 / 3;
    border-radius: var(--index-card-image-radius) var(--index-card-image-radius) 0 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: none;
}
.index-services-section .index-service-item--all .index-service-item__inner:hover .index-service-item__image--placeholder {
    opacity: 0.95;
}
.index-services-section .index-service-item__image--placeholder .index-service-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: none;
}
.index-services-section .index-service-item--all .index-service-item__inner:hover .index-service-item__icon {
    color: var(--theme-primary, #FA6101);
}
.index-services-section .index-service-item__image--placeholder .index-service-item__icon svg {
    display: block;
}

/* Metin alanı: kutunun içinde, kalan yüksekliği doldurur (eşit kart yüksekliği) */
.index-services-section .index-service-item__lower {
    padding: 8px 10px 10px;
    text-align: center;
    min-width: 0;
    width: 100%;
    background: #fff;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 768px) {
    .index-services-section .index-service-item__lower {
        background: #ffffff;
    }
}

.index-services-section .index-service-item__title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #222;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.index-services-section .index-service-item__title a {
    color: inherit;
    text-decoration: none;
    display: block;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: none;
}

/* Kartın tamamına hover yapıldığında görsel + metin birlikte tetiklensin */
.index-services-section .index-service-item__inner:hover .index-service-item__title a {
    color: var(--theme-primary, #FA6101);
}
.index-services-section .index-service-item__title a:hover {
    color: var(--theme-primary, #FA6101);
}

/* Masaüstü: görünür alanda 6 kart satırı tam doldurur, sağda boşluk kalmaz; kaydırarak diğerleri görünür */
@media (min-width: 768px) {
    .index-services-scroll-wrapper {
        overflow-x: auto;
        cursor: grab;
    }
    .index-services-scroll {
        width: 100%;
        min-width: min-content;
        gap: 20px;
        justify-content: flex-start;
    }
    /* Kart genişliği: görünür alanda 6 kart + 5 boşluk = tam genişlik (sağda boşluk yok) */
    .index-services-section .index-service-item {
        flex: 0 0 calc((100% - 100px) / 6);
        width: calc((100% - 100px) / 6);
        min-width: 0;
        max-width: none;
    }
}

/* Tablet: 576px'ten itibaren (576–1024) anasayfa + /urunler aynı düzen */
@media (min-width: 576px) and (max-width: 1024px) {
    .services-page-section.index-services-section > .container,
    .index-services-section--page > .container,
    body.hizmet-page .services-single-section > .container,
    body.hizmet-page .index-services-section--related > .container {
        max-width: 1140px !important;
        width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    .services-page-section.index-services-section .index-services-scroll-wrapper,
    .index-services-section--page .index-services-scroll-wrapper {
        overflow: visible;
        cursor: default;
        margin-top: 12px;
        width: 100%;
    }
    .services-page-section.index-services-section .index-services-scroll-wrapper.index-services-scroll-wrapper--dragging,
    .index-services-section--page .index-services-scroll-wrapper.index-services-scroll-wrapper--dragging {
        cursor: default;
    }
    .services-page-section.index-services-section .index-services-scroll,
    .index-services-section--page .index-services-scroll {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        min-width: 0;
        width: 100%;
        gap: 10px;
    }
    .services-page-section.index-services-section .index-service-item,
    .index-services-section--page .index-service-item {
        flex: 0 0 calc((100% - 20px) / 3);
        width: calc((100% - 20px) / 3);
        min-width: 0;
        max-width: none;
    }
    .services-page-section.index-services-section .index-service-item__title,
    .index-services-section--page .index-service-item__title {
        font-size: 15px;
    }

    /* Ürün detay: "Bu ürünleri de inceleyebilirsiniz" — anasayfa tablet ile aynı (3 sütun, yatay scroll yok) */
    body.hizmet-page .index-services-section--related .index-services-scroll-wrapper {
        overflow: visible;
        cursor: default;
        margin-top: 12px;
        width: 100%;
    }
    body.hizmet-page .index-services-section--related .index-services-scroll-wrapper.index-services-scroll-wrapper--dragging {
        cursor: default;
    }
    body.hizmet-page .index-services-section--related .index-services-scroll {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        min-width: 0;
        width: 100%;
        gap: 10px;
    }
    body.hizmet-page .index-services-section--related .index-service-item {
        flex: 0 0 calc((100% - 20px) / 3);
        width: calc((100% - 20px) / 3);
        min-width: 0;
        max-width: none;
    }
    body.hizmet-page .index-services-section--related .index-service-item__title {
        font-size: 12px;
        line-height: 1.3;
    }
}

/* Mobil: 575px ve altı */
@media (max-width: 575px) {
    .index-services-scroll-wrapper {
        overflow: visible;
        cursor: default;
        margin-top: 12px;
        width: 100%;
    }
    .index-services-scroll-wrapper.index-services-scroll-wrapper--dragging {
        cursor: default;
    }
    .index-services-scroll {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        min-width: 0;
        gap: 8px;
        width: 100%;
    }
    /* 3 sütun: (100% - 2*gap) / 3 */
    .index-services-section .index-service-item {
        width: calc((100% - 16px) / 3);
        max-width: none;
        flex: 0 0 calc((100% - 16px) / 3);
    }
    .index-services-section .index-service-item__title {
        font-size: 12px;
        line-height: 1.3;
    }
}

/* Çok küçük ekranlar – yine 3’lü grid, gap biraz dar */
@media (max-width: 480px) {
    .index-services-scroll {
        gap: 8px;
    }
    .index-services-section .index-service-item {
        width: calc((100% - 16px) / 3);
        flex: 0 0 calc((100% - 16px) / 3);
    }
}

/* ===== /urunler sayfası: masaüstüde 5 kolon, 2 satır grid ===== */
.index-services-section--page {
    padding-bottom: 40px;
    background: #ffffff;
    --index-services-surface: #f0f0f0;
    border-top: 1px solid #e3e3e3;
}

/* Masaüstü: /urunler üst boşluk standardı = /iletisim */
@media (min-width: 768px) {
    .index-services-section--page.page-top-align {
        padding-top: 14px !important;
        padding-bottom: 70px !important;
    }
    /* /iletisim ile aynı içerik başlangıç ritmi */
    .index-services-section--page.page-top-align .index-services-scroll-wrapper {
        margin-top: 16px !important;
    }
}
.index-services-section--page .index-services-scroll-wrapper {
    overflow: visible;
    cursor: default;
    margin-top: 16px;
}
.index-services-section--page .index-services-scroll {
    flex-wrap: wrap;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
}

/* /urunler: kategori gezintisi */
.products-list__breadcrumb {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0 0 12px;
    line-height: 1.5;
}
.products-list__breadcrumb a {
    color: #111827;
    text-decoration: none;
}
.products-list__breadcrumb a:hover {
    color: var(--theme-primary, #FA6101);
    text-decoration: underline;
}
.products-list__breadcrumb-sep {
    margin: 0 0.35em;
    color: #9ca3af;
}
.products-list__breadcrumb-current {
    font-weight: 600;
    color: #111827;
}

@media (min-width: 992px) {
    .products-list__breadcrumb {
        font-size: 0.8125rem;
        margin-bottom: 10px;
        line-height: 1.4;
    }
}

.products-list__empty-msg {
    margin-top: 16px;
    color: #4b5563;
}
.products-list__back-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--theme-primary, #FA6101);
    font-weight: 500;
    text-decoration: none;
}
.products-list__back-link:hover {
    text-decoration: underline;
}

.products-list__subheading {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #111827;
    width: 100%;
}

/* /urunler: mobilde breadcrumb = SSS/İletişim sabit başlık şeridi (style.css .page-top-align); içerik için üst boşluk */
@media (max-width: 767.98px) {
    .index-services-section--page.page-top-align > .container {
        /* style.css ile birebir aynı offset: sabit breadcrumb yüksekliği + 8px boşluk */
        padding-top: calc(var(--page-top-fixed-strip-h, 56px) + 8px);
    }
    .index-services-section--page.page-top-align .products-list__page-breadcrumb {
        margin-top: 0;
        margin-bottom: 0;
    }
    .index-services-section--page.page-top-align .products-list__search-meta {
        margin-top: 0;
        margin-bottom: 0;
    }
    /* Satır kırılınca öğeler arası dikey boşluk (yatay aynı kalır) */
    .index-services-section--page .products-list__page-breadcrumb .service-page-breadcrumb__list {
        gap: 0.12rem 0.5rem;
    }
}

/* /urunler sayfalama — tema birincil rengi, kart/section ile uyum (body sınıfına bağlı kalmadan) */
.index-services-section--page .products-list__pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 0;
    padding: 0;
    width: 100%;
}
.index-services-section--page .products-list__pagination a {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.4rem 0.72rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--theme-navbar-menu-passive-border, #e5e7eb);
    background: var(--theme-navbar-menu-passive-bg, #ffffff);
    color: var(--theme-navbar-menu-passive-text, #374151);
}
.index-services-section--page .products-list__pagination a:hover:not(.active) {
    border-color: var(--theme-navbar-menu-hover-border, var(--theme-navbar-menu-passive-border, #e5e7eb));
    color: var(--theme-navbar-menu-hover-text, var(--theme-navbar-menu-passive-text, #374151));
    background: var(--theme-navbar-menu-hover-bg, var(--theme-navbar-menu-passive-bg, #ffffff));
}
.index-services-section--page .products-list__pagination a.disabled,
.index-services-section--page .products-list__pagination a[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.index-services-section--page .products-list__pagination .products-list__pagination-icon {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.index-services-section--page .products-list__pagination a.active {
    background: var(--theme-navbar-menu-active-bg, #FFF8F3);
    border-color: var(--theme-navbar-menu-active-border, var(--theme-primary, #FA6101));
    color: var(--theme-navbar-menu-active-text, var(--theme-primary, #FA6101));
    cursor: default;
    box-shadow: none;
}
.index-services-section--page .products-list__pagination a.active:hover {
    background: var(--theme-navbar-menu-active-bg, #FFF8F3);
    border-color: var(--theme-navbar-menu-active-border, var(--theme-primary, #FA6101));
    color: var(--theme-navbar-menu-active-text, var(--theme-primary, #FA6101));
}

/* Kategori kartı: kapak yoksa yer tutucu (ürün kartı oranına yakın) */
.index-services-section--page .products-list__category-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 140px;
    border-radius: var(--index-card-image-radius, 8px);
    background: linear-gradient(145deg, #e8ecf3 0%, #f4f6f9 100%);
}
.index-services-section--page .products-list__category-placeholder--muted {
    background: linear-gradient(145deg, #e5e7eb 0%, #f3f4f6 100%);
}
/* 5 sütun + gap 20px yalnızca 1025+; 576–1024 aralığında 3 sütun + gap 10px */
@media (min-width: 1025px) {
    .index-services-section--page .index-services-scroll {
        gap: 20px;
    }
    .index-services-section--page .index-service-item {
        flex: 0 0 calc((100% - 80px) / 5);
        width: calc((100% - 80px) / 5);
        max-width: none;
    }
}
.index-services-section--page .index-service-item.active .index-service-item__inner {
    border-color: #FA6101 !important;
}
.index-services-section--page .index-service-item.active .index-service-item__title,
.index-services-section--page .index-service-item.active .index-service-item__title a {
    color: #FA6101;
}
@media (max-width: 767px) {
    /* Sabit başlık sonrası kart ızgarasına fazla boşluk kalmasın */
    .index-services-section--page .index-services-scroll-wrapper {
        margin-top: 8px;
    }
}
@media (max-width: 575px) {
    .index-services-section--page .index-services-scroll-wrapper {
        overflow: visible;
        cursor: default;
    }
    .index-services-section--page .index-services-scroll {
        gap: 8px;
        flex-wrap: wrap;
        min-width: 0;
    }
    .index-services-section--page .index-service-item {
        flex: 0 0 calc((100% - 16px) / 3);
        width: calc((100% - 16px) / 3);
        max-width: none;
    }
    .index-services-section--page .index-service-item__title {
        font-size: 12px;
        line-height: 1.3;
    }
}
@media (max-width: 480px) {
    .index-services-section--page .index-services-scroll {
        gap: 8px;
        flex-wrap: wrap;
    }
    .index-services-section--page .index-service-item {
        flex: 0 0 calc((100% - 16px) / 3);
        width: calc((100% - 16px) / 3);
    }
}

/* ===== /urun detayındaki "Diğer Ürünler": tek sıra yatay akış + aktif kart vurgusu ===== */
.related-products-shell--inline {
    width: 100%;
    background: #EEFFEB;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 8px 12px 12px;
    /* overflow:hidden, border-radius ile birlikte alt yatay scrollbar’ın uçlarında kırpma yapıyor;
       ::-webkit-scrollbar border-radius’u bu yüzden “hiç uygulanmıyor” gibi görünüyordu. */
    overflow: visible;
}
.related-products-shell--inline.index-services-section {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    background: #EEFFEB;
}
.related-products-shell--inline .section-title-row {
    margin-top: 8px;
    margin-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
}

/* “Bu ürünleri de inceleyebilirsiniz” — başlık solunda sparkle (bi-stars) */
.related-products-shell .related-products-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
}
.related-products-shell .related-products-section-title__sparkle {
    flex-shrink: 0;
    font-size: 1.2em;
    line-height: 1;
    color: currentColor;
}
.related-products-shell .related-products-section-title__sparkle .related-products-section-title__sparkle-icon {
    width: 1.15em;
    height: 1.15em;
    object-fit: contain;
    display: inline-block;
    vertical-align: -0.08em;
}
.related-products-shell .related-products-section-title__sparkle .related-products-section-title__sparkle-icon.menu-item-icon--mask {
    background-color: currentColor;
    -webkit-mask: var(--menu-icon-mask) center / contain no-repeat;
    mask: var(--menu-icon-mask) center / contain no-repeat;
}
.related-products-shell--inline .index-services-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: default;
    margin-top: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.related-products-shell--inline .index-services-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

/* Masaüstü (lg+): beyaz track (tam yuvarlak uçlar) + turuncu thumb (WebKit; Firefox scrollbar-color)
   WebKit’te yatay scrollbar’da köşe yuvarlama track’e değil, tüm şerit olan ::-webkit-scrollbar’a verilmeli;
   Üstteki genel .index-services-scroll-wrapper::-webkit-scrollbar { display:none } ile çakışmayı
   kesin çözmek için burada !important kullanıldı. macOS’ta “Kaydırma çubukları: otomatik” iken
   sistem overlay scrollbar kullanılırsa özel ::-webkit-scrollbar stilleri hiç uygulanmayabilir. */
@media (min-width: 992px) {
    .related-products-shell--inline .index-services-scroll-wrapper {
        scrollbar-width: auto;
        scrollbar-color: var(--related-scroll-thumb, #b8d4b0) var(--related-scroll-track, #EEFFEB);
        -ms-overflow-style: auto;
        padding-bottom: 6px;
    }
    .related-products-shell--inline .index-services-scroll-wrapper::-webkit-scrollbar {
        -webkit-appearance: none !important;
        appearance: none !important;
        display: block !important;
        height: 8px;
        background: var(--related-scroll-track, #ffffff) !important;
        border-radius: 9999px !important;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
        background-clip: padding-box;
    }
    .related-products-shell--inline .index-services-scroll-wrapper::-webkit-scrollbar-track {
        background: transparent !important;
        border-radius: 9999px !important;
    }
    .related-products-shell--inline .index-services-scroll-wrapper::-webkit-scrollbar-thumb {
        background-color: var(--related-scroll-thumb, #FA6101) !important;
        border: none !important;
        border-radius: 9999px !important;
        box-shadow: 0 1px 2px rgba(250, 97, 1, 0.35);
        box-sizing: border-box;
    }
    .related-products-shell--inline .index-services-scroll-wrapper::-webkit-scrollbar-thumb:hover {
        background-color: var(--related-scroll-thumb, #e45801) !important;
    }
}
.related-products-shell--inline .index-services-scroll {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    min-width: min-content;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 0;
    padding-bottom: 0;
}
.related-products-shell--inline .index-service-item {
    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
}
.related-products-shell--inline .index-service-item.active .index-service-item__inner {
    border-color: #FA6101 !important;
}
.related-products-shell--inline .index-service-item.active .index-service-item__title,
.related-products-shell--inline .index-service-item.active .index-service-item__title a {
    color: #FA6101;
}
.related-products-shell--inline .index-service-item__inner {
    border: 1px solid #e3e3e3 !important;
}

/* "Bu ürünleri de inceleyebilirsiniz" — dar kart; çok satır / 3+ satır engeli */
.related-products-shell--inline:not(.related-products-shell--references) .index-service-item__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.28;
    font-weight: 600;
}
.related-products-shell--inline:not(.related-products-shell--references) .index-service-item__title a {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

/* Urun detay yan blokta style.css'teki genel left-align kuralini ezer */
.services-single-section .related-products-shell .index-service-item__lower,
.services-single-section .related-products-shell .index-service-item__title,
.services-single-section .related-products-shell .index-service-item__title a {
    text-align: center !important;
}

/* Kart görselleri: sürüklenemez / seçilemez */
.related-products-shell .index-service-item__image {
    -webkit-user-select: none;
    user-select: none;
}
.related-products-shell .index-service-item__image img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Ürün detay: Montaj/Garanti sekmesinde JS ile gizlenir (Bootstrap display sınıfları [hidden]’ı ezer) */
.js-related-products-explore.is-tab-hidden {
    display: none !important;
}

/* lg+ masaüstü: yan sütundaki “Bu ürünleri de inceleyebilirsiniz” her sekmede görünsün (mobilde sekme kuralı geçerli) */
@media (min-width: 992px) {
    .related-products-shell--inline.js-related-products-explore.is-tab-hidden {
        display: block !important;
    }
}

/* Ürün detay: Referans logoları — sonsuz marquee (kutu / scrollbar yok) */
.related-products-shell--references {
    margin-bottom: 0;
    box-sizing: border-box;
}
.services-single-section .related-products-shell--inline.related-products-shell--references {
    background-color: var(--ref-bg, #E4DDFF) !important;
    background-image: none !important;
    border-color: #d2c7ff;
    margin-bottom: 0;
    padding: 8px 10px 14px;
}
.services-single-section .related-products-shell--inline.related-products-shell--references .related-products-section-title,
.services-single-section .related-products-shell--inline.related-products-shell--references .section-title-row h2,
.services-single-section .related-products-shell--inline.related-products-shell--references .related-products-section-title__sparkle {
    color: var(--ref-text, #7758FF) !important;
}
/* Başlık üst/alt: .related-products-shell--inline .section-title-row (8px / 12px) ile aynı; yan sütunda aşağıdaki lg kuralı ezer */
.related-products-shell--references .section-title-row {
    justify-content: flex-start;
}
.services-single-section .related-products-shell--references .section-title-row h2 {
    min-width: 0;
}
/* Yan sütun: referanslar sıkı; diğer ürünler kutusu ayrı padding */
@media (min-width: 992px) {
    .services-single-section .service-thumbs-column .related-products-shell--inline.related-products-shell--references {
        margin-bottom: 8px;
        padding: 8px 10px 14px;
    }
    .services-single-section .service-thumbs-column .related-products-shell--inline {
        padding: 6px 10px 8px;
    }
    .services-single-section .service-thumbs-column .related-products-shell--inline.related-products-shell--references .section-title-row {
        margin-top: 2px;
        margin-bottom: 8px;
    }
    .services-single-section .service-thumbs-column .related-products-shell--inline .section-title-row {
        margin-top: 4px;
        margin-bottom: 8px;
    }
    /* Referanslar + diğer ürünler: yan sütunda aynı başlık boyutu */
    .services-single-section .service-thumbs-column .related-products-shell--inline .section-title-row h2,
    .services-single-section .service-thumbs-column .related-products-shell--inline .related-products-section-title {
        font-size: 13px !important;
        line-height: 1.3;
        font-weight: 600;
    }
    .services-single-section .service-thumbs-column .related-products-shell--inline:not(.related-products-shell--references) .index-service-item__title,
    .services-single-section .service-thumbs-column .related-products-shell--inline:not(.related-products-shell--references) .index-service-item__title a {
        font-size: 11px;
        line-height: 1.25;
    }
    .services-single-section .service-thumbs-column .related-products-shell--inline .index-service-item {
        flex: 0 0 102px;
        width: 102px;
        max-width: 102px;
    }
    .services-single-section .service-thumbs-column .urun-reference-marquee {
        margin-top: 0;
    }
    .services-single-section .service-thumbs-column .urun-reference-marquee__cell {
        min-height: 0;
        padding: 0 6px;
    }
    .services-single-section .service-thumbs-column .urun-reference-marquee__cell img {
        max-height: 50px;
        max-width: 142px;
    }
    .services-single-section .service-thumbs-column .urun-reference-marquee__group {
        gap: 18px;
        padding-right: 18px;
    }
}

/* Ürün detay yan sütun: galeri satırı (service-gallery-with-badges--split) genişliğine göre kart/başlık ölçeği */
@supports (width: 1cqw) {
    @media (min-width: 992px) {
        .services-single-section .service-gallery-with-badges--split .service-thumbs-column .related-products-shell--inline .index-service-item {
            flex: 0 0 clamp(88px, 8.87cqw, 102px);
            width: clamp(88px, 8.87cqw, 102px);
            max-width: clamp(88px, 8.87cqw, 102px);
        }

        .services-single-section .service-gallery-with-badges--split .service-thumbs-column .related-products-shell--inline .section-title-row h2,
        .services-single-section .service-gallery-with-badges--split .service-thumbs-column .related-products-shell--inline .related-products-section-title {
            font-size: clamp(12px, 1.13cqw, 13px) !important;
        }

        .services-single-section .service-gallery-with-badges--split .service-thumbs-column .related-products-shell--inline:not(.related-products-shell--references) .index-service-item__title,
        .services-single-section .service-gallery-with-badges--split .service-thumbs-column .related-products-shell--inline:not(.related-products-shell--references) .index-service-item__title a {
            font-size: clamp(10px, 0.96cqw, 11px);
        }

        .services-single-section .service-gallery-with-badges--split .service-thumbs-column .urun-reference-marquee__cell img {
            max-height: clamp(42px, 4.35cqw, 50px);
            max-width: clamp(118px, 12.35cqw, 142px);
        }

        .services-single-section .service-gallery-with-badges--split .service-thumbs-column .urun-reference-marquee__group {
            gap: clamp(14px, 1.57cqw, 18px);
            padding-right: clamp(14px, 1.57cqw, 18px);
        }
    }
}

/* Ürün detay alt blokları: referans + diğer ürünler başlığı aynı tipografi */
.index-services-section--related .related-products-shell .section-title-row h2,
.index-services-section--related .related-products-shell .related-products-section-title {
    font-size: 15px !important;
    line-height: 1.3;
    font-weight: 600;
}

.urun-reference-marquee {
    --urun-ref-marquee-duration: 38s;
    overflow: hidden;
    width: 100%;
    margin-top: 4px;
    background: transparent;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.related-products-shell--references .urun-reference-marquee,
.related-products-shell--references .home-references-splide-host {
    margin-top: 0;
}
/* Yalnızca mobil tam genişlik: şerit alanı yüksek + büyük logo */
.index-services-section--related .related-products-shell--references .urun-reference-marquee,
.index-services-section--related .related-products-shell--references .home-references-splide-host {
    min-height: 72px;
    display: flex;
    align-items: center;
}
.index-services-section--related .related-products-shell--references .urun-reference-marquee__cell img {
    max-height: 58px;
    max-width: 168px;
}

.urun-reference-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: urun-reference-marquee-x var(--urun-ref-marquee-duration) linear infinite;
}
@keyframes urun-reference-marquee-x {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .urun-reference-marquee__track {
        animation: none !important;
    }
}
.urun-reference-marquee__group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 18px;
    padding-right: 0;
    box-sizing: border-box;
}
.urun-reference-marquee__cell {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 8px;
    min-height: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.urun-reference-marquee__cell a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.urun-reference-marquee__cell img {
    max-height: 48px;
    max-width: 152px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    -webkit-user-drag: none;
    user-select: none;
}

/* Logo kutusu / görsel: ekstra arka plan rengi veya gölge yok (dış .related-products-shell kartı aynı kalır) */
.related-products-shell--references .urun-reference-marquee,
.related-products-shell--references .urun-reference-marquee__track,
.related-products-shell--references .urun-reference-marquee__group,
.related-products-shell--references .urun-reference-marquee__cell,
.related-products-shell--references .urun-reference-marquee__cell a,
.related-products-shell--references .urun-reference-marquee__cell img,
.related-products-shell--references .home-references-splide-host,
.related-products-shell--references .home-references-splide-host .splide,
.related-products-shell--references .home-references-splide-host .splide__track,
.related-products-shell--references .home-references-splide-host .splide__list,
.related-products-shell--references .home-references-splide-host .splide__slide,
.related-products-shell--references .home-references-splide-host .urun-reference-marquee__cell,
.related-products-shell--references .home-references-splide-host .urun-reference-marquee__cell a,
.related-products-shell--references .home-references-splide-host .urun-reference-marquee__cell img {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}
@media (max-width: 575px) {
    .urun-reference-marquee {
        --urun-ref-marquee-duration: 32s;
    }
    .urun-reference-marquee__group {
        gap: 16px;
        padding-right: 16px;
    }
    .urun-reference-marquee__cell {
        padding: 0 6px;
    }
    .urun-reference-marquee__cell img {
        max-height: 40px;
        max-width: 122px;
    }
}

/* Tam genişlik renk şeridi yerine: renk yalnızca .container içindeki .related-products-shell üzerinde */
.index-services-section--related {
    padding-top: 0;
    padding-bottom: 8px;
    background: transparent !important;
}

/* Yalnızca “Referanslarımız” tam genişlik bloğu: üst/alt nefes (üst, başlığa yakın) */
.index-services-section--related:has(> .container > .related-products-shell--references) {
    padding-top: 9px;
    padding-bottom: 18px;
}
.index-services-section--related .related-products-shell {
    width: 100%;
    background: #EEFFEB;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 8px 12px 12px;
    overflow: hidden;
}
.index-services-section--related .related-products-shell--references {
    background-color: #E4DDFF !important;
    background-image: none !important;
    border-color: #d2c7ff;
    padding: 10px 12px 14px;
    min-height: 104px;
}
.index-services-section--related .related-products-shell--references .related-products-section-title,
.index-services-section--related .related-products-shell--references .section-title-row h2,
.index-services-section--related .related-products-shell--references .related-products-section-title__sparkle {
    color: #7758FF !important;
}
/* Üst nefes: çok hafif (genel 8px’ten düşük tutuldu) */
.index-services-section--related .related-products-shell--references .section-title-row {
    margin-top: 3px;
    margin-bottom: 8px;
    padding-top: 0;
}
@media (min-width: 992px) {
    .index-services-section--related {
        padding-bottom: 36px;
    }
    .index-services-section--related .related-products-shell {
        background: #EEFFEB !important;
    }
    .index-services-section--related .related-products-shell--references {
        background-color: #E4DDFF !important;
        background-image: none !important;
        padding: 10px 14px 14px;
        min-height: 106px;
    }

    .index-services-section--related:has(> .container > .related-products-shell--references) {
        padding-top: 11px;
        padding-bottom: 28px;
    }
}

/* Anasayfa: Referanslarımız üst boşluğu = ürün kartları grid/scroll gap ile aynı (8 / 10 / 20) */
.services-page-section.index-services-section .index-services-section--home-references {
    margin-top: 8px;
}
@media (min-width: 576px) and (max-width: 1024px) {
    .services-page-section.index-services-section .index-services-section--home-references {
        margin-top: 10px;
    }
}
@media (min-width: 1025px) {
    .services-page-section.index-services-section .index-services-section--home-references {
        margin-top: 20px;
    }
}
@media (min-width: 992px) {
    .services-page-section.index-services-section .index-services-section--home-references.index-services-section--related {
        padding-bottom: 16px;
    }
}
@media (max-width: 767px) {
    .services-page-section.index-services-section .index-services-section--home-references.index-services-section--related {
        padding-bottom: 12px;
    }
}

/* Anasayfa Referanslarımız: beyaz zemin, siyah başlık ve ikon (ürün detayından ayrışır) */
.services-page-section.index-services-section .index-services-section--home-references .related-products-shell--references {
    background-color: var(--ref-bg, #ffffff) !important;
    background-image: none !important;
    border-color: #e5e7eb;
    padding-top: 9px;
    padding-bottom: 12px;
}

.services-page-section.index-services-section .index-services-section--home-references .urun-reference-marquee,
.services-page-section.index-services-section .index-services-section--home-references .home-references-splide-host {
    min-height: 60px;
}

.services-page-section.index-services-section .index-services-section--home-references .urun-reference-marquee__cell img {
    max-height: 46px;
}

/* Anasayfa Referanslarımız: Splide (CSS marquee yok; Auto Scroll eklentisi) */
.home-references-splide-host {
    overflow: hidden;
    width: 100%;
    margin-top: 4px;
    background: transparent;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.services-page-section.index-services-section .index-services-section--home-references .home-references-splide-host {
    margin-top: 0;
}
.index-services-section--related .related-products-shell--references .home-references-splide-host {
    margin-top: 0;
}
.home-references-splide-host .js-home-references-splide.splide {
    margin: 0;
    padding: 0;
    width: 100%;
}
.home-references-splide-host .splide__list {
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.home-references-splide-host .splide__arrow,
.home-references-splide-host .splide__pagination {
    display: none !important;
}
.home-references-splide-host .home-references-splide__slide {
    width: auto !important;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .home-references-splide-host .js-home-references-splide:not(.is-initialized) .splide__track {
        overflow: visible;
    }
    .home-references-splide-host .js-home-references-splide:not(.is-initialized) .splide__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        width: 100%;
        transform: none !important;
    }
    .home-references-splide-host .js-home-references-splide:not(.is-initialized) .home-references-splide__slide {
        transform: none !important;
    }
    @media (min-width: 992px) {
        .home-references-splide-host .js-home-references-splide:not(.is-initialized) .splide__list {
            gap: 44px;
        }
    }
}

/* Anasayfa Referanslarımız: masaüstünde hafif büyük logo + geniş aralık (JS gap ile uyumlu) */
@media (min-width: 992px) {
    .services-page-section.index-services-section .index-services-section--home-references .home-references-splide-host {
        min-height: 72px;
    }
    .services-page-section.index-services-section .index-services-section--home-references .home-references-splide-host .urun-reference-marquee__cell img {
        max-height: 64px;
        max-width: 188px;
    }
}
.services-page-section.index-services-section .index-services-section--home-references .related-products-shell--references .related-products-section-title,
.services-page-section.index-services-section .index-services-section--home-references .related-products-shell--references .section-title-row h2,
.services-page-section.index-services-section .index-services-section--home-references .related-products-shell--references .related-products-section-title__sparkle {
    color: var(--ref-text, #000000) !important;
}

.related-products-shell--references {
    background-color: var(--ref-bg, #ffffff);
}
.related-products-shell--references .related-products-section-title,
.related-products-shell--references .related-products-section-title__sparkle {
    color: var(--ref-text, #000000);
}
.related-products-shell--references .related-products-section-title__sparkle .related-products-section-title__sparkle-icon {
    color: var(--ref-icon, var(--ref-text, #000000)) !important;
}

.related-products-shell:not(.related-products-shell--references) {
    background-color: var(--related-bg, #ffffff);
}
.related-products-shell:not(.related-products-shell--references) .related-products-section-title,
.related-products-shell:not(.related-products-shell--references) .related-products-section-title__sparkle,
.related-products-shell:not(.related-products-shell--references) .section-title-row h2 {
    color: var(--related-text, #000000) !important;
}
.related-products-shell:not(.related-products-shell--references) .related-products-section-title__sparkle .related-products-section-title__sparkle-icon {
    color: var(--related-icon, var(--related-text, #000000)) !important;
}
.related-products-shell .related-products-section-title__sparkle .related-products-section-title__sparkle-icon.menu-item-icon--mask {
    background-color: currentColor !important;
}

.index-services-section--related .section-title-row {
    margin-top: 8px;
    margin-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
}
.index-services-section--related .index-services-scroll-wrapper {
    padding-left: 0;
    padding-right: 0;
}
.index-services-section--related .index-services-scroll {
    /* Genel satırda 6px üst/alt vardı; alttaki fazla boşluğu kaldır */
    padding-top: 0;
    padding-bottom: 0;
}
.index-services-section--related .index-services-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: default;
    margin-top: 8px;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.index-services-section--related .index-services-scroll-wrapper::-webkit-scrollbar {
    display: none;
}
.index-services-section--related .index-services-scroll {
    flex-wrap: nowrap;
    width: auto;
    min-width: min-content;
    justify-content: flex-start;
    gap: 20px;
}

.index-services-section--related .index-service-item.active .index-service-item__inner {
    border-color: #FA6101 !important;
}
.index-services-section--related .index-service-item.active .index-service-item__title,
.index-services-section--related .index-service-item.active .index-service-item__title a {
    color: #FA6101;
}
/* Mobilde de kart dış border'ı belirgin kalsın */
.index-services-section--related .index-service-item__inner {
    border: 1px solid #e3e3e3 !important;
}

/* Ürün detay (mobil/tablet): aynı bölüm — kart metni dar, en fazla 2 satır */
.index-services-section--related .related-products-shell:not(.related-products-shell--references) .index-service-item__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.28;
    font-weight: 600;
}
.index-services-section--related .related-products-shell:not(.related-products-shell--references) .index-service-item__title a {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

@media (min-width: 992px) {
    .index-services-section--related .related-products-shell:not(.related-products-shell--references) {
        padding: 8px 16px 16px;
    }
    .index-services-section--related .section-title-row,
    .index-services-section--related .index-services-scroll-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (max-width: 767px) {
    /* Ürün detay: alt sabit menü (Paylaş / Fiyat Al) ile içerik arasında nefes payı */
    .index-services-section--related {
        padding-bottom: 28px;
    }
}
@media (max-width: 575px) {
    .index-services-section--related .index-services-scroll-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        cursor: default;
    }
    .index-services-section--related .index-services-scroll {
        gap: 10px;
        flex-wrap: nowrap;
        min-width: min-content;
    }
    .index-services-section--related .index-service-item {
        flex: 0 0 120px;
        width: 120px;
        max-width: 120px;
    }
}
@media (max-width: 480px) {
    .index-services-section--related .index-services-scroll {
        gap: 8px;
        flex-wrap: nowrap;
    }
    .index-services-section--related .index-service-item {
        flex: 0 0 110px;
        width: 110px;
        max-width: 110px;
    }
}
