/* FOOD VIBES STEP 56 — Professional clickable menu cards and login handoff.
   Loaded after existing menu/login styles. Respects saved typography and theme. */
.food-card.fv56-food-card {
    position: relative;
    isolation: isolate;
    border-radius: 18px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.food-card.fv56-food-card:hover,
.food-card.fv56-food-card:focus-within {
    transform: translateY(-3px);
    border-color: #50bdb0 !important;
    box-shadow: 0 16px 36px rgba(4, 75, 74, .18) !important;
}
/* Stretched link covers noninteractive parts of the card; forms/reviews stay usable. */
.fv56-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    text-decoration: none;
}
.fv56-stretched-link:focus-visible {
    outline: 3px solid #1ae3cb !important;
    outline-offset: 3px;
}
.fv56-food-card :is(.fv-mini, .fv-mini a, .fv-mini button, form, form button, .fv56-order-btn) {
    position: relative;
    z-index: 2;
}
.fv56-food-card .food-photo img { transition: transform .25s ease; }
.fv56-food-card:hover .food-photo img { transform: scale(1.035); }
.fv56-food-card .food-content h2 { overflow-wrap: anywhere; }
.fv56-order-btn,
.fv56-detail-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    min-height: 46px;
    padding: 11px 15px;
    border-radius: 12px;
    border: 1px solid #087b73 !important;
    background: #087b73 !important;
    color: #fff !important;
    font-weight: 750;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.fv56-order-btn:hover,
.fv56-detail-add:hover { background: #06655f !important; transform: translateY(-1px); }
.fv56-order-btn:focus-visible,
.fv56-detail-add:focus-visible { outline: 3px solid #5df9db !important; outline-offset: 3px; }
.fv56-order-help { margin: 5px 0 11px !important; font-size: .83rem; color: inherit !important; opacity: .86; }
.fv56-role-note { font-size: .87rem; color: inherit !important; opacity: .85; }
.fv56-login-intent {
    background: #153a3c !important;
    color: #f2fffd !important;
    border: 1px solid #61bfb0;
    padding: 14px 16px;
    margin: 17px 0 20px;
    border-radius: 12px;
    font-size: .91rem;
    line-height: 1.5;
}
.fv56-login-intent strong { display: block; color: #fff !important; }
.fv56-login-intent small { display: block; color: #c8e8e2 !important; margin-top: 3px; }
.fv56-detail-order { margin: 18px 0 10px; display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.fv56-detail-order label { display: block; font-weight: 700; margin-bottom: 5px; }
.fv56-detail-order input[type="number"] { width: 96px; max-width: 100%; min-height: 46px; }
.fv56-detail-order .fv56-detail-add { width: auto; min-width: 185px; }
.fv56-detail-login { width: auto; margin: 14px 0 8px; }
@media(max-width: 600px) {
    .fv56-detail-order { align-items: stretch; flex-direction: column; }
    .fv56-detail-order .fv56-detail-add, .fv56-detail-login { width: 100%; }
    .fv56-food-card .food-photo { min-height: 160px; }
}
@media(prefers-reduced-motion: reduce) {
    .fv56-food-card, .fv56-food-card img, .fv56-order-btn { transition: none !important; transform: none !important; }
}
