/* ---------------------------------------------------------
   PREMIUM MODAL
--------------------------------------------------------- */

.ric-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 999999;
    backdrop-filter: blur(6px);
    animation: ricFadeIn 0.25s ease-out;
}

@keyframes ricFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------------
   MODAL CONTENT
--------------------------------------------------------- */

.ric-modal-content {
    background: #111;
    width: 100%;
    max-width: 900px;
    max-height: 95vh;
    overflow-y: auto;
    border-radius: 14px;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

/* ---------------------------------------------------------
   CLOSE BUTTON
--------------------------------------------------------- */

.ric-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
    transition: 0.2s;
}

.ric-modal-close:hover {
    color: #ffcc00;
}

/* ---------------------------------------------------------
   FULL SCREEN PHOTO
--------------------------------------------------------- */

.ric-modal-photo-wrapper {
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ric-modal-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: zoom-in;
    transition: 0.3s ease;
}

.ric-modal-photo:hover {
    transform: scale(1.03);
}

/* ---------------------------------------------------------
   TITLES & PRICE
--------------------------------------------------------- */

.ric-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ric-modal-price {
    font-size: 22px;
    color: #ffcc00;
    margin-bottom: 25px;
}

/* ---------------------------------------------------------
   TAB CONTENT
--------------------------------------------------------- */

.ric-tab {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    color: #ddd;
    line-height: 1.6;
    font-size: 16px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

/* ---------------------------------------------------------
   CHEF SECTION
--------------------------------------------------------- */

.ric-chef-photo img {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ffcc00;
}

.ric-chef-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.ric-chef-bio {
    font-size: 15px;
    color: #ccc;
}

/* ---------------------------------------------------------
   RATING SECTION
--------------------------------------------------------- */

.ric-rating-score {
    font-size: 22px;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 15px;
}

.ric-rating-questions,
.ric-rating-notes {
    margin-bottom: 15px;
    color: #ddd;
}

.ric-rating-questions strong,
.ric-rating-notes strong {
    color: #ffcc00;
}

/* ---------------------------------------------------------
   GRID CARDS
--------------------------------------------------------- */

.ric-card {
    background: #111;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    transition: 0.25s ease;
}

.ric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.ric-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.ric-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-top: 10px;
}

.ric-card-price {
    color: #ffcc00;
    font-size: 18px;
    margin-bottom: 10px;
}

.ric-more-btn {
    background: #ffcc00;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.ric-more-btn:hover {
    background: #e6b800;
}

/* ---------------------------------------------------------
   TABS (FINAL PREMIUM FIX)
--------------------------------------------------------- */

.ric-modal .ric-modal-tabs {
    border-bottom: 1px solid #333;
}

.ric-modal .ric-modal-tabs button {
    color: #ffffff !important;
    font-weight: 600;
    background: transparent;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
}

.ric-modal .ric-modal-tabs button.active,
.ric-modal .ric-modal-tabs button:hover {
    color: #ffcc00 !important;
}
/* ---------------------------------------------------------
   ABSOLUTE OVERRIDE FOR TABS (CANNOT BE OVERRIDDEN)
--------------------------------------------------------- */

.ric-modal .ric-modal-tabs button {
    all: unset !important;              /* Σβήνει ΟΛΑ τα styles του theme */
    display: inline-block !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
}

.ric-modal .ric-modal-tabs button.active {
    color: #ffcc00 !important;
}

.ric-modal .ric-modal-tabs button:hover {
    color: #ffcc00 !important;
}
/* ---------------------------------------------------------
   ABSOLUTE OVERRIDE FOR TABS (CANNOT BE OVERRIDDEN)
--------------------------------------------------------- */

.ric-modal .ric-modal-tabs button {
    all: unset !important;              /* Σβήνει ΟΛΑ τα styles του theme */
    display: inline-block !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    line-height: 1 !important;
}

.ric-modal .ric-modal-tabs button.active {
    color: #ffcc00 !important;
}

.ric-modal .ric-modal-tabs button:hover {
    color: #ffcc00 !important;
}
