@media only screen and (min-width:1367px) {
    .desktop-c {
        width: 1400px;
    }
}
@media only screen and (min-width:320px) and (max-width:991px) {
    
.deals_bottom_product_inner {
    grid-template-columns: 1fr 1fr;
}

}

@media only screen and (min-width:992px) and (max-width:1040px) {
    
.deals_bottom_product_inner {
    grid-template-columns: 1fr 1fr 1fr;
}


}

@media only screen and (min-width:320px) and (max-width:991px) {
    .delivery-info {
        font-size: 10px;
    }
    
    div#wishlist {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vcart-inner {
        padding: 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .discount p {
        left: 6px;
    }
    
    .product__details__grid {
        display: flex;
        flex-wrap: wrap-reverse;
        gap: 10px;
    }
    
    .Confram_btn {
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        padding: 18px;
        background-color: #fff;
    }
    
    .proCheckout {
        padding-right: 12px;
        position: fixed;
        background: #fff;
        width: 100%;
        z-index: 999;
    }

    .navigation.cartTable {
        width: 100vw;
        max-width: none;
    }

    .navigation.cartTable .cart__area {
        padding-bottom: calc(95px + env(safe-area-inset-bottom));
    }

    .navigation.cartTable .proCheckout {
        padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }
    
    .indicator_thumb {
        display: block;
        overflow-x: scroll;
        white-space: nowrap;
        max-width: 347px;
        scrollbar-width: auto;
        overflow-y: hidden;
    }
    .auth-card {
        padding: 21px 15px !important;
    }
    .panel.panel--right {
        order: 3 !important;
        padding: 15px;
    }
    .auth-wrap {
        padding: 0;
    }
    .or{
        order:2 !important;
    }
    
    .panel {
        order: 1 !important;
    }
     .quick-view {
        right: 14px !important;
    }
    .desktop-c {
        width: 97% !important;
    }
    li.mobile_home img {
        width: 35px;
        margin-right: 5px;
        margin-top: 7px;
    }
    .company-all-rules {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .main_slider .owl-dots {
        position: absolute;
        transform: translate(-50%, -50%);
        left: 50%;
        top: 108%;
        width: 100%;
    }
    .text-center {
        text-align: center!important;
        margin: 0px 0;
    }
    .company-rule {
        font-size: 13px;
        background: #fff;
        text-align: left;
        padding: 10px;
    }
    .image_nav_btn i {
    
        display: none;
    }
    .chuckout_inner_item {
        padding: 10px;
        /* display: flex; */
        /* flex-direction: column-reverse; */
        padding-top: 0px;
    }
    
    .main__data__quick {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .modal-view {
        width: calc(100% - 15px) !important;
        height: 100%;
        overflow: auto;
    }
    .quantity .plus {
        font-size: 25px !important;
    }
    .wishlist_store.details__wish {
        /* width: 43px !important; */
        height: 40px !important;
        margin: 12px 0 0 5px !important;
    }
    .indicator-item {
       
        height: 70px;
        display: inline-block;
        width: 100px !important;
    }
    
    .thumb_slider .owl-item {
        transform: rotate(0deg) !important;
    }
    button.hover-zoom.wishlist_store i {
        width: 34px;
    }
    td.text-left a {
        font-size: 9px;
    }
    .mobile-quantity {
        display: flex;
        flex-wrap: wrap;
    }
    .add_cart_btn, .add_cart_btn:disabled {
        color: #fff;
        background-color: var(--primary-color);
        border: 1px solid var(--primary-color);
        border-radius: 0;
        height: 40px;
        margin-top: 13px;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 500;
        width: auto;
    }
   .navigation {
        width: 100%;
        box-shadow: none;
    }
    .main__items_sidebar {
        display: grid;
        grid-template-columns: 25% 42% 30%;
        padding: 4px 0px 4px 4px;
        gap: 2px;
    }
    .order_now_btn, .order_now_btn:disabled {
        font-size: 12px;
        color: #fff;
        background-color: var(--secondary-color);
        border: 1px solid var(--secondary-color);
        border-radius: 3px;
        margin-left: 5px;
        height: 40px;
        margin-top: 13px;
        border-radius: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        font-weight: 500;
        width: auto;
    
    }
    button.checkout_btn {
    
        font-size: 12px;
    }
    .stock_out {
        gap: 4px;
    }
    .stock_out p {
        font-size: 12px;
     
    }
    
    .slider-item {
        margin-top: 0px;
        height: 180px;
    }
    .slider-item img {
        object-fit: cover;
    }
    
    .main-devider {
        display: flex;
        flex-direction: column;
    }
    .pro_name {
        height: 44px;
        overflow: hidden;
    }
    .brand-sliders {
        grid-template-columns: repeat(4, 1fr);
    }
    .main-index-page {
        flex-direction: column;
    }
    .index-menu {
        display: none;
    }
    .index-slider {
        width: 100%;
    }
    .index-right-slider {
        width: 100%;
    }
    li.cat_bar {
        width: 270px;
    }
    .offer-card {
        margin: 0 auto;
    }
    .offer-container {
        justify-content: center;
        flex-direction: column;
    }
    .category-sliders {
        grid-template-columns: repeat(3, 1fr); 
    }
    .category-sliders-top{
        grid-template-columns: repeat(3, 1fr);
    }
    .category-products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        overflow: hidden;
    }
    .news-headline.mobile {
        display: none;
    }
    .headline-inner {
        margin-top: 7px;
        margin-bottom: -12px;
    }
    .top-bar {
        display: none;
    }
    .slider-des h5 {
        font-size: 13px;
        margin-top: 7px;
        margin-bottom: 2px;
    }

    
    .slider-des {
        padding-left: 0px;
    }
    .slider-des h4 {
        font-size: 15px;
        font-weight: 500;
        padding-right: 0px;
        color: #5c5c5c;
        line-height: 18px;
        margin-bottom: 13px;
        margin-top: 12px;
    }
    .slider-des a {
        background: var(--secondary-color);
        padding: 7px 16px;
        font-size: 14px;
        border-radius: 10px;
        color: #fff;
    }
    .slider-img img {
        padding: 0px;
        width: 100% !important;
    }
    .main-search form button {
        height: 40px;
        width: 20% !important;
        color: var(--secondary-color);
        right: 0;
        border-radius: 0 5px 5px 0;
        top: 0;
        position: absolute;
        border-radius: 0px 20px 20px 0px;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .news-section {
        padding-bottom: 8px;
        margin-left: 18px;
        margin-right: 18px;
    }
    .main-search form input {
        width: 80% !important;
        padding-left: 15px;
        border: none;
    }
    .main-search form button svg {
    
        color: var(--secondary-color) !important;
    }
    .slider-section {
        background-size: cover !important;
    }
    .main-right-banner {
        margin-top: 10px;
    }
    .shop-banner-slider .owl-item {
        padding: 0px 13px;
        margin-right: 15px !important;
    }
    .shop-item {
        margin-bottom: 14px;
        height: auto;
        box-shadow: 0.5px 0.33px 15px 5px rgba(11, 28, 42, .15);
    }
    .head-multi-shop {
        margin-top: 14px;
    }
    .shop-img img {
        height: 77px;
    }
    .shop-button {
        margin-top: 25px;
    }
    .shop-des h5 {
        font-size: 15px;
    }
    section.special-feature {
        padding-top: 3px;
    }
    .wish-compare {
        top: 26px;
        right: 1px;
    }
    .special-product-price h5 {
        font-size: 27px;
        padding: 0px;
        margin-top: 29px;
    }
    .special-product-price del {
        font-size: 20px;
    }
    .special-offer {
        padding: 20px 30px 0px 30px;
    }
    ul#pills-tab {
        margin-top: 34px;
    }
    .nav-pills .nav-link {
        font-size: 16px;
    }
    .best-saller-right {
        display: none;
    }
    .best-saller-head {
        justify-content: center;
    }
    .cat-img {
        border-radius: 20px;
        height: 90px;
        padding: 12px;
    }
    .cat-name {
        padding: 6px 0;
        font-size: 13px;
    }
    .cat-name a {
        color: #222 !important;
    }
    .special-offer-bottom {
        border: 2px solid var(--secondary-color);
        border-radius: 20px;
        padding: 19px 0px 0px 0px;
        position: relative;
    }
    .special-offer-bottom img {
        height: 250px;
    }
    .special-offer-bottom {
        margin-top: 25px;
        margin-bottom: 25px;
    }
    a.view_more_btn {
        text-align: center;
        float: none;
    }
    .btn-view {
        margin-top: 18px;
    }
    .brand-item img {
        padding: 2px;
    }
    .brand-item {
        height: 74px;
    }
    .big-feature-img img {
        width: 100%;
        object-fit: contain;
    }
    .auth-panels {
        padding: 0px;
    }
    
    .newsletter {
        display: none;
    }
    
    .details_slider {
        height: auto;
    }
    
    .dimage_item img {
        object-fit: contain;
        pointer-events: none;
        height: auto;
        aspect-ratio: 1;
    }
    .checkout-shipping .card-header {
        padding: 15px;
    }
    .coupon-section{
        display: none;
    }
    .pro_img {
        height: 200px;
    }
    .menu-logo {
        height: 40px;
    }

    .logo-item {
        height: 40px;
        text-align: center;
    }

    .product_sliders {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    .footer_nav ul li a span {
        display: block;
        font-weight: 400;
        font-size: 12px;
        color: #fff;
    }
    .footer_nav {
        display: block;
        padding-top:10px;
    }
    .cat_img a {
        display: block;
        height: 100%;
    }

    .cat_img img {
        height: 100%;
    }

    .cat_img {
        height: 50px;
        text-align: center;
    }
    .sidebar-menu {
        display: block;
    }
    .sidebar-menu {
        background: #f5f7f9;
        margin: 0;
        border-radius: 3px;
    }
    li.mobile_home a {
        color: #fff;
    }

    .scrolltop {
        display: none !important;
    }

    .mobile_hide {
        display: none;
    }

    .desktop_hide {
        display: block;
    }
    .sorting-section {
        margin-top: -15px;
    }
    .card-body.cartlist {
        overflow-x: scroll;
    }
    .section-title-header .section-title-name {
        font-size: 15px;
    }

    #content {
        margin-left: 0;
        padding-top: 0;
        padding-bottom: 60px;
    }

    .page-sort {
        padding-right: 6px;
    }

    .showing-data {
        display: none;
    }

    .mobile-filter-toggle {
        display: flex;
        justify-content: center;
        margin: 10px 0;
        align-items: center;
        column-gap: 10px;
        display: none;
    }

    .home-slider-container {
        width: 100%;
        margin-left: 0;
        padding-left: 0px;
    }

    .category-breadcrumb {
        /*justify-content: center;*/
        margin:5px 0px;
    }
    .category-breadcrumb strong {
    font-size: 13px;
    }
    .category-product {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-product.list-items .product_item_inner {
        /*display: initial;*/
    }
    .category-product.list-items .product_item .sort_dis {
        /*display: none;*/
    }
    .category-product.list-items .pro_type_area {
        justify-content: flex-start;
    }
 
    .category-product.list-items .pro_price p {
        text-align: left;
    }
    .category-product.list-items .product_item_inner .pro_img {
        height: 200px;
        flex: 0 0 120px;
    }
    
    .category-product.list-items .pro_btn {
        padding: 0;
        padding-bottom: 15px;
    }
    
    .category-product.list-items .pro_des {
        margin-left: 5px;
    }
    
    .category-product.list-items .list_btn .cart_btn {
        width: 50% !important;
    }
    form.sort-form {
        width: 70%;
        margin: 0 auto;
        margin-top: 15px;
    }
    .mobile-menu.active {
        left: 0;
    }

    .mobile-menu {
        width: 300px;
        left: -300px;
        position: fixed;
        top: 0;
        z-index: 99999;
        background-color: #fff;
        height: 100vh;
        transition: all 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #F5F5F5;
    }

    .mobile-menu::-webkit-scrollbar {
        width: 6px;
        background-color: #F5F5F5;
    }

    .mobile-menu::-webkit-scrollbar-thumb {
        background-color: var(--secondary-color);
    }
    .mobilemenu-bottom {
        border: 1px solid #ddd;
        padding: 0px  22px;
        background: #f6f6f6;
        margin: 15px;
        border-radius: 10px;
    }

    .mobilemenu-bottom ul li {
        display: block;
        padding: 8px 0;
    }
    .mobilemenu-bottom ul li a{
       color: #222;
    }
    .cat_item {
        padding: 5px;
    }
    .cat_name {
        height: 50px;
        overflow:hidden;
    }
    .m-hide {
        display: none !important;
    }
    .footer-menu.use_link_m ul li {
        font-size: 16px;
    }
    .footer-menu.use_link_m ul li a {
        padding: 0 !important;
        margin: 0 !important;
    }
    .footer-menu ul li a {
        margin-bottom: 5px;
    }
    .mobile-search {
        background-color: #fff;
        padding: 0px 6px;
        padding-top: 0;
        display: block;
    }


    .mobile-menu-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        padding: 10px 15px;
        background: var(--secondary-color);
        margin: 14px;
        border-radius: 10px;
    }
    .mobile-menu-logo i {
        background: #fff;
        font-size: 22px;
        height: 40px;
        width: 40px;
        display: flex;
        /* padding: 10px; */
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        color:#000;
    }
    ul.first-nav {
        background-color: #e5e5e55c;
        margin: 15px;
        border-radius: 10px;
    }
    .row-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-right: 13px;
    
    }
    
    .row-flex:last-child {
        border-bottom: 0;
    }
    .mobile-menu-logo a {
        display: flex;
        align-items: center;
        font-size: 20px;
        color: #fff;
        gap: 16px;
    }

    .logo-image img {
        height: 40px;
        width: auto;
    }

    .mobile-menu-close {
        height: 40px;
        width: 40px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .mobile-menu-close i {
        font-size: 22px;
    }

    .first-nav .parent-category {
        display: block;
        line-height: 33px;
    }

    .first-nav .menu-category-list {
        display: block;
    }

    .first-nav .menu-category-list .menu-category-link {
        padding: 10px 0;
        display: block;
        padding-left: 20px;
    }

    .first-nav .parent-category .menu-category-name {
        display: block;
        padding: 10px;
        padding-left: 20px;
        text-transform: capitalize;
        font-weight: 600;
        color: #222;
    }

    .mobile-menu li.parent-category {
        position: relative;
        border-bottom: 1px solid #d4caca;
    }
    .mobile-menu li.parent-category:last-child{
        border-bottom:none;
    }
    .mobile-menu span.menu-category-toggle {
        position: absolute;
        right: 0px;
        top: 0px;
        display: flex;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
    }
    li.parent-category img {
        width: 30px;
        height: 30px;
        border-radius: 4px;
        background: #f1f1f1;
        overflow: hidden;
      
        margin-right: 5px;
    }

    .mobile-menu span.menu-category-toggle.active i {
        transition: transform 0.3s ease;
    }

    .mobile-menu span.menu-category-toggle.active i {
        transform: rotate(180deg);
    }

    .second-nav {
        padding: 0 0px;
        background-color: #fff;
    }

    .second-nav.active {
        min-height: 15px;
    }

    .parent-subcategory {
        display: block;
        position: relative;
        padding: 0px;
    }

    .parent-subcategory .menu-subcategory-name {
        display: block;
        padding: 10px;
        padding-left: 40px;
        font-weight: 600;
    }

    span.menu-subcategory-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        width: 50px;
        height: 50px;
        justify-content: center;
        align-items: center;
    }

    span.menu-subcategory-toggle.active i {
        transition: transform 0.3s ease;
    }

    span.menu-subcategory-toggle.active i {
        transform: rotate(180deg);
    }

    li.childcategory {
        display: block;
    }

    ul.third-nav {
        padding: 0;
        background-color: #f2f2f2;
    }

    li.parent-category.active {
        background-color: rgba(0, 0, 0, .05);
    }

    li.parent-subcategory.active {
        background-color: #fff;
    }

    .menu-childcategory-name {
        display: block;
        padding: 0px;
        padding-left: 60px;
    }

    header .toggle {
        margin-top: 0;
        padding-left: 12px;
        color: #fff;
    }

    .main-search.mobile-search {
        margin-top: 0;
        padding: 15px 30px;
        background-color: var(--secondary-color);
    }
    .main_slider .owl-dots .owl-dot span {
        width: 3px;
        height: 7px;
    }
    .wish-compare-inner {
        display: none;
    }
 
    .main-search.mobile-search form {
        height: 40px;
        border-radius: 25px;
        overflow: hidden;
        background-color: #fff;
        position: relative;
    }
    .mobile-menu-social .mobile-social-list .mobile-social-link {
        border: 2px solid #c0c0c0;
        padding: 5px 13px;
        border-radius: 5px;
        display: block;
    }

    .mobile-menu-social .mobile-menu-social {
        display: flex;
        column-gap: 5px;
        padding-left: 20px;
    }

    .logo-area {
        display: none;
    }

    .menu-area {
        display: none;
    }

    .header-left {
        justify-content: center;
    }

    .header-right {
        display: none;
    }

    .category-item {
        padding: 5px 0;
    }

    .category-item p {
        font-weight: 400;
    }

    .quantity .minus, .quantity .plus {
        height: 48px;
        width: 35px;
        font-size: 35px;
    }
    .review-btn button {
        font-size: 12px;
    }

    .d-flex.single_product.col-sm-6 {
        margin-left: 4px;
        margin-top: 10px;
    }

    .qty-cart {
        width: auto !important;
    }

    .cus-order-2 {
        order: 0;
    }

    .cus-order-1 {
        order: 1;
    }

    .chheckout-section {
        padding: 10px 0;
        padding-top: 0;
    }

    .cart_details {
        margin-bottom: 15px;
    }

    .success-img img {
        width: 200px;
    }

    .main_product_inner {
        grid-template-columns: 1fr 1fr;
    }

    .qty-cart {
        grid-template-columns: 130px auto;
        margin-top: 10px;
        display: flex;
        justify-content: end;
    }

    .quantity .minus {
        width: 30px;
    }

    .quantity .plus {
        width: 30px;
    }

    .compare_store.mobile-show {
        display: block !important;
        line-height: 42px;
        text-align: center;
    }

    .add-to-cart.mobile-fix {
        position: fixed;
        bottom: 64px;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 10px;
        margin: 0 10px;
    }
    .delivery-partner {
        text-align: left !important;
    }
    .footer-top {
        padding: 30px 0;
    }

    .front-view-flex {
        padding: 10px 0px;
    }

    .front_category_title h1 {
        font-size: 20px;
    }

    .front-view-item {
        margin-bottom: 15px;
    }

    .front-view-title a {
        font-size: 13px;
    }

    .home-page-section-title-box h3 {
        font-size: 20px;
    }

    .category-banner-products {
        padding: 20px 5px;
    }

    .flash-product-section .col-sm-4 {
        padding: 10px 10px !important;
    }

    .flash_all {
        margin-top: 10px;
    }

    .slider-section .offset-sm-3 {
        padding-left: 5px;
    }

    .main-header {
        display: none;
    }

    .mobile-header {
        display: block;
        background-color: var(--secondary-color);
    }

    .mobile-top {
        background: #108BC3;
        padding: 8px 0;
    }

    .mobile-top ul {
        text-align: right;
    }

    .mobile-top ul li a {
        color: #fff;
        margin: 0 5px;
    }

   .mobile-logo {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    text-align: center;
    font-size: 16px;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    margin: 0 auto;
}
.cust_info_text h3 {
    font-size: 16px;
    
}
.cust_info_inner {
    padding: 8px;
}
.address-item-wrapper {
    grid-gap: 0px;
     grid-template-columns: 1fr; 
}
.cust_info_text {
    font-size: 12px;
}
    .footer_nav ul {
        margin-top: -8px;
    }

    .fixed-top .mobile-logo {
        margin-bottom: 0px;
    }
    .menu-logo img {
        height: 100%;
        margin-top: 0;
        object-fit: contain;
    }
    /*.dimage_item {*/
    /*    height: 275px;*/
    /*}*/
    .footer-menu {
        padding-left: 20px;
    }

   ul.social_link {
        margin-top: 10px;
    }
    a.mobile-social-link {
        text-align: center !important;
    }

    .search_product {
        position: absolute;
        width: 100%;
        background: #fff;
        z-index: 999999;
        top: 0;
        right: 0;
    }

    .menu-bar {
        margin-top: 0;
    }

    .menu-bag .margin-shopping {
        position: relative;
        width: 30px;
    }

    .menu-bag .margin-shopping span {
        position: absolute;
        display: inline-block;
        background-color: var(--secondary-color);
        height: 20px;
        border-radius: 50px;
        padding: 1px 7px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        top: -10px;
        right: 0;
    }

    .menu-bag .margin-shopping span i.fa-solid.fa-bag-shopping {
        font-size: 22px;
    }

    .menu-bag {
        margin-top: 9px;
        display: flex;
        justify-content: flex-end;
        margin-right: 1px;
    }

    .menu-bag i {
        font-size: 20px;
        color: #fff;
    }

    .menu-bag ul li a {
        margin-right: 15px;
        position: relative;
    }

    .menu-bag .margin-shopping span {
        position: absolute;
        display: inline-block;
        background-color: var(--secondary-color);
        height: 19px;
        border-radius: 50px;
        padding: 1px 6px;
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        top: -9px;
        right: -9px;
    }
    .slider-section {
        margin: 15px 0;
    }
   .slider-item {
    margin-top: 0px;
    height: auto;
}
    /*.banner-right {*/
    /*    display: grid;*/
    /*    grid-template-columns: 1fr 1fr;*/
    /*    gap: 15px;*/
    /*    margin-top: 15px;*/
    /*}*/
    .banner-right .item-1 {
        margin-bottom: 0;
    }
    
    button.owl-next,button.owl-prev {
        font-size: 22px !important;
    }
    
    .cat-img {
        height: 101px;
        border-radius: 5px;
        padding: 7px;
    }
    
    .section-title h3 {
        font-size: 14px;
        font-weight: 600;
    }
    
    .category-title h3 {
        font-size: 14px;
    }
    
    .footer_nav ul li i {
        font-size: 20px;
        width: 35px;
        height: 35px;
        padding: 9px;
        border-radius: 7px;
    }

    .footer-bottom {
        padding: 12px 0;
        padding-bottom: 97px;
    }
    
    .footer-about p {
        margin: 0px 0px;
    }
    
    .footer-menu .title {
        margin-top: 15px;
    }
    
    .footer-about {
        padding-left: 20px;
    }
    
    .footer-hotlint{
        margin-bottom: 0;
    }
    
    li.title.text-center {
        text-align: left !important;
    }
    
    .social_link {
        justify-content: left;
    }

    li.mobile_home {
        border: 4px solid #fff;
        margin-top: -27px;
        background: var(--secondary-color);
        padding-top: 9px;
        border-radius: 50%;
        width: 75px;
        height: 75px;
        margin: 0 auto;
        margin-top: -27px;
    }
    
    section.shop-banner {
        margin-top: 20px;
    }
    
    .banner_area {
        display: grid;
        grid-template-columns: 100%;
        gap: 0px !important;
    }
    
    .banner_right_area {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 10px;
    }

    .banner-right-item {
        height: auto;
        aspect-ratio: 2 / 1;
    }
    
    p.d-banner-title {
        margin-top: 10px !important;
        padding-bottom: 14px;
        height: 42px;
        line-height: 20px;
        overflow: hidden;
    }
    
    .pro_btn button {
        padding: 1px 0px;
        font-size: 14px;
    }
    .cart_btn a, .cart_btn button {
        gap: 5px !important;
    }   
   .cart_btn a {
        font-size: 14px;
    }
    .mobile_home span i {
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        margin-right: 22px;
    }

    a.view_more_btn {
        text-align: right;
        float: right;
        background: var(--secondary-color);
        text-transform: capitalize;
        font-size: 15px;
        padding: 7px 15px;
        color: #fff;

        border-radius: 50px;
    }

    .section-title-left h4 {
        font-size: 16px;
    }

    .section-title-right a {
        font-size: 13px;
    }

    .product-info .name {
        height: 70px;
    }
    .offer-details p {
    font-size: 10px;
 
    }
    a.offer-show {
  
    font-size: 10px;
}
.offer-details h3 {
    font-size: 13px;
    margin: 5px 0;
    height: 25px;
}
.offer-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px 0;
}
.offer-details {
    padding: 16px 5px;
    text-align: center;
}
.offer-card img {
    width: 100%;
    height: 170px;
    object-fit: fill;
}

    .product-info {
        padding: 15px 10px;
    }

    .row>* {
        padding-right: calc(var(--bs-gutter-x) * .3);
        padding-left: calc(var(--bs-gutter-x) * .3);
    }

    .footer-top {
        padding-bottom: 25px;
        padding-top: 25px;
    }


    .category-sidebar {
        position: fixed;
        z-index: 9999;
        width: 100%;
        top: 0;
        background: #fff;
        left: 0;
        visibility: hidden;
        opacity: 0;
        transition: 0.35s all;
    }


    .page-title h5 {
        font-size: 16px;
    }

    .product-section {
        margin-top: 0;
    }

    .sort-form select {
        font-size: 14px;
    }

    .category-sidebar.active {
        visibility: visible;
        opacity: 1;
    }

    .auth-section, .checkout-shipping {
        margin-top: 5px; 
        padding: 0 17px;
    }

    .payment-form .gap-3 {
        gap: 0 !important;
    }
    
    input#otpInput {
        margin-top: 10px;
    }
    
    .closes-modal {
        position: sticky;
        right: 20px;
        top: 20px;
        background: #ddd;
        height: 35px;
        width: 35px;
        border-radius: 50px;
        font-size: 18px;
    }
 
    .details_discount p {
        left: 5px !important;
    }
    .product_note p {
        margin-top: 1px;
    }

    .vcart-section {
        margin-top: 60px;
    }

    .menu-product {
        display: none;
    }
    .details-product {
        padding: 10px 20px 20px 20px;
    }
    .details_right {
        padding: 0px 0px;
    }
    .details-wishlist {
        display: none !important;
    }

    a.details-wishlist.compare_store.cursor {
        display: none !important;
    }
    .fixed_whats {
        display: none;
    }
    .slider-items img {
        height: 100px;
        margin-bottom: 10px;
    }
    .filter_sort {
        display: grid;
        grid-template-columns:1fr;
        align-items: center;
        margin-top: 0px;
    }
    .filter_sidebar {
        position: fixed;
        visibility: hidden;
        opacity: 0;
        top: 30px;
        transition: 0.35s all;
        background: #fff;
    }
    .filter_sidebar.active {
        background: #fff;
        z-index: 9999;
        height: 100%;
        width: 97%;
        top: 2px;
        visibility: visible;
        opacity: 1;
        overflow-y: auto;
    }
    .filter_sidebar.active::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }
    .filter_sidebar.active::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }
    .filter_sidebar.active::-webkit-scrollbar-thumb {
        background-color: var(--secondary-color);
    }
    .filter_btn {
        display: none;
        background: var(--secondary-color);
        color: #fff;
        width: 55px;
        height: 33px;
        line-height: 33px;
        font-size: 17px;
        border: 1px solid #ddd;
        text-align: center;
        text-transform: capitalize;
        cursor: pointer;
    }
    .filter_close {
        background: var(--secondary-color);
        padding: 10px 15px;
        font-size: 18px;
        color: #fff;
        border-radius: 5px;
        margin: 8px 0;
        cursor: pointer;
        display: block;
    }
}

@media only screen and (min-width:567px) and (max-width:768px) {
    .banner-right-item {
        height: auto;
    }
}

@media only screen and (min-width:767px) and (max-width:991px) {
    .menu-product {
        display: none;
    }
    
    .menu-area {
        display: none;
    }
    
    .desktop-c {
        width: 90%;
        margin: 0 auto;
    }

}

/* Category, subcategory, child category, brand and search result grids */
@media only screen and (min-width: 577px) and (max-width: 1199px) {
    .responsive-listing-page .sorting-section > .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(200px, 220px);
        align-items: start;
        gap: 15px;
    }

    .responsive-listing-page .sorting-section > .row > [class*="col-sm-"] {
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .responsive-listing-page .sorting-section > .row > .col-sm-6:last-child > .row {
        display: block;
        margin: 0;
    }

    .responsive-listing-page .sorting-section > .row > .col-sm-6:last-child > .row > [class*="col-sm-"] {
        width: 100%;
        padding: 0;
    }

    .responsive-listing-page .sorting-section .showing-data {
        display: none;
    }

    .responsive-listing-page .category-sliders,
    .responsive-listing-page .category-sliders-top {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .responsive-product-grid:not(.list-items) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 576px) {
    .responsive-listing-page .sorting-section > .row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .responsive-listing-page .sorting-section > .row > [class*="col-sm-"] {
        width: 100%;
        min-width: 0;
    }

    .responsive-listing-page .category-sliders,
    .responsive-listing-page .category-sliders-top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .responsive-listing-page .cat-img {
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

    .responsive-product-grid:not(.list-items) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 576px) {
    .address-form-modal .modal-dialog { width: 100%; max-width: none; min-height: 100%; margin: 0; align-items: stretch; }
    .address-form-modal .modal-content { min-height: 100vh; border-radius: 0; }
    .address-form-modal .modal-body { padding: 10px; }
    .address-form-card { padding: 15px; }
    .address-form-modal .btn-close { display: none; }
    .profile-photo-card { align-items: flex-start; padding: 15px; }
    .profile-photo-preview { width: 68px; height: 68px; flex-basis: 68px; }
    .profile-form-grid { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
    .profile-field--wide { grid-column: auto; }
    .profile-form-actions { bottom: 5px; }
    .profile-form-actions a, .profile-form-actions button { flex: 1 1 50%; }
}

@media only screen and (max-width: 991px) {
    .customer-panel-layout { grid-template-columns: 1fr; }
    .customer-panel-sidebar { position: static; }
    .customer-panel-sidebar .customer-sidebar { max-height: none; }
    .order-view-grid { grid-template-columns: 1fr; }
}

@media only screen and (max-width: 991px) {
    .main-details-page .product__details__grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        flex-wrap: initial;
        gap: 8px;
    }

    .main-details-page .details-thumb-wrapper,
    .main-details-page .details-thumb-wrapper.has-navigation {
        width: 100%;
    }

    .main-details-page .details-thumb-wrapper .indicator_thumb {
        display: flex;
        width: 100%;
        max-width: none;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .main-details-page .details-thumb-wrapper .indicator-item {
        display: block;
        min-width: calc((100% - 18px) / 4);
        max-width: calc((100% - 18px) / 4);
        width: calc((100% - 18px) / 4) !important;
        height: auto;
        flex: 0 0 calc((100% - 18px) / 4);
        aspect-ratio: 1 / 1;
    }

    .main-details-page .details-thumb-wrapper .image_nav_btn,
    .main-details-page .details-thumb-wrapper .image_nav_btn i {
        display: flex !important;
    }
}

/* Order success keeps the congratulations content but not customer-panel controls. */
@media only screen and (max-width: 767px) {
    #content:has(.success-img) > .customer-mobile-toolbar,
    #content:has(.success-img) > .customer-mobile-drawer,
    #content:has(.success-img) > .customer-mobile-overlay {
        display: none !important;
    }

    .customer-section:has(.success-img) {
        padding: 12px 0 calc(95px + env(safe-area-inset-bottom));
        overflow-x: hidden;
    }

    .customer-section:has(.success-img) .container {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    .customer-section:has(.success-img) .success-img {
        padding: 12px 10px 2px;
    }

    .customer-section:has(.success-img) .success-img img {
        width: min(245px, 68vw);
    }

    .customer-section:has(.success-img) .success-title {
        margin-bottom: 15px;
        padding: 0 8px 18px;
    }

    .customer-section:has(.success-img) .success-title h2 {
        font-size: 21px;
        line-height: 1.35;
    }

    .order-success-page .success-title h1 {
        font-size: 21px;
        line-height: 1.35;
    }

    .order-success-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .order-success-main,
    .order-success-side {
        gap: 12px;
    }

    .customer-section:has(.success-img) h5 {
        font-size: 16px;
    }

    .customer-section:has(.success-img) .success-table {
        width: 100%;
        overflow-x: auto;
        border-radius: 10px;
    }

    .customer-section:has(.success-img) .success-title + h5 + .success-table tbody,
    .customer-section:has(.success-img) .success-title + h5 + .success-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .customer-section:has(.success-img) .success-title + h5 + .success-table td {
        display: block;
        min-width: 0;
    }

    .customer-section:has(.success-img) .success-title + h5 + .success-table td[colspan] {
        grid-column: 1 / -1;
    }

    .customer-section:has(.success-img) .success-table th,
    .customer-section:has(.success-img) .success-table td {
        padding: 10px;
        font-size: 12px;
    }
}

@media only screen and (min-width: 577px) and (max-width: 991px) {
    .category-sliders.home-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}

@media only screen and (max-width: 576px) {
    .category-sliders.home-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
        gap: 8px;
    }

    .home-category-grid .cat-img {
        padding: 8px;
    }

    .home-category-grid .cat-name {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 576px) {
    .customer-panel-page { padding: 10px 0 28px; }
    .customer-panel-page .container { padding-right: 10px; padding-left: 10px; }
    .customer-panel-sidebar { display: none; }
    .customer-page-heading { margin-bottom: 8px; }
    .customer-page-heading h1 { font-size: 20px; }
    .customer-order-tabs { margin-bottom: 12px; }
    .customer-order-tabs button { padding: 7px 13px; }
    .customer-order-card > header, .customer-order-address { padding-right: 12px; padding-left: 12px; }
    .customer-order-meta { grid-template-columns: 1fr; gap: 7px; padding-right: 12px; padding-left: 12px; }
    .customer-order-view { margin-right: 12px; margin-left: 12px; }
    .order-view-grid { gap: 12px; }
    .customer-order-timeline { padding-right: 12px; padding-left: 12px; }
    .order-timeline-item { grid-template-columns: 58px 25px minmax(0, 1fr); gap: 7px; }
    .order-timeline-item:not(:last-child)::after { left: 69px; }
    .order-product-row { grid-template-columns: 54px minmax(0, 1fr) auto; padding: 9px 11px; }
    .order-product-row img { width: 52px; height: 52px; }
}

@media only screen and (max-width: 991px) {
    .account-dashboard-grid { grid-template-columns: 1fr; }
    .account-dashboard-sidebar { position: static; }
    .account-dashboard-sidebar .customer-sidebar { max-height: none; }
    .account-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-content-grid { grid-template-columns: 1fr; }
}

@media only screen and (max-width: 576px) {
    .account-dashboard { padding: 12px 0 30px; }
    .account-dashboard .container { padding-right: 10px; padding-left: 10px; }
    .account-dashboard-sidebar { display: none; }
    .account-welcome-card { align-items: flex-start; flex-direction: column; padding: 20px; }
    .account-avatar { width: 60px; height: 60px; flex-basis: 60px; }
    .account-welcome-card p { font-size: 12px; }
    .account-primary-action { min-height: 38px; }
    .account-stat-grid { gap: 9px; margin: 12px 0; }
    .account-stat-card { gap: 8px; padding: 12px 9px; }
    .account-stat-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .account-stat-card strong { font-size: 17px; }
    .account-info-list { grid-template-columns: 1fr; padding-right: 14px; padding-left: 14px; }
    .account-info-item--wide { grid-column: auto; }
    .account-panel-head { padding: 14px; }
    .account-order-list { padding: 3px 14px 10px; }
    .account-order-row { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 9px; }
    .account-order-row > span:nth-child(3), .account-order-row > span:nth-child(4), .account-order-row > i { display: none; }
}

/* Numbered product pagination stays usable on mobile and split screens. */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .banner-offer .offer-area {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media only screen and (min-width: 577px) and (max-width: 991px) {
    .banner-offer .offer-area {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media only screen and (max-width: 576px) {
    .banner-offer {
        padding: 10px 0 20px;
    }

    .banner-offer .offer-area {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin: 0;
    }

    .banner-offer .offer-card {
        width: 100%;
        margin: 0;
    }

    .banner-offer .offer-details {
        gap: 6px;
        padding: 12px;
    }

    .banner-offer .offer-details p,
    .banner-offer .offer-details h3,
    .banner-offer .offer-details .offer-show {
        font-size: 14px;
    }
}

@media only screen and (max-width: 991px) {
    .responsive-listing-page .listing-toolbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .responsive-listing-page .listing-toolbar-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(180px, 45%);
        gap: 8px;
    }

    .responsive-listing-page .listing-toolbar .showing-data {
        display: flex;
        min-width: 0;
        justify-content: center;
    }

    .responsive-listing-page .listing-toolbar .showing-data span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .responsive-listing-page .listing-toolbar .page-sort {
        width: 100%;
    }
}

@media only screen and (max-width: 1199px) {
    .responsive-listing-page .sorting-section:not(.listing-toolbar) > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .responsive-listing-page .sorting-section:not(.listing-toolbar) .page-sort {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(180px, 45%);
        gap: 8px;
    }

    .responsive-listing-page .sorting-section:not(.listing-toolbar) .sort-result-count {
        display: flex !important;
        min-width: 0;
        align-items: center;
        justify-content: center;
    }

    .responsive-listing-page .sorting-section:not(.listing-toolbar) .sort-result-count span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .responsive-listing-page .sorting-section:not(.listing-toolbar) .sort-form {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .responsive-listing-page .listing-toolbar-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .responsive-listing-page .listing-toolbar .showing-data {
        min-height: 38px;
    }

    .responsive-listing-page .sorting-section:not(.listing-toolbar) .page-sort {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    /* Use the full numbered paginator instead of Laravel's Prev/Next-only mobile row. */
    .infinite-pagination nav > .d-sm-none {
        display: none !important;
    }

    .infinite-pagination nav > .d-none {
        display: flex !important;
        width: 100%;
    }

    .responsive-listing-page .listing-toolbar,
    .responsive-listing-page .listing-toolbar-actions,
    .responsive-listing-page .listing-toolbar .showing-data,
    .responsive-listing-page .listing-toolbar .page-sort {
        visibility: visible !important;
    }

    .responsive-listing-page .listing-toolbar .showing-data {
        display: flex !important;
    }

    .responsive-listing-page .infinite-pagination,
    .product-section .infinite-pagination {
        padding-bottom: 6px;
    }

    .infinite-pagination nav > div:last-child {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .infinite-pagination .pagination {
        justify-content: flex-start;
        margin-right: 0;
        margin-left: 0;
    }

    .infinite-pagination .page-link {
        min-width: 34px;
        padding: 7px 10px;
        text-align: center;
    }
}

/* Stacked home hero remains proportional on tablet and mobile. */
@media only screen and (max-width: 991px) {
    .slider-section .banner_area {
        height: auto;
        aspect-ratio: auto;
    }

    .slider-section .banner_main_area,
    .slider-section .main-index-page,
    .slider-section .index-slider,
    .slider-section .home-slider-container,
    .slider-section .main_slider,
    .slider-section .main_slider .owl-stage-outer,
    .slider-section .main_slider .owl-stage,
    .slider-section .main_slider .owl-item,
    .slider-section .slider-item,
    .slider-section .slider-item > a {
        height: auto !important;
    }

    .slider-section .slider-item {
        aspect-ratio: 2.18 / 1;
    }

    .slider-section .slider-item img,
    .slider-section .banner-right-item img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

    .slider-section .banner_right_area {
        margin-top: 10px;
    }

    .slider-section .banner-right-item {
        height: auto !important;
        aspect-ratio: 2 / 1;
    }
}

/* Final List-view structure: image always left, information always right */
.category-product.list-items .product_item_inner {
    display: grid !important;
    grid-template-columns: 260px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 24px;
}

.category-product.list-items .product_item_inner .pro_img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 260px;
    min-width: 0;
    flex: none !important;
}

.category-product.list-items .product_item_inner .pro_des {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0;
    margin: 0 !important;
}

@media only screen and (min-width: 577px) and (max-width: 1199px) {
    .category-product.list-items .product_item_inner {
        grid-template-columns: 220px minmax(0, 1fr) !important;
        gap: 18px;
    }

    .category-product.list-items .product_item_inner .pro_img {
        height: 220px;
    }
}

@media only screen and (max-width: 576px) {
    .category-product.list-items .product_item_inner {
        grid-template-columns: minmax(110px, 38%) minmax(0, 1fr) !important;
        gap: 10px;
    }

    .category-product.list-items .product_item_inner .pro_img {
        height: clamp(180px, 42vw, 220px);
    }
}

/* Stable quick-view position for every product-card viewport */
.product_item .pro_img > .quick-view,
.product_item_inner:hover .pro_img > .quick-view {
    top: auto !important;
    right: 10px !important;
    bottom: 10px !important;
    left: auto !important;
    z-index: 12;
    width: 38px;
    height: 38px;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.product_item .pro_img > .quick-view .quick-view-inner {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 50%;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background-color .2s ease, box-shadow .2s ease;
}

.product_item .pro_img > .quick-view:hover .quick-view-inner {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 7px 20px rgba(15, 23, 42, 0.22);
}

.product_item .pro_img > .quick-view .quick_view {
    position: relative;
    z-index: 2;
    grid-area: 1 / 1;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    line-height: 1;
    transform: none !important;
}

.product_item .pro_img > .quick-view .quick_view i {
    display: block;
    padding: 0 !important;
    margin: 0;
    color: #008b75;
    font-size: 17px;
    line-height: 1;
    transform: none !important;
}

.product_item .pro_img > .quick-view .quick-view-inner img {
    display: none;
}

/* Compact details layout used by the List tab */
.responsive-product-grid.list-items {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.responsive-product-grid.list-items .product_item_inner {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    padding: 16px;
}

.responsive-product-grid.list-items .product_item_inner .pro_img {
    width: 100%;
    height: 260px;
    min-width: 0;
    flex: none;
}

.responsive-product-grid.list-items .pro_des {
    min-width: 0;
    margin: 0 !important;
    padding: 0 8px 0 0;
    text-align: left;
}

.responsive-product-grid.list-items .pro_name {
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0 0 6px;
    line-height: 1.3;
}

.responsive-product-grid.list-items .pro_name a {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.responsive-product-grid.list-items .pro_code_area {
    display: flex !important;
    width: min(100%, 640px);
    height: auto;
    min-height: 32px;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.responsive-product-grid.list-items .pro_code_area p {
    margin: 0;
    color: #8a8a8a;
    font-size: 13px;
    line-height: 1.4;
}

.responsive-product-grid.list-items .pro_code_copy {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--secondary-color);
    background: #fff;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
}

.responsive-product-grid.list-items .pro_type_area {
    height: auto;
    min-height: 18px;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.responsive-product-grid.list-items .pro_type_area p {
    margin: 0;
    font-size: 14px;
}

.responsive-product-grid.list-items .pro_price {
    margin: 0 0 4px;
}

.responsive-product-grid.list-items .pro_price p {
    margin: 3px 0 0;
    font-size: 30px;
    line-height: 1.25;
    text-align: left;
}

.responsive-product-grid.list-items .pro_price del {
    color: #8a8a8a;
    font-size: 16px;
}

.responsive-product-grid.list-items .pro_brand {
    margin: 4px 0 8px;
}

.responsive-product-grid.list-items .brand_img_area {
    align-items: center;
    gap: 8px;
}

.responsive-product-grid.list-items .brand_img_area p {
    margin: 0;
    font-weight: 600;
}

.responsive-product-grid.list-items .sort_dis {
    max-width: 100%;
    margin: 0 0 8px;
    overflow-wrap: anywhere;
}

.responsive-product-grid.list-items .sort_dis > p {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.4;
}

.responsive-product-grid.list-items .sort_dis ul {
    margin: 0;
    padding-left: 24px;
}

.responsive-product-grid.list-items .sort_dis li {
    line-height: 1.4;
}

.responsive-product-grid.list-items .pro_btn {
    width: min(100%, 370px);
    margin-top: 0;
    padding: 10px 0 0;
}

.responsive-product-grid.list-items .list_btn .cart_btn {
    width: 100% !important;
}

@media only screen and (min-width: 577px) and (max-width: 1199px) {
    .responsive-product-grid.list-items .product_item_inner {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 18px;
        padding: 14px;
    }

    .responsive-product-grid.list-items .product_item_inner .pro_img {
        height: 220px;
    }
}

@media only screen and (max-width: 576px) {
    .responsive-product-grid.list-items .product_item_inner {
        grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        padding: 8px;
    }

    .responsive-product-grid.list-items .product_item_inner .pro_img {
        height: clamp(180px, 42vw, 220px);
    }

    .responsive-product-grid.list-items .pro_des {
        padding: 0 2px 4px 0;
    }

    .responsive-product-grid.list-items .pro_name a {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
    }

    .responsive-product-grid.list-items .pro_name {
        margin-bottom: 4px;
    }

    .responsive-product-grid.list-items .pro_price p {
        font-size: 21px;
    }

    .responsive-product-grid.list-items .pro_code_area {
        width: 100%;
        min-height: 28px;
        gap: 6px;
    }

    .responsive-product-grid.list-items .pro_code_area p {
        font-size: 11px;
    }

    .responsive-product-grid.list-items .pro_code_copy {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .responsive-product-grid.list-items .pro_type_area {
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .responsive-product-grid.list-items .pro_type_area p {
        font-size: 12px;
    }

    .responsive-product-grid.list-items .brand__img {
        width: 60px;
    }

    .responsive-product-grid.list-items .pro_btn {
        width: 100%;
        padding-top: 8px;
    }

    .responsive-product-grid.list-items .pro_brand {
        margin: 3px 0 6px;
    }

    .responsive-product-grid.list-items .sort_dis {
        margin-bottom: 6px;
    }

    .responsive-product-grid.list-items .sort_dis > p {
        font-size: 15px;
    }

    .responsive-product-grid.list-items .sort_dis li {
        font-size: 12px;
    }
}

@media only screen and (max-width: 1199px) {
    .responsive-listing-page .sorting-section > .row {
        align-items: center;
    }

    .responsive-listing-page .sorting-section .filter_sort,
    .responsive-listing-page .sorting-section .page-sort,
    .responsive-listing-page .sorting-section form.sort-form,
    .responsive-listing-page .sorting-section .form-select {
        width: 100%;
        min-width: 0;
    }

    .responsive-listing-page .sorting-section .page-sort {
        padding-right: 0;
    }

    .responsive-listing-page .sorting-section .category-breadcrumb {
        min-height: 38px;
        margin: 0;
        align-items: center;
    }

    .responsive-listing-page .sorting-section .form-select {
        height: 38px;
    }

    .responsive-listing-page .sorting-section form.sort-form,
    .responsive-listing-page .view-wrapper form.sort-form {
        margin: 0;
    }

    .responsive-listing-page .view-wrapper {
        flex: 0 0 auto;
        min-width: 0;
    }

    .responsive-listing-page .view-wrapper form.sort-form {
        display: flex;
        width: max-content;
        max-width: 100%;
        flex-wrap: nowrap;
        align-items: center;
        gap: 12px !important;
    }

    .responsive-listing-page .view-number-input {
        flex: 0 0 68px;
        width: 68px;
    }

    .responsive-listing-page .view-buttons-wrapper {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 12px;
    }

    .responsive-listing-page .view-buttons-wrapper > div,
    .responsive-listing-page .view-buttons-wrapper a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .responsive-listing-page .view-buttons-wrapper a {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .responsive-listing-page .category-breadcrumb {
        min-width: 0;
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .responsive-listing-page .category-breadcrumb a,
    .responsive-listing-page .category-breadcrumb span,
    .responsive-listing-page .category-breadcrumb strong {
        overflow-wrap: anywhere;
    }
}

@media only screen and (max-width: 576px) {
    .responsive-listing-page .category-breadcrumb.justify-content-between {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-direction: row;
        flex-wrap: nowrap;
        column-gap: 6px;
    }

    .responsive-listing-page .category-breadcrumb.justify-content-between .view-wrapper {
        width: auto;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .responsive-listing-page .category-breadcrumb.justify-content-between .view-wrapper form.sort-form {
        width: auto;
        justify-content: flex-end;
        gap: 6px !important;
    }

    .responsive-listing-page .category-breadcrumb.justify-content-between > h3 {
        margin: 0;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .responsive-listing-page .category-breadcrumb.justify-content-between .view-buttons-wrapper {
        gap: 6px;
    }
}

/* Live-search List view action row */
@media (max-width: 767px) {
    .listing-page-banner {
        margin-bottom: 12px;
    }
}

.search_product .category-product.list-items .pro_btn {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 43px;
    width: 100% !important;
    max-width: none;
    gap: 6px;
    align-items: center;
}

.search_product .category-product.list-items .pro_btn .cart_btn {
    width: 100% !important;
    min-width: 0;
}

.search_product .category-product.list-items .pro_btn .wishlist_store,
.search_product .category-product.list-items .pro_btn .wishlist_store_ex {
    width: 43px;
    min-width: 43px;
    margin: 0;
}

/* List view: stronger product title and logo-only brand row */
.responsive-product-grid.list-items .pro_name a {
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.35;
}

@media only screen and (max-width: 576px) {
    .responsive-product-grid.list-items .pro_name a {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 767px) {
    .customer-section > .container > .row > .col-md-3,
    .customer-section > .container > .row > .col-sm-3 {
        display: none;
    }
    .customer-section > .container > .row > .col-md-9,
    .customer-section > .container > .row > .col-sm-9 {
        width: 100%;
    }
    .customer-mobile-toolbar { position: fixed; top: 0; right: 0; left: 0; z-index: 9998; display: grid; grid-template-columns: 82px minmax(0, 1fr) 42px; min-height: 56px; align-items: center; padding: 7px 10px; background: #fff; border-bottom: 1px solid #e2e8ee; box-shadow: 0 4px 18px rgba(20,42,74,.09); }
    .customer-mobile-toolbar > a { display: inline-flex; align-items: center; gap: 5px; color: var(--secondary-color); font-size: 10px; font-weight: 700; }
    .customer-mobile-toolbar > a i { display: inline-flex; width: 31px; height: 31px; align-items: center; justify-content: center; color: #fff; background: var(--secondary-color); border-radius: 8px; font-size: 13px; }
    .customer-mobile-toolbar > strong { overflow: hidden; color: #26313c; font-size: 15px; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
    .customer-mobile-toolbar > button { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--secondary-color); background: #edf6fc; border-radius: 8px; font-size: 17px; }
    .customer-mobile-toolbar ~ .customer-section { padding-top: 70px !important; }
    .customer-mobile-drawer { position: fixed; top: 0; right: 0; z-index: 10001; display: block; width: min(88vw, 320px); height: 100dvh; overflow-y: auto; background: #fff; box-shadow: -12px 0 35px rgba(17,35,55,.2); transform: translateX(105%); transition: transform .28s ease; }
    .customer-mobile-drawer.is-open { transform: translateX(0); }
    .customer-mobile-drawer-head { position: sticky; top: 0; z-index: 2; display: flex; min-height: 52px; align-items: center; justify-content: space-between; padding: 9px 12px 9px 16px; color: #fff; background: var(--secondary-color); }
    .customer-mobile-drawer-head strong { font-size: 14px; }.customer-mobile-drawer-head button { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.14); border-radius: 8px; }
    .customer-mobile-drawer .customer-sidebar { height: auto !important; max-height: none !important; position: static !important; width: 100% !important; overflow: visible !important; transform: none !important; }
    .customer-mobile-overlay { position: fixed; inset: 0; z-index: 10000; display: block; width: 100%; height: 100%; visibility: hidden; opacity: 0; background: rgba(10,24,38,.55); transition: .25s; }
    .customer-mobile-overlay.is-open { visibility: visible; opacity: 1; }
    body.customer-menu-open { overflow: hidden; }
}

/* Customer controls sit below the regular website mobile header. */
@media only screen and (max-width: 767px) {
    .customer-mobile-toolbar {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        z-index: 20;
        min-height: 50px;
        box-shadow: 0 3px 10px rgba(20,42,74,.06);
    }

    .customer-mobile-toolbar ~ .customer-section {
        padding-top: 14px !important;
    }
}

/* Checkout uses the regular website header, not the customer-panel header. */
@media only screen and (max-width: 991px) {
    body:has(.chheckout-section) > header.checkout__noshow,
    body:has(.chheckout-section) header.checkout__noshow {
        display: block !important;
    }

    #content:has(.chheckout-section) > .customer-mobile-toolbar,
    #content:has(.chheckout-section) > .customer-mobile-drawer,
    #content:has(.chheckout-section) > .customer-mobile-overlay {
        display: none !important;
    }

    body:has(.chheckout-section),
    #content:has(.chheckout-section),
    .chheckout-section,
    .chheckout-section .cart_details,
    .chheckout-section .cart_checkout {
        max-width: 100%;
        overflow-x: hidden;
    }

    .chheckout-section {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .chheckout-section .payment-methods {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .chheckout-section .payment-methods .p_bkash label img {
        width: 82px;
        height: auto;
        max-height: 40px;
    }

    .chheckout-section .Confram_btn {
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        transform: none;
    }
}
