/* =========================
   CATEGORY CARDS
========================= */

.cards {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto 0;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.category-card {
    width: 190px;
    padding: 22px 15px;
    text-align: center;

    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--amber);
    box-shadow: 0 16px 34px var(--glow);
}

.category-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;

    border-radius: 50%;
    border: 3px solid var(--amber);
}

.category-card h1 {
    margin-top: 12px;
    color: var(--text);
    font-size: 21px;
}


/* =========================
   PRODUCTS / MENU
========================= */

.products {
    width: 100%;
    margin-top: var(--section-gap);
    text-align: center;
}

.products > h2 {
    margin-bottom: 40px;
    color: var(--amber);
    font-size: 44px;
}

.product-container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.product-card {
    width: 100%;
    min-width: 0;
    min-height: 310px;
    padding: 24px 18px;
    text-align: center;

    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    border-top: 4px solid var(--amber);
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px var(--glow);
}

.product-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;

    border-radius: 50%;
    border: 3px solid var(--amber);
}

.product-card {
    color: var(--text);
}

.product-card h1 {
    margin-top: 14px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.3;
}

.product-card h2,
.product-card p,
.product-card span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.product-card h3 {
    margin-top: 10px;
    color: var(--amber-light);
    font-size: 21px;
}

.pizza-btn {
    width: 110px;
    height: 38px;
    margin-top: 14px;

    border: none;
    border-radius: 10px;

    background: var(--btn-gradient);
    color: #111827;
    font-weight: bold;
    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pizza-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}


/* =========================
   POPULAR ITEMS
========================= */

.popular {
    display: block;
    width: 90%;
    max-width: 1200px;
    margin: var(--section-gap) auto 0;
    text-align: center;

    grid-column: 1 / -1;
    flex-basis: 100%;
}

.popular-text {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

.popular-text h1 {
    margin: 0 0 10px;
    color: var(--amber);
    font-size: 40px;
}

.popular-text h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 22px;
    font-weight: 600;
}

.popular-text p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.popular-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    margin: 0 auto;
}

.popular-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-align: left;

    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.popular-card:hover {
    transform: translateY(-10px);
    border-color: var(--amber);
    box-shadow: 0 18px 38px var(--glow);
}

.popular-image {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
}

.popular-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.popular-card:hover .popular-image img {
    transform: scale(1.08);
}

.popular-image span {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 7px 14px;

    background: var(--btn-gradient);
    color: #111827;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.popular-content {
    padding: 20px;
}

.popular-content h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 21px;
}

.popular-content p {
    min-height: 42px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.popular-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.popular-bottom h3 {
    margin: 0;
    color: var(--amber);
    font-size: 21px;
}

.popular-bottom button {
    padding: 9px 16px;

    border: none;
    border-radius: 10px;

    background: var(--btn-gradient);
    color: #111827;
    font-weight: bold;
    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popular-bottom button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}


