@import url(theme.css);

.shop-section{
    display: flex;
}

.shop-sidebar{
    width: 25%;
}

.shop-list{
    width: 74%;
}

.sortbar{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}

.sortbar p{
    padding: 8px 12px;
    background: #f2f2f2;
    border-radius: 5px;
    margin: 0px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

.sortbar h3{
    font-size: 20px;
}

.sortbar span{
    font-weight: 600;
    text-transform: capitalize;
}

.sortbar select{
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
}

.sortbar select option{
    font-size: 14px;
    font-weight: 500;
}

.sortbar select:focus-visible{
    outline: none;
}

.shop-product-list{
    row-gap: 15px;
    justify-content: start;
}

.shop-product{
    width: 248px;
}

.shop-product .team-member-thumbnail{
    width: 195px;
    height: 195px;
}

.shop-privacy-text{
    padding: 20px;
    border: 1px solid #e5e5e5;
    margin-top: 30px;
}

.shop-privacy-text p{
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    margin: 0px;
}

.shop-privacy-text ul{
    padding-left: 18px;
    margin-top: 20px;
}

.shop-privacy-text ul li{
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

.shop-category-box{
    border: 2px solid #ed1c24;
    border-radius: 5px;
    padding: 15px;
}

.shop-category-box h3{
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
}

.shop-category-box ul {
    margin: 0px;
    padding: 0px;
}

.shop-category-box ul li {
    list-style: none;
    padding: 3px 0;
}

.shop-category-box ul li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

.shop-category-box ul li a:hover {
    color: #ed1c24;
}

.sub-category-dropdown {
    padding-left: 10px !important;
    margin-top: 6px !important;
}

.sub-category-dropdown li {
    list-style: none;
    padding: 3px 0;
}

.sub-category-dropdown li a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
}

.sub-category-dropdown li:last-child {
    border-bottom: 0px;
    padding-bottom: 0px;
}

.subcategory-inner-dropdown {
    padding: 1px 4px;
    background-color: transparent;
    font-size: 18px;
    color: #b3b3b3;
    font-weight: 500;
    line-height: 1;
    border: none;
}

.price-filter, .m-v-p{
    margin-top: 30px;
}

.price-filter h3, .m-v-p h3{
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
}

.price-range-slider {
    width: 100%;
    padding: 10px 20px 10px 0px;
}

.price-range-slider .range-value {
    margin: 0;
}

.price-range-slider .range-value input {
    width: 100%;
    background: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    border: none;
    margin-bottom: 10px;
}

.price-range-slider .rc-slider {
    margin: 0 8px;
}

.price-range-slider .rc-slider-track {
    background: #fff;
}

.price-range-slider .rc-slider-handle {
    border: 2px solid #ed1c24;
    height: 17px;
    width: 17px;
    margin-top: -7px; /* Adjust handle position if needed */
    background: #ed1c24;
    cursor: pointer;
}

.shop-offer-banner{
    width: 100%;
    height: 330px;
    background: #FFD800 url('https://prestashop.coderplace.com/PRS02/PRS02044/demo/modules/cp_leftbanner1/views/img/left-banner-1.jpg');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: bottom center;
    margin: auto;
    margin-top: 30px;
    border-radius: 5px;
    transition: background-size 0.5s ease-in-out;
}

.shop-offer-banner:hover{
    background-size: 85%;
}

.shop-offer-banner p{
    margin: 0px;
    text-align: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #ed1c24;
    text-align: center;
    padding-top: 30px;
}

.shop-offer-banner h3{
    font-size: 26px;
    font-weight: 500;
    text-align: center;
}

.side-product-card{
    display: flex;
    justify-content: space-between;
}

.side-product-img{
    width: 25%;
    border: 1px solid #e5e5e5;
    text-align: center;
    position: relative;
}

.side-roduct-detail{
    width: 72%;
}

.side-product-img img{
    object-fit: cover;
}

.sale-tag{
    width: fit-content;
    line-height: 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 400;
    padding: 3px 7px;
    background-color: #e05c0b;
    color: #fff;
    position: absolute;
    left: 10px;
    top: 10px;
}

.new-tag{
    width: fit-content;
    line-height: 14px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 400;
    padding: 3px 7px;
    background-color: #f5f5f5;
    color: #000;
    position: absolute;
    left: 10px;
    top: 40px;
}

.side-product-card:hover .new-tag{
    display:none;
}

.side-product-card:hover .sale-tag{
    display:none;
}

.side-roduct-detail h3{
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}

.side-roduct-detail h3 a{
    text-decoration: none;
    color: #000;
}

.shop-product-list{
    gap: 0.5rem;
}

@media only screen and (max-width: 1366px) {
    .shop-product{
        width: 210px;
    }
    .shop-product .team-member-thumbnail{
        width: 165px;
        height: 165px;
    }
    .shop-product .add-cart-btn{
        width: 100%;
    }
    .shop-offer-banner{
        height: 300px;
    }
    .shop-product-list{
        gap: 0.9rem;
    }
}

@media only screen and (max-width: 1024px) {
    .shop-product{
        width: 220px;
    }
    .shop-product .team-member-thumbnail{
        width: 165px;
        height: 165px;
    }
    .shop-product .add-cart-btn{
        width: 100%;
    }
}

@media only screen and (max-width: 990px) {
    .shop-section{
        display: block;
    }
    .shop-list, .shop-sidebar  {
        width: 100%;
    }
    .shop-category-box{
        display: none;
    }

    .shop-sidebar {
        margin-bottom: 20px;
    }
    .shop-offer-banner{
        display: none;
    }
    .shop-product-list{
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .shop-section{
        margin: 0px 10px;
    }
    .sortbar{
        justify-content: center;
    }
    .sortbar p{
        display: none;
    }
    .shop-product {
        width: 160px;
    }
    .shop-product .team-member-thumbnail {
        width: 135px;
        height: 135px;
    }
    .sortbar h3{
        margin-bottom: 10px !important;
        text-align: center;
    }
    
}

.search-result-pag-btn{
    color: #ed1c24 !important;
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    text-decoration: none;
}

.active .search-result-pag-btn{
    background-color: #ed1c24 !important;
    color: #fff !important;
}

.pagination .page-item.active .search-result-pag-btn {
    background-color: red !important;
    color: white; /* Optional: to make the text color contrast better */
}

