/* Stiluri globale */
body {
    margin: 0;
    padding: 0;
    background-color: #000; /* Fundal negru */
    color: #fff; /* Text alb */
    font-family: Arial, sans-serif;
}

/* Stiluri pentru linkuri */
a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #f00; /* Roșu la hover */
}

/* Stiluri pentru header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header img {
    height: 50px;
}

header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

header button:hover {
    color: #f00;
}

/* Stiluri pentru footer */
footer {
    text-align: center;
    background-color: #222;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #fff;
}

/* Responsivitate pentru mobil */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    header img {
        height: 40px;
    }
}
@media (max-width: 480px) {
    header img {
        height: 30px;
    }

    .menu-content a {
        font-size: 16px;
    }
}
/* Containerul categoriilor */
.categories-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    background-color: #222;
    scrollbar-width: none; /* Ascunde scrollbar-ul */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Ascunde scrollbar-ul pe Chrome/Safari */
}

/* Stilizarea fiecărei categorii */
.category {
    display: inline-block;
    text-align: center;
    margin-right: 15px;
    cursor: pointer;
    color: #fff;
}

.category img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    border-radius: 50%;
    background-color: #fff;
}

.category span {
    display: block;
    font-size: 14px;
    margin-top: 5px;
    white-space: nowrap;
}
.offers-carousel {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    gap: 10px;
}

.offers-carousel img {
    width: 100%;
    border-radius: 10px;
}
.popular-products-carousel {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    gap: 10px;
}

.popular-item {
    position: relative;
    width: 100px;
    text-align: center;
}

.popular-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.price-add {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.price-add span {
    font-size: 14px;
    color: #fff;
}

.price-add button {
    background-color: #f00;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
}

.product-card {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    color: #000;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    max-width: 400px;
}

.product-info h3 {
    margin: 0;
    font-size: 18px;
}

.product-info p {
    margin: 5px 0;
    font-size: 14px;
}

.product-info span {
    font-weight: bold;
}

.product-image img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.actions button {
    background-color: #f00;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 30px;
    height: 30px;
}
.product-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-color: #222;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow-y: auto;
    padding: 20px;
}

.popup-content {
    text-align: center;
}

.popup-content img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.popup-content h3 {
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 14px;
    margin-bottom: 10px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.add-to-cart {
    background-color: #f00;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.form-container {
    max-width: 400px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container label {
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.form-container input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-container button {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-container button:hover {
    background-color: #0056b3;
}

.form-container a {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.form-container a:hover {
    text-decoration: underline;
}
