@media screen and (max-width: 1400px ) {
    .header .container,footer .container, .single .container, .page .container
    ,.archive .container
    {
        padding: 5px !important;
    }
}
@media screen and (max-width: 1200px ) {

    .product-intro .entry-image {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .product-intro .entry-image .product-action {
        gap: 0;
        margin-top: 0;
        flex-direction: row;
    }
    .product-intro .entry-image .flex-viewport {
        width: 80%;
    }
    .product-intro .entry-image ol {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    .box-brand .owl-carousel .owl-nav button {
        width: 50px;
        height: 45px;
    }
    .special-box .special-item figure {
        width: 30%;
    }
}
@media screen and (max-width: 1100px ) {
    .gallery {
        column-count: 3;
    }
}
@media screen and (max-width: 470px ) {
    .icons-product2 {
        margin-right: 300px !important;
    }
}
@media screen and (max-width: 420px ) {
    .icons-product2 {
        margin-right: 250px !important;
    }
}
@media screen and (max-width: 400px ) {
    .icons-product2 {
        margin-right: 240px !important;
    }
    .gallery .owl-carousel .owl-nav button.owl-next {
        right: 158px !important;
    }
}
@media screen and (max-width: 992px ) {
    .products .columns-4 .time-vi3 {
        display: none;
    }
    .content-ajax-search ul {
        max-height: 100%;
    }
    .header-sticky {
        position: fixed;
        top: 0;
        background: #fff;
        width: 100%;
    }
    .top-header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .mobile {
        display: block;
    }
    .desktop {
        display: none;
    }
    .close-menu-responsive-full-page {
        display: block;
    }
    form.woocommerce-cart-form {
        flex-wrap: wrap;
    }
    .cart-custom,.woocommerce .cart-collaterals {
        width: 100%;
    }
    .hero-single {
        flex-wrap: wrap;
    }
    .hero-insta {
        flex-wrap: wrap;
        gap: 20px;
    }
    .main-single,.side-single-shop,.hero-insta .right,.hero-insta .left {
        width: 100%;
    }
    .related-item,.related-item h2 {
        height: auto;
    }
    .product-intro {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .product-intro .entry-summary,.product-intro .entry-image {
        width: 100% !important;
    }
    .product-intro .entry-image .flex-viewport {
        width: 75%;
    }
    .product-intro .entry-image ol {
        margin-top: 25px !important;
    }




    .box-insta .first-item {
        width: 20%;
    }
    .box-insta .left-item {
        width: 79%;
    }
    .box-blog {
        flex-wrap: wrap;
    }
    .box-blog .big-post {
        width: 65%;
        margin: auto;
    }
    .box-blog .small-post {
        width: 100%;
    }
    .special-box .special-item .det-special .down {
        flex-wrap: wrap;
    }
    .special-slider {
        flex-wrap: wrap;
        gap: 10px;
    }
    .special-box .owl-stage-outer,.special-slider .owl-dots {
        width: 100%;
    }
    .special-slider .owl-dots {
        flex-direction: row;
        padding-left: 0;
    }
    .special-box:before,.special-box:after {
        height: 66%;
    }
}
@media screen and (max-width: 768px ) {
    .woosw-list table.woosw-items tr:nth-child(2n) td {
        background-color: #fff;
    }
    .woosw-list table.woosw-items .woosw-item .woosw-item--name a {
        font-weight: 500;
        padding: 10px;
    }
    .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
        font-weight: 300;
        white-space: nowrap;
    }
    .woosw-list table.woosw-items tr td {
        padding: 0 !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
    }
    .woocommerce table.my_account_orders td a.button {
        padding: 3px 5px !important;
    }
    .myaccount-order .item-order {
        width: 47%;
        border: 0;
        padding: 15px 0;
    }
    .myaccount-order {
        flex-wrap: wrap;
    }
    .item-detail {
        width: 47%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .myaccount-detail {
        flex-wrap: wrap;
    }
    .gallery {
        column-count: 2;
    }
    .hero-archive .product-item {
        width: 48%;
    }
    .atrin-order-review {
        width: 100%;
    }
    .cart-custom .product-item {
        width: 47%;
    }
    .related .product-item {
        width: 47%;
    }
    .product .related {
        justify-content: center;
    }
    .woocommerce #reviews #comments ol.commentlist li .comment-text {
        flex-wrap: wrap;
    }
    .comment-text .right-review,.comment-text .description,
    .review-radio-question,.rate-list
    {
        width: 100%;
    }
    .show-my-rate {
        margin: 0;
    }
    .custom-field-review {
        gap: 25px;
    }
    .box-insta .first-item {
        width: 25%;
    }
    .box-insta .left-item {
        width: 74%;
    }
    .box-sell {
        flex-wrap: wrap;
    }
    .box-sell .best-sell {
        margin: auto;
    }
    .other-sell {
        width: 100%;
        margin-top: 30px;
    }
    .special-slider .owl-dots {
        display: none !important;
    }
    .special-box:before,.special-box:after {
        height: 100%;
    }
    .special-box::before {
        width: 45%;
    }
    .special-box::after {
        transform: translate(-15%,0px) skew(-14deg,0deg);
        right: 20%;
    }
    .main-slider .owl-carousel .owl-nav button {
        display: none;
    }
}
@media screen and (max-width: 576px ) {
    .line2 {
        width: 150px;
        margin: 0 10px 0 5px;
    }
    .hero-product .title-pro h2 {
        font-size: 16px;
    }
    .view-all {
        font-size: 14px;
    }
    .hero-product .product-item7 i {
        font-size: 21px !important;
    }
    .hero-product .product-item7 .down7 .price7 ins span {
        font-size: 15px;
    }
    .hero-product .product-item7 .down7 .price7 del {
        font-size: 13px;
    }
    .gallery {
        column-count: 1;
    }
    .icons-product2 {
        margin-right: 270px;
    }
    .owl-theme .owl-dots, .owl-theme .owl-nav {
        right: 165px;
        bottom: -6.5px;
    }
    .gallery .owl-carousel .owl-nav button.owl-prev {
        left: 129px;
    }
    .gallery .owl-carousel .owl-nav button.owl-next {
        right: 175px;
    }
    .item-product5 img {
        border-radius: 15px !important;
    }
    .item-product5 video {
        border-radius: 15px;
    }
    .price-product5 del {
        display: none;
    }
    .price-product5 {
        display: block;
        margin: 5px 5px 0 0;
    }
    .box-blog .small-post .post-item {
        width: 100%;
    }
    .woocommerce-product-gallery__wrapperr video, .woocommerce div.product div.images img {
        width: 300px;
        border-radius: 10px !important;
    }
    .woocommerce-product-gallery__wrapperr {
        margin-right: 0;
    }
    .product-intro .entry-image {
        text-align: center;
    }
    .woocommerce .woocommerce-breadcrumb {
        display: none;
    }
    .product-intro .entry-image .product-action .item-action button.woocommerce-product-gallery__trigger {
        display: none;
    }
    .product-intro .entry-image .product-action .item-action button {
        background: none;
        border: none;
    }
    .woosw-btn-has-icon .woosw-btn-icon {
        font-size: 25px !important;
    }
    #modal_share .modal-content {
        width: 370px;
    }
    .product-intro .entry-image ol li {
        width: 300px !important;
    }
    #review_form_wrapper {
        margin-top: 30px;
    }
    #comment-1, #comment-2, #comment-3, #comment-4, #comment-5, #comment-6, #comment-7, #comment-8 {
        width: 320px;
    }
    .woocommerce #reviews #comments h2 {
        font-size: 15px;
    }
    .woocommerce #reviews #comments ol.commentlist {
        width: 90%;
    }
    #modal_video .modal-content {
        width: 350px;
    }
    .woocommerce-review-link {
        display: none;
    }
    .comment-count {
        display: block;
    }
    #btn_modal_video {
        display: flex;
    }
    .columns-4 video {
        width: 100%;
        border-radius: 5px;
    }
    .video-container {
        padding: 5px;
    }
    .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
        margin-left: 0 !important;
    }
    .products.columns-4 {  
        display: flex;  
        flex-wrap: wrap; /* اجازه می‌دهد تا فرزندان در خطوط جدید بچینند */  
    }  
    .products.columns-4 > * { /* برای فرزندان مستقیم این کلاس */  
        flex: 1 0 25%; /* برای حالت دسکتاپ ۴/۱ (ساختار پایه) */  
    }  

    @media (max-width: 768px) {  
        .products.columns-4 > * {  
            flex: 1 0 50%; /* برای حالت موبایل ۲/۱ */  
        }  
    }  
    .sku_wrapper {
        font-size: 12px;
    }
    #reply-title {
        padding-bottom: 20px;
        font-size: 17px;
        font-weight: 500;
    }
    .post-single header h1 {
        font-size: 17px;
    }
    .cart-item-thumbnail {
        height:auto;
    }
    #add_payment_method .wc-proceed-to-checkout, .woocommerce-cart .wc-proceed-to-checkout, .woocommerce-checkout .wc-proceed-to-checkout {
        padding: 20px;
    }
    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        padding: 12px !important;
        font-size: 16px;
    }
    .woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
        font-size: 15px;
        font-weight: 500;
    }
    .woocommerce form .form-row .input-text, .woocommerce-page form .form-row .input-text {
        font-size: 13px;
    }
    p.woocommerce-thankyou-order-received {
        font-size: 18px;
        font-weight: 500;
    }
    .woocommerce ul.order_details li {
        font-size: 15px;
    }
    .woocommerce ul.order_details li strong {
        font-size: 14px;
        font-weight: 500;
    }
    h2.woocommerce-order-details__title {
        font-size: 17px;
        font-weight: 500;
    }
    .woocommerce .woocommerce-customer-details .woocommerce-column__title {
        padding: 15px;
        font-size: 16px;
        font-weight: 500;
    }
    .woocommerce .woocommerce-customer-details :last-child, .woocommerce .woocommerce-order-details :last-child, .woocommerce .woocommerce-order-downloads :last-child {
        padding: 10px;
    }
    .rtl .woocommerce .col2-set .col-1, .rtl .woocommerce-page .col2-set .col-1 {
        padding: 10px;
    }
    .category-slider-shop {
        margin: 20px 0 0 0;
        margin-right: 0;
        width: 100%;
    }
    .product-intro .entry-summary header h1 {
        font-size: 17px;
        font-weight: 500;
    }
    .products .columns-4 li{
        padding: 5px !important;
    }
    .profile-shop {
        margin-right: 140px;
        margin-top: -116px;
        padding-bottom: 15px;
    }
    .atrin-story2  .item-preview {
        width: 95px !important;
        height: 95px !important;
    }
    .sgkl {
        padding: 13px 5px 30px 5px;
        gap: 40px;
    }
    .profile-shop .bio {
        margin-right: -137px;
        margin-top: 10px;
    }
    .atrin-story3 .story > .item-link > .item-preview {
        max-height: 68px !important;
        max-width: 68px !important;
    }
    .stories.carousel .story > .item-link > .info .name {
        font-weight: 400;
    }
    .filter-shop-fa {
        margin-right: 0;
    }

    .modal-header h4 {
        font-weight: 400;
    }
    .widget-header h3 {
        font-size: 15px;
        font-weight: 400;
    }
    .filter-shop-fa {
        padding: 0; 
        border: none; 
        border-radius: 0; 
        margin-right: 0;
        margin-top: 30px;
        position: absolute;
    }
    .filter-text-shop {
        display: none;
    }
    .fa-solid.fa-grid-2.grid-icon {
        display: none;
    }
    .filter-icon, .grid-icon {
        font-size: 17px;
    }
    .product-item-shop {
        height: 131px;
    }
    .button-container {
        gap: 14px;
        margin-right: 0;
        padding: 0;
    }
    .atrin-story3 {
        margin-right: 0;
    }
    .before-shop {
        box-shadow: none;
        padding: 0;
    }
    .woocommerce .woocommerce-ordering select {
        width: 130px;
        font-size: 12px;
        font-weight: 300;
    }
    .product-grid-shop .product-item-shop:nth-last-child(-n+2) {
        flex: 0 0 calc(32.5% - 0px);
    }
    .pagination a {
        font-size: 13px;
    }
    .pagination a {
        padding: 5px 10px;
        font-size: 13px;
    }
    .pagination span.current {
        padding: 5px 15px;
        font-weight: 500;
        font-size: 13px;
    }



	.cart-line-bottom {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        background: #fff;
        display: flex;
        justify-content: space-between;
        border-top: 1px solid #f5f5f5;
        box-shadow: rgba(0,0,0,.05) 0 -2px 10px 0;
        padding: 10px;
        align-items: center;
        z-index: 99;
    }
    .cart-line-bottom .order-total > span {
        display: block;
        font-size: 15px;
    }
    .cart-line-bottom .order-total > span .woocommerce-Price-currencySymbol {
        font-size: 12px;
    }
    .hero-archive .product-item {
        width: 100%;
    }
    .before-shop .woocommerce-result-count {
        display: none;
    }
    .cart-process,.cart-custom .product-item {
        width: 100%;
    }
    .cart-process ul li::before {
        width: 38px;
        height: 38px;
    }
    .cart-process ul li::after {
        height: 6px;
        top: 19px;
    }
    .related .product-item {
        width: 90%;
    }
    .woocommerce #reviews #comments ol.commentlist li {
        margin-bottom: 0;
    }
    .product-intro .entry-image .flex-viewport {
        margin: auto;
    }
    .product-intro form.cart .p-q {
        margin: 0;
        gap: 5px;
    }
    .product-intro form.cart .p-q .quantity {
        width: 95px;
        max-height: 100%;
    }
    .product-intro form.cart .p-q .quantity button {
        padding: 0 10px;
        margin: 0;
    }
    .product-intro form.cart .p-q .quantity .qty {
        font-size: 16px;
        min-width: 30px;
    }
    .product-intro .entry-summary .p-q .single-price .discount {
        display: none;
    }
    .product-intro .entry-summary .p-q .single-price .price ins {
        font-size: 15px;
    }
    .product-intro .entry-summary .p-q .single-price .price del {
        font-size: 14px;
    }
    .product-intro .entry-summary .p-q .single-price .price ins span.woocommerce-Price-currencySymbol {
        font-size: 12px;
    }
    .product-intro .entry-summary .p-q .single-price .price {
        flex-wrap: wrap;
        gap: 4px;
    }
    .product-intro .entry-summary .single-add-to-cart {
        font-size: 12px;
        margin-top: 20px;
    }
    .product-intro .entry-summary .product-meta,
    .product-intro .entry-summary .product-delivery,
    .woocommerce div.product .woocommerce-tabs ul.tabs li a
    {
        font-size: 13px;
    }
    .floating-contact .floating-button {
        right: unset;
        left: 15px;
        bottom: 70px;
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
    .product-intro form.variations_form {
        position: unset;
        box-shadow: unset;
        border: unset;
        display: block;
        padding: unset;
        height: unset;
    }
    .product-intro .entry-summary .show-rate {
        flex-wrap: wrap-reverse;
        justify-content: flex-end;
    }
    .product-intro form.variations_form .single_variation_wrap {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #f5f5f5;
        box-shadow: rgba(0,0,0,.05) 0 -2px 10px 0;
        margin-bottom: 0 !important;
        display: flex;
        justify-content: space-between;
        z-index: 99;
        height: 60px;
        padding: 10px;
    }
    .product-intro .entry-summary .p-q .single-price .price > span > bdi {
        font-size: 15px;
    }
    .product-intro .entry-summary .p-q .single-price .price > span > bdi .woocommerce-Price-currencySymbol {
        font-size: 12px;
    }
    .product-intro form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .woocommerce div.product .woocommerce-tabs .panel .additional-product .property-item span,
    .woocommerce div.product .woocommerce-tabs .panel .additional-product .property-item p
    {
        padding: 10px;
        font-size: 12px;
    }
    .cross-item .down .price > span > bdi {
        font-size: 14px;
    }







    .footer-down .copy-right {
        text-align: center;
        width: 100%;
    }
    .footer-down .social-footer {
        justify-content: center;
        width: 100%;
    }
    .application .right {
        margin: auto;
    }
    .footer-box .footer-about {
        width: 100%;
    }
    .box-insta .first-item {
        width: 47%;
    }
    .box-insta .left-item {
        width: 49%;
    }
    .box-blog .big-post {
        width: 100%;
    }
    .special-box .special-item {
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px;
    }
    .special-box .special-item figure,.special-box .special-item .det-special {
        width: 100%;
    }
    .special-box .special-item figure img {
        margin: auto;
    }
    .special-box:before {
        width: 53%;
    }
    .special-box:after {
        transform: translate(-15%,0px) skew(-10deg,0deg);
        right: 15%;
    }
    .stories.carousel .story, .stories.carousel .story:first-child {
        margin: 0 5px !important;
    }
    .main-slider .owl-stage-outer {
        border-radius: 0;
    }
}
@media screen and (max-width: 430px ) {
    .product-item-shop {
        height: 120px;
    }
}

@media screen and (max-width: 390px ) {
    .icons-product2 {
        margin-right: 220px !important;
    }
    .woocommerce-product-gallery__wrapperr video, .woocommerce div.product div.images img {
        width: 270px;
    }
}
@media screen and (max-width: 365px ) {
    .woocommerce-product-gallery__wrapperr video, .woocommerce div.product div.images img {
        width: 250px;
    }
    .sgkl {
        gap: 30px;
    }
    .product-item-shop {
        height: 110px;
    }
}









@media (max-width: 768px) {
    body {
        margin-right: 0 !important; 
        padding-bottom: 70px; 
    }


    aside.vertical-sidebar {
        width: 100% !important;
        height: 75px !important;
        position: fixed !important;
        bottom: 0 !important;
        top: auto !important;
        right: 0 !important;
        left: 0 !important;
        margin: 5px !important;
        border-radius: 15px !important;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1) !important;
        z-index: 10000;
        display: flex !important;
        align-items: center;
        padding: 0 !important;
        overflow-x: auto;
    }


    .sidebar-menu, .nav-list {
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-around !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }

    .menu-item {
        margin: 0 !important;
        flex: 1;
        text-align: center;
    }

    .menu-item a {
        display: flex;
        flex-direction: column; 
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 5px 0 !important;
    }

    .menu-item i {
        font-size: 20px !important;
        margin: 0 !important;
    }

    .menu-text {
        font-size: 10px !important;
        display: block !important; 
    }

/*
    .post-type-archive-product .main-single,
    .tax-product_cat .main-single,
    .post-type-archive-product footer,
    .tax-product_cat footer {
        width: calc(100% - 20px) !important; 
        margin-right: 10px !important;
        margin-left: 10px !important;
    }
*/

    .sidebar-logo-placeholder, .sidebar-bottom-info {
        display: none !important;
    }
    .product-grid-shop {
        gap: 4px;
      }


    .cart-btn-num {
        top: 2px !important;
        right: 50% !important;
        transform: translateX(15px);
        font-size: 9px !important;
        min-width: 16px;
        height: 16px;
    }



      aside.vertical-sidebar .sidebar-footer {
        display: none;
      }


      .post-type-archive-product, .single-product, .woocommerce-account, .woocommerce-cart, .tax-product_cat {
        margin-top: 0;
      }

      aside.vertical-sidebar .menu-item a {
        width: 65px;
        height: 65px;
      }
      .order-tracking-button, .contact-button {
        width: 180px;
        height: 36px;
      }
      .product-info-overlay {
        padding: 5px;
      }
      .product-title {
        font-size: 11px;
      }
      .product-price-box {
        font-size: 10px;
        padding: 2px 4px;
        white-space: nowrap;
      }
      .discount-percentage {
        padding: 4px;
        font-size: 12px;
      }
      .floating-contact .contact-list {
        right: 73px;
        bottom: 87px;
      }
      .stories.carousel .story > .item-link > .item-preview {
        max-height: 100px;
      }
      /*body:has(.woocommerce-message) .header, body.single-product .header, body.woocommerce-account .header, body.woocommerce-cart .header, body.post-type-archive-product .header, body.tax-product_cat .header {
        display: block !important;
      }*/
    




}


@media (max-width: 1000px) {
.side-single-shop {
    width: 100%;
    position: inherit;
    right: 130px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: block;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    border-radius: 24px;
    box-shadow: none;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
  .main-single {
    width: 100% !important;
    margin-right: 0 !important;
  }
  footer {
    width: 100% !important;
    margin-right: 0 !important;
  }
}






@media (max-width:768px){

    .v-cart-content{

        position: fixed !important;

        left: 10px !important;
        right: 10px !important;

        bottom: 85px !important;
        top: auto !important;

        width: auto !important;
        max-width: none !important;

        max-height: 70vh !important;
        overflow-y: auto !important;

        border-radius: 16px !important;

        transform: none !important;

        z-index: 999999 !important;
    }

    .v-cart-content ul.woocommerce-mini-cart{
        max-height: 50vh !important;
        overflow-y: auto !important;
    }

    .v-cart-content .woocommerce-mini-cart__buttons a.checkout {
        height: 35px;
        width: 35px;
      }
      .v-cart-content .woocommerce-mini-cart__buttons a:not(.checkout) {
        height: 35px;
        width: 35px;
      }


}