/* Restaurant Menu Manager - Public Styles */

/* CSS Variables for Restaurant Theme */
:root {
    --rmm-primary-color: #d4af37;
    --rmm-secondary-color: #2c2c2c;
    --rmm-background-color: #fefefe;
    --rmm-text-color: #2c2c2c;
    --rmm-border-radius: 12px;
    --rmm-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --rmm-shadow: 0 2px 20px rgba(0,0,0,0.06);
    --rmm-shadow-hover: 0 8px 35px rgba(0,0,0,0.12);
    --rmm-accent-color: #f8f5f0;
    --rmm-gold-gradient: linear-gradient(135deg, #d4af37, #f4d03f);
}

/* Menu Container - Auto width detection */
.rmm-menu-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 20px;
    font-family: inherit;
    box-sizing: border-box;
}

/* Elementor specific adjustments */
.elementor-widget-container .rmm-menu-container {
    padding: 0;
}

.elementor-section .rmm-menu-container {
    max-width: 100%;
}

.elementor-column .rmm-menu-container {
    width: 100%;
    padding: 10px;
}

/* Auto-detect container width based on parent */
.rmm-menu-container {
    --container-width: 100%;
    width: var(--container-width);
}

/* Standard WordPress theme containers */
.wp-block-group .rmm-menu-container,
.site-main .rmm-menu-container,
.entry-content .rmm-menu-container {
    max-width: 100%;
    width: 100%;
}

/* Popular theme compatibility */
.container .rmm-menu-container,
.wrap .rmm-menu-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Menu Controls */
.rmm-menu-controls {
    background: var(--rmm-background-color);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: var(--rmm-border-radius);
    box-shadow: var(--rmm-shadow);
    border: 1px solid #e1e5e9;
}

.rmm-search-container {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 10px;
}

.rmm-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: var(--rmm-border-radius);
    font-size: 16px;
    transition: var(--rmm-transition);
    background: #fff;
}

.rmm-search-input:focus {
    outline: none;
    border-color: var(--rmm-primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.rmm-search-btn,
.rmm-clear-search {
    padding: 12px 16px;
    background: var(--rmm-primary-color);
    color: white;
    border: none;
    border-radius: var(--rmm-border-radius);
    cursor: pointer;
    transition: var(--rmm-transition);
    font-size: 16px;
    min-width: 50px;
}

.rmm-search-btn:hover,
.rmm-clear-search:hover {
    background: #c49c2a;
    transform: translateY(-1px);
}

.rmm-clear-search {
    background: #dc3545;
}

.rmm-clear-search:hover {
    background: #c82333;
}

/* Category Filters */
.rmm-filter-container {
    margin-top: 20px;
}

.rmm-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rmm-filter-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--rmm-transition);
    font-weight: 500;
    color: var(--rmm-text-color);
    font-size: 14px;
}

.rmm-filter-btn:hover {
    background: var(--rmm-primary-color);
    color: white;
    border-color: var(--rmm-primary-color);
    transform: translateY(-1px);
}

.rmm-filter-btn.active {
    background: var(--rmm-primary-color);
    color: white;
    border-color: var(--rmm-primary-color);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.rmm-filter-btn[data-category]:not([data-category="all"]):hover {
    background: var(--category-color, var(--rmm-primary-color));
    border-color: var(--category-color, var(--rmm-primary-color));
}

/* Results Info */
.rmm-menu-results {
    margin-bottom: 20px;
}

.rmm-results-info {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    padding: 10px;
}

.rmm-results-count {
    font-weight: 600;
    color: var(--rmm-primary-color);
}

/* Loading Spinner */
.rmm-loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.rmm-spinner {
    display: inline-flex;
    gap: 4px;
    margin-bottom: 15px;
}

.rmm-bounce1,
.rmm-bounce2,
.rmm-bounce3 {
    width: 8px;
    height: 8px;
    background-color: var(--rmm-primary-color);
    border-radius: 100%;
    display: inline-block;
    animation: rmm-bounce 1.4s ease-in-out infinite both;
}

.rmm-bounce1 {
    animation-delay: -0.32s;
}

.rmm-bounce2 {
    animation-delay: -0.16s;
}

@keyframes rmm-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1.0);
    }
}

/* Menu Items Grid */
.rmm-menu-items {
    position: relative;
}

.rmm-items-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.rmm-grid-1 {
    grid-template-columns: 1fr;
}

.rmm-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.rmm-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.rmm-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.rmm-list-layout {
    display: block;
}

.rmm-list-layout .rmm-menu-item {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.rmm-list-layout .rmm-item-image {
    width: 180px;
    height: 120px;
    margin-right: 25px;
    flex-shrink: 0;
}

.rmm-list-layout .rmm-item-content {
    flex: 1;
}

/* Menu Item Card - Minimal Restaurant Design */
.rmm-menu-item {
    background: #fefefe;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    backdrop-filter: blur(10px);
}

.rmm-menu-item:hover {
    box-shadow: 0 8px 35px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Item Image - Restaurant Style */
.rmm-item-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.rmm-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease-out;
    filter: brightness(0.95) contrast(1.05);
}

.rmm-menu-item:hover .rmm-item-image img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.rmm-item-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.rmm-video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    transition: var(--rmm-transition);
}

.rmm-menu-item:hover .rmm-video-indicator {
    opacity: 1;
}

/* Item Content - Elegant Restaurant Layout */
.rmm-item-content {
    padding: 24px 20px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
}

.rmm-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 12px;
}

.rmm-item-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #2c2c2c;
    line-height: 1.4;
    flex: 1;
    letter-spacing: 0.2px;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.rmm-item-price {
    font-size: 16px;
    font-weight: 600;
    color: #d4af37;
    white-space: nowrap;
    padding: 4px 8px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.rmm-item-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 13px;
    font-style: italic;
    opacity: 0.9;
}

.rmm-item-category {
    margin-bottom: 14px;
}

.rmm-category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.rmm-category-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.rmm-menu-item:hover .rmm-category-badge::before {
    left: 100%;
}

.rmm-item-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 12px;
    color: #888;
    align-items: center;
}

.rmm-prep-time {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(108, 117, 125, 0.08);
    border-radius: 15px;
    font-weight: 500;
}

/* Tags - Refined Restaurant Style */
.rmm-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 5px 10px;
    border-radius: 18px;
    color: white;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.rmm-item-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

/* Item Actions - Elegant Restaurant Button */
.rmm-item-actions {
    display: flex;
    gap: 0;
    margin-top: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
}

.rmm-view-details {
    flex: 1;
    padding: 16px 20px;
    background: #ffffff;
    color: #2c2c2c;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.rmm-view-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    transition: all 0.4s ease;
    z-index: 0;
}

.rmm-view-details::after {
    content: 'DETAYLARI GÖR';
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.rmm-view-details:hover::before {
    left: 0;
}

.rmm-view-details:hover {
    color: white;
    transform: translateY(0);
}

.rmm-view-details:hover::after {
    color: white;
}

/* No Results */
.rmm-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.rmm-no-results-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.rmm-no-results h3 {
    margin: 0 0 10px 0;
    color: var(--rmm-secondary-color);
    font-size: 24px;
}

.rmm-no-results p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Modal Styles */
.rmm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.rmm-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}



@keyframes rmm-modal-appear {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rmm-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: var(--rmm-transition);
}

.rmm-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.rmm-modal-body {
    padding: 0;
}

/* Responsive Design - Restaurant Optimized */
@media (max-width: 768px) {
    .rmm-menu-container {
        padding: 16px;
    }
    
    .rmm-menu-controls {
        padding: 18px;
        border-radius: 16px;
    }
    
    .rmm-search-container {
        flex-direction: column;
    }
    
    .rmm-search-input {
        margin-bottom: 12px;
    }
    
    .rmm-category-filters {
        justify-content: center;
    }
    
    .rmm-filter-btn {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .rmm-items-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .rmm-list-layout .rmm-menu-item {
        flex-direction: column;
    }
    
    .rmm-list-layout .rmm-item-image {
        width: 100%;
        height: 220px;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .rmm-item-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    
    .rmm-item-price {
        font-size: 15px;
    }
    
    .rmm-modal-content {
        width: 95%;
        margin: 10% auto;
        border-radius: 16px;
    }
    
    .rmm-item-actions {
        flex-direction: row;
    }
    
    .rmm-menu-item {
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .rmm-menu-container {
        padding: 10px;
    }
    
    .rmm-menu-controls {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .rmm-item-content {
        padding: 15px;
    }
    
    .rmm-item-title {
        font-size: 16px;
    }
    
    .rmm-item-price {
        font-size: 15px;
    }
    
    .rmm-item-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Print Styles */
@media print {
    .rmm-menu-controls,
    .rmm-item-actions,
    .rmm-video-indicator {
        display: none;
    }
    
    .rmm-menu-item {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        margin-bottom: 15px;
    }
    
    .rmm-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --rmm-background-color: #1a1a1a;
        --rmm-text-color: #e0e0e0;
        --rmm-secondary-color: #ffffff;
    }
    
    .rmm-menu-controls {
        background: #2a2a2a;
        border-color: #444;
    }
    
    .rmm-search-input {
        background: #333;
        color: #e0e0e0;
        border-color: #444;
    }
    
    .rmm-filter-btn {
        background: #333;
        color: #e0e0e0;
        border-color: #444;
    }
    
    .rmm-menu-item {
        background: #2a2a2a;
        border-color: #444;
    }
}

/* Animation Classes */
.rmm-fade-in {
    animation: rmm-fadeIn 0.5s ease-out;
}

@keyframes rmm-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rmm-slide-in {
    animation: rmm-slideIn 0.3s ease-out;
}

@keyframes rmm-slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .rmm-menu-item {
        border: 2px solid #000;
    }
    
    .rmm-tag,
    .rmm-category-badge {
        border: 1px solid #000;
    }
    
    .rmm-view-details {
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .rmm-menu-item:hover {
        transform: none;
    }
}

/* ===============================
   NEW THEME - Large Image Cards
   =============================== */

.rmm-theme-new {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f1923;
    min-height: 100vh;
    padding: 40px 20px;
}

.rmm-theme-new .rmm-welcome-section {
    text-align: center;
    margin-bottom: 40px;
}

.rmm-theme-new .rmm-welcome-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.rmm-theme-new .rmm-search-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.rmm-theme-new .rmm-search-input {
    width: 100%;
    padding: 20px 24px 20px 56px;
    border: none;
    border-radius: 50px;
    background: white;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    outline: none;
}

.rmm-theme-new .rmm-search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 20px;
}

.rmm-theme-new .rmm-filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.rmm-theme-new .rmm-filter-pill {
    padding: 12px 24px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rmm-theme-new .rmm-filter-pill:hover,
.rmm-theme-new .rmm-filter-pill.active {
    background: white;
    color: #0f1923;
    transform: translateY(-2px);
}

.rmm-theme-new .rmm-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.rmm-theme-new .rmm-cat-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.rmm-theme-new .rmm-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.rmm-theme-new .rmm-cat-card-img {
    width: 100%;
    height: 75%;
    object-fit: cover;
    display: block;
}

.rmm-theme-new .rmm-cat-card-img--placeholder {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 48px;
}

.rmm-theme-new .rmm-cat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 40px 24px 20px;
    color: white;
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rmm-theme-new .rmm-cat-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.rmm-theme-new .rmm-cat-card-desc {
    font-size: 13px;
    margin: 0;
    opacity: 0.85;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.rmm-theme-new .rmm-cat-card-count {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    backdrop-filter: blur(10px);
}

/* Responsive for New Theme */
@media (max-width: 768px) {
    .rmm-theme-new {
        padding: 20px 16px;
    }
    
    .rmm-theme-new .rmm-welcome-title {
        font-size: 24px;
    }
    
    .rmm-theme-new .rmm-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .rmm-theme-new .rmm-cat-card {
        height: 320px;
    }
    
    .rmm-theme-new .rmm-filter-pills {
        gap: 8px;
        margin-bottom: 40px;
    }
    
    .rmm-theme-new .rmm-filter-pill {
        padding: 10px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .rmm-theme-new .rmm-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .rmm-theme-new .rmm-search-input {
        padding: 16px 20px 16px 48px;
        font-size: 15px;
    }
}

/* ===============================
   RESTAURANT LAYOUT - Frontend Experience
   =============================== */

.rmm-restaurant-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Category Header */
.rmm-category-header {
    margin-bottom: 40px;
}

.rmm-category-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.rmm-category-image-large {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.rmm-category-image-large:hover {
    transform: scale(1.02);
}

.rmm-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.rmm-category-info {
    padding: 20px 0;
}

.rmm-category-title {
    font-size: 36px;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 16px;
    line-height: 1.2;
}

.rmm-category-description {
    font-size: 18px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 24px;
}

.rmm-category-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.rmm-item-count,
.rmm-price-range {
    padding: 8px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.rmm-view-all-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.rmm-view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Menu Grid */
.rmm-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.rmm-menu-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.rmm-menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.rmm-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.rmm-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rmm-menu-card:hover .rmm-item-image img {
    transform: scale(1.1);
}

.rmm-item-details {
    padding: 20px;
}

.rmm-item-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px;
    line-height: 1.3;
}

.rmm-item-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rmm-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rmm-item-price {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.rmm-view-item-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rmm-view-item-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* Navigation */
.rmm-navigation {
    text-align: center;
    padding: 20px 0;
}

.rmm-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.rmm-back-btn:hover {
    color: #495057;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

/* Modal Styles */
.rmm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.rmm-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    position: relative;
}

.rmm-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #dee2e6;
    background: #f8f9fa;
}

.rmm-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.rmm-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.rmm-modal-close:hover {
    background: #e9ecef;
}

.rmm-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.rmm-modal-grid {
    display: grid;
    gap: 20px;
}

.rmm-modal-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rmm-modal-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
}

.rmm-modal-item-image {
    border-radius: 8px;
    overflow: hidden;
}

.rmm-modal-item-image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.rmm-modal-item-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.rmm-modal-item-info p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

.rmm-modal-price {
    font-size: 16px;
    font-weight: 700;
    color: #e74c3c;
}

/* No Items State */
.rmm-no-items {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rmm-restaurant-layout {
        padding: 16px;
    }
    
    .rmm-category-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .rmm-hero-image {
        height: 250px;
    }
    
    .rmm-category-title {
        font-size: 28px;
    }
    
    .rmm-category-description {
        font-size: 16px;
    }
    
    .rmm-menu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .rmm-modal-content {
        margin: 20px;
        max-height: 90vh;
    }
    
    .rmm-modal-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .rmm-modal-item-image img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .rmm-category-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .rmm-item-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .rmm-view-item-btn {
        width: 100%;
        padding: 12px;
    }
}