/** urun detay kısmı **/
@media only screen and (max-width: 932px) {
    .urunResimleri {
        margin-top: 8% !important;
        margin-bottom: -15% !important;
    }

    .urunResimDiv {
        width: 100% !important;
        border-radius: 10px;
    }


    .urunResimItem {
        padding-bottom: unset !important;
    }
}

@media only screen and (min-width: 932px) {
    .urunResimleri {
        margin-top: 8% !important;
        margin-bottom: -15% !important;
    }

    .urunResimDiv {
        width: 108% !important;
    }

    .urunResim {
        border-radius: 10px !important;
    }
}


.urunResimContainer:hover .urunResimDiv:after {
    border-radius: 10px !important;
}

#urunResimleriModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

#urunResimleriModal.open {
    display: flex;
}

#urunResimleriModal .modal-card {
    width: 100%;
    max-width: 980px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

#urunResimleriModal .modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
}

#urunResimleriModal .modal-close {
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #222;
}

#urunResimleriModal .modal-body {
    padding: 12px;
    background: #fff;
    position: relative;
}

#urunResimleriModal .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

#urunResimleriModal .modal-prev {
    left: 10px;
}

#urunResimleriModal .modal-next {
    right: 10px;
}

/* Ürün detay sidebar — demo linkleri */
.product-demo-wrap {
    margin: 1rem 0 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
}

.product-demo-wrap .product-demo-title {
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: #333;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-demo-wrap .product-demo-title i {
    margin-right: 6px;
    color: #2563eb;
}

.product-demo-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-demo-links .btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.35;
    padding: 12px 16px;
}

.product-demo-links .btn i {
    font-size: 1rem;
    opacity: 0.9;
}

.product-demo-credentials {
    margin-top: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.product-demo-links + .product-demo-credentials {
    margin-top: 14px;
}

.product-demo-credentials--admin {
    background: #fffbeb;
    border-color: #fde68a;
}

.product-demo-credentials-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: #475569;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.product-demo-credentials-title i {
    margin-right: 6px;
    color: #2563eb;
}

.product-demo-credentials--admin .product-demo-credentials-title i {
    color: #b45309;
}

.product-demo-credentials-list {
    margin: 0 auto;
    max-width: 100%;
}

.product-demo-credentials-list dt {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    margin: 10px 0 0;
    text-align: center;
}

.product-demo-credentials-list dt:first-child {
    margin-top: 0;
}

.product-demo-credentials-list dd {
    margin: 4px 0 0;
    margin-left: 0;
    text-align: center;
}

.product-demo-credentials-list code {
    display: inline-block;
    max-width: 100%;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    word-break: break-all;
}

.product-demo-credentials--admin .product-demo-credentials-list code {
    border-color: #fcd34d;
}
