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

    .header .container,
    footer .container,
    .single .container,
    .page .container,
    .archive .container {
        padding: 0 5px;
    }
}

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

    .product-intro .entry-image {
        flex-wrap: wrap;
    }

    .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: 50px;
    }

}

@media screen and (max-width: 992px) {
    .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;
    }

    .side-single-shop {
width: 75%;
        position: fixed;
        top: 65px;
        right: 10px;
        bottom: 0;
        background: #fff;
        z-index: 999;
        overflow-x: scroll;
        padding: 10px;
        transform: translateX(1000px);
        transition: all .3s ease-in-out;
        border-radius: 12px;
    }

    .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-insta {
        flex-wrap: wrap;
        gap: 20px;
    }
    .main-single,
    .side-single,
    .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: 100%;
    }

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

}

@media screen and (max-width: 768px) {
    .hero-archive .product-item {
        width: 48%;
    }

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

    .main-slider .owl-carousel .owl-nav button {
        display: none;
    }

    .product-grid__wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }
    .box-insta .first-item {
        width: 25%;
    }
    .box-insta .left-item {
        width: 74%;
    }
}

@media screen and (max-width: 576px) {
    .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 !important;
        gap: 5px;
	    display: flex;
        flex-direction: column;
    }

    .product-intro form.cart .p-q .quantity {
        width: 160px;
        max-height: 100%;
    }

    .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: 14px !important;
        padding: 0px 10px !important;
        height: 45px;
    }

    .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 .entry-summary .p-q .single-price .price>span>bdi {
        font-size: 18px;
    }

    .product-intro .entry-summary .p-q .single-price .price>span>bdi .woocommerce-Price-currencySymbol {
        font-size: 12px;
    }
	.single-price {
    padding: 15px;
    }

    .product-intro form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart {
        display: flex;
        justify-content: space-between;
        width: 100%;
		flex-direction: column;
       flex-wrap: nowrap;
    }

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









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



    .main-slider .owl-stage-outer {
        border-radius: 0;
    }


    .amazing-product .amazing-thumbnail img {
        max-width: 140px;
    }

    .product-card__add {
        opacity: 1;
        visibility: revert;
        transform: none;
        left: 13px;
        top: 13px;
    }

    .badge-slide--percent {
        font-size: 13px;
    }

    .product-card__badge {
        width: 48px;
        height: 26px;
        font-size: 12px;
        right: 12px;
    }

    .product-card__body h3 {
        line-height: 2;
        height: auto;
        margin-bottom: 7px;
    }

    .countdown-timer .number {
        width: 30px;
        height: 30px;
    }

    .section-head__title h2 {
        font-size: 20px;
        font-weight: 700;
        color: #2E3135;
        margin-bottom: 10px;
    }

    .product-grid {
        padding: 40px 0;

    }

    .product-grid__wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .product-pagination {
        margin-top: 30px;
    }

    .product-pagination a,
    .product-pagination span {
        width: 40px;
        height: 40px;
    }

    .hero-product-s {
        padding: 50px 0;
    }

    .section-head__title2 h2 {
        margin-bottom: 15px;
        font-size: 20px;
        font-weight: 700;
    }

    .hero-product-s .owl-nav button {
        width: 45px;
        height: 45px;
    }


    .product-card--show-all {
        min-height: 275px;
    }

    .product-card__show-all-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .product-card__show-all-link h3 {
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }

    .poster>* {
        flex-basis: 100%;
    }

    .faq-item__question span {
        font-size: 15px;
        font-weight: 600;
    }

    .faq-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px;
        gap: 16px;
    }

    .faq-cta__content h3 {
        font-size: 1.1em;
    }

    .faq-cta__content p {
        font-size: 0.9em;
    }

    .faq-cta__button {
        width: 100%;
        justify-content: center;
    }

    .box-blog .small-post .post-item {
        width: 100%;
    }

    .box-blog .small-post .post-item a figure {
        padding-left: 15px;
    }

    .service-card {
        flex-basis: 35%;
    }

    .footer-box {
        display: flex;
        gap: 45px;
        padding: 70px 10px;
        flex-wrap: wrap;
    }

    .application .left {
        margin-top: 25px;
    }

    .footer-line {
        padding: 30px 10px;
        gap: 10px;
    }

    .footer-down {
        gap: 20px;
    }

    .product-intro {
        padding: 10px;
    }

    .product-action {
        flex-direction: inherit;
        margin-bottom: 10px !important;
    }

    .product-intro .entry-summary header h1 {
        font-size: 20px;
    }

    .modal-content {
        width: auto;
    }

    .woocommerce a.added_to_cart {
        font-size: 12px;
    }

    .content-single {
        font-size: 15px;
        margin: 10px 0;
    }

    .post-single header h1 {
        font-size: 20px;
    }

    .hero-archive .product-card {
        width: 48%;
    }

    .sort-toggle {
        width: 150px;
        height: 45px;
    }

    .hero-archive {
        gap: 10px;
    }

    .content-ajax-search {
        right: 0;
        left: 0;
        width: 100%;
    }

    .loader-ajax-search {
        padding-top: 10px;
        right: 0;
        left: 0;
        width: 100%;
    }

    .main-archive .post-item {
        width: 45%;
    }

    .woocommerce .hero-myaccount {
        background: #fff;
        padding: 55px 10px;
    }

    .woocommerce .user-info-account span {
        color: #555;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }
        .stories.carousel .story, .stories.carousel .story:first-child {
        margin: 0 10px;
    }
	.product-card {
    padding: 3px;
  }


}








/* =========================================
    Top Bar - Responsive
========================================= */

@media (max-width: 768px) {
    .topbar {
        font-size: 12px;
    }

    .topbar__wrapper {
        height: auto;
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
    }

    .topbar__left,
    .topbar__right {
        gap: 16px;
    }

}

/* نقطه شکست کوچیکتر برای گوشیهای واقعی */
@media (max-width: 480px) {
    .topbar__wrapper {
        justify-content: center;
        text-align: center;
    }

    .topbar__left,
    .topbar__right {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
}






@media (max-width: 992px) {

    .archive-filter {
        width: 100%;
        min-width: 0;
    }

    .archive-categories {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;

        display: flex;
        align-items: center;

        gap: 10px;

        overflow-x: auto;
        overflow-y: hidden;

        padding: 4px 2px 8px;

        white-space: nowrap;

        scroll-behavior: smooth;
        scroll-snap-type: x proximity;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

        overscroll-behavior-x: contain;
    }

    .archive-categories::-webkit-scrollbar {
        display: none;
    }

    .archive-categories button {
        flex: 0 0 auto;

        width: auto;
        min-width: max-content;

        white-space: nowrap;

        scroll-snap-align: start;
    }

    .archive-arrow {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        min-width: 38px;
    }

}

@media (max-width: 600px) {

    .archive-filter {
        display: flex;
        align-items: center;
        gap: 6px;

        width: 100%;
    }

    .archive-categories {
        flex: 1 1 0;
        width: 0;
        min-width: 0;

        gap: 8px;

        padding: 3px 0 8px;
    }

    .archive-categories button {
        flex: 0 0 auto;

        min-height: 40px;
        padding-inline: 14px;
    }

    .archive-arrow {
        flex: 0 0 34px;

        width: 34px;
        min-width: 34px;
        height: 34px;
    }

    .product-count {
        display: none;
    }

}