* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.header {
    background-color: #2e4d2f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    flex-wrap: wrap;
    width: 100%;

}

.header img {
    width: 150px;
    height: auto;
    object-fit: cover;


}

.links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;


}

.links a {
    color: #fff;
    text-decoration: none;
    margin-right: 25px;
    font-size: 25px;
    align-items: center;
    white-space: nowrap;
    flex-wrap: wrap;

}

.links a:hover {
    color: chocolate;

}

form input {
    background-color: darkolivegreen;
    color: #fff;
    flex-wrap: wrap;
    width: 250px;
    height: 40px;
    border-radius: 50px;
    font-size: 20px;
    padding: 0 15px;
    outline: none;
    border: 1px solid #222;

}

.cart-icon {
    margin-left: 10px;
    margin-right: 10px;
    position: relative;
    font-size: 20px;
    color: #fff;
    text-decoration: none;


}

.fa-cart-shopping {
    color: #fff;
    font-size: 30px;

}

.fa-cart-shopping:hover {
    color: chocolate;
}

.imges {
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    overflow: hidden;


}

.imges img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    object-position: center;

}

.products {
    display: grid;
    padding: 20px;
    grid-template-columns: repeat(6, 1fr);
    /* دي عشان تعملي اربع كروت متساوية في كل صف */
    gap: 20px;
    width: 100%;

}

.product-card img {
    width: 100%;
    height: 180px;
    border-radius: 5px;
    object-fit: cover;
    border: #fff;
    flex-wrap: wrap;
}

.product-card {
    text-align: center;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgb(234, 215, 192);
    transition: 0.3s;
    width: 100%;

}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card img {
    width: 100%;
    height: 180px;
    border-radius: 5px;
    object-fit: cover;
    display: block;
}


.product-card button {
    border: none;
    background-color: #2e4d2f;
    width: 100px;
    height: 35px;
    border-radius: 7px;
    margin: 10px;
    color: #fff;
    cursor: pointer;

}

.product-card button:hover {
    background-color: #4a704b;
    cursor: pointer;

}

.product-card p {
    margin: 8px 0;
    font-size: 16px;
}



h1 {
    text-align: center;
    color: #0b3d2e;
    font-size: bold;
    margin: 25px 0;
}

.footer {
    background-color: #2e4d2f;
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
    padding: 30px 60px;
    gap: 50px;
    flex-wrap: wrap;
    width: 100%;

}

.footer img {
    width: 200px;
    height: auto;
    object-fit: cover;

}

.footer p {
    color: #fff;
    font-size: 15px;
    padding-bottom: 20px;


}


.social {
    text-decoration: none;
    padding-left: 15px;
    font-size: 25px;
    display: flex;
    color: #c8b89a;

}

.social :hover {
    color: chocolate;
}

.quick h1 {
    color: #c8b89a;
    font-size: 30px;
    margin-bottom: 15px;
    margin-top: 0;
    flex-wrap: wrap;
}

.left {
    flex-direction: column;
    display: flex;
    flex: 1;
    align-items: flex-start;
}

.icones {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

.quick {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    flex: 1;


}

.quick a {
    text-decoration: none;
    color: #fff;
    margin: 5px 0;
    font-size: 18px;
    flex-wrap: wrap;

}

.quick a:hover {
    color: chocolate;
}

.contact h1 {
    color: #c8b89a;
    font-size: 30px;
    flex-wrap: wrap;
}

.con {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    text-decoration: none;
    color: #c8b89a;
}

.contact p {
    color: #fff;
    font-size: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 15px;
    flex-wrap: wrap;

}

.con :hover {
    color: chocolate;
}

.contact {
    align-items: flex-start;
    flex-direction: column;
}

.left,
.quick,
.contact,
.open {
    align-items: flex-start;
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-wrap: wrap;

}

.open h1 {
    color: #c8b89a;
    font-size: 30px;
    flex-wrap: wrap;

}

.open p {
    color: #fff;
    font-size: 18px;
    padding-top: 20px;
    flex-wrap: wrap;
}

.open {
    display: flex;
    flex: 1;
    justify-content: space-between;
}

.copy p {
    background-color: #2e4d2f;
    color: #c8b89a;
    text-align: center;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.flying-item {
    position: fixed;
    background-color: #c8b89a;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50%;
    z-index: 1000;
    pointer-events: none;
    transition: all 2.2s ease-in-out;
}

/* Responsive */

@media (max-width: 992px) {

    .products {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 25px;
    }

    .product-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .footer {
        flex-wrap: wrap;
        gap: 30px;
    }
}


@media (max-width: 600px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    .links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    form {
        width: 100%;
    }

    form input {
        width: 100%;
    }

    .products {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .product-card {
        width: 100%;
    }

    .product-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .quick,
    .contact,
    .open,
    .left {
        width: 100%;
    }

    .icones {
        justify-content: center;
    }
}