/* ============================================ */
/* GADGETSBAZAR - COMPLETE WORKING CODE */
/* HEADER LOGO + FOOTER COMPACT + SLIDING BANNERS FIXED */
/* ============================================ */

/* ============================================ */
/* FIX LOGO SIZE */
/* ============================================ */

.logo img,
.site-logo img,
.custom-logo,
.header-logo img {
    max-width: 120px !important;
    width: 100% !important;
    height: auto !important;
}

@media (max-width: 991px) {
    .logo img,
    .site-logo img,
    .custom-logo,
    .header-logo img {
        max-width: 100px !important;
    }
}

@media (max-width: 575px) {
    .logo img,
    .site-logo img,
    .custom-logo,
    .header-logo img {
        max-width: 80px !important;
    }
}

/* ============================================ */
/* MAKE FOOTER COMPACT & SMALLER */
/* ============================================ */

.footer-area,
.footer-top,
.footer-middle,
.footer-bottom {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.footer-widget {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-widget .title,
.widget-contact .title {
    font-size: 14px !important;
    margin-bottom: 8px !important;
}

.footer-widget p,
.footer-widget ul li a,
.widget-contact ul li a {
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.footer-widget ul {
    gap: 4px !important;
}

.footer-widget ul li {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer-widget .logo img,
.footer-logo img {
    max-width: 100px !important;
    margin-bottom: 10px !important;
}

.footer-copyright {
    padding: 12px 0 !important;
}

.footer-copyright p {
    font-size: 11px !important;
    margin: 0 !important;
}

.newsletter-widget {
    margin-bottom: 0 !important;
}

.subscribe-form input,
.subscribe-form button {
    height: 35px !important;
    font-size: 12px !important;
}

.footer-widget .social-icons li a i {
    width: 25px !important;
    height: 25px !important;
    line-height: 25px !important;
    font-size: 12px !important;
}

/* ============================================ */
/* FIX SLIDING BANNERS - VISIBLE & PROPER SIZE */
/* ============================================ */

.hero-slider,
.banner-slider,
.slider-wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.banner-slider .owl-item img,
.hero-slider img,
.slider-wrapper img,
.owl-carousel img {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: cover !important;
}

/* Desktop large */
@media (min-width: 1400px) {
    .banner-slider .owl-item img,
    .hero-slider img,
    .slider-wrapper img {
        max-height: 550px !important;
    }
}

/* Desktop medium */
@media (min-width: 992px) and (max-width: 1399px) {
    .banner-slider .owl-item img,
    .hero-slider img,
    .slider-wrapper img {
        max-height: 450px !important;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .banner-slider .owl-item img,
    .hero-slider img,
    .slider-wrapper img {
        max-height: 350px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .banner-slider .owl-item img,
    .hero-slider img,
    .slider-wrapper img,
    .owl-carousel img {
        max-height: 200px !important;
    }
}

/* Small phone */
@media (max-width: 480px) {
    .banner-slider .owl-item img,
    .hero-slider img,
    .slider-wrapper img,
    .owl-carousel img {
        max-height: 150px !important;
    }
}

/* Fix slider navigation arrows */
.owl-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

.owl-prev,
.owl-next {
    pointer-events: auto !important;
    background: rgba(0,0,0,0.5) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.owl-prev:hover,
.owl-next:hover {
    background: #FF6B35 !important;
    color: white !important;
}

/* Fix dots navigation */
.owl-dots {
    text-align: center !important;
    margin-top: 10px !important;
    position: relative !important;
    z-index: 10 !important;
}

.owl-dot span {
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px !important;
    background: #ccc !important;
    display: inline-block !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.owl-dot.active span {
    background: #FF6B35 !important;
    width: 12px !important;
    height: 12px !important;
}

/* Hide arrows and adjust dots on mobile */
@media (max-width: 767px) {
    .owl-nav {
        display: none !important;
    }
    
    .owl-dots {
        position: absolute !important;
        bottom: 10px !important;
        left: 0 !important;
        right: 0 !important;
        margin-top: 0 !important;
    }
    
    .owl-dot span {
        width: 8px !important;
        height: 8px !important;
        background: rgba(255,255,255,0.7) !important;
    }
    
    .owl-dot.active span {
        background: #FF6B35 !important;
        width: 10px !important;
        height: 10px !important;
    }
}

/* ============================================ */
/* FIX OVERLAPPING TEXT ON HOMEPAGE */
/* ============================================ */

.product-card .title,
.category-card .title,
.product-title,
.category-title {
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 768px) {
    .product-card .title,
    .category-card .title,
    .product-title,
    .category-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
        max-height: 35px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    .product-card,
    .category-card {
        padding: 8px !important;
    }
}

/* ============================================ */
/* ENSURE SLIDER CONTAINER WORKS */
/* ============================================ */

.owl-carousel.owl-loaded {
    display: block !important;
}

.owl-carousel .owl-stage-outer {
    overflow: hidden !important;
}

.hero-slider,
.banner-slider {
    visibility: visible !important;
    opacity: 1 !important;
}