/*
** Responsive Code
*/
@media (min-width: 1700px) {
}
@media (max-width: 1700px) {
}
@media(max-width: 1560px) {
}
@media(max-width: 1400px) {
    /* HEADER */
    .header-actions .actions-menu {
        gap: 25px;
    }
    .actions-first-box {
        width: 68%;
        gap: 15px;
    }
    .action-second-box {
        width: 32%;
    }
    .menu-lines p,
    .cart-text p {
        font-size: 14px;
    }
    .cart-box {
        width: 165px;
    }
    .static-category::after {
        right: -12px;
    }
    .cart-menu {
        top: 59px;
    }

    /*  BENEFITS  */
    .benefit-text h3 {
        font-size: 16px;
    }

    /* FLOATING CHAT */
    .floating-chat {
        right: 15px;
    }

    .actual-cashback {
        display: none !important;
    }

    .product-review {
        display: none !important;
    }
}
@media(max-width: 1380px) {
}
@media(max-width: 1280px) {
    /*  HEADER  */
    .header-top .container {
        font-size: 12px;
    }
    .menu-lines p {
        display: none;
    }
    .menu-lines .chevron {
        display: none;
    }
    .menu-lines {
        width: auto;
        padding: 10px;
    }
    .menuOpen .mega-menu {
        max-height: 600px;
    }

    /* PRODUCT DETAIL   */
    .fixed-price .add-to-cart .preorder_btn { 
        width: 200px;
    }

    /* SHOPPING CART   */
    .shopping-sale-product .add-to-cart .preorder_btn {
        min-width: 45px;
        width: 45px;
        height: 45px;
        padding: 0;
        border-radius: 5px;
    }
    .shopping-sale-product .add-to-cart .preorder_btn span {
        display: none;
    }

    /*  CONTACTS PAGE  */
    .address-timetable {
        padding-bottom: 25px;
    }

    /*  PAYMENT PAGE  */
    .detail-map #map {
        min-height: 390px;
    }

    /*  ACCOUNT  */
    .favorite-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .shoppingCart-actions {
        gap: 20px;
    }
    .shoppingCart-actions .product-price {
        min-width: 140px;
    }
}
@media (min-width: 1400px){
    .product-set{
        padding: 4% 7%
    }
}
@media (min-width: 1200px){
    .product-set{
        padding: 4% 6%
    }
}
@media(max-width: 1200px) {
    /* HEADER */
    .actions-first-box {
        width: 60%;
    }
    .action-second-box {
        width: 40%;
    }

    /*  DAILY PRODUCTS  */
    .daily-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.shoppingCart-actions .product-price {
    min-width: 165px;
    /*max-width: 130px;*/
}
@media(max-width: 1170px) {
    /* HEADER */
    .search-price {
        flex-direction: column-reverse;
        gap: 0;
    }

    /*  BENEFITS  */
    .swiperBenefits .swiper-wrapper {
        margin-bottom: 50px;
    }

    /*  PRODUCT DETAIL   */
    .fixed-price .old-price {
        display: none;
    }
    .set-products {
        gap: 50px;
    }
    .set-products .product-card:after {
        right: -22px;
    }
    .set-content h3 {
        font-size: 18px;
    }
    .set-price .add-to-cart .preorder_btn{
        width: 300px;
    }

    /*  SHOPPING CART  */
    .shoppingCart-product {
        gap: 15px;
    }
    /*.shoppingCart-actions .product-price {*/
    /*    min-width: 120px;*/
    /*    max-width: 130px;*/
    /*}*/
    .total-summary h3 {
        font-size: 16px;
    }
    .shopping-sale-product .product-price {
        width: 180px;
    }

    /*  CHECKOUT  */
    .credit-content .delivery-inputs {
        grid-template-columns: repeat(4, 1fr);
    }
    .shoppingCart-actions .old-price {
        flex-direction: column;
    }
    .shoppingCart-actions .product-price {
        min-width:145px;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    /*.shoppingCart-actions .product-price {*/
    /*    min-width: 100px;*/
    /*    max-width: 100px;*/
    /*}*/
}

.set-products .product-image img{
    height: 120px;
}

@media(max-width: 1070px) {
    /* HEADER */
    .action-second-box {
        gap: 10px;
    }
    .action-box {
        padding-right: 10px;
    }

    /* SUBSCRIPTION */
    .subscription-container > h1 {
        font-size: 28px;
    }
    .subscription-container {
        gap: 50px;
    }

    /* CATEGORY PAGE */
    .interest-grid-v2 {
        grid-template-columns: repeat(4, 1fr);
    }

    /*  PRODUCTS PAGE  */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .input-box {
        gap: 10px;
    }

    /*  PRODUCT DETAIL PAGE  */
    .product-detail-container {
        flex-direction: column;
    }
    .image-gallery,
    .product-details-box,
    .product-features {
        width: 100%;
    }
    .gallery {
        overflow: hidden;
    }
    .rating-box {
        flex-direction: column;
    }
    .ratings-slides {
        width: 100%;
    }
    .fixed-content h3 {
        display: none;
    }
    .fixed-img {
        border: none;
    }
    .fixed-product-content {
        gap: 20px;
    }
    .set-products .product-image img {
        height: 90px;
    }
    .set-price .old-price {
        flex-direction: column;
        gap: 0;
    }
    .subitem a {
        font-size: 12px;
    }
    .product-detail-page .title h1 {
        width: 600px;
    }

    /*  SHOPPING CART  */
    .cart-summary span {
        font-size: 16px;
    }

    /*  WISHLIST  */
    .wishlist-container {
        grid-template-columns: repeat(3, 1fr);
    }

    /*  COMPARE  */
    .compare-product .product-card,
    .compare-sidebar-details {
        min-height: 500px;
    }

    /* CONTACTS PAGE   */
    .details-boxes {
        gap: 15px;
    }
    .contacts-buttons {
        flex-direction: column;
    }
    .contacts-timetable-box,
    .contacts-box #map {
        height: 530px;
    }

    /*  ABOUT US  */
    .about-us-page .about-us-container {
        flex-direction: column;
        align-items: start;
    }
    .about-us-page .about-us-img,
    .about-us-page .about-us-content{
        width: 100%;
    }

    /*  DELIVERY PAGE  */
    .detail-map {
        min-width: 400px;
    }

    /*  CREDIT PAGE  */
    .credit-checks {
        grid-template-columns: repeat(3, 1fr);
    }
    .shoppingCart-actions .actual-price {
        font-size: 22px;
    }
}
@media (min-width: 994px) {
    .mega-menu {
        height: 0;
        width: 100%;
        transition: all .5s cubic-bezier(.29, .39, .68, .53);
        -webkit-transition: all .5s cubic-bezier(.29, .39, .68, .53);
    }
    .menuOpen .mega-menu {
        height: 700px;
        transition: all .5s cubic-bezier(.29, .39, .68, .53);
        -webkit-transition: all .5s cubic-bezier(.29, .39, .68, .53);
    }
    .main-link:hover .megadrop,
    .main-link.active .megadrop {
        opacity: 1;
        visibility: visible;
        z-index: 200;
        cursor: default;
        transition-delay: 0s;
    }
}
@media(max-width: 993px) {
    /* HEADER */
    .header-top,
    .desktop-search {
        display: none;
    }
    .actions-first-box {
        width: 50%;
    }
    .action-second-box {
        width: 50%;
    }
    .mobile-search {
        display: flex;
        margin-top: 15px;
    }
    .header-actions .actions-menu {
        position: static;
    }

    /* Mega menu */
    .mega-menu {
        position: fixed;
        left: 0;
        max-height: 100% !important;
        height: calc(100% - var(--header-height));
        overflow-y: auto;
        z-index: 9999;
        width: 700px;
        transform: translateX(-700px);
        border-radius: 0;
        transition: all .5s ease-in-out;
        -webkit-transition: all .5s ease-in-out;
    }
    .menuOpen .mega-menu {
        padding: 0 15px 0 0;
        top: 0;
        bottom: 0;
        transform: translateX(0);
        max-height: calc(100% - var(--header-height)) !important;
        direction: rtl;
        transition: all .5s ease-in-out;
        -webkit-transition: all .5s ease-in-out;
    }
    .main-menu {
        height: 100%;
        overflow: hidden;
        padding-left: 15px;
    }
    .menuOpen .mega-menu .main-menu {
        overflow-y: scroll;
        padding-bottom: 200px;
    }
    .main-menu::-webkit-scrollbar,
    .submenu::-webkit-scrollbar {
        width: 4px;
    }
    .main-menu::-webkit-scrollbar-track,
    .submenu::-webkit-scrollbar-track {
        background-color: #ebebeb;
        -webkit-border-radius: 10px;
        border-radius: 0 0 4px 4px;
    }
    .main-menu::-webkit-scrollbar-thumb,
    .submenu::-webkit-scrollbar-thumb {
        -webkit-border-radius: 10px;
        border-radius: 0 0 4px 4px;
        background: var(--red-color);
    }
    .mega-menu:after {
        content: none;
    }
    .categories-column {
        gap: 0;
    }
    .main-link {
        width: 100%;
        border-bottom: 1px solid rgba(81, 81, 81, 0.5);
        direction:ltr;
    }
    .main-link:hover,
    .main-link.active {
        background-color: transparent;
    }
    .main-link-title {
        padding: 10px 0;
    }
    .main-link-hide {
        width: 100%;
        display: flex;
        border-bottom: 1px solid var(--white-color);
        background-color: #F9F9F9;
        direction:ltr;
    }
    .promotion-link {
        color: var(--red-color);
    }
    .megadrop {
        transform: translateX(-700px);
        position: absolute;
        top: 0;
        left: 0;
        opacity: 1;
        height: 100%;
        visibility: visible;
        overflow: hidden;
        flex-direction: column;
        justify-content: start;
        background-color: var(--white-color);
        transition: all 0.5s ease-in-out;
        padding: 0 15px 15px;
    }
    .megadrop.active {
        overflow-x: auto;
        transition: all 0.5s ease-in-out;
    }
    .mega-item,
    .subitem {
        width: 100%;
    }
    .mega-item a,
    .subitem a {
        width: 100%;
        color: var(--lightGray-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        font-size: 16px;
        font-weight: 400;
        border-bottom: 1px solid rgba(81, 81, 81, 0.5);
    }
    .subitem a {
        direction: ltr;
    }
    .mega-item i,
    .subitem i {
        display: block;
    }
    .submenu {
        position: absolute;
        top: 0;
        left: 0;
        transform: translateX(-700px);
        background-color: var(--white-color);
        transition: all .3s cubic-bezier(.29, .39, .68, .53);
        -webkit-transition: all .3s cubic-bezier(.29, .39, .68, .53);
    }
    .submenu.active {
        direction: rtl;
    }
    .megadrop-back,
    .back-btn {
        display: block;
    }
    .back-btn a {
        justify-content: start;
        direction: ltr;
        font-weight: 600;
    }
    .maga-overlay {
        position: fixed;
        height: 100%;
    }
    .close-menu {
        display: block;
    }
    .search-price {
        flex-direction: row;
        gap: 10px;
    }

    /*  BANNER  */
    .banner-text h2 {
        font-size: 48px;
    }
    .banner-text p {
        font-size: 16px;
    }

    /*  DAILY PRODUCTS  */
    .daily-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /*  TOP PRODUCTS  */
    .top-desktop {
        display: none;
    }
    .top-mobile {
        display: flex;
    }
    .swiperPopular {
        width: 100%;
    }

    /*  TOP CATEGORIES  */
    .category-image img {
        width: 100px;
        height: 100px;
    }
    .interest-grid-v2 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px;
    }

    /*  BRANDS SWIPER  */
    .brand-slide {
        height: 120px;
        padding: 20px;
    }
    .brand-logo-container {
        width: 80px;
        height: 60px;
    }
    .brand-logo-container img {
        max-width: 80px;
        max-height: 60px;
    }

    /*  NEWS  */
    .news-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* INTERESTING CATEGORIES */
    .interest-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* SUBSCRIPTION */
    .subscription-container {
        gap: 25px;
        flex-direction: column;
    }

    .subscription-container > h1,
    .subscription-form {
        width: 100%;
    }

    /*  FOOTER  */
    .footer-links .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    .footer-copy {
        padding-bottom: 120px;
    }
    .footer-copy .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .copy {
        order: 2;
        padding-bottom: 15px;
    }

    /*  PRODUCTS PAGE  */
    .filter-switch p {
        font-size: 14px;
    }
    .pagination-box {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    /*  PRODUCT DETAIL  */
    .fixed-product {
        top: 130px;
    }
    .fixed-product-content {
        display: none
    }
    .video-full {
        height: 650px;
    }
    .set-products {
        gap: 50px;
    }
    .set-products .product-card:after {
        right: -18px;
    }
    .product-set {
        padding: 25px;
    }
    .set-price .old-price {
        flex-direction: row;
        gap: 8px;
    }
    .set-price .actual-price {
        font-size: 48px;
    }
    .product-detail-page .title h1 {
        width: 500px;
    }

    /*  SHOPPING CART  */
    .cart-page .container {
        flex-direction: column;
    }
    .shoppingCart-box,
    .cart-summary {
        width: 100%;
    }
    /*  SHOPPING CART  */
    .checkout-page form {
        flex-direction: column;
    }

        /*  SUCCESS PAGE  */
    .message-page .title h1 {
        font-size: 24px;
    }
    .message-page .cart-contact {
        display: none;
    }
    .order-number {
        flex-direction: column;
    }

    /*  PROMOTIONS  */
    .promotion-products {
        grid-template-columns: repeat(2, 1fr);
    }

    /* COMPARE */
    .compare-sidebar {
        width: 40%;
    }
    .compare-products {
        width: 60% !important;
    }
    .compare-product .product-card,
    .compare-sidebar-details {
        min-height: 465px;
    }

    /*  CONTACTS PAGE  */
    .contacts-details {
        flex-direction: column;
    }
    .details-boxes,
    .contacts-form {
        width: 100%;
    }

    /* PAYMENT PAGE */
    .payment-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .payment-container .details-box {
        min-height: 280px;
    }

    /*  DELIVERY PAGE  */
    .delivery-container .details-box:last-of-type {
        flex-direction: column;
    }
    .delivery-container .details-box:last-of-type .detail-icon {
        width: 100%;
        min-width: 100%;
        height: 90px;
        border-radius: 15px 15px 0 0;
    }
    .detail-map #map {
        height: 300px;
    }

    /*  CREDIT PAGE  */
    .credit-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    /* HOW TO ORDER PAGE  */
    .order-steps {
        grid-template-columns:repeat(2, 1fr);
    }

    /*  ACCOUNT  */
    .account-sidebar {
        min-width: 280px;
    }
    .orders-table .tr .td {
        padding: 15px 10px;
    }
    .table-product-text h3,
    .table-price {
        font-size: 14px;
    }
    .address-row {
        position: relative;
        flex-direction: column;
        align-items: start;
    }
    .address-row span {
        padding-right: 25px;
    }
    .delete-address {
        position: absolute;
        top: 20px;
        right: 0;
    }
    .address-actions {
        width: 100%;
    }
    .favorite-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .table-specifications {
        float:none;
        width:100%;
        padding-top: 40px;
    }
    .table-specifications table {
        width: 100%;
    }
    .table-specifications:not(:nth-of-type(odd)) table {
        width: 100%;
    }
    .shoppingCart-actions .product-price {
        min-width:140px;
    }
    .subscription-container > .tag-h3, .subscription-container > h3{
        width: 100%;
        font-size: 22px;
    }
}

@media(max-width: 768px) {
    /* GENERAL */
    .container {
        max-width: calc(1450px - 15px);
        padding: 0 15px;
    }

    /* HEADER */
    .advertisement .container span {
        display: none;
    }
    .add-text {
        font-size: 12px;
    }
    .add-btn {
        width: 100px;
        font-size: 12px;
    }
    .header-actions .actions-menu {
        gap: 0;
    }
    .mobile-disappear,
    .static-category {
        display: none;
    }
    .action-second-box {
        justify-content: end;
    }
    .menu-lines {
        background-color: transparent;
        padding: 0 10px 0 0;
    }
    .action-second-box,
    .actions-first-box {
        width: auto;
    }
    .logo-mobile {
        display: block;
    }
    .mobile-appear {
        display: block;
    }
    .action-box,
    .action-box img {
        height: 25px;
    }
    .action-box:nth-of-type(2) {
        padding-right: 0;
    }
    .action-box:nth-of-type(2):after {
        content: none;
    }
    .lang-item {
        width: 25px;
        min-width: 25px;
        height: 25px;
        font-size: 12px;
    }
    .categories .container {
        display: block;
    }
    .categories-swiper {
        width: 100%;
    }
    .navigation-slide:nth-of-type(1) {
        display: flex !important;
    }
    .cat-wrapper {
        width: 100%;
        padding: 0;
    }
    .categories-swiper .nav-prev,
    .categories-swiper .nav-next {
        display: none;
    }

    /* Mega menu */
     .mega-menu {
        width: 85%;
         height: calc(300% - var(--header-height));

     }
    /* .main-menu,
    .megadrop,
    .submenu {
        height: calc(100% - var(--menu-offset));
    } */
    .tab-content {
        padding-top: 20px;
    }
    .static-categories {
        width: 100%;
        justify-content: space-between;
    }
    .static-category {
        border-right: none;
        padding-right: 0;
    }
    .promotion-icon svg {
        width: 25px;
    }

    /*  BANNER  */
    .banner-text h2 {
        font-size: 36px;
    }
    .desktop-img,
    .banner-btn{
        display: none;
    }
    .mobile-img {
        display: block;
    }
    .banner-text {
        width: 100%;
    }
    .banner-content {
        width: 100%;
        padding: 25px;
        justify-content: start;
        align-items: center;
        text-align: center;
    }
    .swiperBanner {
        touch-action: pan-y pinch-zoom;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
    .swiperBanner .swiper-slide {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    .swiperBanner .swiper-wrapper {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    /*  DAILY PRODUCTS  */
    /*.daily-products-grid {*/
    /*    display: none;*/
    /*}*/
    .swiperDaily {
        display: flex;
    }
    .title h2,
    .title h3,
    .products-page .title h1,
    .promotions-page .title h1,
    .category-page .title h1,
    .cart-page .title h1,
    .checkout-page .title h1,
    .compare-page .title h1,
    .contacts-page .title h1,
    .payment-page .title h1,
    .terms-page .title h1,
    .about-us-page .title h1,
    .message-page .title h1 {
        font-size: 24px;
    }
    .daily-category {
        padding: 10px 0;
    }
    .product-image img {
        height: 200px;
    }
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
    }

    /*  TOP PRODUCTS  */
    .top-banner {
        padding: 25px 15px 15px;
    }
    .top-banner .top_h4,
    .top-banner .top-h4,
    .top-banner h4 {
        font-size: 16px;
    }

    /*  BENEFITS  */
    .swiperBenefits .swiper-pagination-bullet {
        display: flex !important;
    }
    .swiperBenefits .swiper-slide:after {
        content: none;
    }

    /* INTERESTING CATEGORIES */
    .interest-category h4 {
        font-size: 16px;
    }

    /* NEWS */
    .blog-detail-page .new-content {
        min-height: 100px;
    }
    .blog-detail-page .new-content .new-title,
    .blog-detail-page .new-content h4 {
        font-size: 20px;
    }
    .new-detail-img img {
        height: 400px;
    }

    /* SUBSCRIPTION */
    .subscription-inputs {
        flex-direction: column;
    }

    /*  FLOATING ACTIONS  */
    .floating {
        display: flex;
        justify-content: space-between;
    }
    
    /* LIQUID GLASS FLOATING ACTIONS */
    .floating-actions {
        background: rgba(59, 63, 67, 0.9);
        
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 
                    0 0 0 1px rgba(255, 255, 255, 0.1);
        
        transition: all 0.3s ease-in-out;
    }
    
    @supports (backdrop-filter: blur(20px)) {
        .floating-actions {
            background: rgba(59, 63, 67, 0.35);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }
    }
    
    .floating-actions:hover {
        background: rgba(59, 63, 67, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.35);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15),
                    0 0 0 1px rgba(255, 255, 255, 0.15),
                    0 0 20px rgba(255, 255, 255, 0.1);
    }
    
    @supports (backdrop-filter: blur(20px)) {
        .floating-actions:hover {
            background: rgba(59, 63, 67, 0.45);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
        }
    }

    /* CATEGORY PAGE */
    .interest-grid-v2 .interest-category {
        height: auto;
    }
    .title-category a {
        font-size: 24px;
    }
    .title-category svg {
        width: 16px;
        height: 16px;
    }

    /*  PRODUCTS  */
    .arange-hide{
        display: none;
    }
    .sort-title {
        color: 	var(--lightGray-color);
    }
    .sort {
        width: 50%;
        padding: 10px;
        color: var(--lightGray-color);
        border: 1px solid #D9D9D9;
        border-radius: var(--border-radius-1);
        background-color: transparent;
    }
    .sort-item.active {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        color: var(--lightGray-color);
    }
    .sort-box {
        gap: 15px;
    }
    .sort-dropdown {
        position: absolute;
        flex-direction: column;
        top: 65px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background-color: var(--white-color);
        border-radius: var(--border-radius-2);
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        transition: all .0s cubic-bezier(.29, .39, .68, .53);
    }
    .sort-dropdown.active {
        height: 250px;
        /*transition: all .5s cubic-bezier(.29, .39, .68, .53);*/
        padding-top: 20px;
        padding-left: 10px;
        z-index: 50;
    }
    .sort-item.active {
        padding: 0;
        text-align: center;
    }
    .sort-item {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }
    .sort-item i {
        display: block;
    }
    .filter-btn {
        display: flex;
        gap: 10px;
        width: 50%;
    }

    /*  PRODUCTS PAGE  */
    .filter-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        transform: translate(-100%,0);
        transition: all .3s cubic-bezier(.29,.39,.68,.53);
        -webkit-transition: all .3s cubic-bezier(.29,.39,.68,.53);
        border-radius: 0;
        overflow: hidden;
        height: 100%;
        display: flex;
        z-index: 300;
        flex-direction: column;
    }
    .filter-list {
        padding-top: 0;
    }
    .filter-btn,
    .filter-mobile {
        display: flex;
    }
    .apply-btn {
        display: flex;
        width: 100%;
    }
    .filter-btns {
        display: flex;
        gap: 10px;
        padding: 0 15px 15px;
    }
    .reset-btn {
        border-radius: var(--border-radius-2);
    }
    .products {
        width: 100%;
    }
    .more-button {
        padding: 10px 0 10px;
    }
    .more-btn {
        width: 50%;
    }

    /*  PRODUCT DETAIL  */
    .product-card {
        min-height: 400px;
    }
    .title h2,
    .title h3,
    .products-page .title h1,
    .promotions-page .title h1,
    .category-page .title h1,
    .cart-page .title h1,
    .checkout-page .title h1,
    .compare-page .title h1,
    .contacts-page .title h1,
    .payment-page .title h1,
    .terms-page .title h1,
    .about-us-page .title h1,
    .message-page .title h1 {
        font-size: 18px;
    }
    .table-row {
        flex-direction: column;
    }
    .table-row:nth-of-type(odd),
    .table-row:nth-child(even) {
        background-color: transparent;
    }
    .table-box {
        width: 100%;
    }
    .table-box:nth-child(odd) {
        background-color: white;
    }
    .table-box:nth-child(even) {
        background-color: #F5F5F5;
    }
    .product-details {
        flex-direction: column;
    }
    .product-characteristics,
    .product-action-box{
        width: 100%;
    }
    .floating-product.active {
        min-height: 50px;
        transform: translate(-50%, 0);
        transition: all .1s cubic-bezier(.29, .39, .68, .53);
    }
    .set-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        row-gap: 80px;
        justify-items: center;
    }
    .set-products .product-card:first-of-type {
        grid-column: span 2;
        max-width: 370px;
    }
    .set-products .product-card:nth-of-type(2):after {
        content: none;
    }
    .set-products .product-card:after {
        right: 50%;
        top: auto;
        bottom: -55px;
    }
    .floating-chat {
        bottom: 120px;
    }
    .product-detail-page .title h1 {
        width: 400px;
    }


    /*  SHOPPING CART  */
    .shoppingCart-content {
        gap: 25px;
    }
    .shoppingCart-content .product-text p {
        display: block;
    }
    .shopping-sale-product .product-stars {
        display: none;
    }
    .shopping-sale-product .shoppingCart-actions {
        position: relative;
        flex-direction: column;
        align-items: start;
        gap: 0;
        padding: 15px 50px 15px 15px;
    }
    .shopping-sale-product .product-price {
        width: auto;
    }
    .shopping-sale-product .shoppingCart-actions .product-price {
        min-width:auto;
    }
    .shopping-sale-product .shoppingCart-actions .old-price {
        flex-direction: row;
    }
    .shopping-sale-product .product-text {
        padding-bottom: 10px;
    }
    .shopping-sale-product .add-to-cart .preorder_btn{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 10px;
    }
    .product-navigation .product-nav:hover {
        color: var(--lightGray-color);
    }
    .product-navigation .product-nav:hover::after{
        width: 0%;
    }

    /*  CHECKOUT  */
    .credit-box .delivery-inputs {
        grid-template-columns: repeat(2, 1fr);
    }
    .credit-details,
    .credit-benefits {
        flex-wrap: wrap;
        gap: 15px;
    }

    /*  SUCCESS PAGE  */
    .summary-name p {
        display: none;
    }
    .success-message {
        padding: 25px;
    }
    .success-message h3,
    .error-text p{
        font-size: 16px;
    }
    .message-buttons,
    .promocode-btn,
    .copy-btn {
        width: 100%;
    }
    .error-message .promocode-btn {
        padding: 20px 15px;
    }

    /*  PROMOTIONS  */
    
    .promotion-image img {
        object-position: center;
    }

    /*  PROMOTION DETAIL  */
    .promotion-page .sort-box {
        display: flex;
    }
    
    .promotion-detail-text {
        padding-top: 0;
    }
    .promotion-detail-text > p,
    .collapse-title{
        font-size: 16px;
    }
    .promotion-collapse {
        padding: 0 15px;
    }
    .promotion-page .filter-container {
        z-index: 1200;
    }

    /*  WISHLIST  */
    .wishlist-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* COMPARE */
    .compare-sidebar {
        width: 50%;
    }
    .compare-products {
        width: 50% !important;
    }
    .compare-content .filter-switch {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .compare-category-title {
        font-size: 14px;
    }
    .compare-sidebar-details {
        padding: 15px 15px 0;
    }

    /*  CONTACTS PAGE  */
    .contacts-box {
        flex-direction: column;
    }
    .contacts-timetable-box {
        width: 100%;
        height: auto;
    }
    .contacts-box #map {
        width: 100%;
        height: 450px;
    }

    /*  ABOUT US  */
    .about-us-section .about-us-container {
        flex-direction: column;
        align-items: start;
    }
    .about-us-section .about-us-img,
    .about-us-section .about-us-content{
        width: 100%;
    }
    .about-categories,
    .about-us-section,
    .contacts-section {
        padding-top: 50px;
    }
    .about-us-content {
        padding: 0;
    }
    .about-page,
    .about-subscription {
        padding-top: 50px;
    }

    /* PAYMENT PAGE */
    .subtitles h3,
    .subtitles p{
        font-size: 16px;
    }
    .payment-container .detail-text p {
        font-size: 14px;
    }

    /*  DELIVERY PAGE  */
    .delivery-container .details-box {
        flex-direction: column;
    }
    .delivery-container .details-box .detail-icon {
        width: 100%;
        min-width: 100%;
        height: 90px;
        border-radius: 15px 15px 0 0;
    }
    .detail-map #map {
        border-radius: 0 0 15px 15px;
    }

    /*  CREDIT PAGE  */
    .credit-steps {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
    .credit-checks {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* HOW TO ORDER PAGE  */
    .order-steps {
        grid-template-columns:repeat(1, 1fr);
    }

    /* SERVICE CENTRES  */
    .service-centre {
        grid-template-columns:repeat(1, 1fr);
        gap: 15px;
    }

    /*  AUTH PAGE  */
    .auth-form {
        width: 100%;
    }
    .auth-form h3 {
        font-size: 24px;
    }


    /* ACCOUNT */
    .account-page {
        padding: 0 0 100px;
        border-radius: 0;
    }
    .account-sidebar {
        min-width: 100%;
    }
    .account-detailed .account-sidebar {
        display: none;
    }
    .main-page .container {
        padding: 0;
    }
    .account-content,
    .save-btn,
    .custom-inner-modal {
        width: 100%;
    }
    .account-back {
        display: flex;
    }
    .account-logout {
        border-radius: 0;
    }
    .account-title,
    .table-head .tr {
        border-bottom: none;
    }
    .account-title h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .favorite-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .shoppingCart-product {
        position: relative;
        flex-direction: column;
        align-items: start;
        padding-right: 70px;
    }
    .delete-from-cart {
        position: absolute;
        top: 15px;
        right: 15px;
    }
    .shoppingCart-actions {
        width: 100%;
        flex-direction: row-reverse;
        justify-content: space-around;
    }
    .add-to-cart .preorder_btn img {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
        display: block;
    }
}
@media(max-width: 600px) {
    .product-set{
        padding: 5% 1%;
    }
    /* NEWS */
    .news-container {
        grid-template-columns: repeat(1, 1fr);
    }

    /* CATEGORY PAGE */
    .interest-grid-v2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .title-category a {
        font-size: 16px;
    }

    /* PRODUCT DETAIL */
    .products-page .title {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
    .rating-number .stars img,
    .user-rating-box .stars img{
        height: auto;
    }
    .user-rating-box {
        justify-content: space-between;
    }
    .average-number {
        font-size: 64px;
    }
    .rating-number {
        width: 150px;
        min-width: 150px;
        height: 150px;
    }
    .ratings-slides {
        height: 150px;
    }
    .row-number span,
    .rating-quantity {
        font-size: 14px;
    }
    .rating-rules {
        display: none;
    }
    .comments {
        border-bottom: 1px solid var(--text-color);
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
    .rating-comments .rating-btn {
        display: block;
    }
    .video-full {
        height: 400px;
    }
    .filter-container {
        padding-bottom: 150px;
    }
    .product-detail-page .title h1 {
        width: 100%;
    }

    /*  SHOPPING CART  */
    .cart-progress-box h3 {
        font-size: 16px;
    }

    .progress,
    .progress-container::before {
        top: 10px;
        height: 4px;
    }
    .progress-circle {
        width: 20px;
        height: 20px;
    }
    .text-wrap p {
        width: auto;
        font-size: 12px;
    }
    .best-seller {
        bottom: -30px;
        padding: 20px 60px;
    }
    .shoppingCart-content .product-text .product-title {
        font-size: 14px;
    }
    .shoppingCart-content .product-text p {
        font-size: 12px;
    }

    /*  CHECKOUT  */
    .credit-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .checkout-inputs,
    .delivery-inputs {
        flex-direction: column;
    }

    /*  SUCCESS PAGE  */
    .message-page .title {
        justify-content: center;
    }
    .message-page .title h1 {
        text-align: center;
        font-size: 20px;
    }
    .message-page .title br {
        display: block;
    }
    .promocode-btn,
    .cart-summary > span,
    .summary-price,
    .summary-delivery .free {
        font-size: 16px;
    }
    .success-container .summary-box .subtotal:last-of-type {
        font-size: 16px;
    }
    .summary-name h4 {
        font-size: 12px;
    }
    .order-number {
        text-align: center;
    }
    .copy-btn {
        gap: 25px;
        font-size: 14px;
    }

    /*  PROMOTIONS  */

    .add-to-cart .preorder_btn img {
        width: 25px;
        height: 25px;
        flex-shrink: 0;
        display: block;
    }
    .product-badge-left {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    .product-badges-left {
        top: 45px;
        left: 8;
        gap: 4px;
    }
    .go-to-top-btn {
        left: 15px;
        bottom: 85px;
        width: 60px;
        height: 60px;
    }
    
    .go-to-top-btn svg {
        width: 25px;
        height: 25px;
    }

    .floating-product.show ~ * .go-to-top-btn,
    .floating-product[style*="height: auto"] ~ * .go-to-top-btn,
    .floating-product:not([style*="height: 0"]) ~ * .go-to-top-btn {
        bottom: 175px !important;
    }
    
    .floating[style*="display: block"] ~ * .go-to-top-btn {
        bottom: 85px;
    }
    
    .floating[style*="display: none"] ~ * .go-to-top-btn,
    body:not(.has-floating-actions) .go-to-top-btn {
        bottom: 25px;
    }
}
@media(max-width: 500px) {
    /* HEADER */
    .add-text {
        font-size: 10px;
    }
    .add-btn {
        font-size: 10px;
        width: 80px;
    }
    .logo-mobile img {
        width: 75px;
    }
    .search-price {
        flex-direction: column-reverse;
        gap: 0;
    }

    /*  BANNER  */
    .banner-text h2 {
        font-size: 24px;
    }
    .swiperBanner .swiper-slide {
        height: 400px;
    }

    /*  NEWS  */
    .news .title a {
        display: none;
    }
    .blog-detail-page .new-content .new-title,
    .blog-detail-page .new-content h4,
    .blog-text h3{
        font-size: 16px;
    }
    .blog-text p, .blog-text li {
        font-size: 14px;
    }

    /*  SUBSCRIPTION  */
    .subscription-container {
        padding: 20px;
    }
    .subscription-container > h1 {
        font-size: 18px;
    }
    .interest-category {
        height: 300px;
    }

    /* INTERESTING CATEGORIES */
    .interest-grid-v2 .interest-category {
        height: auto;
    }

    /* PRODUCT CARD */
    .top-btn {
        font-size: 16px;
    }
    .product-card {
        padding: 10px;
        min-height: 310px;
    }
    .product-hilights {
        gap: 5px;
    }
    .credit {
        height: 22px;
        overflow: hidden;
    }
    .credit p {
        font-size: 10px;
        padding: 0 3px;
    }
    .credit span img,
    .hot img{
        height: 16px;
    }
    .hot {
        width: 22px;
        height: 22px;
    }
    .add-action-btn svg {
        width: 22px;
        height: 22px;
    }
    .hot span {
        font-size: 5px;
    }
    .product-text .product-title,
    .top-banner .top-h4,
    .top-banner .top_h4,
    .top-banner h4 {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
        min-height: calc(2 * 1.3em);
    }
    
    .product-text p {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
        min-height: 1.2em;
    }
    
    .product-image img {
        height: 160px;
    }
    .old-number, .substract {
        font-size: 12px;
    }
    .actual-price {
        font-size: 18px;
    }

    .modal-price .actual-price,
    .modal-price .actual-price p,
    .modal-price .actual-price span,
    .modal-price .price-info {
        font-size: 24px !important;
        font-weight: 600 !important;
    }

    .modal-price .old-price .old-number,
    .modal-price .old-price .substract {
        font-size: 18px !important;
    }

    .total-price-display strong {
        font-size: 26px !important;
    }
    .add-to-cart .preorder_btn {
        width: 35px;
        height: 35px;
    }
    .add-to-cart .preorder_btn img {
        width: 25px;
        height: 25px;
        flex-shrink: 0;
        display: block;
    }

    /* FOOTER */
    .floating,
    .floating-product{
        width: 100%;
    }

    /*  PRODUCTS PAGE  */
    .more-btn {
        width: 100%;
    }
    .pagination-text {
        font-size: 14px;
    }
    .pagination {
        gap: 5px;
    }

    /* PRODUCT DETAIL   */
    .fixed-product {
        top: 112px;
    }
    .fixed-product .product-navigation {
        width: 100%;
    }
    .swiperFixedNav .swiper-slide {
        padding-right: 30px;
    }
    .product-navigation {
        overflow: hidden;
    }
    .swiper-container.slider-thumbnail {
        height: auto;
    }
    .swiper-container.gallerySlider .swiper-slide img{
        height: 350px;
        width: 350px;
        padding: 0 15px;
    }
    .gallery-arrows .swiper-button-prev {
        left: -10px;
        right: auto;
    }
    .gallery-arrows .swiper-button-next {
        right: -10px;
    }
    .tab-title {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }
    .rating-comments .rating-btn,
    .set-price .add-to-cart .preorder_btn {
        width: 100%;
    }
    .set-price .old-number,
    .set-price .substract {
        font-size: 16px;
    }
    .set-products .product-card {
        padding-bottom: 25px;
    }
    .product-set {
        padding: 15px;
    }
    .set-products .product-image img {
        height: 40px;
    }

    .preorder_popup_content .product_content,
    .buy_popup_content .product_content,
    .credit_popup_content .product_content {
        text-align: center !important;
    }

    .modal-price .actual-price {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
    }

    .modal-price .actual-price p {
        margin: 0 !important;
        white-space: nowrap !important;
    }

    .modal-price .actual-price .price-info {
        display: flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        gap: 5px !important;
    }

    .modal-price .old-price {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        margin-bottom: 5px !important;
    }

    .modal-price .old-price .old-number,
    .modal-price .old-price .substract {
        display: inline !important;
        margin: 0 !important;
    }

    .product_content h5,
    .product_content p {
        text-align: center !important;
    }

    .product_content .review-card {
        justify-content: center !important;
    }

    .product_content .product-stars {
        justify-content: center !important;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .preorder_popup_content .product_content,
    .buy_popup_content .product_content,
    .credit_popup_content .product_content {
        text-align: center !important;
    }

    .modal-price .actual-price {
        justify-content: center !important;
    }

    .product_content .review-card {
        justify-content: center !important;
    }
}

@media (max-width: 1024px) {
    .product-label .old-number,
    .product-label .substract {
        font-size: 16px;
    }
    .set-price .product-price{
        flex-direction: column;
        gap: 15px;
    }

    /*  SHOPPING CART  */
    .cart-contact {
        display: none;
    }
    .shoppingCart-content .product-image img,
    .shopping-sale-product .product-image img{
        width: 75px;
        height: 75px;
    }
    .shoppingCart-product {
        gap: 0;
    }
    .best-seller {
        width: 90%;
        padding: 20px 30px;
        font-size: 14px;
    }

    /*  CHECKOUT  */
    .map-intro {
        flex-direction: column;
    }
    .map-intro span {
        position: relative;
        left: 27px;
    }
    .credit-box .delivery-inputs {
        grid-template-columns: repeat(1, 1fr);
        border-bottom: none;
    }
    .credit-content .delivery-inputs {
        grid-template-columns: repeat(2, 1fr);
    }
    .tab-buttons {
        width: 100%;
    }
    .checkout-box {
        padding: 15px;
    }
    .delivery-inputs label span {
        position: relative;
    }
    .cards-images {
        top: 50%;
        transform: translateX(-50%);
        left: 40%;
    }
    .credit-img {
        top: 0;
        left: 50%;
        bottom: auto;
    }

    /*  SUCCESS PAGE  */
    .message-buttons {
        flex-direction: column;
    }
    .copy-btn {
        justify-content: center;
    }
    .success-container .summary-box {
        gap: 15px;
    }

    /*  PROMOTIONS  */
    .promotion-products {
        grid-template-columns: repeat(1, 1fr);
    }
    .promotion-detail-container .promotion-image img {
        height: 400px;
    }
    .collapse-box {
        font-size: 14px;
    }

    /*  COMPARE  */
    .compare-category-title {
        font-size: 12px;
    }
    .compare-sidebar-details .filter-switch p{
        font-size: 12px;
        text-align: center;
    }
    .compare-product .product-card,
    .compare-sidebar-details {
        min-height: 330px;
    }
    .compare-category-dropdown {
        top: 70px;
    }
    .compare-category-dropdown.active {
        max-height: 150px;
    }

    /*  CONTACTS  */
    .detail-icon {
        min-width: 90px;
        width: 90px;
    }
    .detail-icon span {
        width: 40px;
    }
    .contacts-intro .header-timetable {
        display: none;
    }

    /*  DELIVERY PAGE  */
    .detail-map {
        min-width: 100%;
    }

    /*  CREDIT PAGE  */
    .credit-checks {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }

    /*  ACCOUNT  */
    .table-product-text h4 {
        width: 150px;
    }
    .orders-table .table-body .td {
        font-size: 14px;
    }
    .account-table-details {
        padding: 0 15px;
    }
    .switches-container > p {
        top: -12px;
    }
    .account-switches {
        flex-direction: column;
        padding-top: 10px;
    }
    .empty-pass {
        display: none;
    }
    .add-address {
        width: 100%;
    }
    .account-table .tr .td:last-child {
        display: none;
    }

    /* Modal prices for small mobile devices */
    .modal-price .actual-price,
    .modal-price .actual-price p,
    .modal-price .actual-price span,
    .modal-price .price-info {
        font-size: 22px !important;
        font-weight: 600 !important;
    }

    .modal-price .old-price .old-number,
    .modal-price .old-price .substract {
        font-size: 16px !important;
    }

    .total-price-display strong {
        font-size: 24px !important;
    }
}
@media(max-width: 450px) {
    /* HEADER */
    .navigation-slide {
        font-size: 12px;
    }
    .navigation-slide[href*="promotii"],
    .navigation-slide[href*="aktsii"] {
        color: var(--red-color);
        font-size: 14px;
        font-weight: 700;
    }
    .navigation-slide[href*="promotii"]:hover,
    .navigation-slide[href*="aktsii"]:hover {
        color: var(--white-color);
    }
    .navigation-slide[href*="promotii"] .fill path,
    .navigation-slide[href*="aktsii"] .fill path {
        fill: var(--red-color);
    }
    .navigation-slide[href*="promotii"]:hover .fill path,
    .navigation-slide[href*="aktsii"]:hover .fill path {
        fill: var(--white-color);
    }
    .navigation-slide[href*="promotii"] .stroke path,
    .navigation-slide[href*="aktsii"] .stroke path {
        stroke: var(--red-color);
    }
    .navigation-slide[href*="promotii"]:hover .stroke path,
    .navigation-slide[href*="aktsii"]:hover .stroke path {
        stroke: var(--white-color);
    }

    /* BLOG */
    .new-detail-img img {
        height: 350px;
    }

    /*  PRODUCT DETAIL  */
    .table-title,
    .table-text {
        padding: 10px;
    }
    .rating-number {
        min-width: 130px;
    }
    .rating-resume {
        gap: 15px;
    }
    .user-text h3 {
        font-size: 14px;
    }
    .user-rating-box {
        flex-direction: column;
        gap: 15px;
    }
    .product-set h3 {
        font-size: 16px;
    }

    /*  SHOPPING CART  */
    .best-seller {
        padding: 20px;
    }

    /*  CHECKOUT  */
    .checkbox-title {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }

    /*  CREDIT PAGE  */
    .credits-box .cards-payment img:first-of-type,
    .credits-box .cards-payment img:last-of-type {
        width: 100%;
        height: auto;
    }

    /* ACCOUNT */
    .account-table .tr .td,
    .account-table .tr .th {
        font-size: 14px;
    }

    /* Modal prices for very small mobile devices */
    .modal-price .actual-price,
    .modal-price .actual-price p,
    .modal-price .actual-price span,
    .modal-price .price-info {
        font-size: 20px !important;
        font-weight: 600 !important;
    }

    .modal-price .old-price .old-number,
    .modal-price .old-price .substract {
        font-size: 14px !important;
    }

    .total-price-display strong {
        font-size: 22px !important;
    }
}
@media(max-width: 380px) {
    /* HEADER */
    .action-second-box {
        gap: 5px;
    }
    .action-box {
        padding-right: 5px;
    }
    .menuOpen .mega-menu {
        padding: 0 12px 0 0;
    }
    .megadrop-back a, .back-btn a {
        gap: 25px;
    }
    .close-menu {
        top: 5px;
        right: 12px;
        font-size: 24px;
    }
    .static-category {
        gap: 5px;
    }
    .static-category p {
        font-size: 12px;
    }
    .mobile-search-result {
        padding: 15px;
    }

    /* NEW */
    .new-content .new-title,
    .new-content h4 {
        font-size: 16px;
    }

    /*  DAILY PRODUCTS  */
    .swiper-button-prev {
        right: 35px;
    }
    .title h2,
    .title h3,
    .products-page .title h1,
    .promotions-page .title h1,
    .category-page .title h1,
    .cart-page .title h1,
    .checkout-page .title h1,
    .compare-page .title h1,
    .contacts-page .title h1,
    .payment-page .title h1,
    .terms-page .title h1,
    .about-us-page .title h1,
    .message-page .title h1{
        font-size: 18px;
    }
    .swiperBenefits .swiper-pagination-bullets,
    .swiperBenefits .swiper-pagination-horizontal {
        gap: 5px;
    }

    /* INTERESTING CATEGORIES */
    .interest-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .interest-image img {
        width: 180px;
    }

    /*  FOOTER  */
    .cards img {
        width: 120px;
    }
    .footer-logo-img {
        height: 30px;
    }
    .footer-links .container {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }
    .footer-questions h1,
    .question-type .tag-h3,
    .question-type h3,
    .contact-detail p{
        text-align: center;
    }
    .links-box .tag_h4,
    .links-box h4,
    .links-box li {
        text-align: center;
    }
    .floating-actions {
        padding: 15px 5px;
    }
    .floating-inner svg {
        width: 25px;
        height: 25px;
    }

    /*  PRODUCTS  */
    .sort-box {
        gap: 5px;
    }
    .sort-item {
        font-size: 14px;
    }
    .swiper-container.gallerySlider .swiper-slide img{
        height: 280px;
        width: 2800px;
        padding: 0 15px;
    }

    /*  PRODUCTS PAGE  */
    .apply-btn {
        padding: 20px 0;
    }
    .filter-btns {
        flex-direction: column;
    }

    /*  PRODUCT DETAIL  */
    .product-card {
        min-height: 300px;
    }
    .rating-number {
        min-width: 100%;
    }
    .rating-number .stars {
        justify-content: center;
        gap: 15px;
    }
    .rating-number .stars img {
        width: 20px;
    }
    .rating-resume {
        flex-direction: column;
    }
    .floating-product .add-to-cart .preorder_btn,
    .floating-product .floating-price,
    .floating-preorder .preorder_btn,
    .floating-preorder .floating-price,
    .credit-btn .btn span {
        font-size: 14px;
    }
    .set-products {
        grid-template-columns: repeat(1, 1fr);
    }
    .set-products .product-card:first-of-type {
        grid-column: span 1;
    }
    .set-products .product-card:nth-of-type(2):after {
        content: url('/assets/images/icons/plus.svg');
    }
    .set-price .add-to-cart .preorder_btn {
        font-size: 14px;
    }

    /*  CHECKOUT  */
    .delivery-inputs label span {
        position: static;
    }
    .cards-images {
        bottom: 10px;
        transform: none;
        left: 15px;
    }
    .credit-img {
        bottom: 0;
        left: 10px;
        top: auto;
    }
    .credit-benefits,
    .credit-content .delivery-inputs {
        grid-template-columns: repeat(1, 1fr);
    }
    .map-intro {
        align-items: start;
    }

    /*  SUCCESS PAGE  */
    .success-message,
    .success-container,
    .error-message{
        padding: 15px;
    }

    /* COMPARE */
    .compare-block .compare-header {
        width: 100%;
        min-height: auto;
        flex-direction: column;
    }
    .compare-header-title {
        width: 100% !important;
        padding: 15px !important;
    }
    .compare-sidebar {
        display: none;
    }
    .compare-category-dropdown {
        top: 60px;
    }
    .compare-products {
        width: 100% !important;
        overflow: visible;
        flex-direction: column;
    }
    .compare-product {
        width: 100%;
    }
    .compare-product .product-card {
        min-height: auto;
    }
    .compare-features-container {
        display: flex;
    }
    .mobile-sidebar {
        width: 100%;
        display: block;
    }
    .compare-content {
        padding-top: 20px;
    }
    .compare-features {
        width: 50%;
    }
    .mobile-sidebar .compare-sidebar-feature:first-of-type {
        border-top: 1px solid #D9D9D9;
    }
    .compare-block .compare-sidebar-feature:last-of-type {
        border-radius: 0 0 15px 0;
    }
    .compare-block .compare-product-feature:last-of-type {
        border-radius: 0 0 0 15px;
    }
    .compare-block .compare-product-feature {
        padding-left: 0;
    }

    /*  CONTACTS  */
    .detail-text {
        padding: 15px;
    }
    .detail-text h3 {
        font-size: 16px;
    }

    /*  ACCOUNT  */
    .orders-table .table-body .td {
        font-size: 12px;
    }
    .table-product img {
        width: 30px;
        height: 30px;
    }
    .table-product-text h4,
    .table-product,
    .table-price {
        font-size: 10px;
    }
}
@media(max-width: 350px) {
    /* CATEGORY PAGE */
    .interest-grid-v2 {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 25px;
    }
   .interest-category-v2 {
        height: auto;
    }

    /*  PRODUCTS PAGE  */
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /*  SHOPPING CART  */
    .cart-progress-box {
        padding: 25px 30px 60px;
    }
    .cart-progress-box h3 {
        font-size: 14px;
    }
    .best-seller {
        bottom: -40px;
    }
    .shoppingCart-content {
        flex-direction: column;
    }
    .shoppingCart-actions .product-price {
        width: auto;
    }
    .shoppingCart-product {
        padding-right: 15px;
    }
    .shopping-sale-product {
        flex-direction: column;
    }
    .shopping-sale-product .product-image  {
        padding: 20px 0;
    }
    .shopping-sale-product .add-to-cart .preorder_btn{
        top: auto;
        bottom: -10px;
    }

    /*  WISHLIST  */
    .wishlist-container {
        grid-template-columns: repeat(1, 1fr);
    }

    /*  PAYMENT PAGE  */
    .details-box {
        flex-direction: column;
    }
    .detail-icon {
        width: 100%;
        min-width: 100%;
        height: 90px;
        border-radius: 15px 15px 0 0;
    }

    /*  CREDIT PAGE  */
    .credit-number {
        min-width: 55px;
        height: 55px;
    }
    .credit-intro h3 {
        font-size: 16px;
    }

    /*  ACCOUNT  */
    .table-product {
        flex-wrap: wrap;
    }
    .table-product > div {
        width: 100%;
    }
    .orders-table .table-head .td {
        font-size: 12px;
    }
    .orders-table .tr .td {
        padding: 15px 5px;
    }
    .favorite-container {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 300px) {
    .title h2,
    .title h3,
    .products-page .title h1,
    .promotions-page .title h1,
    .category-page .title h1,
    .cart-page .title h1,
    .checkout-page .title h1,
    .compare-page .title h1,
    .contacts-page .title h1,
    .payment-page .title h1,
    .terms-page .title h1,
    .about-us-page .title h1,
    .message-page .title h1 {
        font-size: 16px;
    }
    .swiper-button-prev {
        right: 20px;
    }

    /*  HEADER  */
    .static-category:last-of-type {
        display: none;
    }

    .gallery-arrows {
        bottom: 55px;
    }

    /*  PRODUCT  */
    .credit {
        height: 30px;
    }
    .hot,
    .add-action-btn svg {
        width: 30px;
        height: 30px;
    }
    .credit span {
        padding: 4px 5px;
    }
    .hot {
        justify-content: center;
    }
    .hot img {
        height: 15px;
    }
}
@media(max-width: 655px){
    .shoppingCart-actions .the-last{
        min-width: 180px!important;
    }
}
@media(max-width: 400px){
    .shoppingCart-actions .the-last{
        min-width: 190px!important;
    }
}

.stock_notification_popup {
    padding: 10px;
}

.stock_popup_container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    max-height: 80vh; 
}

.stock_popup_content {
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

/* Compact alert text globally */
.stock_notification_popup .alert-info {
    font-size: 0.8rem !important;
    padding: 4px 8px !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
}

@media (max-width: 420px) {
    .stock_notification_popup .alert-info {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .stock_popup_container {
        max-width: calc(100vw - 20px);
        margin: 10px;
        max-height: calc(85vh - 20px); /* Smaller on mobile */
        overflow-y: auto;
    }
    
    .stock_popup_title h4 {
        font-size: 1rem; /* Smaller title */
        margin: 0;
        padding: 10px 15px 5px; /* Reduced padding */
    }
    
    .stock_popup_content {
        padding: 5px 15px 15px; /* Reduced padding */
        max-height: calc(85vh - 60px);
    }
    
    .stock_notification_popup .row {
        margin: 0 -5px;
    }
    
    .stock_notification_popup .row > [class*="col-"] {
        padding: 0 5px;
        margin-bottom: 10px; /* Reduced margin */
    }
    
    .stock_notification_popup .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .stock_notification_popup .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 0 !important;
    }
    
    .stock_notification_popup .product-image img {
        width: 80px; /* Smaller image */
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
        margin: 0 auto;
        display: block;
    }
    
    .stock_product_title {
        font-size: 0.9rem !important; 
        margin: 8px 0 3px !important; 
        line-height: 1.2;
        text-align: center;
    }
    
    .stock_product_description {
        font-size: 0.8rem; 
        text-align: center;
        margin-bottom: 8px;
    }
    
    .stock_contact_info .alert {
        font-size: 0.75rem;
        padding: 4px 8px; 
        margin-bottom: 6px; 
        line-height: 1.2; 
    }
    
    @media (max-width: 480px) {
        .stock_contact_info .alert {
            display: none;
        }
    }
    
    .stock-form-box {
        padding: 0;
    }
    
    .stock-form-inputs {
        margin-bottom: 10px; /* Reduced margin */
        flex-direction: column;
        gap: 8px; /* Reduced gap */
    }
    
    .stock-form-inputs .float-left {
        width: 100% !important;
        margin-bottom: 0;
    }
    
    .stock-form-inputs input[type="text"] {
        font-size: 16px;
        padding: 8px 10px;
        border-radius: 4px;
        height: 40px;
    }
    
    .stock-form-inputs label {
        font-size: 0.8rem;
    }
    
    .stock_submit_btn {
        width: 100%;
        padding: 8px 15px;
        font-size: 0.9rem;
        border-radius: 4px;
        margin-top: 8px;
        height: 40px;
    }
    
    .stock_popup_close {
        top: 8px;
        right: 8px;
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 768px) and (min-width: 577px) {
    .stock_popup_container {
        max-width: calc(100vw - 40px);
        margin: 20px;
        max-height: calc(80vh - 40px);
    }
    
    .stock_popup_title h4 {
        font-size: 1rem;
        padding: 12px 20px 8px;
    }
    
    .stock_popup_content {
        padding: 8px 20px 15px;
        max-height: calc(80vh - 80px);
        overflow-y: auto;
    }
    
    .stock_notification_popup .col-lg-5,
    .stock_notification_popup .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .stock_notification_popup .col-lg-7 {
        margin-top: 10px !important;
    }
    
    .stock_notification_popup .product-image img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 6px;
        margin: 0 auto;
        display: block;
    }
    
    .stock_product_title {
        text-align: center;
        font-size: 1rem !important;
        margin: 8px 0 4px !important;
    }
    
    .stock_product_description {
        text-align: center;
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .stock_contact_info .alert {
        font-size: 0.8rem;
        padding: 4px 8px; /* Reduced padding */
        margin-bottom: 8px; /* Reduced margin */
        line-height: 1.2;
    }
    
    .stock-form-inputs {
        margin-bottom: 10px;
        gap: 8px;
    }
    
    .stock-form-inputs input[type="text"] {
        padding: 8px 10px;
        height: 42px;
    }
    
    .stock_submit_btn {
        padding: 8px 15px;
        height: 42px;
        font-size: 0.95rem;
    }
}

/* Medium screens */
@media (max-width: 992px) and (min-width: 769px) {
    .stock_popup_container {
        max-width: 550px; /* Smaller container */
        max-height: 75vh; /* Limit height */
    }
    
    .stock_popup_content {
        max-height: calc(75vh - 70px);
        overflow-y: auto;
    }
    
    .stock_notification_popup .product-image img {
        width: 100%;
        max-width: 120px; /* Smaller image */
        height: auto;
        object-fit: cover;
    }
    
    .stock_product_title {
        font-size: 1rem !important;
        margin: 8px 0 4px !important;
    }
    
    .stock_contact_info .alert {
        font-size: 0.85rem;
        padding: 6px 10px; /* Reduced padding */
        margin-bottom: 8px; /* Reduced margin */
        line-height: 1.3;
    }
    
    .stock-form-inputs input[type="text"] {
        padding: 8px 12px;
        height: 42px;
    }
    
    .stock_submit_btn {
        padding: 8px 16px;
        height: 42px;
        font-size: 0.95rem;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .stock_popup_container {
        max-height: calc(90vh - 10px); /* Use more of the screen height */
        margin: 5px;
    }
    
    .stock_popup_title h4 {
        padding: 6px 15px 3px; /* Very compact padding */
        font-size: 0.9rem;
    }
    
    .stock_popup_content {
        padding: 3px 15px 10px; /* Very compact padding */
        max-height: calc(90vh - 40px);
    }
    
    .stock_notification_popup .product-image img {
        width: 60px; /* Very small image for landscape */
        height: 60px;
    }
    
    .stock_product_title {
        font-size: 0.8rem !important;
        margin: 4px 0 2px !important;
    }
    
    .stock_product_description {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }
    
    .stock_contact_info .alert {
        font-size: 0.7rem;
        padding: 3px 6px; /* Very compact padding */
        margin-bottom: 4px; /* Very reduced margin */
        line-height: 1.1; /* Very tight line height */
    }
    
    .stock-form-inputs {
        margin-bottom: 6px;
        gap: 4px;
    }
    
    .stock-form-inputs input[type="text"] {
        padding: 6px 8px;
        height: 32px; /* Smaller height */
    }
    
    .stock_submit_btn {
        padding: 6px 12px;
        height: 32px; /* Smaller height */
        font-size: 0.8rem;
        margin-top: 4px;
    }
}

/* Quick order modal touch handling */
.buy_popup {
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.buy_popup_content {
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.buy_popup_container {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.buy_popup_content .form-group {
    touch-action: manipulation;
}

.buy_popup_content input,
.buy_popup_content textarea,
.buy_popup_content select {
    touch-action: manipulation;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Prevent background scrolling when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* Additional mobile-specific modal improvements */
@media (max-width: 768px) {
    .buy_popup {
        touch-action: none !important;
    }
    
    .buy_popup_content {
        max-height: 75vh;
        overflow-y: auto;
        touch-action: pan-y !important;
    }
    
    .buy_popup_container {
        touch-action: pan-y !important;
    }
    
    .buy_popup_content .form-control {
        font-size: 16px !important; /* Prevent zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0;
    }
    
    .buy_popup_content input[type="text"],
    .buy_popup_content input[type="email"],
    .buy_popup_content input[type="tel"] {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
}
