/* ============================
   WRAPPER & LAYOUT
   ============================ */

.ric-wrapper {
    position: relative;
    padding: 40px 20px;
    background-size: cover;
    background-position: center;
    color: #fff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ric-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    z-index: 1;
}

.ric-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================
   HEADER
   ============================ */

.ric-header {
    text-align: center;
    margin-bottom: 30px;
}

.ric-logo img {
    max-height: 80px;
    margin-bottom: 10px;
}

.ric-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ric-welcome {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* ============================
   MENU TABS
   ============================ */

.ric-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.ric-menu-item {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ric-menu-item:hover,
.ric-menu-item.active {
    background: #ffb347;
    color: #000;
}

/* ============================
   GRID
   ============================ */

.ric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

@media (max-width: 900px) {
    .ric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .ric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================
   CARD
   ============================ */

.ric-card {
    background: rgba(0,0,0,0.55);
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 18px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
}

.ric-card-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}

.ric-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.ric-card-price {
    font-size: 13px;
    margin-bottom: 8px;
    color: #ffd36b;
}

.ric-more-btn {
    border: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffb347;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ric-more-btn:hover {
    background: #ffd36b;
}

/* ============================
   MODAL
   ============================ */

.ric-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
}

.ric-modal-content {
    background: #111827;
    color: #fff;
    max-width: 700px;
    width: 90%;
    border-radius: 18px;
    padding: 20px 24px 24px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    z-index: 9999999 !important;
}

.ric-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 22px;
    cursor: pointer;
}

.ric-modal-title {
    font-size: 22px;
    margin-bottom: 4px;
}

.ric-modal-price {
    font-size: 14px;
    color: #ffd36b;
    margin-bottom: 12px;
}

.ric-modal-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.ric-modal-icons button {
    border: none;
    padding: 6px 10px;
    border-radius: 999px;
    background: #1f2937;
    color: #e5e7eb;
    font-size: 12px;
    cursor: pointer;
}

.ric-modal-icons button.active {
    background: #f59e0b;
    color: #111827;
}

.ric-tab {
    font-size: 14px;
    line-height: 1.5;
}

.ric-chef-photo img {
    max-width: 120px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.ric-chef-name {
    font-weight: 600;
    margin-bottom: 6px;
}

/* ============================
   FIXES FOR THEMES / ELEMENTOR
   ============================ */

body, html,
.elementor,
.elementor-section,
.elementor-container,
.elementor-widget-wrap {
    overflow: visible !important;
    position: static !important;
}

.ric-wrapper,
.ric-inner {
    isolation: isolate !important;
}
