/* GastroHubs Upsell - Frontend widget inside Gastro QR Menu cart */

#ghu-suggestions {
    margin: 0 0 16px;
    padding: 14px 14px 8px;
    background: linear-gradient(135deg, #fff8ee, #ffe9c9);
    border: 1px solid #f0d8a8;
    border-radius: 10px;
    animation: ghuFadeIn 0.35s ease;
}

@keyframes ghuFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

#ghu-suggestions .ghu-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #8B4513;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ghu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ghu-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #f0d8a8;
    border-radius: 8px;
    padding: 8px 10px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ghu-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.12);
}

.ghu-card-thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #f0e6d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ghu-card-info {
    flex: 1;
    min-width: 0;
}

.ghu-card-label {
    font-size: 13px;
    font-weight: 600;
    color: #2C1810;
    line-height: 1.25;
    margin: 0 0 2px;
}

.ghu-card-meta {
    font-size: 11px;
    color: #8B4513;
    opacity: 0.8;
}

.ghu-add-btn {
    background: #8B4513;
    color: #fff;
    border: 0;
    border-radius: 18px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.ghu-add-btn:hover { background: #6b340e; }

.ghu-add-btn.added {
    background: #2e7d32;
    pointer-events: none;
}

.ghu-add-btn.added::before { content: '✓ '; }

.ghu-dismiss {
    background: none;
    border: 0;
    color: #8B4513;
    font-size: 11px;
    cursor: pointer;
    padding: 4px 8px;
    margin-top: 6px;
    opacity: 0.7;
}

.ghu-dismiss:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 480px) {
    .ghu-card {
        flex-wrap: wrap;
    }
    .ghu-card-thumb { width: 40px; height: 40px; }
    .ghu-add-btn { padding: 6px 10px; font-size: 12px; }
}
