/* Search Page  */
/* Base mobile layout for sidebar and product grid */
@media (max-width: 991.98px) {
    /* Stack sidebar above products */
    .col-3,
    .col-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .fixed-sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        border-right: none !important;
        padding: 15px;
        margin-bottom: 20px;
        background-color: #fff;
        border: 1px solid #eee;
        border-radius: 10px;
    }

    .sidebar-area {
        padding: 0;
    }

    /* Product grid: 2 per row */
    .col-xl-2 {
        flex: 0 0 48% !important;
        max-width: 48% !important;
        margin-right: 4%;
        margin-bottom: 15px;
    }

    .col-xl-2:nth-child(2n) {
        margin-right: 0;
    }

    /* Ensure better spacing */
    .product-grid_wrapper {
        padding: 10px !important;
    }

    .product-grid_wrapper h3 {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .product-grid_wrapper .price {
        font-size: 14px;
        float: none;
        display: block;
        margin-top: 5px;
    }

    .star-rating {
        font-size: 12px;
        float: none;
        margin-top: 5px;
    }

    .product-action {
        flex-direction: column;
        gap: 6px;
    }

    .product-img {
        border-radius: 10px;
    }

    .product-action .action-text {
        display: none;
    }

    .product-action .icon {
        font-size: 18px;
    }

    .th-product .product-action a {
        display: block;
        max-width: 36px;
        margin-bottom: 9px;
        font-size: 10px;
        font-weight: 500;
        color: var(--white-color);
        overflow: hidden;
        position: relative;
        background: var(--white-color);
        margin-left: auto;
        transition: all 0.5s ease 0s;
        opacity: 0;
        visibility: visible;
        transform: translateX(60px);
        transition-delay: 0s;
    }
}

/* Extra small screens: 1 product per row */
@media (max-width: 575.98px) {
    .col-xl-2 {
        flex: 0 0 50% !important;
        max-width: 100% !important;
        margin-right: 0;
    }
}

/* Social Icons */
.floating-social-icons {
    z-index: 1100;
}

.floating-social-icons a {
    display: block;
    margin-bottom: 8px;
}

/* Conatct Page Banner Overlay  */

@media (max-width: 991.98px) {
    .breadcumb-wrapper {
        position: relative;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: white;
        padding: 60px 20px;
    }

    .breadcumb-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5); /* overlay only on small screens */
        z-index: 0;
    }

    .breadcumb-wrapper .container,
    .breadcumb-content {
        position: relative;
        z-index: 1;
    }

    .breadcumb-title {
        font-size: 28px;
        text-align: center;
        color: #ffffff;
    }

    .breadcumb-menu {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        margin: 10px 0 0;
        list-style: none;
        font-size: 14px;
    }

    .breadcumb-menu li::after {
        content: "/";
        margin-left: 8px;
    }

    .breadcumb-menu li:last-child::after {
        content: none;
    }

    .breadcumb-menu li {
        color: #ffffff;
    }

    .th-product .product-action a {
        display: block;
        max-width: 36px;
        margin-bottom: 9px;
        font-size: 10px;
        font-weight: 500;
        color: var(--white-color);
        overflow: hidden;
        position: relative;
        background: var(--white-color);
        margin-left: auto;
        transition: all 0.5s ease 0s;
        opacity: 0;
        visibility: visible;
        transform: translateX(60px);
        transition-delay: 0s;
    }
}
