/* Extra extra large -xxl */
@media only screen and (min-width: 1200.1px) {
    .hero-list span{
        font-size: 18px;   
    }
    h1{
        font-size: 36px;
    }

    /* category section */
    .title-category{
        font-size: 22px !important;
    }
    .categry-btn{
        font-size: 16px !important;
    }
    /* glory section */
    .glory-text{
        font-size: 16px;
        padding: 0 30px;
    }
    /* product section */
    .name-card{
        font-size: 16px;
    }
    .price-card{
        font-size: 15px;
    }
    .shopping-btn{
        padding: 8px 12px;
    }
    .shopping-btn svg{
        font-size: 16px;
    }
    .product-card {
        flex: 0 0 calc((100% - 80px) / 6) !important;
    }
}
/* Extra large xl */
@media only screen and (max-width: 1200px) {
    /* hero section */
    .hero-list div {
        gap: 15px;
    }
    .hero-list svg{
        width: 34px;
        height: 34px;
    }
    .hero-list span{
        font-size: 16px;   
    }
    .hero-content h1{
        font-size: 31px;
    }
    .hero-image-wrapper::after {
        width: 54%;
    }
    /* feature */
    .feature-container{
        height: 180px;
    }
    /* category section */
    .title-category{
        font-size: 18px !important;
    }
    .categry-btn{
        font-size: 14px !important;
    }
    /* glory section */
    .glory-text{
        font-size: 16px;
        padding: 0 26px;
    }
    .name-card{
        font-size: 16px;
    }
    .price-card{
        font-size: 16px;
    }
    .shopping-btn{
        padding: 8px 10px;
    }
    .product-card {
        flex: 0 0 calc((100% - 64px) / 5) !important;
    }
    .service-feature{
        min-width: min-content;
    }
    .brand-item {
        flex: 0 0 calc((100% - 100px) / 6);
    }
    /* articel section */
    .article-card {
        flex: 0 0 calc((100% - 32px) / 3);
    }
}
/* large lg */
@media only screen and (max-width: 992px) {
    /* hero section */
    .hero-section {
        margin-top: 0 !important;
    }
    .hero-container {
        grid-template-columns: 55% 45%;
        grid-template-areas:
            "content image"
            "features features";
        /* gap: 20px; */
        padding: 0 20px !important;
        min-height: auto;
    }
    /*
    =====================
    متن Hero
    =====================
    */
    .hero-content {
        grid-area: content;
        height: min-content !important  ;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    .hero-content h1 {
        font-size: 1.7rem;
    }
    .hero-image-wrapper::after {
        width: 60%;
    }
    /* ===================== Feature List ===================== */
    .hero-list {
        width: fit-content;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-area: features;
        gap: 12px;
        padding-bottom: 25px !important;
        margin-top: 10px;
    }
    .hero-list > div {
        min-width: 0;
        gap: 7px;
        justify-content: center;
        text-align: center;
        padding: 10px !important;
        border: 2px solid rgba(0, 0, 0, 0.175) !important;
        border-radius: var(--radius-sm) !important;
        -webkit-border-radius: var(--radius-sm) !important;
        -moz-border-radius: var(--radius-sm) !important;
        -ms-border-radius: var(--radius-sm) !important;
        -o-border-radius: var(--radius-sm) !important;
    }
    .hero-list span {
        font-size: 15px;
    }
    .hero-list svg {
        width: 29px;
        height: 29px;
        flex: 0 0 auto;
    }
    /* category section */
    .category-container{
        gap: 0 !important;
    }
    .category-wrapper{
        grid-template-columns: repeat(3 ,1fr);
        grid-template-rows: repeat(2, calc((100% - 10px) / 2));
        row-gap: 10px;
        flex: 0 0 67%;
        padding: 10px 5px !important;
        border-radius: 0px 22px 22px 0px !important;
        -webkit-border-radius: 0px 22px 22px 0px !important;
        -moz-border-radius: 0px 22px 22px 0px !important;
        -ms-border-radius: 0px 22px 22px 0px !important;
        -o-border-radius: 0px 22px 22px 0px !important;
    }
    .category-circle{
        margin-bottom: 10px !important;
    }
    .category-text-box {
        flex: 0 0 33%;
        border-radius: 22px 0 0 22px !important;
        -webkit-border-radius: 22px 0 0 22px !important;
        -moz-border-radius: 22px 0 0 22px !important;
        -ms-border-radius: 22px 0 0 22px !important;
        -o-border-radius: 22px 0 0 22px !important;
    }
    .title-category{
        font-size: 18px !important;
    }
    .categry-btn{
        font-size: 14px !important;
    }

    /* glory section */
    .glory-wrapper {
        flex-direction: column;
        gap: 0px;
    }
    .glory-text,
    .glory-stats {
        flex-basis: 100%;
        width: 100%;
        flex: 0 0 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
        padding: 12px 15px !important;
    }
    .glory-wrapper .glory-text p {
        margin: 0;
        font-size: 16px;
    }
    .glory-stats {
        width: 100%;
        flex: 0 0 100%;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        -webkit-border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
        -moz-border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
        -ms-border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
        -o-border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
    }
    .text-box p.title{
        font-size: 24px;
    }
    .text-box p.sub-title{
        font-size: 14px;
    }
    .glory-stat svg{
        font-size: 32px !important;
    }
    /* produt section */
    .name-card{
        font-size: 16px;
    }
    .price-card{
        font-size: 14px;
    }
    .shopping-btn i,.shopping-btn svg{
        font-size: 14px;
    }
    .product-card {
        flex: 0 0 calc((100% - 48px) / 4) !important;
    }
    /* service section */
    .service-features-wrapper {
        flex-wrap: wrap;
        row-gap: 15px;
    }
    .service-feature {
        flex: 0 0 33.333%;
    }
    .service-feature:nth-child(3)::after {
        display: none;
    }
    .service-feature:nth-child(4)::after {
        display: block;
    }

    /* co worker */
    .brands-slider-wrapper {
        padding: 0 40px;
    }
    .brand-item {
        flex: 0 0 calc((100% - 60px) / 4);
    }

    /* articel section */
    .article-slider-wrapper {
        padding: 0 40px;
    }
    .article-slider {
        gap: 14px;
    }
    .article-body {
        min-height: 140px;
    }

    /* newsletter section */
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    .newsletter-form{
        width: 90%;
        margin: 0 auto;
    }
    .newsletter-info {
        justify-content: center;
    }

    /* footer */
    .main-footer {
        padding: 0;
    }
    .footer-top {
        row-gap: 0px;
    }
    .footer-column,
    .footer-logo-section {
        padding: 35px 20px;
    }
    .footer-column:not(:first-child)::after{
        top: 0;
        bottom: 0;
        height: 201%;
        width: 2px;
    }
    .footer-column:nth-child(2)::after {
        inset: 0;
        height: 2px;
        width: 200%;
    }
    .footer-column:nth-child(3)::after {
        display: none;
    }
    .footer-logo-section {
        order: -1;
    }
    .footer-logo {
        max-width: 240px;
    }
    .footer-contact,.footer-links {
        padding-bottom: 0;
    }
    .footer-about {
        order: -1;
    }
    .footer-bottom{
        margin-top: 0;
    }
    .footer-bottom-links{
        gap: 10px;
    }
}

/* medium -md */
@media only screen and (max-width: 768px) {
    /* hero section */
    .hero-section{
        margin-top: 0 !important;
    }
    .hero-container{
        display: flex;
        height: 450px;
        padding: 0px 5px 0px 5px !important;
    }
    
    .hero-list{
        display: none;
    }
    .hero-list > div{
        padding: 20px 10px !important;
    }
    .hero-content{
        width: 90%;
        margin: 0 auto;
        margin-top: 165px;
    }
    .hero-content h1{
        font-size: 32px;
    }
    .hero-image-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    top: -30%;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(248, 249, 250, 0.15) 35%,
        rgba(248, 249, 250, 0.55) 60%,
        var(--bg-section) 100%);
    }
    .hero-image-wrapper img{
        max-height: none;
    }
    
    /* category */
    .category-wrapper{
        flex: 0 0 65%;
    }
    .category-text-box{
        flex: 0 0 35%;
    }
    .category-text-box > div{
        padding: 0 10px !important;
    }
    .title-category{
        font-size: 20px !important;
        margin: 0 !important;
        gap: 10px !important;
        align-self: start;
        /* gap: 10px !important; */
    }
    .title-category svg{
        font-size: 32px !important;
    }
    .title-category p{
        width: min-content;
        /* font-size: 20px !important; */
    }
    .text-category {
        font-size: 16px;
        margin: 0 !important;
    }
    .categry-btn{
        padding: 7px 10px !important;
        font-size: 13px !important;
    }
    /* glory section */
    .glory-stats{
        padding: 0 !important;
        flex-wrap: wrap;
    }
    .glory-stat {
        width: 50%;
        flex: 0 0 50%;
        padding: 12px 10px;
    }
    /* خط‌های جداکننده */
    .glory-stat{
        border: 0 !important;
    }
    .glory-stat:nth-child(1),
    .glory-stat:nth-child(3) {
        border-left: 2px solid var(--border-normal) !important;
    }

    .glory-stat:nth-child(1),
    .glory-stat:nth-child(2) {
        border-bottom: 2px solid var(--border-normal) !important;
    }

    /* product section */
    .product-card {
        flex: 0 0 calc((100% - 32px) / 3) !important;
    }
    /* service section */
    .service-feature {
        flex: 0 0 50%;
        padding: 16px 12px;
        gap: 10px;
    }
    .service-feature:nth-child(3)::after{
        display: block;
    }
    .service-feature:nth-child(2)::after,
    .service-feature:nth-child(4)::after {
        display: none;
    }
    .service-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 27px;
    }
    .service-feature-content h6 {
        font-size: 12px;
        white-space: normal;
    }
    .service-feature-content p {
        font-size: 10px;
    }
    .service-feature {
        display: grid;
        grid-template-columns: 40px 160px;
        align-items: center;
        justify-content: center;
        column-gap: 10px;
        text-align: right;
    }
    /* co worker */
     .brands-slider-wrapper {
        padding: 0 38px;
    }
    .brand-item {
        flex: 0 0 calc((100% - 40px) / 3);
    }
    .brands-slider-btn {
        width: 30px;
        height: 30px;
    }
    /* articel section */
    .article-slider-wrapper {
        padding: 0 38px;
    }
    .article-slider {
        gap: 12px;
    }
    .article-card {
        flex: 0 0 calc((100% - 12px) / 2);
    }
    .article-image-wrapper {
        aspect-ratio: 16 / 9;
    }
    .article-title {
        font-size: 14px;
    }
    .article-body {
        min-height: 135px;
        padding: 13px;
    }

    /* newsletter section */

    .newsletter-wrapper {
        padding: 25px;
        gap: 25px;
    }
    .newsletter-icon {
        width: 90px;
        height: 90px;
        flex-basis: 90px;
        font-size: 42px;
    }
    .newsletter-text h3 {
        font-size: 1.25rem;
    }
    .newsletter-form {
        grid-template-columns: 1fr 150px;
        gap: 12px;
    }

    /* footer */

    .main-footer {
        padding-top: 40px;
    }
    .footer-top {
        text-align: center;
        row-gap: 45px;
    }
    .footer-column,
    .footer-logo-section {
        padding: 0 15px;
    }
    /* حذف خط‌های عمودی */
    .footer-column::after{
        display: none;
    }
    .footer-title {
        margin-bottom: 18px;
    }
    .footer-about {
        text-align: center;
    }
    .footer-about p {
        max-width: 500px;
        margin-right: auto;
        margin-left: auto;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-contact-list li {
        justify-content: center;
    }
    .footer-links {
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-bottom: 20px;
    }
}

/* small -sm */
@media only screen and (max-width: 576px) { 
    /* hero section */
    .hero-container{
        height: 400px;
    }
    .hero-image-wrapper{
        background-size: cover;
    }
    /* category section */
    .category-container{
        flex-direction: column;
    }
    .category-wrapper{
        order: 2;
        flex: 0 0 100%;
        width: 100%;
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
        -moz-border-radius: 0 !important;
        -ms-border-radius: 0 !important;
        -o-border-radius: 0 !important;
    }
    .category-text-box{
        order: 1;
        flex: 0 0 100%;
        width: 100%;
        border-radius: 22px 22px 0 0 !important;
        -webkit-border-radius: 22px 22px 0 0 !important;
        -moz-border-radius: 22px 22px 0 0 !important;
        -ms-border-radius: 22px 22px 0 0 !important;
        -o-border-radius: 22px 22px 0 0 !important;
    }
    .category-text-box > div{
        gap: 10px;
        width: 250px;
        margin: 0 auto;
        padding: 20px 0px !important;
    }
    .title-category{
        font-size: 24px !important;
        align-self: center !important;
    }
    .title-category p{
        width: max-content;
    }
    .categry-btn{
        font-size: 16px !important;
        padding: 8px 16px !important;
    }
    /* glory section */
    .glory-wrapper{
        padding: 0 10px !important;
    }
    .text-box p.title{
        font-size: 20px;
    }
    .text-box p.sub-title {
        font-size: 12px;
    }
    .glory-stat svg{
        font-size: 30px !important;
    }
    /* product section */
    .product-img{
        height: 140px;
        margin: 0;
    }
    .name-card{
        font-size: 16px;
    }
    .weight-card{
        font-size: 16px;
        margin: 0;
    }
    .price-card{
        font-size: 16px;
    }
    .shopping-btn{
        width: 60%;
        margin-top: 5px;
        padding: 10px 0px;
    }
    .shopping-btn svg{
        font-size: 22px;
    }
    .product-card {
        height: 350px;
        flex: 0 0 calc((100% - 16px) / 2) !important;
    }

    /* service section */
    .service-features-wrapper{
        row-gap: 0;
        padding: 10px 0;
    }
    .service-feature {
        flex: 0 0 100%;
        display: grid;
        grid-template-columns: 40px 165px;
        align-items: center;
        justify-content: center;
        column-gap: 10px;
        text-align: right;
        padding: 12px;
    }
    .service-feature:nth-child(1)::after,
    .service-feature:nth-child(2)::after,
    .service-feature:nth-child(3)::after,
    .service-feature:nth-child(4)::after{
        display: block;
        top: auto;
        bottom: 0%;
        left: 50%;
        width: 45%;
        height: 2px;
        translate: -50% 0;
    }
    .service-feature-icon{
        font-size: 32px;
    }
    .service-feature-content span{
        font-size: 16px;
    }
    .service-feature-content p{
        font-size: 14px;
    }

    /* co worker */
    .brands-slider-wrapper {
        padding: 0 34px;
    }
    .brand-item {
        flex: 0 0 40%;
        height: 65px;
    }
    .brand-placeholder {
        height: 65px;
    }
    .brands-slider-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    /* articel section */
    .article-slider-wrapper {
        padding: 0 34px;
    }
    .article-slider {
        gap: 10px;
    }
    .article-card {
        flex: 0 0 82%;
    }
    .article-body {
        min-height: 110px;
        padding: 12px;
    }
    .article-title {
        font-size: 16px;
        line-height: 1.8;
    }
    .article-date ,  .article-link {
        font-size: 14px;
    }
    .article-slider-wrapper .brands-slider-btn {
        width: 29px;
        height: 29px;
        font-size: 11px;
    }

    /* news letter section */

    .newsletter-wrapper {
        padding: 25px 20px;
        border-radius: 16px;
        text-align: center;
    }
    .newsletter-info {
        flex-direction: column;
        gap: 10px;
    }
    .newsletter-icon {
        width: 75px;
        height: 75px;
        flex-basis: 75px;
        font-size: 38px;
    }
    .newsletter-text h3 {
        font-size: 1.2rem;
    }
    .newsletter-text p {
        font-size: 0.8rem;
    }
    .newsletter-form {
        width: 80%;
        margin: 0 auto;
        grid-template-columns: 1fr;
        height: fit-content;
    }
    .newsletter-input,
    .newsletter-btn {
        height: 45px;
    }

    /* footer */

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .footer-contact-list li {
        font-size: 0.8rem;
    }
    .footer-about p {
        font-size: 0.82rem;
    }
}
@media only screen and (max-width: 576px) {
    .hero-content h1{
        margin: 0 !important;
        font-size: 24px;
    }
    .hero-content p{
        margin-bottom: 10px !important;
    }

    .hero-btn-container button{
        font-size: 14px;
        padding: 8px 16px;
    }
}