
.product-detail__variations {
    margin-top: 20px;
}
.product-detail-page {
    background-color: #fff;
}

.product-detail {
    margin-top: 10px;
    margin-bottom: 100px;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 80px 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Sol: Thumbnail Strip */
.product-detail__thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 19px;
    /* 7 thumbnail (80px) + 6 gap (10px) = 620px, fazlası için iç scroll */
    max-height: 620px;
    overflow-y: auto;
    width: 120%;
}

.product-detail__thumbnail {
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto; /* Flexbox içinde küçülmeyi engelle, sabit boyut koru */
}

.product-detail__thumbnail:hover {
    border-color: #000;
}

.product-detail__thumbnail.is-active {
    border-color: #000;
}

.product-detail__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Orta: Ana Görsel */
.product-detail__main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__image-item {
    display: none;
    width: 100%;
    height: 100%;
}

.product-detail__image-item.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__image-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.product-detail__zoom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    z-index: 10;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
}

.product-detail__zoom:hover {
    background: #333;
}

.product-detail__zoom span {
    font-size: 28px;
    line-height: 1;
    font-weight: 600;
}

.glightbox-clean .gdesc,
.glightbox-clean .gdesc-inner,
.glightbox-clean .gslide-desc {
    display: none !important;
}

/* Sağ: Ürün Bilgileri */

.product-detail__info {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
   
}

.product-detail__title {
    color: #5c5c5c;
    font-size: 2rem;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
    font-kerning: normal;
    text-rendering: optimizeLegibility;
}

.product-detail__section-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: underline;
    margin: 0 0 20px 0;
}

/* Varyasyonlar */
.product-detail__variations {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail__variation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-detail__variation-controls {
    display: flex;
    gap: 10px;
}

.product-detail__variation-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dddddd;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-detail__variation-control:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.product-detail__variation-control:disabled {
    opacity: 0.35;
    cursor: default;
    background: #f5f5f5;
    color: #999;
    border-color: #eee;
}

.product-detail__variation-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-detail__variations.has-carousel .product-detail__variation-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px 4px 16px;
    margin: 0 -4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.product-detail__variations.has-carousel .product-detail__variation-list::-webkit-scrollbar {
    height: 6px;
}

.product-detail__variations.has-carousel .product-detail__variation-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

.product-detail__variation-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 170px;
    max-width: 170px;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: center;
}

.product-detail__variation-thumb {
    width: 170px;
    height: 210px;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-detail__variation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail__variation-item:hover .product-detail__variation-thumb {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.product-detail__variation-item.is-current .product-detail__variation-thumb {
    box-shadow: 0 0 0 2px #000 inset, 0 16px 40px rgba(0, 0, 0, 0.1);
}

.product-detail__variation-name {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    text-align: center;
    color: #333;
}

.product-detail__technical {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-detail__technical-toggle {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.product-detail__technical-toggle:focus {
    outline: none;
    text-decoration: none;
}

.product-detail__technical-body {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.product-detail__technical.is-open .product-detail__technical-body {
    display: flex;
}

.product-detail__technical-text {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #2c2c2c;
}

.product-detail__technical-text p {
    margin: 0 0 1em 0;
}

.product-detail__technical-text p:last-child {
    margin-bottom: 0;
}

/* İndirme Linkleri */
.product-detail__download-item {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}



.product-detail__download-item:hover {
    opacity: 0.7;
}

.product-detail__download-icon {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: end;
}

.product-detail__download-icon img {
    width: 61%;
    height: 61%;
    object-fit: contain;
}

.product-detail__download-label {
    font-size: 1.05rem;
    color: black;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: underline;
}

.product-detail__description-block {
    display: none;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.product-detail__description-block p {
    margin: 0 0 1.5em 0;
}

.product-detail__description-block p:last-child {
    margin-bottom: 0;
}

/* Meta Bilgiler */
.product-detail__meta {
    margin: 0;
}

.product-detail__meta-item {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.product-detail__meta-item strong {
    font-weight: 600;
    color: black;
}

.spsw {
    color: #d14119;
    font-weight: 700;
}

.product-detail__category-link {
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.product-detail__category-link:hover {
    opacity: 0.7;
}

/* Ürün Ailesi */
.product-detail__family-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.product-detail__family-controls {
    display: flex;
    gap: 10px;
}

.product-detail__family-control {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #dddddd;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-detail__family-control:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.product-detail__family-control:disabled {
    opacity: 0.35;
    cursor: default;
    background: #f5f5f5;
    color: #999;
    border-color: #eee;
}

.product-detail__family {
    margin-bottom: 100px;
    padding-top: 60px;
    border-top: 1px solid #e0e0e0;
}

.product-detail__family-title {
    color: #5c5c5c;
    text-transform: lowercase;
    margin-bottom: 30px;
}

.product-detail__family-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-detail__family-grid.has-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 12px;
    margin: 0 -4px;
    padding-left: 4px;
    padding-right: 4px;
}

.product-detail__family-grid.has-carousel::-webkit-scrollbar {
    height: 6px;
}

.product-detail__family-grid.has-carousel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

.product-detail__family-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.product-detail__family-thumb {
    width: 100%;
    height: 230px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-detail__family-grid.has-carousel .product-detail__family-thumb {
    min-width: 220px;
}

.product-detail__family-grid.has-carousel .product-detail__family-item {
    scroll-snap-align: center;
    min-width: 220px;
}

.product-detail__family-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail__family-item:hover .product-detail__family-thumb {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.product-detail__family-item span {
    font-size: 1rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* Responsive */
@media (max-width: 1280px) {
    .product-detail__grid {
        grid-template-columns: 72px 1fr 320px;
        gap: 28px;
    }
    .product-detail__thumbnail { width: 72px; height: 72px; }
}

@media (max-width: 992px) {
    .product-detail__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail__thumbnails {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .product-detail__thumbnail {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
    }

    .product-detail__main-image { order: 1; }

    .product-detail__info { order: 3; }

    .product-detail__thumbnails { order: 2; }

    .product-detail__family-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
    .product-detail__variation-control,
    .product-detail__family-control { width: 40px; height: 40px; }
}

@media (max-width: 768px) {
    .product-detail {
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .product-detail__title {
        font-size: 1.5rem;
    }

    .product-detail__info {
        gap: 30px;
        overflow: visible !important;
    }

    /* Mobilde varyasyonlar için carousel görünümü (JavaScript çalışmasa bile) - Product Family gibi */
    .product-detail__variations {
        display: grid;
        overflow: visible !important;
        width: 100% !important;
    }

    .product-detail__variation-list {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 6px 4px 16px !important;
        margin: 0 -4px !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: thin !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-detail__variation-list::-webkit-scrollbar {
        height: 6px;
    }

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

    .product-detail__variation-item {
        min-width: 170px !important;
        max-width: 170px !important;
        width: 170px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }

    /* Mobilde varyasyon kontrollerini göster */
    .product-detail__variation-controls {
        display: flex !important;
    }

    .product-detail__family {
        margin-bottom: 70px;
        padding-top: 40px;
    }

    /* Mobilde product family için carousel görünümü (JavaScript çalışmasa bile) */
    .product-detail__family-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 20px !important;
        padding-bottom: 12px !important;
        margin: 0 -4px !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .product-detail__family-grid::-webkit-scrollbar {
        height: 6px;
    }

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

    .product-detail__family-item {
        min-width: calc(50% - 10px) !important;
        flex-shrink: 0 !important;
    }

    /* Mobilde product family kontrollerini göster */
    .product-detail__family-controls {
        display: flex !important;
    }
}
@media (min-width: 1000px) and (max-width: 1299px) {
    .product-detail__image-item img {
        margin-top: -30%;
        max-width: 70%;
    }

    /* buraya istediğin başka stil kurallarını ekleyebilirsin */
}
