@media only screen and (min-width:320px) and (max-width:991px) {
.main-header {
        display: none;
    }
.mobile-menu {
        display: block;
    }
.mobile-menu1 {
        display: block;
    }

}
@media only screen and (min-width:1166px) and (max-width:1400px) {

.menu-area .Cat_menu {
    width: 228px !important;
}
.item__banner_img {
    height: 100px;
}
a.cat_bar_bg {
    padding: 0 43px 0 25px !important;
}
.items__banners {
    display: flex;
    gap: 5px;
    padding: 3px 0 !important;
}
.catagory_menu ul li a {
    margin-right: 13px !important;
}
.index__menu__bar {
    width: 228px;
}
li.Cat_list span {
    color: white;
    margin-left: -10px !important;
}
ul.Cat_menu li a span {
    font-size: 13px;
}
ul.Cat_menu li {
    padding: 5px 0px !important;
}
.slider-section {
     padding-bottom: 0px !important; 
}
.slider-item img {
    width: 100%;
    height: 353px !important;
}

.index__menu {
    background: white;
    height: 150px;
}
.slider-item {
    height: 365px;
}

.best-selling-pro {
    background: #fff;
     margin-right: 5px; 
    padding: 7px;
}

}
@media only screen and (min-width:320px) and (max-width:767px) {
    .container {
    max-width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
}

    .main__slider_index {
        display: grid;
        grid-template-columns: 100%;
        gap: 0;
    }
.topcategory {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}
.mb__hide_hbe{
    display:none;
}
     .footer-bottom {
        margin-bottom: 24px;
        padding-bottom: 77px;
    }
    .main__slider_index {
        display: grid;
        grid-template-columns:100%;
        gap: 0%;
    }
      .product_sliders {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 10px;
    }
    td.main__data_price {
        text-align: end;
    }
    section.popup__section {
        width: 300px;
        height: 250px;
        background: red;
        position: absolute;
    }
    .card-header h4 {
        font-size: 15px;
    }
    .popup__image {
        position: relative;
        width: 300px;
        height: 100%;
        padding: 3px;
        animation: popup-in 0.5s ease;
    }
    .invoice-bar_top {
        text-align: center;
        margin-left: -85px;
        font-size: 30px;
        font-weight: 500;
    }

}

@media only screen and (min-width:992px) {
   
    .mobile-menu1 {
        display: none;
    }
     .mobile-search {
        display: none;
    }
    

}


@media only screen and (min-width:767px) {

    .mobile-filter-toggle {
        display: none;
    }

    .menu-inner-grid {
        display: grid;
        grid-template-columns: 90% 10%;
    }
    .d-flex {
        display: flex!important;
        gap: 5px;
    }
.d-flex.single_product {
        gap: 5px !important;
    }
    header .toggle-desktop {
        z-index: 9980;
        min-height: 24px;
        position: relative;
        width: auto;
        top: auto;
        left: auto;
        float: left;
        display: flex;
        cursor: pointer;
        box-sizing: content-box;
        font-size: 20px;
        padding-left: 55px;
        line-height: 24px;
        margin-top: 18px;
        color: #fff;
        align-items: center;
        justify-content: space-between;
    }


    header .toggle-desktop span {
        margin-right: 7px;
        font-size: 15px;
    }

    header .toggle-desktop i {
        font-size: 17px;
    }
  
    a.view_more_btn {
        margin-left: 10px;
    }

    .desktop-menu {
        display: block;
        position: absolute;
        top: 71px;
        right: -410px;
        width: 330px;
        height: 0vh;
        background-color: #fff;
        transition: all 0.3s ease;
        z-index: 9999;
        position: fixed;
        visibility: hidden;
        opacity: 0;
    }

    .desktop-menu.active {
        right: 0;
        display: block;
        height: 100vh;
        width: 330px;
        top: 71px;
        opacity: 1;
        visibility: visible;
        background: #f0f3fe;
    }

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

    .desktop-menu-logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        padding: 11px 15px;
        background: #f49960;
    }

    .desktop-menu-close {
        cursor: pointer;
        font-size: 25px;
        font-weight: 700;
        color: #fff;
        width: 35px;
        text-align: center;
    }


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

    .parent-category {
        position: relative;
    }


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


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

    ul.second-nav .parent-subcategory {
        display: block;
        padding-left: 47px;
    }

}

@media only screen and (min-width:320px) and (max-width:991px) {
    .fixed_whats a {
        right: 10px;
    }
img.img__index {
    height: 100px;
}
    li.Cat_list a {
        margin-left: 7px;
        font-weight: 600;
    }
    .topcategory.owl-carousel .owl-nav button {
        display: none;
    }
  
   .index__menu {
        display: none;
    }
    .main_slider {
        padding-left:0 !important;
    }
    section.slider-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
.home-products-grid, .home-products-skeleton-grid {
    gap: 15px !important;
}
.headline-inner p {
    color: white;
    font-weight: 600;
    text-align: center;
    font-size: 8px;
    padding: 3px;
}
.headline-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between;
    align-items: baseline;
    text-align: center;
    background: #ff4e0a;
    padding: 9px 0;
    margin-top: 2px;
    border-radius: 21px 21px 0 0;
}
    .mobile-search select, .mobile-search select:focus {
        border: 0;
        border-right: 1px solid #ddd;
        width: 105px;
        outline: 0;
    }
    .cart_btn a,.cart_btn.order_button a {
        font-size: 13px;
    }
    .pro_btn button{
        font-size: 13px !important;
    }
   
  .add_cart_btn {
        font-size: 15px;
    }
    .checkout-shipping .form-check-input {
        height: 17px !important;
        width: 17px;
        margin-right: 0px;
        margin-top: 20px;
    }
.d-flex {
    display: flex!important;
    gap: 11px !important;
}
   .order_now_btn {
        width: 98%;
        margin-left: 0;
        font-size: 15px;
    }

    .pro_img {
        height: 158px;
    }

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

    .cat_img a {
        display: block;
        height: 100%;
    }

    .cat_img img {
        height: 100%;
    }


.cat_name a {
    font-size: 12px;
}
.topcategory {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
    .payment-method-wrappers {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter_sort {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        padding: 0 6px;
        margin-top: 12px;
    }

    .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 #0097ff;
        background-color: #F5F5F5;
    }

    .filter_sidebar.active::-webkit-scrollbar {
        width: 6px;
        background-color: #F5F5F5;
    }

    .filter_sidebar.active::-webkit-scrollbar-thumb {
        background-color: #202020;
    }

    .filter_btn {
        display: inline-block;
        background: #202020;
        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: #202020;
        padding: 10px 15px;
        font-size: 18px;
        color: #fff;
        border-radius: 5px;
        margin: 8px 0;
        cursor: pointer;
        display: block;
    }
    .description {
        overflow: scroll;
    }

    li.mobile_home {
        border: 2px solid #ddd;
        margin-top: -35px;
        background: #202020;
        padding-top: 15px;
        border-radius: 50%;
        width: 75px;
        height: 75px;
    }

    li.mobile_home a {
        color: #fff;
    }

    .scrolltop {
        display: none !important;
    }

    .hightlight_cont ul {

        padding-left: 5px;
    }

    .mobile_hide {
        display: none;
    }

    .desktop_hide {
        display: block;
    }

    .sorting-section {
        margin-top: -15px;
    }

    .card-body.cartlist {
        overflow-x: scroll;
        padding: 16px;
    }

    .section-title-header .section-title-name {
        font-size: 20px;
    }

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

    .meta_description {
        display: none;
    }

    .mm-ocd {
        display: none;
    }

    .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;
    }

    .mobile-filter-toggle span {
        font-size: 17px;
        text-transform: uppercase;
        font-weight: 500;
    }

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

    .feature-products p {
        padding-left: 20px;
    }

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

    .category-breadcrumb {
        justify-content: center;
    }

    .feature-products.active {
        left: 0;
    }

  

  .mobile-search {
    background-color: #fff;
    padding: 0px 16px;
    padding-top: 0;
}
.best__sell_pro {
    display: grid;
    grid-template-columns:100%;
    gap: 0px;
}
.best-selling-pro {
    display: none;
}.mobile-search form {
    display: flex;
    background-color: #ff4e0a;
    border: 1px solid #ff4e0a;
    border-radius: 5px;
    height: 40px;
    overflow: hidden;
    position: relative;
    border-color: hsla(0, 0%, 100%, .09);
}

    .mobile-search form svg {
        height: 16px;
        width: 16px;
        color: #fff;
    }

    .mobile-search form input {
        text-align: left;
        padding-left: 15px;
        color: #000;
    }

    .mobile-search form button {
    background-color: #ff4e0a;
    flex: 0 0 60px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .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;
    }

    .qty-cart .quantity {
        height: 35px;
        margin-left: 4px;
    }


    .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;
    }

    .cart_details {
        margin-bottom: 15px;
    }

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

.main_product_inner {
    grid-template-columns: 1fr 1fr !important;
}
    .qty-cart {
        grid-template-columns: 130px auto;
    }

    .quantity .minus {
        width: 40px;
    }

    .quantity .plus {
        width: 40px;
    }

    .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;
    }

    .footer-top {
        padding: 30px 0;
    }

    .footer-menu ul li img {
        margin: 0 auto;
        display: block;
    }

    .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;
    }


    .mobile-header {
        display: block;
        background-color: #fff;
    }

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

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

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

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

    .mobile-logo {
        display: grid;
        grid-template-columns: 20% 60% 20%;
        text-align: center;
        font-size: 22px;
        height: 70px;
        align-items: center;
    }

    .fixed-top .mobile-logo {
        margin-bottom: 0px;
    }

    .menu-logo img {
        width: auto;
        height: 50px;
        margin-top: 0;
    }

    .footer-menu ul li a {
        text-align: left;
        text-transform: capitalize;
    }

    .footer-menu {
        padding-left: 15px;
    }

    ul.social_link {
        text-align: center;
        margin-top: -10px;
    }

    a.mobile-social-link {
        text-align: center !important;
    }

    .d_app {
        text-align: center;
        margin-top: 10px;
    }

    .footer-about p {
        text-align: center;
    }

    .main-search.mobile-search {
        margin: 18px 0;
        padding: 0 10px;
    }

    .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: #ff4e0a;
    height: 20px;
    border-radius: 50px;
    padding: 1px 7px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    top: -11px;
    right: -4px;
}

    .product_slider {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

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

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

    .menu-bag li span {
        background: #E62E04;
        font-size: 10px;
        color: #fff;
        position: absolute;
        top: 0;
        left: 12px;
        width: 15px;
        height: 15px;
        border-radius: 50px;
        line-height: 15px;
    }

.slider-item {
    height: 104px;
    margin-top: 0px;
}

    .footer-about p {
        text-align: center;
    }

    .mobile-search form i {
        color: white;
    }

    .footer-about p {
        margin: 4px 0;
        color: #000;
    }

    .footer-about {
        text-align: center;
        padding: 0 15px;
    }

    .footer-menu {
        padding-left: 15px;
    }

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

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

    .product-info .name {
        height: 70px;
    }

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

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

    .feature-title ul {
        text-align: center;
        overflow-y: scroll;
    }

    .feature-title h4 {
        text-align: center;
        margin-bottom: 10px;
    }

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

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

    .close_filter {
        position: absolute;
        top: 0;
        right: 12px;
        border: 2px solid #ddd;
        font-size: 19px;
        padding: 0px 10px;
        border-radius: 50px;
        background: #d3b520;
        color: #fff;
    }

    .close_filter, .show_filter {
        display: block;
    }

    .show_filter {
        display: inline-block;
        margin-right: 10px;
        margin-left: 8px;
    }

    .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;
    }

    .payment-form .gap-3 {
        gap: 0 !important;
    }

    .modal-view.quick-product {
        width: 100%;
    }

    .quick-product .short_description, .quick-product .details_short {
        display: none;
    }

    .quick-product-img {
        width: 20%;
    }

    .quick-product-content {
        width: 80%;
    }

    .close-modal {
        left: 50%;
        top: -17px;
        transform: translateX(-50%);
    }

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

    .menu-product {
        display: none;
    }

    .details-wishlist {
        display: none !important;
    }

    a.details-wishlist.compare_store.cursor {
        display: none !important;
    }

    .topbar {
        display: none;
    }

    .product-details-discount-badge span.sale-badge-text {
        padding: 0px;
        font-size: 10px;
    }

    .product_item_inner .sale-badge {
        top: 4px;
        right: 2px;
    }
}

@media only screen and (min-width:767px) and (max-width:991px) {
    .menu-product {
        display: none;
    }

}

@media only screen and (min-width:992px) and (max-width:1140px) {}

@media only screen and (min-width:1141px) {}

@media only screen and (min-width:768px) and (max-width:991px) {
    .product-detail-modern .modern-product-section > .container > .row {
        --bs-gutter-x: 18px;
    }

    .product-detail-modern .product-cart .name {
        font-size: 22px;
    }

    .product-detail-modern .details-price {
        font-size: 32px;
    }

    .detail-service-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-service-item {
        border-bottom: 1px solid #edf0f4;
    }

    .detail-service-item:nth-child(3n) {
        border-right: 0;
    }
}

@media only screen and (min-width:320px) and (max-width:767px) {
    .product-detail-modern {
        padding-top: 8px;
    }

    .product-detail-modern .container,
    .modern-detail-tabs .container,
    section.modern-pro-details .container,
    section.modern-related-products .container {
        max-width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .product-detail-modern .modern-product-section .position-relative {
        padding: 14px 12px 12px;
        border-radius: 7px;
        margin-bottom: 16px;
    }

    .product-detail-modern .details_slider,
    .product-detail-modern .dimage_item {
        min-height: 290px;
        height: 290px;
    }

    .product-detail-modern .indicator_thumb {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
    }

    .product-detail-modern .indicator-item {
        height: 52px;
    }

    .product-detail-modern .product-cart .name {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .product-detail-modern .details-price {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .product-detail-modern .details-price del {
        font-size: 16px;
    }

    .product-detail-modern .details-short-copy {
        font-size: 14px;
        line-height: 1.55;
    }

    .product-detail-modern .details-feature-pills {
        gap: 7px;
        margin-bottom: 16px;
    }

    .product-detail-modern .details-feature-pills span {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 12px;
    }

    .product-detail-modern .single_product {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px !important;
    }

    .product-detail-modern .add_cart_btn,
    .product-detail-modern .order_now_btn,
    .product-detail-modern .add_cart_btn:disabled,
    .product-detail-modern .order_now_btn:disabled {
        width: 100%;
        height: 50px;
        font-size: 16px;
    }

    .product-detail-modern .details-secondary-actions {
        gap: 22px;
        margin-bottom: 12px;
    }

    .detail-service-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 12px;
    }

    .detail-service-item {
        justify-content: flex-start;
        min-height: 62px;
        padding: 10px;
        border-bottom: 1px solid #edf0f4;
    }

    .detail-service-item:nth-child(2n) {
        border-right: 0;
    }

    .detail-service-item i {
        font-size: 21px;
    }

    .modern-detail-tabs .desc-nav-ul {
        gap: 18px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 14px;
        margin-top: 14px;
    }

    .modern-detail-tabs .desc-nav-ul li {
        flex: 0 0 auto;
    }

    .modern-detail-tabs .desc-nav-ul li a {
        padding: 15px 0;
        font-size: 14px;
    }

    section.modern-pro-details .description,
    section.modern-pro-details #writeReview {
        padding: 16px;
    }

    section.modern-pro-details .description h2,
    section.modern-pro-details .section-head h2,
    section.modern-pro-details .pro_vide h2,
    .modern-related-products .related-title h5 {
        font-size: 18px;
    }

    section.modern-pro-details .pro_vide {
        margin-top: 14px;
    }

    section.modern-related-products .container {
        padding-top: 14px;
        padding-bottom: 14px;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .ref-details-container {
        width: calc(100% - 28px);
    }

    .ref-product-hero,
    .ref-lower-grid {
        grid-template-columns: 1fr;
    }

    .ref-gallery-card {
        min-height: auto;
    }

    .ref-main-gallery,
    .ref-gallery-slide {
        height: 360px;
    }

    .ref-service-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .ref-service-strip > div {
        border-bottom: 1px solid #eef1f5;
    }

    .ref-service-strip > div:nth-child(3n) {
        border-right: 0;
    }
}

@media only screen and (min-width:320px) and (max-width:767px) {
    .ref-details-page {
        padding: 10px 0 18px;
    }

    .ref-details-container {
        width: calc(100% - 20px);
    }

.ref-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0 18px;
    color: #8a8f98;
    font-size: 10px;
    font-weight: 600;
}

    .ref-product-hero,
    .ref-lower-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ref-gallery-card {
        min-height: auto;
        padding: 14px 12px 12px;
    }

    .ref-thumbs {
        grid-template-columns: repeat(5, 1fr);
        gap: 7px;
        margin-top: 10px;
    }

    .ref-thumb-item {
        height: 52px;
        padding: 4px;
    }

    .ref-info-card h1 {
        font-size: 22px;
        margin-bottom: 11px;
    }

    .ref-rating-row {
        gap: 5px;
        margin-bottom: 13px;
    }

    .ref-price-row {
        gap: 10px;
        flex-wrap: wrap;
    }

    .ref-price-row strong {
        font-size: 33px;
    }

    .ref-price-row del {
        font-size: 16px;
    }

    .ref-short-text {
        font-size: 14px;
        line-height: 1.55;
    }

    .ref-feature-list {
        gap: 7px;
        margin-bottom: 18px;
    }

    .ref-feature-list span {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 12px;
    }

    .ref-option-row,
    .ref-buy-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .ref-buy-row {
        margin-bottom: 18px;
    }

    .ref-action-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ref-action-row button,
    .ref-action-row button:disabled {
        height: 50px;
        font-size: 17px;
    }

    .ref-action-row .ref-cart-button-important,
    .ref-action-row .ref-cart-button-important:disabled {
        min-width: 0 !important;
        width: 100% !important;
        padding: 0 16px !important;
        font-size: 16px !important;
    }

    .ref-secondary-row {
        gap: 22px;
        flex-wrap: wrap;
    }

    .ref-service-strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 16px;
    }

    .ref-service-strip > div {
        min-height: 64px;
        justify-content: flex-start;
        border-bottom: 1px solid #eef1f5;
    }

    .ref-service-strip > div:nth-child(2n) {
        border-right: 0;
    }

    .ref-service-strip i {
        font-size: 21px;
    }

    .ref-tabs button {
        height: 50px;
        font-size: 14px;
    }

    .ref-tabs button.active:after {
        left: 14px;
        right: 14px;
    }

    .ref-tab-panel {
        min-height: 120px;
        padding: 18px 16px;
        font-size: 14px;
    }

    .ref-related-card {
        padding: 14px 12px;
    }

    .ref-related-head h2 {
        font-size: 18px;
    }

    .ref-related-item strong {
        font-size: 18px;
    }
}

@media only screen and (max-width:767px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .ref-details-page {
        width: 100% !important;
        padding: 8px 0 14px !important;
        overflow-x: hidden !important;
    }

    .ref-details-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .ref-product-hero,
    .ref-lower-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .ref-gallery-card,
    .ref-info-card,
    .ref-service-strip,
    .ref-tab-card,
    .ref-related-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .ref-gallery-card {
        padding: 12px 10px !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

  

    .ref-gallery-slide img,
    .ref-gallery-slide .block__pic {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .ref-discount-badge {
        width: 50px !important;
        height: 58px !important;
        top: 6px !important;
        left: 8px !important;
    }

    .ref-discount-badge strong {
        font-size: 16px !important;
    }

    .ref-discount-badge span {
        font-size: 11px !important;
    }

    .ref-thumbs:not(.owl-carousel) {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .ref-thumbs.owl-carousel .owl-stage {
        display: flex !important;
    }

    .ref-thumb-item {
        height: 52px !important;
        min-width: 0 !important;
        padding: 4px !important;
    }

    .ref-info-card {
        padding: 2px 0 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .ref-info-card h1 {
        font-size: 20px !important;
        line-height: 1.35 !important;
        margin: 4px 0 10px !important;
        word-break: break-word !important;
    }

    .ref-rating-row {
        gap: 5px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin-bottom: 10px !important;
    }

    .ref-rating-row em {
        display: none !important;
    }

    .ref-stars {
        font-size: 13px !important;
    }

    .ref-price-row {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
    }

    .ref-price-row strong {
        font-size: 30px !important;
        line-height: 1 !important;
    }

    .ref-price-row del {
        font-size: 15px !important;
    }

    .ref-save-pill {
        height: 26px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    .ref-short-text {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
        word-break: break-word !important;
    }

    .ref-feature-list {
        margin-bottom: 14px !important;
    }

    .ref-feature-list span {
        max-width: 100% !important;
        font-size: 12px !important;
        padding: 5px 10px !important;
    }

    .ref-buy-row {
        display: grid !important;
        grid-template-columns: auto 122px 1fr !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    .ref-buy-row > label {
        min-width: 0 !important;
        font-size: 14px !important;
    }

    .ref-stock span {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .ref-action-row,
    .single_product.ref-action-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        width: 100% !important;
    }

    .ref-action-row button,
    .ref-action-row button:disabled {
        width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        font-size: 16px !important;
        white-space: nowrap !important;
    }

    .ref-action-row .ref-cart-button-important,
    .ref-action-row .ref-cart-button-important:disabled {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 15px !important;
    }

    .ref-service-strip {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
        margin-top: 12px !important;
        overflow: hidden !important;
    }

    .ref-service-strip > div {
        min-height: 58px !important;
        grid-template-columns: 22px minmax(0, 1fr) !important;
        justify-content: start !important;
        column-gap: 8px !important;
        padding: 8px !important;
    }

    .ref-service-strip i {
        font-size: 18px !important;
    }

    .ref-service-strip strong {
        font-size: 11px !important;
    }

    .ref-service-strip span {
        font-size: 10px !important;
    }

    .ref-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .ref-tabs button {
        height: 46px !important;
        padding: 0 3px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .ref-tab-panel {
        padding: 14px 12px !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
        overflow-x: auto !important;
    }

    .ref-related-card {
        padding: 12px 10px !important;
    }

    .ref-related-head {
        margin-bottom: 10px !important;
    }

    .ref-related-head h2 {
        font-size: 17px !important;
    }

    .ref-related-head a {
        font-size: 12px !important;
    }

    .ref-related-item {
        min-height: 126px !important;
        padding: 8px !important;
    }

    .ref-related-image {
        height: 76px !important;
    }

    .ref-related-item strong {
        font-size: 17px !important;
    }
}

@media only screen and (max-width:380px) {
    


    .ref-buy-row {
        grid-template-columns: 1fr !important;
    }

    .ref-quantity {
        width: 122px !important;
    }
}

@media only screen and (max-width:991px) {
    .ref-checkout-section {
        padding: 16px 0 28px !important;
    }

    .ref-checkout-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "customer"
            "order"
            "payment" !important;
        gap: 22px !important;
    }

    .ref-checkout-container {
        width: 100% !important;
        max-width: 430px !important;
        padding: 0 14px !important;
    }

    .ref-checkout-panel h2 {
        font-size: 17px !important;
        margin-bottom: 10px !important;
    }

    .ref-field-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }
}

@media only screen and (max-width:480px) {
    .ref-checkout-section {
        padding-top: 12px !important;
    }

    .ref-checkout-container {
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    .ref-field {
        margin-bottom: 10px !important;
    }

    .ref-field input,
    .ref-field select,
    .ref-field textarea,
    .ref-field .select2-container--default .select2-selection--single {
        min-height: 62px !important;
        border-radius: 8px !important;
    }

    .ref-order-item {
        grid-template-columns: 94px minmax(0, 1fr) !important;
        gap: 12px !important;
        align-items: start !important;
    }

    .ref-order-image {
        width: 94px !important;
        height: 84px !important;
    }

    .ref-order-actions {
        grid-column: 2 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .ref-order-name {
        font-size: 14px !important;
    }

    .ref-order-totals > div {
        padding: 8px 11px !important;
        font-size: 14px !important;
    }

    .ref-payment-option {
        min-height: 48px !important;
        padding: 8px 11px !important;
    }

    .ref-order-submit {
        min-height: 52px !important;
        font-size: 17px !important;
    }
}

@media only screen and (min-width:768px) {
    .ref-success-page {
        padding-top: 34px !important;
    }

}

@media only screen and (max-width:480px) {
    .ref-success-page {
        padding: 0 0 22px !important;
    }

    .ref-success-wrap {
        width: 100% !important;
        padding: 0 !important;
    }

    .ref-success-hero {
        min-height: 286px !important;
        padding: 32px 22px 30px !important;
    }

    .ref-success-card {
        margin-top: -18px !important;
        padding: 20px 14px 18px !important;
        border-radius: 18px 18px 0 0 !important;
    }
}

@media only screen and (max-width:360px) {
    .ref-success-icon {
        width: 104px !important;
        height: 104px !important;
        margin-bottom: 18px !important;
    }

    .ref-success-icon i {
        font-size: 54px !important;
    }

    .ref-success-hero h1 {
        font-size: 25px !important;
    }

    .ref-success-product {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .ref-success-product-img {
        width: 82px !important;
        height: 78px !important;
    }
}
