/* Ürün Detay Sayfası Güncellenmiş Stilleri */

/* Ürün Detay Alanı */
.product-detail-section {
    padding: 40px 0 0px;
}

.product-detail-container {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

/* Ürün Görselleri */
.product-gallery {
    flex: 1;
    max-width: 550px;
}

.main-image-container {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
    width: 100%;
    height: auto;
}

.img-zoom-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Tam Ekran Görüntüleyici */
.fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fullscreen-viewer.active {
    opacity: 1;
    visibility: visible;
}

.fullscreen-image-container {
    max-width: 90%;
    max-height: 90%;
}

#fullscreen-image {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    width: auto;
    height: auto;
}

.close-fullscreen-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-fullscreen-btn:hover {
    color: var(--red-color);
}

.main-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
}

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

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--red-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ürün Bilgileri */
.product-info-container {
    flex: 1;
}

.product-titlee {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: left;
}

.product-code {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
}

.detail-product-price {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.detail-current-price {
    font-size: 35px;
    font-weight: 800;
    color: var(--red-color);
    margin-right: 15px;
}

.detail-old-price {
    font-size: 27px;
    color: #999;
    text-decoration: line-through;
    margin-right: 15px;
}

.detail-product-quantity {
    margin-bottom: 30px;
}

.detail-product-quantity h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

.detail-quantity-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.detail-quantity-selector {
    display: flex;
    align-items: center;
    width: 120px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 45px;
}

.detail-quantity-btn {
    width: 40px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-quantity-btn:hover {
    color: var(--red-color);
}

.detail-quantity-input {
    width: 40px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    -moz-appearance: textfield;
    appearance: textfield;
    background-color: transparent;
    outline: none;
}

.detail-quantity-input::-webkit-outer-spin-button,
.detail-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.detail-add-to-cart {
    background-color: var(--red-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 4px;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    flex: 1;
    text-transform: uppercase;
    height: 45px;
}

.detail-add-to-cart:hover {
    background-color: #b00017;
}

.detail-wishlist-btn {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}

.detail-wishlist-btn:hover {
    background-color: #fff;
    border-color: #ddd;
}

.detail-wishlist-btn i {
    color: #666;
    transition: color 0.3s ease;
}

.detail-wishlist-btn:hover i {
    color: var(--red-color);
    font-weight: 900;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.feature i {
    color: var(--red-color);
    font-size: 18px;
}

.product-short-desc {
    line-height: 1.7;
    color: #666;
    text-align: left;
}

/* Ürün Açıklaması */
.product-description {
    margin-bottom: 60px;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.product-description h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.description-content {
    line-height: 1.8;
}

.description-content p {
    margin-bottom: 15px;
}

    


/* Responsive Tasarım */
@media (max-width: 992px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-gallery {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-titlee {
        font-size: 24px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
    
    .product-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .sepet-popup-content {
        width: 95%;
    }
    
    .sepet-popup-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .sepet-popup-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-description {
        padding: 20px;
    }
}
/* Responsive Tasarım */
@media (max-width: 992px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-gallery {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-titlee {
        font-size: 24px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
    
    .product-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .product-description {
        padding: 20px;
    }
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-gallery {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-titlee {
        font-size: 24px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
    
    .product-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .sepet-popup-content {
        width: 95%;
    }
    
    .sepet-popup-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .sepet-popup-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-description {
        padding: 20px;
    }
}
/* Responsive Tasarım */
@media (max-width: 992px) {
    .product-detail-container {
        flex-direction: column;
    }
    
    .product-gallery {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .product-titlee {
        font-size: 24px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
    
    .product-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .product-description {
        padding: 20px;
    }
}
