
@media screen and (max-width:1400px) {
    .container-top .container , footer .container ,.single .container , .page .container , .archive .container{
        padding: 0 15px;
    }

}
@media screen and (max-width:1200px) {
    .cart-custom {
        width: 100%;

    }
    .woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
        width: 100%;
    }
    .product-intro .left ol {

        width: 80%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images.left {
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media screen and (max-width:992px) {
        .nav-left span ,.act_btn label ,i.fa-solid.fa-arrow-right-to-bracket{
     color:#fffff !important;
}
     .custom-gallery-container {
        width: 100%;
    }


    h1{
        font-size:  20px;
    }

    .product-intro .details {
        width: 100%;
    }
    .product-intro {
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .search-item,
    .content-ajax-search,


    .not-fount-search img,
    .not-fount-search p {
        all: unset !important; /* این خاصیت تمامی استایل‌ها را نادیده می‌گیرد */
        visibility: visible !important; /* نمایش آیتم‌ها */
        opacity: 1 !important; /* اطمینان از اینکه آیتم‌ها قابل مشاهده هستند */
        display: block !important; /* برای نمایش آیتم‌ها */
    }
    .loader-ajax-search{
        display: none;
    }
    /* در صورتی که بخواهید استایل‌های دلخواه خود را اضافه کنید، به آن‌ها اینجا استایل بدهید */

    header.container-top  {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 200; /* مقدار بالا برای نمایش روی سایر عناصر */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* سایه برای جلوه بهتر */
    }
    .logo {
        padding-top: 0;
    }
    .navigation {

        top: 94px;
    }

    /* استایل دکمه همبرگر */
    #hamburger {
        width: 40px;
        height: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        position: relative;
        left: 20px;
        top: 16px;
        z-index: 202;
    }
body.home header #hamburger span {
     background-color: #000000;
}

    #hamburger span {
        width: 100%;
        height: 3px;
        background-color: #000000;
        border-radius: 4px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        position: absolute;
    }

    #hamburger span:first-child {
        top: 0;
    }

    #hamburger span:last-child {
        bottom: 0;
    }
    .right-mobail {
        width: 45px;
    }
    /* تغییر شکل به ضربدر هنگام فعال شدن */
    #hamburger.active span:first-child {
        transform: rotate(45deg);
        top: 5px;
    }

    #hamburger.active span:last-child {
        transform: rotate(-45deg);
        bottom: 10px;
    }
    section.header-mobile {
        display: flex;
        justify-content: space-between;
        height:64px;
        background: #ffff;
    }


    .side-single-shop {
        width: 75%;
        position: fixed;
        top: 65px;
        right: 10px;
        bottom: 0px;
        background: #ffffff;
        z-index: 300;
        overflow-x: scroll;
        padding: 10px;
        transform: translateX(1000px);
        transition: transform .3s ease-in-out;
    }
    .hero-archive .product-item {
        width: 48%;
    }
    .close-menu-responsive-full-page {
        display: block;

    }

    .mobile {
        display: block;

    }

    .desktop {
        display: none;

        form.woocommerce-cart-form {

            flex-wrap: wrap;
        }

        .cart-custom {
            width: 100%;
        }

        .woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
            width: 100% !important;
        }

        .hero-single {
            flex-direction: unset;
            flex-wrap: wrap;
        }

        .main-single, .side-single {
            width: 100%;
        }


        .product-intro {
            flex-wrap: wrap;
            flex-direction: column-reverse;
            gap: 30px;
        }

        .box-blog {
            flex-wrap: wrap;
        }

        .box-blog .big-post {
            width: 80%;
            margin: auto;
        }

        .box-blog .small-post {
            width: 100%;
        }

        .product-intro {

            flex-wrap: wrap;
            gap: 30px;
        }

        .woocommerce-product-gallery.woocommerce-product-gallery--with-images.woocommerce-product-gallery--columns-4.images.left {
            width: 100% !important;
            justify-content: center;
        }

        .product-intro .details, .woocommerce div.product div.summary {
            width: 100%;
        }

    }
    .woocommerce #content div.product div.images, .woocommerce #content div.product div.summary, .woocommerce div.product div.images, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.images, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.images, .woocommerce-page div.product div.summary {
        float: none;
        width: 100%;

    }
@media screen and (max-width: 768px) {
    /* استایل لایت‌باکس (پنجره) */
  .product-lightbox {
    display: none; /* اول مخفی */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
  }

  /* وقتی اکتیو شد */
  .product-lightbox.active {
    display: flex;
  }

  /* عکس داخل لایت‌باکس */
  .product-lightbox img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease;
  }

  /* افکت زوم با تاچ یا هاور */
  .product-lightbox img:active {
    transform: scale(1.5);
  }

  /* دکمه بستن */
  .product-lightbox .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
  }
    #hamburger span {
  background-color: #000 !important;
}

   .nav-right, .nav-left {
    display: flex;
    align-items: center;
    width: 50%;
}
    h2.related-products-title {
   
    font-size: 14px;
}
    .custom-product-card {
 
    height: 100%;}
    .logo img

 {
    max-width: 142px !important;
}
   .footer-box{
           border-bottom: 0px solid;
   }
    .footer-content{
        font-size: 12px;
    }
    .copy-right {
    margin-bottom: 100px;
}
       .footer-box-1, .footer-box-2, .footer-box-3
 {
    width: 100%;
}
    .custom-prev {
    right: 20px;
}

.custom-next {
    left: 20px;
}
    
button.single_add_to_cart_button-mobail.button.alt.cart-button
 {
    height: 44px !important;
    WIDTH: 146px !important;
}
input#quantity_682225486cfef

 {
    width: 24px !important;
}
    .cart-process-order ul li span {
  
    font-size: 8px;
}
.woocommerce-account .woocommerce-MyAccount-content {
    margin-top: 20px;
}
    .card-body{
        max-width:100%;
    }
    section.cart-bd {
    display: block;
;}

    i.fa-solid.fa-shopping-cart ,
    .item-details i.fa-regular.fa-comments , .item-details i.fa-solid.fa-basket-shopping ,.item-details i.fa-solid.fa-house-chimney{
        width: 16%;
    }
    section.my-account-dt {
   
    display: block;
    }
    
    
    
    .woocommerce-account .woocommerce-MyAccount-content

 {
   
    width: 100%;}
    
    .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;}
    .owl-carousel .owl-item img {
border-radius:10px;
}
    
    
      .img-single-product .owl-nav.disabled+.owl-dots {
        margin-top: 10px;
        background: #676767;
        border-radius: 10px;
        display: flex;
    }
    .img-single-product .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
        background: #ffffff;
        width: 14px;
    }


    .img-single-product .owl-dots .owl-dot span{width: 6px;
        height: 6px;
        width: 6px;
        margin: 5px 2px;
        background-color: rgba(73, 73, 73, 0.768);
    }
    .img-single-product  .owl-dots {
       position: absolute;
       bottom: 10px;
    }
   
    .custom-gallery-container{
        display: none!important;
    }
    
.img-single-product {
    max-width: 100%; /* جلوگیری از بزرگ شدن بیش از حد */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto; /* وسط چین شدن */
}

.img-single-product .item {
   
    height: 400px; /* تنظیم ارتفاع مربع */
    overflow: hidden; /* جلوگیری از خروج تصویر */
}

.img-single-product .item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* جلوگیری از کشیدگی و حفظ نسبت تصویر */
    border-radius: 15px;
}
.product-intro .owl-carousel.owl-loaded {
    display: block;
}


    .woocommerce-billing-fields__field-wrapper {
        display: unset;
    }


    .feature-value {
        font-size: 10px;
    }
    .woocommerce table.shop_attributes td p {
        font-size: 12px;

    }
    .woocommerce table.shop_attributes th {
        margin-bottom: 30px;
        margin-left: 40px;
        width: 20%;
        padding: 8px !important;}
    .woocommerce table.shop_attributes th {
        margin-bottom: 30px;
        margin-left: 10px;}
    h1{
        font-size:  18px;
    }
    .navigation {

        top:26px;
    }
    .hero-archive .product-item {
        width: 48%;
    }

    .dc-order-review {
        width: 100%;
    }

    .cart-process {
        width: 92%;
    }

    .cart-custom .product-item {
        width: 47%;
    }

    .related .product-item {
        width: 47%;
    }

    .product .hero-archive {
        justify-content: center;
    }

    .owl-theme .owl-nav{

        display: none;
    }
}
@media screen and (max-width:576px) {
    .order-progress .step {

    font-size: 10px;}
   
 {
    font-size: 12px;
}
    .product-meta {
    justify-content:space-between;
 }

    .buy-header{
        display:none;
    }
    a.button.ajax_add_to_cart.custom-cart-button.add_to_cart_button {
  
    padding: 6px 0px;
    }
a.button.ajax_add_to_cart.custom-cart-button.add_to_cart_button span

 {
    font-size: 9px;}
    .custom-add-to-cart a {
    display: inline-block;
   
    }
    .fa-light, .fal {
    font-size: 10px;
    }
    .custom-product-title h2 {
    font-size: 12px;}
 
   
    
    .woocommerce div.product .woocommerce-tabs ul.tabs li a

 {
    font-size: 9px;
   
  }
    
    .product-meta\"{
    gap:0px;
  
}

   
    .product-item-cart figure {

        width: 80px;
        height: 80px;
    }
    .delete-cart-item .remove .fa-trash-alt {
        font-size: 12px;

    }
    .product-item-cart {

         padding-right: 0;

    }
    .add-to-cart-mobile .fa-regular, .far {
font-weight: 100;
        font-size: 20px;
    }
    .add-to-cart-mobile{
        display: block;
    }
    .product-intro .product-meta .quantity .qty {
        font-size: 12px!important;
        font-weight: 500;

    }
  
    .cart-process ul li::before {
        content: attr(data-step);
        width: 18px;
        height: 18px;
    }
    .cart-process ul li::after {

        top: 10px;
    }

    .product-item-cart {
        gap: 0px;
    }
    .dtl-cart {
        gap: 14px;
    }
    .dtl-cart  .woocommerce-Price-amount.amount {
        font-size: 14px!important;
        font-weight: 600;
    }
    .dtl-cart span {
        font-size: 10px;
        color: black;
    }
    .cart-line {

        margin: 2%;
        border-radius: 10px;
    }
    .product-meta\" {
        display: flex
    ;
        align-items: center;
        }
    .quantity .input-text.qty {

        width: 35% !important;
    }
    .quantity .plus, .quantity .minus {
        width: 24px !important;
        height: 24px !important;
        font-size: 14px !important;
        cursor: pointer !important;

    }
    ul.tabs.wc-tabs {
        display: flex;
        justify-content: center;
        font-size: 14px;
        gap: 10px;
    }
    .woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {

        font-size: 10px;
    }
    .woocommerce-tabs ul.tabs li a{
        font-size: 12px;
    }
    h1{
        font-size: 16px;
    }

    .header-mobile .logo{
        padding-top: 0;
    }
    .header-mobile .logo a{
        display: flex;
    }
    .nav-left {
        gap: 2px;
    }
    .nav-right a, .nav-left .reg-but {
        margin-left: 20px;
    }
  
     .main-single {
    width: 100%;}
    .act_btn label {

        font-size: 12px;
    }
    .woocommerce-result-count {
        display: none;
    }
    .order-total{
        color:#FFFFFF;
    }
    .cart-line {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
       background:  var(--main-color);
        display: flex;
        justify-content: space-between;
        border-top: 1px solid #f5f5f5;
        align-items: center;
        z-index: 99;
        padding: 10px;
    }
    .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
        background-color:var(--secend-color);
        color: #fff;
        -webkit-font-smoothing: antialiased;
        font-size: 12px;
    }
    .cart-process ul li::before {
        content: attr(data-step);
        width: 28px;
        height: 28px;}
    .cart-process ul li::after {
        height: 2px;
        top: 16px;}
    .related .product-item {
        width: 90%;
    }
    .hero-archive {
        justify-content: center;
    }
    .floating-button {
        position: fixed;
        bottom: 72px;
        z-index: 200;
    }
    .product-intro .bar-single{
        font-size: 10px;
    }
    .cart-custom .product-item {
        width: 100%;
    }
    .product-meta form.cart {

        bottom: 0;
        right: 0;
        left: 0;
        background: #fffcfcee;
        position: fixed;
        border-top: 1px solid #eeee;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);   margin-bottom: 0 !important;
        z-index: 30;
        display: flex;
        justify-content: center;
        height: 86px;
        padding: 12px;
    }
    form.variations_form {
        position: unset!important;
        box-shadow: unset !important;
        border: unset !important;
        display: block !important;
        padding: unset !important;
        height: unset !important;

    }
    .woocommerce-variation-price {
        margin: 0 !important;
    }
    .woocommerce div.product form.cart .button {
        margin: 0 !important;
    }
    button.single_add_to_cart_button.button.alt.cart-button {
        max-height: 40px;

    }
    .variations_form {
        margin-bottom: 2em;
        background: #fff !important;
    }
    .single_variation_wrap{
        
   
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.18); /* پس‌زمینه نیمه شفاف */
    box-shadow: 0 12px 40px 6px rgba(16, 17, 19, 0.16);
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9;
    padding: 10px 0;
    font-size: 14px;
    height: 60px;
    }
 
.product-meta form.cart {
    
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.18); /* پس‌زمینه نیمه شفاف */
    box-shadow: 0 12px 40px 6px rgba(16, 17, 19, 0.16);
   
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:rgb(255 255 255 );

    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9;
    padding: 10px 0;
    font-size: 14px;
    height: 60px;
}

    button.single_add_to_cart_button.button.alt.cart-button.disabled.wc-variation-is-unavailable ,.woocommerce div.product form.cart .button{
        background-color: var(--main-color) !important;

    }
    .woocommerce-Price-amount {
        font-size: 16px;}
      
    .woocommerce-Price-currencySymbol ,.product-intro .product-meta .quantity .qty {

      
    }
    .single_variation_wrap .price del {
        font-size: 12px;
    }
    .single_variation_wrap .price ins {
        font-size: 14px;
    }


    .single_variation_wrap  .quantity {
        width: 20%;
        max-height: 100% !important;
    }
    button.single_add_to_cart_button.button.alt.cart-button {
        width: auto !important;
        font-size: 8px !important;
        padding: 0 8px !important;
        min-width: 142px;
    }
    button.single_add_to_cart_button.button.alt.cart-button {
        height: 60px !important;
        font-size: 8px !important;}

    .single_variation_wrap  .quantity  button , .single_variation_wrap .product-meta .quantity  button{
        padding: 0px 10px;
        margin: 0 ;
    }
    .feature-box {
        padding: 10px;
        width: 100px;
        height: 100px;
    }
    .footer-box .footer-about {
        width: 100%;
    }
    .application .right {
        margin: auto;
    }
    .box-blog .big-post{
        width: 100%;
        margin: auto;
    }
    .main-slider .owl-stage-outer{
        border-radius: 1px;
    }
}
@media screen and (max-width:360px) {
    .product-meta\" {
        display: flex
    ;
        align-items: center;
      }
    .dtl-cart {
        gap: 10px;
        width: 58%;
    }
    h1{
        font-size: 10px;
    }
    .feature-box {
        padding: 10px;
        width: 200px;
        height: 100px;
    }
}

