/* =========================================================
   MENUSPACE — Dynamic Fast-Casual Menu Theme (Bootstrap)
   Automatically colors itself using:
   --brand-primary
   --brand-secondary
   ========================================================= */

/* ------------------------------
   Layout & Background
------------------------------ */
.menu-wrapper {
    padding-bottom: 40px;
}

/* Category title */
.menu-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 45px 0 15px 0;
}

.menu-category-bar {
    width: 8px;
    height: 30px;
    border-radius: 4px;
    background: var(--brand-primary, #1a73e8);
}

.menu-category-text {
    font-size: 1.9rem;
    font-weight: 800;
    color: #222;
}

/* ------------------------------
   Item Cards
------------------------------ */
.menu-card {
    border-radius: 16px;
    background: #ffffff;
    border: 2px solid #eee;
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
}

.menu-card:hover {
    border-color: var(--brand-primary, #1a73e8);
    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

/* Item image */
.menu-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ------------------------------
   Text & Price
------------------------------ */
.menu-card-body {
    padding: 18px;
}

.menu-item-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
}

.menu-item-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 6px;
}

/* Price badge */
.menu-price-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;

    background: var(--brand-secondary, #00ff88);
    color: #000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* Price container */
.menu-price-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ------------------------------
   Grid adjustments
------------------------------ */
@media (min-width: 576px) {
    .menu-card-img {
        height: 200px;
    }
}

/* ------------------------------
   Hover accent stripe
------------------------------ */
.menu-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--brand-primary, #1a73e8);
    opacity: 0;
    transition: opacity .25s ease;
}

.menu-card:hover::before {
    opacity: 1;
}
