* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 20px;

    background: #ffffff;
    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.cart-button {
    position: relative;

    text-decoration: none;
    font-size: 25px;

    color: #222;
}

.cart-button span {
    position: absolute;

    top: -8px;
    right: -10px;

    min-width: 20px;
    height: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: #d71920;
    color: white;

    font-size: 12px;
    font-weight: bold;
}

.container {
    width: 100%;
    max-width: 1100px;

    margin: auto;
    padding: 20px;
}

.hero {
    text-align: center;
    padding: 25px 10px;
}

.hero h1 {
    margin-bottom: 5px;
}

.hero p {
    color: #666;
}

.menu {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}

.pizza-card {
    overflow: hidden;

    background: white;

    border-radius: 15px;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.08);
}

.pizza-image {
    height: 190px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #eee;

    font-size: 90px;
}

.pizza-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.pizza-info {
    padding: 18px;
}

.pizza-info h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.pizza-info p {
    min-height: 45px;

    color: #666;

    line-height: 1.4;
}

.pizza-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-top: 20px;
}

.price {
    font-size: 22px;
}

.add-button {
    border: 0;

    padding: 11px 18px;

    border-radius: 8px;

    background: #d71920;
    color: white;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
}

.add-button:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {

    .container {
        padding: 12px;
    }

    .menu {
        grid-template-columns: 1fr;
    }

    .pizza-image {
        height: 210px;
    }

}