/* WooCommerce single product conversion styling with custom unique suffix cb976cb8 */

/* 1. Gallery swipe layout optimizations for mobile */
@media (max-width: 768px) {
    .woocommerce-product-gallery {
        position: relative !important;
        margin-bottom: 10px !important;
    }
    .woocommerce-product-gallery__image {
        width: 100vw !important;
        display: inline-block !important;
    }
    /* Simple image counter on top right */
    .woocommerce-product-gallery::after {
        content: "🔍 تمرير سريع للصور";
        position: absolute;
        bottom: 15px;
        right: 15px;
        background-color: rgba(0,0,0,0.65);
        color: #fff;
        padding: 4px 10px;
        border-radius: 30px;
        font-size: 11px;
        font-weight: bold;
        z-index: 10;
        direction: rtl;
    }
}

/* 2. Promo bar */
.promo-bar-cb976cb8 {
    background-color: #FFF2CC;
    border: 1px solid #FFE599;
    padding: 10px 15px;
    border-radius: 6px;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    color: #1A1A1A;
    font-weight: bold;
    text-align: center;
    direction: rtl;
}
.promo-divider-cb976cb8 {
    color: #FFE599;
}

/* 3. Installment Widget Styles */
.installment-widget-cb976cb8 {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 15px;
    margin: 20px 0;
    direction: rtl;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.installment-header-cb976cb8 {
    font-size: 13px;
    color: #1A1A1A;
}
.installment-header-cb976cb8 strong {
    color: #D32F2F;
    font-size: 15px;
}
.installment-logos-cb976cb8 {
    display: flex;
    gap: 8px;
}
.installment-badge-cb976cb8 {
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.tabby-badge-cb976cb8 {
    background-color: #3FFFD2;
    color: #000000;
}
.tamara-badge-cb976cb8 {
    background-color: #F8A0B0;
    color: #000000;
}

/* 4. Countdown bar styles */
.countdown-bar-cb976cb8 {
    border: 1px dashed #D32F2F;
    background-color: #FFEBEE;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
}
.countdown-heading-cb976cb8 {
    font-size: 14px;
    font-weight: bold;
    color: #D32F2F;
}
.countdown-timer-wrap-cb976cb8 {
    display: flex;
    gap: 6px;
    align-items: center;
}
.timer-box-cb976cb8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #D32F2F;
    color: #FFFFFF;
    border-radius: 4px;
    padding: 4px 8px;
    min-width: 40px;
}
.timer-box-cb976cb8 span {
    font-size: 16px;
    font-weight: 900;
}
.timer-box-cb976cb8 small {
    font-size: 9px;
    font-weight: bold;
}
.timer-sep-cb976cb8 {
    color: #D32F2F;
    font-weight: 900;
}

/* 5. Mobile Sticky Add To Cart Bar */
.mobile-sticky-bar-cb976cb8 {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-bar-cb976cb8 {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
        z-index: 9999;
        direction: rtl;
        border-top: 1px solid #E2E8F0;
    }
    .sticky-bar-inner-cb976cb8 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        gap: 15px;
    }
    .sticky-product-details-cb976cb8 {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .sticky-title-cb976cb8 {
        font-size: 13px;
        font-weight: bold;
        color: #1A1A1A;
        max-width: 160px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sticky-price-cb976cb8 {
        font-size: 14px;
        color: #D32F2F;
        font-weight: bold;
    }
    .sticky-cta-btn-cb976cb8 {
        background-color: #D32F2F !important;
        color: #FFFFFF !important;
        border: none !important;
        border-radius: 4px !important;
        padding: 12px 24px !important;
        font-size: 15px !important;
        font-weight: bold !important;
        cursor: pointer !important;
        flex-grow: 1;
        text-align: center;
        transition: background-color 0.2s ease;
    }
    .sticky-cta-btn-cb976cb8:hover {
        background-color: #B71C1C !important;
    }
    /* Offset body bottom to prevent overlap with sticky bar */
    body {
        padding-bottom: 75px !important;
    }
}
