@media only screen and (max-width: 1150px){
    .comment-new .form-holder {flex-basis: 140%;}
    .c-checkout-details__col--text, .wishlist-list .wishlist-item {flex-basis: 100%;}
    
}
@media only screen and (max-width: 1065px){
    .main-slider {
        width: 100%;
        float: none;
    }
    .main-slider .slide-item {
        width: 100% !important;
    }
    .c-adplacement {
        flex-direction: row;
        margin-top: 15px;
    }
    .top-nav .promotion {
        display: none;
    }
    .main-cart .o-page__aside {flex-basis: 30%;}
    .main-cart .o-page__content {flex-basis: 70%;}
    .modal-checkout .group-input {flex-direction: column;}
    .modal-checkout .foot {flex-wrap: wrap;}
    .modal-checkout .foot button {flex-basis: 100%;}
    .c-listing__items>li {flex-basis: 33.333%;}
}
@media only screen and (max-width: 1000px){
    .c-btn-seller-add-cart {padding: 10px 10px;}
}
@media only screen and (max-width: 980px){
    .top-head form input {
        width: 350px;
    }
    .footer-content {flex-wrap: wrap;}
    .footer-content > div {
        flex-basis: 40%;
    }
    .footer-content .head {
        margin-top: 10px;
    }
    .c-product__attributes {flex-direction: column;}
    .c-product__params {flex-basis: 100%;}
    .profile-page .o-page__aside, .profile-page .o-page__content{flex-basis: 100%;padding: 0;}
}
@media only screen and (max-width: 950px){
    .c-faq__answer-col {
        flex-basis: 100%;max-width: 100%;margin-bottom: 20px;
    }
    .search .o-page__aside, .search .o-page__content {flex-basis: 100%;padding-right:0}
	
    .c-table-suppliers__row .choose-variant {display: none}
    
}
@media only screen and (max-width: 900px){
    .incredible .right{display: none;}
    .c-content-expert__summary {padding: 0;}
    .c-content-expert__summary:after {display: none;}
}
@media only screen and (max-width: 872px){
    .c-product__guaranteed, 
    .top-nav .promotion li {padding: 0;}
    .c-product__guaranteed {display: none;}
    .c-product__headline {display: block;}
    .comment-new .form-holder {flex-basis: 180%;}
    .main-cart .o-page__content {padding-left: 0;}
    .main-cart .o-page__aside {flex-basis: 100%;}
    .main-cart .o-page__content {flex-basis: 100%;}
    .main-cart .c-checkout-aside {margin: 0;}
}
@media only screen and (max-width: 835px){
    .main-slider .slide-item {background-size: contain;height: 250px}

    .cart-sfl__links p {
        width: 85%;
    }
    .c-product {flex-direction: column-reverse;}
}
@media only screen and (max-width: 780px){
    .comment-info {justify-content: flex-start;}
    .comment-info img {height: 200px;}
    .modal-checkout .container {padding: 30px 0 30px 0 !important;}
    .user-main >div {flex-basis: 100%;}
    .profile-page .o-page__content {padding: 0;}
}
@media only screen and (max-width: 768px){

    .comment-new .form-holder .btn-link-spoiler,
    .top-head .cart .text {display: none;}

    .top-head .cart .count {padding: 0 7px;}
    .top-head .cart i {padding: 7px;}
    .top-head .cart-added:after {display: none;}
    .comment-new {flex-wrap: wrap;}
    .comment-new .form-holder .btn-link-spoiler {display: none;}
    .seller-product__action {margin-top: 10px;  }
} 
@media only screen and (max-width: 730px){
    .c-comments__summary ,.c-comments__filter,.c-comments__list>li section{flex-direction: column;}
    .c-comments__summary-box, .c-comments__summary-note {max-width: 100%;}
    .c-comments__list>li section .aside ,.c-comments__list>li section .article{max-width: 100%;}
    .c-comments__list>li section .aside>div:not(:first-of-type) {
     margin-top: 0px; }
}
@media only screen and (max-width: 715px){
    .c-box-tabs__tab a {font-size: 1em;}
    .social-share-modal .c-remodal-share__aside {display: none;}
    .social-share-modal .c-remodal-share__content {max-width: 100%;flex: 0 0 100%;}
	/* index images */
	.image-row {
		flex-wrap: wrap;
	}
	.image-row > a {margin-top: 10px;width: 50%;}
}
@media only screen and (max-width: 688px){
    .footer-contact {flex-wrap: wrap;}
    .c-checkout__col--desc p {display: none;}
}

@media only screen and (max-width: 635px){
    .incredible .counter {font-size: 1.1em;}
    .incredible .counter .time {width: 100px;}
    .incredible .discount-item .title {font-size: 1.5em;margin: 0;}
    .incredible .discount-item .discount-label {
        width: 89px;
        height: 28px;
        font-size: 1.5em;
        margin-right: 5px;
        display: inline;
        padding: 6px;
    }
    .incredible .discount-item .discount-price {
        font-size: 2em;
        font-weight: 700;
    }
    .incredible .discount-item .original{font-size: 1.4em;}
    .incredible .discount-item img {height: 250px;}
    .incredible .counter .time {padding: 0;}
    .comment-info {flex-wrap: wrap;}
    .comment--info {flex-basis: 100%;}
}

@media only screen and (max-width: 590px){
    .top-head {justify-content: space-around;}
    .top-head .devider {margin: 0;width: 0;height: 0}
	.top-head form input {width: 340px;}
	/*.top-head .cart {width: 50px;}*/
    .top-head .cart .text ,.top-head .cart-added:after{display: inline;}
    
    /* www.venoosdeveloper.com */
    .footer .icon {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 50px; /* فاصله یکنواخت بین آیکون‌ها */
    }

    .c-checkout__col--thumb {flex: 0 0 21%;}
    .c-checkout__col--desc {flex-basis: 78%;}
    .sell-your-product {display: none}
}
@media only screen and (max-width: 575px){
    .c-box-tabs__tab a {
        padding: 12px 6px;
    }
}

@media only screen and (max-width: 530px){
    .incredible .discount-item {flex-direction: column;}
    .incredible .discount-item .attributes {display: none;}
    .incredible .discount-item img {height: 130px;}
    .incredible .discount-item .title {padding: 10px 0;}
    .incredible .counter {padding: 15px 0;}
    .incredible .discount-item .inc-bar {right: -20%}
    .incredible .discount-item .img {width: 330px;}
    .c-params__list-key, .c-params__list-value {
    padding: 0 ;flex-basis: 100%;}
    .c-params__list-key .block { font-weight: 400;}
    .form-row {flex-direction: column;}
    .c-faq__list>li .section .header {display: none;}
    .c-faq__list>li {margin: 0;}
    .c-checkout__col--thumb a {display: none;}
    .c-checkout__col--information {flex-basis: 100%;}
    .c-checkout-order-summary__col {flex-basis: 44%;}
    .comment-item .content {flex-basis: 100%;}
    .comment-item .body {padding: 15px 0;}
    .btn-notify-me {width: 100%}
    .product-item .p-original-price {margin-top: 35px}
}
@media only screen and (max-width: 500px){
    .modal-checkout{width: 95%;right: 6px;}
    .c-checkout-table__col {flex-basis: 100%;}
    .specials__title {display:none}
	
	.top-head form input {width: 280px;}
}
@media only screen and (max-width: 470px){
    .c-product__feature ,.c-product__unfair-price{display: none;}
    .btn-add-to-cart {font-size: 1.6em !important;}
    .btn-add-to-cart span {padding-right: 0}
    .c-gallery__img img{
        width: 85%;
        height: auto;
    }
    .c-box-tabs__tab i {display: none;}
	.account-box + footer {position: static;}
}
@media only screen and (max-width: 450px){
    .c-gallery {display: block;}
    .c-comments__evaluation-negative, .c-comments__evaluation-positive,c-comments__evaluation >div {display: block;max-width: 100%;    flex: 0 0 100%;}
    .c-comments__likes {
        display: flex;
        align-items: baseline;
        font-size: 1.3em;
        flex-wrap: wrap;
    }
    .c-comments__likes .btn-like {
        margin-right: 5px;
    }
    .btn-order-traking {padding: 15px 130px 15px 34px;}
    .discount-label {margin-bottom: 3px !important;}
    .c-product__title .en-title {line-height: 1.9;}
    .c-product__title .fa-title {line-height: 1.8;}
    .seller-order-detail .private-info--col {flex: 0 0 100%;max-width: 100%;}
    article {
        margin: 0 !important;
        padding: 0 !important;
    }
	.c-adplacement {flex-wrap: wrap;}
}
@media only screen and (max-width: 400px){

    .account-box .register {width: 350px;}
    .c-checkout-order-summary__col {flex-basis: 60%;margin-bottom: 10px;}
    .c-checkout-details__title {font-size: 1.4rem;}
    .c-listing__items>li {flex-basis: 100%;}
    .widget-list .lables {margin-bottom: 25px;}
    .c-product__variants {
        display: inline-flex;
        flex-direction: column;
    }
    .c-product__variants ul {margin-top: 10px;}
    .c-table-suppliers__row {
        flex-direction: column;
        align-items: flex-start;
    }
    .c-table-suppliers__row > span {
        margin-right: 8px;
        margin-bottom: 14px;
        margin-top: 10px;
    }
    .c-table-suppliers__row > div { margin-right: 27px;}
    .seller-product__action {
        position: absolute;
        bottom: 3px;
        left: 5px;
    }
    .seller-product__price, .seller-product__action{
        flex-basis: 10%;
        position: absolute;
        bottom: 0;
    }
    .c-product__variants {
        margin-bottom: 54px;
    }
    .c-product__variants ul {
        max-width: unset;
        flex-wrap: wrap;
    }
	
	.c-swiper-specials--incredible .icontainer {width: 100% !important;}
	.swiper--specials {max-width: 100%}
	
	/* Search */
	.top-head form {display: unset;}
	.top-head .devider {margin: 0;width: 0;height: 0}
	/*.top-head .cart {width: 50px;margin-top: 0;}*/
    .top-head > div {  flex-wrap: wrap;  text-align: center;  }
	
}

@media only screen and (max-width: 370px){
    .newsletter input {
        width: 240px;
    }
    .newsletter > .head {
        font-size: 1.5em;
    }
    .swiper--specials .product-item {width: 321px !important}
}
@media only screen and (max-width: 360px){
    .incredible .discount-item .img {width: 280px;}
    .incredible .discount-item .inc-bar {right: -30%;}
    .btn-add-to-cart {font-size: 1.1em;}
	/* images index */
	.image-row > a {
		width: 100%;
	}
}
@media only print {
    .invoice-tip {display: none;}
}
@media only screen and (max-width: 340px){
    .swiper--specials .product-item {width: 302px !important}
}
@media only screen and (max-width: 320px){
    .swiper--specials .product-item {width: 284px !important}
}
@media only screen and (max-width: 768px) {
    .c-checkout__item {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 10px 5px;
        box-sizing: border-box;
    }

    .c-checkout__col--thumb,
    .c-checkout__col--desc,
    .c-checkout__col--information {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .c-checkout__to-shipping-sticky {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        background-color: #fff;
        padding: 10px 20px;
        z-index: 9999;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: center;
        align-items: center;
        border-top: 1px solid #eee;
    }
    
      .c-checkout__to-shipping-link {
        display: block;
        width: 100%;
        max-width: 400px;
        text-align: center;
        padding: 15px 0;
        background-color: #d32f2f; 
        color: #fff;
        font-size: 1.1em;
        font-weight: bold;
        border-radius: 8px;
    }

    .c-checkout__price,
    .p-original-price {
        display: block;
        font-size: 1.2em;
        margin-top: 5px;
    }
}

.slicknav_menu {
    display: none !important;
}

body {
    padding-bottom: 80px;
    overflow-x: hidden;
}

@media only screen and (max-width: 872px) {

    /* ساختار کلی هدر */
    .top-head {
        overflow: visible; /* اجازه نمایش dropdown autocomplete */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 2px;
        width: 100%;
    }

    /* پنهان کردن لینک تخفیف‌ها */
    .top-nav li a[href*="special=1"] {
        display: none !important;
    }

    .top-nav .dropdown > li {
        padding: 0 !important;
    }
    
    /* منوی محصولات */
    .top-head .top-nav {
        order: 1;
        width: auto !important;
        flex: 0 0 auto !important;
        margin-top: 0px;
        padding-top: 0px;

    }

    /* فقط لینک اصلی "دسته‌بندی کالاها" پنهان شود */
    .top-head .top-nav .main-category > a {
        display: none !important;
    }

    /* ظاهر آیکون همبرگری */
    .top-head .top-nav .main-category i {
        font-size: 24px;
        color: #333;
        padding: 6px 6px;
        cursor: pointer;
    }

    /* تنظیم زیرمنو */
    .top-head .top-nav .dropdown2 {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 10px rgba(0,0,0,.15);
        border-radius: 6px;
        z-index: 9999;
        padding: 8px 0;
        min-width: 100px;
        white-space: nowrap;
    }

    /* نمایش زیرمنو هنگام هاور یا کلیک روی main-category */
    .top-head .top-nav .main-category.is-open > .dropdown2 {
        display: block;
      }

    /* اطمینان از اینکه منو در دید باقی بماند */
    header, .top-head, .top-nav {
        overflow: visible !important;
    }
    
    /* فرم جستجو */
    .top-head .search-box {
        order: 2;
        margin-left: auto;
        position: relative;
        width: auto !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -38px;
        margin-right: -10px;
    }

    /* پنهان کردن فیلد ورودی */
    .top-head .search-box input {
        display: none !important;
    }

    /* فقط دکمه آیکون */
    .top-head .search-box button {
        border: none;
        background: none;
        cursor: pointer;
        font-size: 20px;
        color: #333;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .top-head form.search-box {
        max-width: 60px;
    }
    
    /* لوگو */
    .top-head .logo {
        order: 3;
        text-align: center;
        margin-left: 5px;
        margin-right: 5px;
    }

    .top-head .logo img {
        max-width: 100px;
        height: auto;
    }

    /* دکمه ورود (پروفایل) */
    .top-head .login-box {
        order: 4;
        margin-left: 5px;
        margin-right: auto;
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .login-box .login-link .login-text,
    .login-box #logregtext {
        display: none;
    }

    .login-box .login-link i.fa-user,
    .login-box #logreg {
        font-size: 18px;
        width: 26px;   /* 👈 هماهنگ با فیلد جستجو */
        height: 26px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }

    /* سبد خرید */
    .top-head .cart {
        order: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }

    .top-head .cart i {
        font-size: 18px;
        width: 36px;   /* 👈 هماهنگ با بقیه */
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

/* موبایل کوچک - 480 */
@media (max-width: 480px) {
    .main-slider .slide-item {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .social {
        margin-bottom: 25px !important;
    }
}

@media only screen and (max-width: 872px) {
  .top-head .top-nav .dropdown2 > li > ul.megamenu > li {
    margin: 0 !important;
    padding: 0 !important;
  }

  .top-head .top-nav .dropdown2 > li > ul.megamenu > li > a {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    line-height: 1.0 !important;
    display: block;
  }
}

