/* Responsive Styles for Awabid Collection */

/* Base styles that apply to all screens */
.banner {
    background-color: #f0f0f0;
    padding: 30px 0;
}

.banner__item__pic img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.banner__item__text h2 {
    color: #e84545;
    font-size: 24px;
    font-weight: bold;
}

.banner__item__text a {
    color: #fff;
    background-color: #e84545;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.banner__item__text a:hover {
    background-color: #d03535;
}
.rtl-layout .shop__sidebar__accordion .card-heading a:after{
    left: 0;
    right: 90%;
}
/* Large desktops and laptops */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }

    .hero h2 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .banner__item__text h2 {
        font-size: 28px;
    }

    .navbar-collapse.show {
        background-color: white !important;
    }

}

/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .banner__item__text h2 {
        font-size: 22px;
    }


    .product__item__text_new h6 {
        font-size: 16px;
    }

    .product__item__text_new h5 {
        font-size: 18px;
    }

    .categories__text h2 {
        font-size: 28px;
    }

}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
    .collapse {
        background-color: white !important;
    }

    .banner .row {
        display: flex;
        flex-wrap: wrap;
    }

    .navbar-collapse {
        box-shadow: 0 10px 10px black !important;
        top: 73px !important;
    }

    .banner .col-lg-7,
    .banner .col-lg-5 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .banner__item__text h2 {
        font-size: 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .product__filter .col-lg-3 {
        width: 50%;
    }

    .categories__text h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .categories .row {
        flex-direction: column;
    }

    .categories .col-lg-3,
    .categories .col-lg-4 {
        width: 100%;
        margin-bottom: 30px;
    }

    .instagram__text {
        padding: 20px;
    }

    .contact__text .section-title h2 {
        font-size: 34px;
        text-align: center;
    }

    .section-title {
        padding-bottom: 0;
    }

    .site-btn {
        width: 100%;
    }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
    .hero h2 {
        font-size: 28px;
    }

    .navbar-collapse {
        box-shadow: 0 10px 10px black !important;
        top: 73px !important;

    }

    .hero p {
        font-size: 16px;
    }

    .collapse {
        background-color: white !important;
    }

    .banner .col-lg-7,
    .banner .col-lg-5 {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .banner__item__text {
        padding: 15px;
    }

    .banner__item__text h2 {
        font-size: 18px;
    }

    .product__filter .col-lg-3 {
        width: 100%;
    }

    .filter__controls li {
        margin-right: 10px;
        font-size: 14px;
    }

    .categories .row {
        flex-direction: column;
    }

    .categories .col-lg-3,
    .categories .col-lg-4 {
        width: 100%;
        margin-bottom: 30px;
    }

    .instagram__pic {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram__text h2 {
        font-size: 22px;
    }

    .contact__text .section-title h2 {
        font-size: 34px;
        text-align: center;
    }

    .site-btn {
        width: 100%;
    }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
    .hero h2 {
        font-size: 24px;
    }

    .navbar-collapse {
        box-shadow: 0 10px 10px black !important;
        top: 73px !important;

    }

    .collapse {
        background-color: white !important;
    }

    .hero p {
        font-size: 14px;
    }

    .banner__item__text h2 {
        font-size: 16px;
    }

    .banner__item__text a {
        padding: 8px 15px;
        font-size: 14px;
    }

    .filter__controls {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter__controls li {
        margin: 5px;
        font-size: 12px;
    }

    .categories__text h2 {
        font-size: 20px;
    }

    .categories__deal__countdown h2 {
        font-size: 20px;
    }

    .hot__deal__sticker h5 {
        font-size: 18px;
    }

    .instagram__pic {
        grid-template-columns: 1fr;
    }

    .contact__text .section-title h2 {
        font-size: 38px;
        text-align: center;
    }

    .site-btn {
        width: 100%;
    }
}

/* For RTL support (Arabic language) */
html[dir="rtl"] .banner__item__text {
    text-align: right;
}

html[dir="rtl"] .filter__controls li {
    margin-right: 0;
    margin-left: 15px;
}



/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .banner {
        background-color: #2a2a2a;
    }

    .banner__item__text h2 {
        color: #ff6b6b;
    }

    .product__item__text_new h6 {
        color: #f0f0f0;
    }
}