/* Ürün detay görsel alanı düzeltme */
.product-detail-photo-box {
    width: 100%;
    height: 430px;
    background: #f5f7fa;
    border: 1px solid #e1e7ef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.product-detail-photo-box #view_full_size,
.product-detail-photo-box .image-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-detail-photo-box img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center;
    margin: auto;
}

.product-detail-photo-box .hover_bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

/* Ürün detay sağ alan toparlama */
.product-detail-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.product-detail-action-row .detail-action-item {
    flex: 1 1 0;
    margin: 0 !important;
}

.product-detail-action-row .button {
    width: 100% !important;
    border: 0;
}

.product-detail-cart-form {
    flex: 1 1 0;
    margin: 0;
}


/* Ürün detay satın al butonu */
.product-detail-buy-row {
    width: 100%;
    margin: 18px 0 0;
    padding: 0;
    background: transparent;
}

.product-detail-buy-link {
    width: 100%;
    margin: 0;
}

.product-detail-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 46px;
    border: 0;
    border-radius: 5px;
    background: #00b800;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(0, 184, 0, 0.25);
    transition: all 0.22s ease;
}

.product-detail-buy-btn i {
    margin-right: 9px;
    font-size: 21px;
}

.product-detail-buy-btn:hover {
    background: #009f00;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(0, 159, 0, 0.32);
}

/* Ürün detay fiyat alanı - fiyat garantisi tasarımı */
.product-detail-price-guarantee {
    width: 100%;
    margin: 14px 0 16px;
    overflow: hidden;
    background: #ff6b2a;
    border-radius: 0;
}

.product-detail-price-guarantee-top {
    height: 27px;
    line-height: 27px;
    background: #c9eaff;
    color: #1f2f46;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}

.product-detail-price-guarantee-bottom {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    background: #ff6b2a;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.product-detail-price-guarantee-bottom span,
.product-detail-price-guarantee-bottom strong {
    color: #fff;
    font-weight: 800;
}

.product-detail-price-guarantee-bottom strong {
    font-size: 22px;
    letter-spacing: -0.3px;
}

/* Ürün detay bilgi kutuları */
.product-detail-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 30px;
    width: 100%;
    margin: 16px 0 18px;
}

.product-detail-feature-item {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px dashed #c8c8c8;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    line-height: 18px;
}

.product-detail-feature-item i {
    margin-right: 6px;
    color: #2c313b;
    font-size: 14px;
}

.product-detail-feature-item span {
    margin-right: 4px;
    font-weight: 400;
}

.product-detail-feature-item strong {
    color: #2c313b;
    font-weight: 700;
}


/* Ürün görseli üzerinde demo incele butonu */
.product-detail-demo-overlay {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 9;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 46px;
    padding: 0 24px;
    background: #ff6b2a;
    color: #fff !important;
    border-radius: 6px;
    box-shadow: 0 10px 22px rgba(255, 107, 42, 0.35);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.product-detail-demo-overlay i {
    margin-right: 8px;
    font-size: 15px;
}

.product-detail-demo-overlay:hover {
    background: #1A9BD4;
    color: #fff !important;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 26px rgba(26, 155, 212, 0.35);
}


/* Demo butonunun tema stilleri tarafından ezilmesini engelle */
.product-detail-photo-box .product-detail-demo-overlay {
    display: inline-flex !important;
    width: auto !important;
    max-width: calc(100% - 32px);
    pointer-events: auto;
}

@media (max-width: 991px) {
    .product-detail-photo-box {
        height: 360px;
    }
}

@media (max-width: 767px) {
    .product-detail-photo-box {
        height: 320px;
        margin-bottom: 20px;
    }

    .product-detail-demo-overlay {
        bottom: 16px;
        min-width: 210px;
        height: 40px;
        padding: 0 16px;
        font-size: 13px;
    }

    .product-detail-action-row {
        flex-direction: column;
    }

    .product-detail-action-row .detail-action-item,
    .product-detail-cart-form {
        flex: 1 1 auto;
        width: 100%;
    }

    .product-detail-price-guarantee {
        margin: 12px 0 14px;
    }

    .product-detail-price-guarantee-top {
        height: 25px;
        line-height: 25px;
        font-size: 14px;
    }

    .product-detail-price-guarantee-bottom {
        min-height: 50px;
        font-size: 18px;
    }

    .product-detail-price-guarantee-bottom strong {
        font-size: 20px;
    }

    .product-detail-feature-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 14px 0 16px;
    }

    .product-detail-feature-item {
        font-size: 13px;
    }


    .product-detail-buy-btn {
        height: 44px;
        font-size: 21px;
    }

    .product-detail-buy-btn i {
        font-size: 19px;
        margin-right: 8px;
    }
}

.ws-product-detail-title {
    font-size: 24px !important;
}
