@media (max-width:700px) { 
    .hero-image .hero-section-content{
         padding: 0px 50px;
    }

     .products-image{
        max-height: 240px;
        min-height: 240px;
    }


    .trending-products-section {
        grid-template-columns: repeat(2,1fr);
    }

    .Special-offers-for-you-section {
        grid-template-columns: repeat(2,1fr);
    }

    .hero-image {
        height: 400px;
    }



    .hero-container{
        width: 100%;
        height: 400px;
    }

    .progress-line-container-root {
        top: 350px;
    }



    .hero-image .hero-section-content p {
         display: -webkit-box;            /* Required for line-clamp */
        -webkit-box-orient: vertical;    /* Set the box to vertical */
        -webkit-line-clamp: 2;           /* Limit to 3 lines */
        overflow: hidden;                /* Hide extra text */
        text-overflow: ellipsis;
    }


    .hero-image .hero-section-content h1  {
         display: -webkit-box;            /* Required for line-clamp */
        -webkit-box-orient: vertical;    /* Set the box to vertical */
        -webkit-line-clamp: 3;           /* Limit to 3 lines */
        overflow: hidden;                /* Hide extra text */
        text-overflow: ellipsis;
    }


}


@media (max-width:600px) { 
    .hero-image .hero-section-content{
         justify-content: center;
         align-items: center;
         text-align: center;
    }

    #hero-categories-list-container{
        position: relative;
    }

    .categories-scroll-arrows-buttons button {
        border: none;
        padding: 10px;
        cursor: pointer;
        border-radius: 8px;
        margin-left: -10px;
        margin-right: -10px;
    }

    .categories-scroll-arrows-buttons {
        display: flex;
        position: absolute;
        top: 35%;
        justify-content: space-between;
        width: 100%;
    }

    .categoriesherolest { 
        
        display: flex;
        overflow-y: auto;
    }

    .categoriesherolest  .categories-item {
        width: 200px;
        min-width: 200px;
    }


    .about-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 10px;
    }

    .about-section .about-cart {
        display: flex;
        flex-direction: column;
        background:none ;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .about-section .about-cart .about-detaile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .about-section .about-cart .about-img {
        background-color: white;
        width: 100px;
        height: 100px;
        border-radius: 50px;
    }

    .hero-image {
        height: 300px;
    }

    .hero-container{
        width: 100%;
        height: 300px;
    }

    .progress-line-container-root {
        top: 270px;
    }

    .new-arrival{
        height: 400px;
    }
    .new-arrival img {
        height: 400px;
    }

    .new-arrivals-items {
        width: 100%;
        display: flex;
        gap: 10px; 
        flex-direction: column;
    }


    .payment-and-deivary-way .payment-way , .delivery-way{
        display: flex;
        font-size: 8px;
        padding: 1px 6px;
        gap: 2px;
        justify-content: center;
        align-items: center;
        line-height: 1.3;
    }


    .product-name{
        font-size: 14px;
        line-height: 1.4;
    }

    .price-contener .price{
        font-size: 16px;
        line-height: 1;
    }


    .checkout-card-button {
        margin-top: 5px;
        border-radius: 6px;
        padding: 8px;
    }





    .hero-image .hero-section-content p {
        font-size: 14px;
        font-weight: 400;
    }


    .hero-image .hero-section-content h1  {
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2;
        margin-top: 16px;
    }
    .hero-image .hero-section-content a i {
        margin-left: 10px;
    }

    .hero-image .hero-section-content a {
        margin-bottom: 50px;
    }
    .hero-image .hero-section-content a  {
        font-size: 14px;
        gap: 6;
        margin-top: 50px;
        padding: 6px 24px;
        border-radius: 8px;
    }


    .product {
        padding: 8px;
    }


}

@media (max-width: 460px) {
    .products-image{
        max-height: 165px;
        min-height: 165px;
    }
}

@media (max-width:370px){
    
    .about-section {
        margin-top: 8px;
    }

    .hero-image {
        height: 200px;
    }

 


    .hero-image .hero-section-content h1  {
         display: -webkit-box;            /* Required for line-clamp */
        -webkit-box-orient: vertical;    /* Set the box to vertical */
        -webkit-line-clamp: 2;           /* Limit to 3 lines */
        overflow: hidden;                /* Hide extra text */
        text-overflow: ellipsis;
    }


    .hero-container{
        width: 100%;
        height: 200px;
    }

    .progress-line-container-root {
        top: 200px;
    }


    .hero-image .hero-section-content p {
        font-size: 14px;
        font-weight: 400;
    }


    .hero-image .hero-section-content h1  {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.2;
        margin-top: 12px;
    }
    .hero-image .hero-section-content a i {
        margin-left: 6px;
        font-size: 12px;
    }

    .hero-image .hero-section-content a {
        margin-bottom: 30px;
    }
    .hero-image .hero-section-content a  {
        font-size: 12px;
        gap: 6;
        margin-top: 30px;
        padding: 6px 12px;
        border-radius: 8px;
    }

    
    
}



@media (max-width: 290px) {
    .products-image{
        max-height: 165px;
        min-height: 165px;
    }

    .trending-products-section {
        grid-template-columns: repeat(1,1fr);
    }

     .Special-offers-for-you-section {
        grid-template-columns: repeat(1,1fr);
    }
}


