/**
 * Utility & Helper Classes
 * Contains: Extracted inline styles converted to reusable classes
 * Version: 1.0
 * Last Updated: 2026-02-10
 */


/* ========================================
   Dropdown Arrow Icons
   ======================================== */


/* ========================================
   Tybar (App Download Banner)
   ======================================== */


/* ========================================
   Loader Spinner
   ======================================== */
.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loader.active {
    display: flex;
}

.cv-spinner {
    text-align: center;
}

.cv-spinner .spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(187, 31, 42, 0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ========================================
   Login Button Responsive
   ======================================== */
@media only screen and (max-width: 380px) {
    .btn-login li a {
        padding: 8px 10px !important;
    }
}

/* ========================================
   Product Image Responsive Fixes
   ======================================== */
@media only screen and (max-width: 1199px) {}



/* ========================================
   Banner Carousel Fixes
   ======================================== */
.carousel-item.background_bg::before {
    background: unset !important;
}


/* ========================================
   Apple Pay Modal
   ======================================== */
.modal.apple-pay-modal {
    top: 100px;
}

.modal-header.flow-display {
    display: flow;
}

.modal-body .text-center #success {
    display: none;
}

/* ========================================
   Scroll to Top Button
   ======================================== */



/* ========================================
   Mobile Dropdown Fixes (RTL)
   ======================================== */
@media only screen and (max-width: 575px) {

    [dir="rtl"] .ddcommon .ddTitleText img,
    [dir="rtl"] .header_list>li i {
        margin-left: 18px !important;
    }
}

/* ========================================
   Facebook Pixel Image
   ======================================== */
noscript img[height="1"][width="1"] {
    display: none;
}

.cart-drawer.open {
    left: 0;
}

.pr_flash {
    background: #bb1f2a;
    color: white;
    border-radius: 4px;
    padding: 0px 8px 0px 8px;
}

.flash_sale {
    color: #fff;
    font-size: 13px;
    right: 0px;
    padding: 2px 8px;
    position: absolute;
    text-transform: uppercase;
    bottom: 180px;
    z-index: 1;
    width: 65px;
}

.unverified-badge {
    width: fit-content;
}

.timer-container {
    display: flex;
    gap: 6px;
    align-items: center;
}

.time-box {
    background: #c62828;
    color: #ffffff;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    min-width: 42px;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

/* Product details specific sizing */
.product-details-timer .time-box {
    padding: 10px 10px;
    font-size: 13px;
    min-width: 65px;
}

@media(max-width:767px) {
    .time-box {
        padding: 4px 6px;
        font-size: 12px;
        min-width: 35px;
    }

    .product-details-timer .time-box {
        padding: 10px 12px;
        font-size: 16px;
        min-width: 55px;
    }
}

/* ========================================
   Owl Carousel Initialization Fixes (CLS)
   ======================================== */
.owl-carousel:not(.owl-loaded) .item {
    display: none;
}

.owl-carousel:not(.owl-loaded) .item:first-child {
    display: block;
}

.shop_banner_slider {
    min-height: 200px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .shop_banner_slider {
        min-height: 400px;
    }
}