/*
 Theme Name:   Understrap Child
 Template:     understrap
 Text Domain:  understrap-child
 Version:      1.2.0
*/

/* =====================================================
   VARIABLES & RESETS
===================================================== */
:root {
    --color-gold: #c9a45c;
    --color-gold-light: #e5d3b3;
    --color-dark: #1e1e1e;
    --color-gray: #666;
    --color-light-gray: #eee;
    --color-white: #fff;
    --color-bg: #fff7ef;
    --level2-bg: #f9f7f2;
    --level3-bg: #cbcaca;
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    color: var(--color-dark);
}

a {
    color: var(--color-gold);
    text-decoration: none;
}

/* Utility */
.pl-developer { display: none; }

/* Font Smoothing */
.la-kumbre-nav a,
.menu-tabs .nav-link {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.lb-data .lb-caption {
    font-size: 23px;
    font-weight: 700;
    line-height: 1em;
}

.lb-data .lb-number, .btn-reserva {
    display: none !important;
}

/* =====================================================
   HEADER & NAVIGATION
===================================================== */
/* Main Navbar */
#wrapper-navbar {
    position: relative;
    z-index: 50;
    background: var(--color-white);
}

#wrapper-navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 1px;
    background-image: repeating-linear-gradient(
        to right,
        var(--color-gold) 0,
        var(--color-gold) 1px,
        transparent 3px,
        transparent 6px
    );
    opacity: 0.6;
}

/* Navbar Container */
.la-kumbre-navbar {
    padding: 40px 0;
    position: relative;
}

.la-kumbre-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-gold);
}

/* Logo */
.la-kumbre-logo-wrap {
    position: absolute;
    left: 50%;
    bottom: -90px;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--color-white);
}

.la-kumbre-logo-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -120px;
    right: -120px;
    z-index: -1;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,1) 18%,
        rgba(255,255,255,1) 82%,
        rgba(255,255,255,0) 100%
    );
}

.brand-emblem {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation Links */
.la-kumbre-nav a {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-dark);
    position: relative;
    padding: 10px;
}

.la-kumbre-nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transform: translateX(-50%);
    transition: width .25s ease;
}

.la-kumbre-nav a:hover::after,
.la-kumbre-nav .current_page_item > a::after {
    width: 60%;
}

.la-kumbre-nav a:hover {
    color: var(--color-gold);
}

/* Navigation Structure */
.navbar-left .navbar-nav li { border: none; }

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Content Spacing */
#content,
.site-main {
    padding-top: 140px;
}

.content-section {
    padding: 30px 0;
    margin-top: 50px;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn-reserva {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 10px 26px;
    font-size: 14px;
    border-radius: 4px;
    transition: all .2s ease;
}

.btn-reserva:hover {
    background: #b8964e;
    color: var(--color-white);
}

/* =====================================================
   MENU PAGE COMPONENTS
===================================================== */
/* Page Header */
.menu-page { padding-top: 80px; }

.menu-page-header { padding: 60px 0 40px; }

.menu-page-title {
    font-family: var(--font-primary);
    font-size: 46px;
    font-weight: 600;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
}

.menu-page-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 640px;
    margin-bottom: 36px;
}

/* Menu Tabs */
.menu-tabs {
    border-top: 2px solid var(--color-gold-light);
    border-bottom: 2px solid var(--color-gold-light);
}

.menu-tabs .nav-link {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-dark);
    padding: 12px 22px;
    border: none;
}

.menu-tabs .nav-link.active {
    color: var(--color-white);	
    background: var(--color-gold);
    border-radius: 0;
}

.menu-tabs .nav-link:active { transform: scale(0.95); }

/* Menu Items */
.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.menu-item h4 {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.menu-item p {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    color: var(--color-gray);
}

.menu-item .price {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-gold);
    white-space: nowrap;
}

/* Menu Groups */
.menu-group { display: none; }
.menu-group.active { display: block; }

#menu-content {
    min-height: 300px;
    transition: opacity .2s ease;
}

/* Sidebar */
.menu-sidebar {
    position: sticky;
    top: 120px;
}

.menu-sidebar.empty-sidebar {
    display: none; /
}
/* =====================================================
   BRM MENU SYSTEM - 4 COLUMN LAYOUT
===================================================== */
.brm-menu-section { margin-bottom: 60px; }

/* Main Category */
.brm-heading:not(.subgroup) {
    margin-bottom: 40px;
    text-align: center;
}

.brm-heading:not(.subgroup) h2 {
    font-family: var(--font-primary);
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.brm-heading-description {
    font-size: 16px;
    color: #777;
    font-style: italic;
}

.brm-heading:not(.subgroup)::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin: 30px auto 0;
    background-image: repeating-linear-gradient(
        to right,
        var(--color-gold) 0,
        var(--color-gold) 4px,
        transparent 4px,
        transparent 10px
    );
}

/* Subcategory */
.brm-heading.subgroup { margin: 50px 0 20px; }

.brm-heading.subgroup h2 {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: capitalize;
    color: var(--color-dark);
}

.brm-heading.subgroup h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-dark);
}

#subgroup-47 .brm-item-description{
	
}

/* Items List */
.brm-items { border-top: 1px solid var(--color-light-gray); }

.brm-item {
    padding: 25px 0;
    border-bottom: 1px solid var(--color-light-gray);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Image - Column 1 */
.brm-item-image {
    flex: 0 0 100px;
    max-width: 100px;
}

.brm-item-image a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.brm-item-image a:hover { transform: scale(1.05); }

.brm-item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Details - Columns 2, 3, 4 */
.brm-item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

/* Column 2: Title + Description */
.brm-item-left {
    flex: 1;
    min-width: 0;
}

.brm-item-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-dark);
    line-height: 1.3;
}
.brm-item-subtitle{
	font-size: 15px;
}

.brm-item-grams {
    font-size: 16px;
    color: var(--color-gold);
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.8;
}

.brm-item-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray);
    margin-bottom: 0;
}

/* Column 3: Empty space (for alignment) */
.brm-item-space { flex: 0 0 20px; }

/* Column 4: Price */
.brm-item-price {
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.brm-item-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray);
    margin-bottom: 4px;
}

.brm-item-price span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-gold);
    margin-top: 2px;
}

/* Hover Effect */
.brm-item:hover {
    background: rgba(201, 164, 92, 0.04);
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 4px;
}

/* Item Badges - Stiluri pentru badge-uri */
.item-badge,
.legend-badge {                    /* Add legend-badge here */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-size: 9px;                 /* 50% din 18px (dimensiunea implicită) */
}

.badge-icon {
    display: block;
    width: 12px;                    /* 50% din 24px */
    height: 12px;                   /* 50% din 24px */
}

/* Culori pentru badge-uri */
.item-badge.vegan,
.legend-badge.vegan {
    background-color: #4CAF50;
	font-size: 7px;                  /* Ajustat pentru badge-uri mai mici */
}

.item-badge.vegetarian,
.legend-badge.vegetarian {
    background-color: #4CAF50;
    font-size: 7px;                  /* Ajustat pentru badge-uri mai mici */
}

.item-badge.frozen,
.legend-badge.frozen {
    background-color: #2196F3;
    font-size: 7px;                  /* Ajustat pentru badge-uri mai mici */
}

/* Badge suprapus pe imagine */
.brm-item-image {
    position: relative;
    overflow: hidden;
}

.brm-item-badges {
    position: absolute;
    top: 8px;                        /* Ajustat pentru badge-uri mai mici */
    left: 8px;                       /* Ajustat pentru badge-uri mai mici */
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;                        /* Ajustat pentru badge-uri mai mici */
}

/* Badge-uri lângă nume */
.brm-item-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;                        /* Ajustat pentru badge-uri mai mici */
}

.brm-item-name-badges {
    display: inline-flex;
    align-items: center;
    gap: 2px;                        /* Ajustat pentru badge-uri mai mici */
    margin-left: 4px;                 /* Ajustat pentru badge-uri mai mici */
}

/* Legendă */
.brm-menu-legend {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.brm-legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;                       /* Ajustat pentru badge-uri mai mici */
    justify-content: center;
    align-items: center;
}

.brm-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;                        /* Ajustat pentru badge-uri mai mici */
}

.legend-text {
    font-size: 11px;                  /* 50% din 22px (dimensiunea implicită) */
    color: #666;
}

/* Hover effects */
.item-badge:hover,
.legend-badge:hover {                /* Add hover for legend */
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .item-badge,
    .legend-badge {                  /* Add responsive for legend */
        width: 12px;                 /* 50% din 36px (dimensiunea implicită) */
        height: 12px;                /* 50% din 36px (dimensiunea implicită) */
    }
    
    .badge-icon {
        width: 10px;                 /* 50% din 20px */
        height: 10px;                /* 50% din 20px */
    }
    
    .brm-item-badges {
        top: 4px;                    /* Ajustat pentru badge-uri mai mici */
        left: 4px;                   /* Ajustat pentru badge-uri mai mici */
        gap: 2px;                    /* Ajustat pentru badge-uri mai mici */
    }
    
    .brm-legend-items {
        gap: 8px;                    /* Ajustat pentru badge-uri mai mici */
    }
    
    .legend-text {
        font-size: 9px;              /* 50% din 18px pentru mobil */
    }
}

.site-info{
	text-align:center;
	font-size:10px;
}
/* =====================================================
   RECOMMENDED CARD
===================================================== */
.recommended-card {
    position: relative;
    background: var(--color-white);
    padding: 28px 22px 26px;
    text-align: center;
    border: 1px solid var(--color-gold);
    border-radius: 10px;
}

.recommended-card::after {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid var(--color-gold-light);
    border-radius: 8px;
    pointer-events: none;
}

/* Badge */
.menu-badge {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    padding: 4px;
    border-radius: 30px;
    z-index: 2;
}

.menu-badge span {
    display: block;
    padding: 6px 18px;
    border: 1px solid var(--color-gold);
    border-radius: 24px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-dark);
}

.menu-badge span::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid var(--color-gold-light);
    border-radius: 20px;
}

/* Card Content */
.recommended-card img {
    width: 100%;
    border-radius: 6px;
    margin: 22px 0 16px;
}

.recommended-card h3 {
    font-family: var(--font-secondary);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.recommended-card h3 span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    margin-top: 2px;
}

.recommended-card p {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 18px;
}

.recommended-card .price {
    position: relative;
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-white);
    padding: 10px 26px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 15px;
}

.recommended-card .price::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

/* =====================================================
   MENU GROUPS NAVIGATION - 3 LEVEL STRUCTURE
===================================================== */
.menu-groups-nav,
.menu-groups-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* General Submenu Styles */
.menu-subgroups {
    margin-top: 10px;
    padding-left: 0;
    list-style: none;
}

.menu-subgroups a {
    font-size: 13px;
    letter-spacing: .08em;
    color: #777;
    text-transform: uppercase;
}

.menu-subgroups a:hover { color: var(--color-gold); }

/* Level Visual Differences */
.menu-subgroups.level-2 a {
    font-size: 14px;
    letter-spacing: .06em;
    color: #555;
    font-weight: 600;
}

.menu-subgroups.level-3 a {
    font-size: 13px;
    letter-spacing: .04em;
    color: var(--color-white);
    font-weight: 500;
}

/* Dropdown arrow */
.dropdown-arrow {
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.has-children.active > a .dropdown-arrow {
    transform: rotate(90deg);
}

/* =====================================================
   EXTRA IMAGES GALLERY
===================================================== */
.extra-images-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0 30px;
    padding: 15px;
    background: rgba(201, 164, 92, 0.04);
    border-top: 1px solid rgb(221 190 128);
    border-bottom: 1px solid rgb(221 190 128);
    justify-content: center;
    align-items: center;
    animation: fadeInGallery 0.5s ease-out;
}

.extra-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
}

.extra-image-link:hover { transform: translateY(-5px); }

.extra-image-link img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.extra-image-link:hover img { transform: scale(1.05); }

.extra-images-gallery.subgroup { display: none; }

.extra-images-gallery.subgroup[style*="display: block"],
.extra-images-gallery.subgroup.active-subcategory {
    display: flex !important;
}

.extra-image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 115, 170, 0);
    transition: background 0.3s ease;
    border-radius: 4px;
    pointer-events: none;
}

.extra-image-link:hover::after {
    background: rgba(0, 115, 170, 0.1);
}

/* Custom Cases */
.extra-images-gallery:has(.extra-image-link:only-child) { justify-content: center; }
.extra-images-gallery:has(.extra-image-link:nth-child(2):last-child) { justify-content: space-around; }
.extra-image-link.has-custom-size img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* =====================================================
   SUBCATEGORIES CAROUSEL
===================================================== */
.subcategories-carousel-container {
    position: relative;
    margin: 20px 0 40px;
    padding: 0 40px;
}

.subcategories-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 164, 92, 0.5) transparent;
    padding: 10px 5px;
}

.subcategories-carousel::-webkit-scrollbar { height: 6px; }
.subcategories-carousel::-webkit-scrollbar-track { background: transparent; }
.subcategories-carousel::-webkit-scrollbar-thumb {
    background-color: rgba(201, 164, 92, 0.5);
    border-radius: 3px;
}

.subcategory-card {
    flex: 0 0 auto;
    width: 200px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.subcategory-card.active {
    border-color: rgba(201, 164, 92, 0.8);
    box-shadow: 0 5px 15px rgba(201, 164, 92, 0.2);
}

.subcategory-image {
    height: 120px;
    overflow: hidden;
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-image img { transform: scale(1.05); }

.subcategory-name {
    padding: 5px 0;
    text-align: center;
    font-weight: 600;
    color: #333;
    background: white;
    text-transform: uppercase;
    margin-top: 10px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(201, 164, 92, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    opacity: 1;
    background: rgba(180, 145, 75, 1);
}

.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }

.active-subcategory {
    padding: 10px;
    background: rgba(201, 164, 92, 0.04);
    border-top: 1px solid rgb(221 190 128);
    border-bottom: 1px solid rgb(221 190 128);
}

/* Cards without image */
.subcategory-card:not(:has(.subcategory-image)) .subcategory-name {
    padding: 25px 15px;
    font-size: 1.1em;
}

.subcategory-card:not(:has(.subcategory-image)).active {
    background-color: rgba(201, 164, 92, 0.1);
}


/* =====================================================
   SCROLL TO TOP BUTTON
===================================================== */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(201, 164, 92, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

#scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

#scroll-to-top:hover {
    background-color: rgba(180, 145, 75, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#scroll-to-top:active { transform: translateY(1px); }

/* =====================================================
   ANIMATIONS
===================================================== */
@keyframes fadeInGallery {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes highlightPulse {
    0% { background-color: rgba(201, 164, 92, 0.05); }
    50% { background-color: rgba(201, 164, 92, 0.15); }
    100% { background-color: rgba(201, 164, 92, 0.05); }
}

@keyframes highlightItemsPulse {
    0% { background-color: rgba(201, 164, 92, 0.02); }
    50% { background-color: rgba(201, 164, 92, 0.08); }
    100% { background-color: rgba(201, 164, 92, 0.02); }
}

.highlight-subgroup {
    animation: highlightPulse 2s ease-in-out;
    border-radius: 5px;
}

.highlight-subgroup-items {
    animation: highlightItemsPulse 2s ease-in-out;
    border-radius: 5px;
}

/* =====================================================
   DARK MODE
===================================================== */
@media (prefers-color-scheme: dark) {
    .extra-images-gallery {
        background: rgba(201, 164, 92, 0.04);
        border-top: 1px solid rgb(221 190 128);
        border-bottom: 1px solid rgb(221 190 128);
    }
    
    .extra-image-link { border-color: #e0cfa4; }
    
    .extra-image-link::after { background: rgba(224, 207, 164, 0); }
    
    .extra-image-link:hover::after { background: rgba(224, 207, 164, 0.1); }
}

/* =====================================================
   ACCESSIBILITY
===================================================== */
/* Focus styles */
.extra-image-link:focus {
    outline: 3px solid #0073aa;
    outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .extra-image-link,
    .extra-image-link img,
    .extra-images-gallery,
    .menu-tabs .nav-link:active,
    .brm-item-image a,
    .brm-item:hover,
    .subcategory-card,
    .subcategory-image img {
        transition: none;
        animation: none;
        transform: none;
    }
}

/* =====================================================
   PRINT STYLES
===================================================== */
@media print {
    .extra-images-gallery {
        border: 1px solid #ddd;
        background: none;
        page-break-inside: avoid;
    }
    
    .extra-image-link {
        border: 1px solid #ddd;
    }
    
    .extra-image-link::after { display: none; }
}

/* =====================================================
   DESKTOP STYLES (min-width: 992px)
===================================================== */
@media (min-width: 992px) {
    /* Navigation */
    #main-menu { display: flex !important; flex-basis: auto; }
    .navbar-left { display: flex; }
    .la-kumbre-nav { display: flex; gap: 32px; }
    
    /* Menu Groups */
    .menu-groups-nav {
        display: flex;
        gap: 32px;
        align-items: center;
    }
    
    .menu-groups-nav .nav-item { position: relative; }
    
    .menu-groups-nav .parent-link {
        font-family: var(--font-primary);
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--color-dark);
        padding: 10px;
        position: relative;
    }
    
    .menu-groups-nav .parent-link::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        width: 0;
        height: 1px;
        background: var(--color-gold);
        transform: translateX(-50%);
        transition: width .25s ease;
    }
    
    .menu-groups-nav .parent-link:hover::after { width: 60%; }
    
    /* Level 2 Submenu */
    .menu-subgroups.level-2 {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: var(--color-white);
        border: 1px solid var(--color-gold-light);
        min-width: 220px;
        padding: 12px 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all .25s ease;
        z-index: 100;
    }
    
    .nav-item.has-children:hover .menu-subgroups.level-2 {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
        padding: 0;
    }
    
    .menu-subgroups.level-2 li a {
        display: block;
        padding: 10px 20px;
        font-size: 13px;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #444;
        background: var(--level2-bg);
        border-left: 3px solid var(--color-gold);
        margin: 2px 0;
    }
    
    .menu-subgroups.level-2 li a:hover {
        background: var(--color-gold);
        color: #000;
    }
    
    /* Level 3 Submenu */
    .menu-subgroups.level-3 {
        position: absolute;
        top: 0;
        left: 100%;
        background: var(--color-white);
        border: 1px solid #ddd;
        min-width: 220px;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all .25s ease;
        z-index: 101;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-left: 1px;
    }
    
    .menu-subgroups.level-3 li a {
        display: block;
        padding: 8px 20px;
        font-size: 12px;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: #666;
        border-left: 2px solid #bbb;
        margin: 1px 0;
    }
    
    .menu-subgroups.level-3 li a:hover {
        background: #e8e8e8;
        color: #333;
        border-left-color: var(--color-gold);
    }
    
    /* Level 2 with children */
    .level-2-item.has-children { position: relative; }
    
    .level-2-item.has-children:hover .menu-subgroups.level-3 {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        padding: 0;
    }
    
    .level-2-item.has-children > .submenu-link {
        position: relative;
        padding-right: 30px;
    }
    
    .level-2-item.has-children > .submenu-link .dropdown-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
    }
    
    .level-2-item.has-children:hover > .submenu-link .dropdown-arrow {
        transform: translateY(-50%) rotate(90deg);
    }
    
    /* Mobile close button */
    .mobile-menu-close { display: none; }
    
    /* BRM Menu Desktop Optimizations */
    .brm-item { gap: 25px; }
    .brm-item-image { flex: 0 0 120px; max-width: 120px; }
    .brm-item-details { gap: 30px; }
    .brm-item-name { font-size: 22px; }
    .brm-item-price { font-size: 20px; }
    .menu-subgroups.level-2 a { border-left: 4px solid var(--color-gold); }
    .menu-subgroups.level-3 a { border-left: 4px solid #bbb; }
    
    /* Extra Images Gallery */
    .extra-image-link { justify-content: center; }
    .extra-image-link img { width: 180px; height: 135px; }
	
	.rezervari-phone{
		position: absolute;
    	left: 80px;
	}
}

/* =====================================================
   TABLET STYLES (min-width: 769px) and (max-width: 991px)
===================================================== */
@media (min-width: 769px) and (max-width: 991px) {
    .brm-item { gap: 15px; }
    .brm-item-image {
        flex: 0 0 90px;
        max-width: 90px;
        align-self: center;
    }
    .brm-item-details { gap: 15px; }
    .brm-item-name { font-size: 18px; }
    .brm-item-description { font-size: 14px; }
    .brm-item-price { font-size: 17px; }
    
    /* Extra Images Gallery */
    .extra-images-gallery {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 12px;
    }
    
    .extra-image-link {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        justify-content: center;
    }
    
    .extra-image-link img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }
}

/* =====================================================
   MOBILE STYLES (max-width: 768px)
===================================================== */
@media (max-width: 768px) {
    /* General */
    #wrapper-navbar { height: 160px; overflow: visible; }
    .la-kumbre-navbar { padding: 16px 0; }
    
    /* Mobile Menu Overlay */
    #main-menu {
        position: fixed;
        inset: 0;
        background: var(--color-white);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 20px;
    }
    
    #main-menu.collapse:not(.show) { display: none; }
    
    #main-menu .la-kumbre-nav {
        flex-direction: column;
        width: 100vw;
    }
    
    #main-menu .la-kumbre-nav a {
        font-size: 18px;
        font-weight: normal;
        letter-spacing: .12em;
        text-align: left;
    }
    
    /* Mobile Close Button */
    .mobile-menu-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: transparent;
        border: none;
        font-size: 28px;
        line-height: 1;
        color: var(--color-dark);
        cursor: pointer;
        z-index: 10001;
        transition: transform .2s ease, color .2s ease;
    }
    
    .menu-subgroups li { margin: 0; }
    
    .mobile-menu-close:hover {
        color: var(--color-gold);
        transform: scale(1.1);
    }
    
    /* Logo */
    .la-kumbre-logo-wrap {
        bottom: -80px;
        display: block;
    }
    
    .la-kumbre-logo-wrap::before { display: none; }
    .brand-emblem { width: 220px; }
    
    /* Content */
    .content-section { padding: 0; margin: 5px; }
    #content, .site-main { padding-top: 105px; }
    
    /* Hide Elements */
    .btn-reserva,
    #wrapper-navbar::after,
    .menu-page-title,
    .menu-page-intro {
        display: none !important;
    }
    
    /* Navbar Toggler */
    .navbar-toggler { margin: 0 !important; }
    
    /* Menu Tabs */
    .menu-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 0;
        background: var(--color-bg);
        position: sticky;
        top: 96px;
        z-index: 20;
        border-top: 1px solid #e0cfa4;
        border-bottom: 1px solid #e0cfa4;
        transition: top .25s ease;
    }
    
    .menu-tabs.is-stuck {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .menu-tabs::-webkit-scrollbar { display: none; }
    
    .menu-tabs .nav-item { flex: 0 0 auto; }
    
    .menu-tabs .nav-link {
        font-family: var(--font-primary);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.06em;
        padding: 14px 15px;
        background: transparent;
        color: #666;
        border: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        position: relative;
        white-space: nowrap;
        transition: background .2s ease, color .2s ease;
    }
    
    .menu-tabs .nav-link.active {
        background: var(--color-gold);
        color: var(--color-white);
        font-weight: 700;
    }
    
    /* Menu Items */
    .menu-item {
        flex-direction: column;
        padding: 14px 0;
    }
    
    .menu-item h4 { font-size: 16px; }
    .menu-item p { font-size: 13px; }
    .menu-item .price { font-size: 15px; margin-top: 6px; }
    
    /* Menu Page */
    .menu-page-header { padding: 40px 0 30px; }
    .menu-sidebar { position: static; margin-top: 40px; }
    
    /* Menu Groups - 3 LEVELS */
    .menu-groups-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    
    .menu-groups-nav .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #e0cfa4;
    }
    
    /* LEVEL 1 */
    .menu-groups-nav .parent-link {
        display: block;
        font-size: 18px;
        font-weight: 700;
        width: 100%;
        background: var(--color-white);
        border: none;
    }
    
    .menu-groups-nav .parent-link,
    .menu-groups-nav .parent-link:hover {
        background: var(--color-gold);
        color: var(--color-dark);
    }
    
    /* LEVEL 2 */
    .menu-subgroups.level-2 {
        display: none;
        width: 100%;
        background: var(--level2-bg);
        padding: 0;
    }
    
    .nav-item.has-children.level-1.active .menu-subgroups.level-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 10px;
    }
    
    .menu-subgroups.level-2 li { width: 100%; }
    
    .menu-subgroups.level-2 a {
        display: block;
        padding: 6px 0;
        font-size: 16px;
        color: #555;
        background: var(--level2-bg);
        padding-left: 40px;
        text-align: left;
    }
    
    .menu-subgroups.level-2 a:hover {
        background: #f0e9d8;
        padding-left: 45px;
    }
    
    /* LEVEL 3 */
    .menu-subgroups.level-3 {
        display: none;
        width: 100%;
        background: var(--level3-bg);
        padding: 0;
    }
    
    .level-2-item.has-children.active .menu-subgroups.level-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 10px;
    }
    
    .menu-subgroups.level-3 li { width: 100%; }
    
    .menu-subgroups.level-3 a {
        display: block;
        padding: 5px 0;
        font-size: 15px;
        background: #dfdfdf;
        padding-left: 60px;
        text-align: left;
    }
    
    .menu-subgroups.level-3 a:hover {
        background: #e8e3d6;
        color: #333;
        padding-left: 65px;
    }
    
    /* DROP DOWN ARROW */
    .dropdown-arrow {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
    }
    
    .level-2-item.has-children > a {
        position: relative;
        padding-right: 50px;
    }
    
    /* BRM Menu for Mobile */
    .brm-heading:not(.subgroup) h2 { font-size: 28px; }
    .brm-heading.subgroup h2 { font-size: 22px; }
    
    .brm-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        padding: 18px 0;
    }
    
    .brm-item-image {
        flex: 0 0 70px;
        max-width: 70px;
    }
    
    .brm-item-details {
        flex: 1;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 15px;
    }
    
    .brm-item-left { flex: 1; }
    
    .brm-item-name {
        font-size: 18px;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .brm-item-description {
        font-size: 16px;
        line-height: 1.4;
        color: var(--color-gray);
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
	.brm-item-allergens{
		font-size: 13px;
		color: var(--color-gold);
	}
    .brm-item-price {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
        font-size: 18px;
        font-weight: 600;
        margin-top: 0;
    }
    
    .brm-item-price span {
        display: block;
        font-size: 13px;
        font-weight: 400;
        margin-top: 2px;
    }
    
    .brm-item:hover {
        background: transparent;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Extra Images Gallery */
    .extra-images-gallery {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }
    
    .extra-image-link {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .extra-image-link img {
        width: 100%;
        height: 200px;
        max-width: 100%;
    }
    
    /* Subcategories Carousel */
    .subcategories-carousel-container {
        background: var(--color-bg);
        margin: 0;
        border-top: 1px solid rgb(221 190 128);
        border-bottom: 1px solid rgb(221 190 128);
    }
    .subcategories-carousel {
    	padding: 30px 5px;
	}
    .subcategory-card { width: 160px; }
    .subcategory-image { height: 100px; }
	
    .carousel-nav { 
		width: 35px;
		height: 35px;
		font-size: 18px;
	}
	
    #scroll-to-top { 
		bottom: 20px; 
		right: 20px; 
		width: 45px; 
		height: 45px;
		font-size: 18px;
	}
	
	.wpml-ls-legacy-list-horizontal{
		position: absolute;
    	right: 10px;
	}
}

/* =====================================================
   SMALL MOBILE STYLES (max-width: 576px)
===================================================== */
@media (max-width: 576px) {
    /* BRM Menu */
    .brm-item { gap: 12px; padding: 15px 0; }
    .brm-item-image { flex: 0 0 60px; max-width: 60px; }
    .brm-item-details { gap: 10px; }
    .brm-item-name { font-size: 18px; }
    .brm-item-description { -webkit-line-clamp: 15; }
    .brm-item-price { font-size: 14px; }
    
    /* Menu Badge */
    .menu-badge span { font-size: 11px; padding: 4px 12px; }
    .menu-page-intro { font-size: 15px; }
    
    /* Extra Images Gallery */
    .extra-images-gallery {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 12px;
    }
    
    .extra-image-link {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .extra-image-link img {
        width: 100%;
        height: 200px;
        max-width: 100%;
    }
    
    /* Subcategories Carousel */
    .subcategories-carousel-container { padding: 0 25px; }
    .subcategory-card { width: 140px; }
    .subcategory-image { height: 90px; }
    .carousel-nav { width: 30px; height: 30px; font-size: 16px; }
    #scroll-to-top { bottom: 15px; right: 15px; width: 40px; height: 40px; font-size: 16px; }
}

/* =====================================================
   EXTRA SMALL MOBILE STYLES (max-width: 375px)
===================================================== */
@media (max-width: 375px) {
    .brm-item { gap: 10px; }
    .brm-item-image { flex: 0 0 50px; max-width: 50px; }
    .brm-item-name { font-size: 16px; }
    .brm-item-description { font-size: 14px; -webkit-line-clamp: 15; }
    .brm-item-price { font-size: 13px; }
}

/* =====================================================
   IPHONE SE / VERY SMALL SCREENS (max-width: 320px)
===================================================== */
@media (max-width: 320px) {
    .brm-item-details { flex-wrap: wrap; }
    .brm-item-price {
        flex-basis: 100%;
        text-align: left;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px dashed var(--color-light-gray);
    }
    
    .brm-item-image { flex: 0 0 45px; max-width: 45px; }
    .brm-item-name { font-size: 16px; }
}

/* =====================================================
   RESPONSIVE UTILITY CLASSES
===================================================== */
@media (max-width: 991px) {
    .page-template-page-menu .navbar-right .navbar-toggler {
        visibility: hidden;
    }
    
    .menu-subgroups.level-2, 
    .menu-subgroups.level-3 {
        position: static;
        box-shadow: none;
        padding-left: 0;
        display: block !important;
        width: 100%;
    }
    
    .nav-item.has-children.level-1 { width: 100%; }
    .menu-subgroups.level-2 li,
    .menu-subgroups.level-3 li { width: 100%; }
    
    .menu-subgroups.level-2 a,
    .menu-subgroups.level-3 a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .menu-subgroups.level-2 {
        display: block !important;
        width: 100%;
        background: var(--level2-bg);
        padding: 0;
        margin: 0;
    }
    
    .menu-subgroups.level-3 {
        display: block !important;
        width: 100%;
        background: var(--level3-bg);
        padding: 0;
        margin: 0;
    }
    
    .menu-groups-nav .nav-item,
    .menu-subgroups.level-2 li,
    .menu-subgroups.level-3 li { width: 100%; }
    
    .menu-groups-nav .parent-link {
        background: var(--color-white);
        border-bottom: 1px solid #e0cfa4;
        padding: 6px 10px;
    }
    
    .menu-subgroups.level-2 a {
        background: var(--level2-bg);
        border-bottom: 1px solid #e0d8c4;
        padding-left: 40px;
    }
    
    .menu-subgroups.level-3 a {
        background: var(--level3-bg);
        border-bottom: 1px solid #ddd;
        padding-left: 60px;
    }
}