/* Detail Page */
.product-detail-section {
    overflow: hidden;
    padding: 0 0 40px;
    min-height: 100vh;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0%' stop-color='%232A9D8F' stop-opacity='0.12'/><stop offset='100%' stop-color='%2300BCD4' stop-opacity='0.12'/></linearGradient></defs><rect width='1600' height='900' fill='none'/><path d='M0 700 C 300 600, 600 800, 900 700 S 1500 600, 1600 700 L 1600 900 L 0 900 Z' fill='url(%23g)'/><path d='M0 560 C 350 520, 650 650, 950 560 S 1450 480, 1600 560 L 1600 900 L 0 900 Z' fill='url(%23g)' opacity='0.6'/></svg>") center top / cover no-repeat, linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

    /* Sadece detail sayfasında page-title paddingsini küçült */
    .product-detail-section .page-title {
        padding: 30px;
    }

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 24px;
}

.detail-gallery {
    display: grid;
    grid-template-rows: 3fr 1fr;
    position: relative;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 20px;
    padding-bottom: 0;
}

.detail-icons {
    display: block;
    margin-bottom: 15px;
    font-size: 2.2rem;
    color: var(--primary-blue);
}

.detail-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, var(--primary-teal), var(--cyan));
    color: var(--white);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.detail-main-image-div {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    display: flex;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-main-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
}

.detail-thumbs {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 20px 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

    .detail-thumbs img {
        flex: 0 0 auto;
        width: 140px;
        height: 80px;
        object-fit: cover;
        border-radius: 10px;
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .detail-thumbs img:hover {
            transform: translateY(-2px);
        }

        .detail-thumbs img.active {
            border-color: var(--primary-teal);
        }

.detail-summary {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    padding: 24px;
    /* sticky kaldırıldı */
    position: static;
    top: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-logo {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    margin-bottom: 12px;
}

    .detail-logo img {
        height: 46px;
        object-fit: contain;
    }

.detail-summary h2 {
    font-size: 1.4rem;
    color: var(--dark-navy);
    margin-bottom: 8px;
}

.detail-subtitle {
    opacity: 0.7 !important;
    margin-bottom: 12px;
}

.detail-features {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

    .detail-features li {
        opacity: 0.7 !important;
        display: flex;
        gap: 10px;
        align-items: center;
        font-size: 0.95rem;
    }

    .detail-features i {
        color: var(--primary-teal);
    }

.detail-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.detail-highlights {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

    .detail-highlights .highlight {
        background: #F8FFFE;
        color: var(--dark-navy);
        border: 1px solid #E5F6F3;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 0.85rem;
        display: inline-flex;
        gap: 8px;
        align-items: center;
    }

.feature-cards {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    text-align: center;
}

.feature-card p{
    opacity: 0.7 !important;
    font-size: 14px;
}

.feature-card h3{
    margin-bottom: 8px;
}
/* detail-content-2col kaldırıldı */

.detail-cta-band {
    margin-top: 24px;
    background: linear-gradient(135deg, var(--primary-teal), var(--cyan));
    color: var(--white);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

    .detail-cta-band .band-text div {
        color: var(--white);
        margin-bottom: 6px;
        font-weight: bold;
        font-size: 1.4rem;
    }

    .detail-cta-band .band-text p {
        color: var(--white);
        opacity: 0.85;
    }

    .detail-cta-band .band-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

/* CTA birleşik beyaz buton */
.cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--primary-teal);
    padding: 12px 22px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.0);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: all 0.25s ease;
}

    .cta-white:hover {
        color: var(--primary-teal);
        box-shadow: 0 10px 28px rgba(0,0,0,0.18);
        border-color: var(--cyan);
    }

.related-products {
    margin-top: 24px;
}

    .related-products .related-wrap {
        background: linear-gradient(135deg, #ffffff, #f7fbfb);
        border: 1px solid #e6f1f0;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 6px 24px rgba(0,0,0,0.06);
        position: relative;
    }

    .related-products .related-wrap-inner {
        position: relative;
        z-index: 2;
    }

    .related-products .related-header {
        text-align: left;
        margin-bottom: 16px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .related-products .related-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, var(--primary-teal), var(--cyan));
        color: var(--white);
        box-shadow: 0 8px 20px rgba(0, 188, 212, 0.25);
        margin: 0;
        margin-bottom: 3px;
    }

    .related-products .related-title {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.8rem;
        color: var(--dark-grey);
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .related-products .related-subtitle {
        display: none;
    }


    .related-products .related-wrap::after {
        inset: auto auto -25% -10%;
        width: 70%;
        height: 180px;
        transform: rotate(-8deg);
    }

/* Detail: Üst grid + feature-cards genel kart sarmalayıcı (Razor sayfa için de kullanılır) */
.detail-wrap {
    background: linear-gradient(135deg, #ffffff, #f7fbfb);
    border: 1px solid #e6f1f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    margin-top: 12px;
}

.detail-wrap-inner {
    position: relative;
    z-index: 2;
}

.detail-wrap::before,
.detail-wrap::after {
    content: '';
    position: absolute;
    inset: -20% -10% auto auto;
    width: 65%;
    height: 160px;
    background: radial-gradient(120px 60px at 20% 50%, rgba(0,188,212,0.08), transparent 60%), radial-gradient(200px 80px at 60% 40%, rgba(42,157,143,0.08), transparent 60%), linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.0) 40%);
    transform: rotate(6deg);
    z-index: 1;
}

.detail-wrap::after {
    inset: auto auto -25% -10%;
    width: 70%;
    height: 180px;
    transform: rotate(-8deg);
}

@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-summary {
        position: static;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .detail-main-image {
        height: 300px;
    }

    .detail-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .detail-content-2col {
        grid-template-columns: 1fr;
    }
    .product-detail-section .page-title {
        padding: 20px;
    } 
}


.related-wrap-inner .content-grid a {
    text-decoration: none;
}

.product-detail-section h1 {
    font-family: 'Bebas Neue', sans-serif;
    background: linear-gradient(90deg,rgba(36, 162, 154, 1) 0%, rgba(7, 183, 201, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 700;
}


/* ===== Animations: Global page entrance + Scroll reveal ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.product-detail-section {
    animation: fadeIn 0.5s ease both;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1);
    transition-delay: calc(var(--reveal-index, 0) * 80ms);
    will-change: opacity, transform;
}

    .reveal-on-scroll.in {
        opacity: 1;
        transform: none;
    }

.related-products .related-icon {
    animation: floatY 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-section {
        animation: none;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .related-products .related-icon {
        animation: none;
    }
}
