/* Food details page (used together with cuisine.css). */

.details-card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.details-img img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.details-info {
    padding: 36px 40px 40px;
    display: flex;
    flex-direction: column;
}

.details-category {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ef4f5f;
    margin-bottom: 8px;
}

.details-info h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #1c1c1c;
    margin-bottom: 14px;
    line-height: 1.15;
}

.details-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.details-time {
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    background: #f4f4f4;
    border-radius: 9px;
    padding: 5px 12px;
}

.details-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.details-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ef4f5f;
    margin-bottom: 26px;
}

.details-add .add-to-cart {
    max-width: 260px;
}

.details-back {
    display: inline-block;
    margin-top: 22px;
    color: #ef4f5f;
    font-weight: 700;
    text-decoration: none;
}

.details-back:hover {
    text-decoration: underline;
}

@media (max-width: 860px) {
    .details-card {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .details-img img {
        min-height: 260px;
        height: 300px;
    }

    .details-info {
        padding: 26px 22px 30px;
    }

    .details-info h1 {
        font-size: 1.8rem;
    }
}
