/* --- 1. BAZINIAI NUSTATYMAI --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Montserrat:wght@200;300;400;500&display=swap');

:root {
    /* --- BOHO SMĖLIO PALETĖ --- */
    --bg-color: #1A1714; 
    --surface-color: #24201C;
    --text-main: #F2E8DC;
    --text-muted: #B5A695;
    --gold: #D9B382;
    --gold-hover: #EACBA3;
    --border-color: #3A322B;
    --footer-bg: #12100e; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 90px; 
}

h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul { list-style: none; }

/* --- 2. NAVIGACIJA (FIXED) --- */
nav {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    padding: 0 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; 
    background: rgba(26, 23, 20, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.logo { display: flex; align-items: center; }
.logo img { height: 60px; width: auto; object-fit: contain; }

.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-menu { display: flex; gap: 30px; align-items: center; }

.nav-link {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-main); cursor: pointer; position: relative;
}
.nav-link:hover { color: var(--gold); }

/* Kalbų pasirinkimas */
.lang-switch { display: flex; gap: 15px; border-left: 1px solid var(--border-color); padding-left: 20px; }
.lang-btn { font-size: 0.75rem; color: var(--text-muted); cursor: pointer; font-weight: 600; transition: 0.3s; }
.lang-btn:hover, .lang-btn.active { color: var(--gold); }

/* --- 3. PAGRINDINIAI ELEMENTAI (HERO, SPLIT, ETC.) --- */
/* Index Hero */
.index-hero {
    position: relative; /* Būtina, kad veiktų absolute pozicionavimas viduje */
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Paslepia viską, kas išlenda už kraštų */
    background-color: #000; /* Juodas fonas, kol kraunasi video */
}

/* Video konteineris */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Priklijuojame prie dugno */
}

/* Pats video elementas */
#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* SVARBU: Ištempia video per visą ekraną be juodų kraštų */
    position: absolute;
    top: 0;
    left: 0;
}

/* Tamsinantis sluoksnis (Overlay), kad baltas tekstas būtų įskaitomas */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 40% tamsumas - reguliuok pagal poreikį (0.1 - 0.9) */
    z-index: 1;
}
.hero-content-wrapper {
    position: relative;
    z-index: 2; /* Iškeliam virš video ir overlay */
    padding: 0 20px;
    max-width: 900px;
    animation: fadeIn 1.5s ease;
}

/* Animacija tekstui */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- KITI ELEMENTAI (Jau turėjai, bet pasitikrink) --- */
.location-badge {
    display: inline-block;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 8px 16px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.3); /* Šiek tiek patamsintas fonas po badge */
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted); /* Arba #f2e8dc */
    margin: 20px auto 40px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}
/* Mobiliems telefonams: jei nori, kad mygtukai būtų vienas po kitu */
@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .btn-gold, .btn-outline {
        width: 100%;
        text-align: center;
    }
}

/* Mygtukai */
.btn-gold {
    background: var(--gold); color: #1A1714; padding: 12px 30px; font-weight: 600;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
    border: 1px solid var(--gold); cursor: pointer; display: inline-block;
}
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-gold.disabled { opacity: 0.5; cursor: not-allowed; background: #555; border-color: #555; }

.btn-outline {
    border: 1px solid var(--text-main); color: var(--text-main); padding: 12px 30px;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Split Container */
.split-container { display: flex; flex-wrap: wrap; width: 100%; border-top: 1px solid var(--border-color); }
.split-block {
    flex: 1; min-width: 400px; height: 650px; position: relative;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; padding: 40px; 
    border-right: 1px solid var(--border-color);
    background-color: var(--surface-color);
    overflow: hidden; cursor: pointer;
}
.split-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; transition: transform 0.6s ease;
    z-index: 0; filter: brightness(0.5) sepia(0.2);
}
.split-block:hover .split-bg { transform: scale(1.05); filter: brightness(0.6) sepia(0.1); }
.split-content { position: relative; z-index: 1; }
.split-title { font-size: 3rem; color: var(--text-main); margin-bottom: 15px; }
.split-desc { color: var(--text-main); margin-bottom: 30px; max-width: 350px; opacity: 0.9; }

/* View Section */
.view-section { padding: 120px 40px; text-align: center; background: var(--surface-color); }
.view-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.view-text { text-align: left; }
.view-text h2 { font-size: 3rem; margin-bottom: 20px; color: var(--gold); }
.view-text p { color: var(--text-muted); margin-bottom: 20px; }
.view-image { 
    height: 500px; width: 100%;
    background-size: cover; background-position: center; 
    border-radius: 4px;
    filter: brightness(0.9); 
}

/* Events */
.events-section { padding: 120px 40px; background: var(--bg-color); text-align: center; border-top: 1px solid var(--border-color); }
.events-title { font-size: 3rem; color: var(--text-main); margin-bottom: 20px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1400px; margin: 60px auto 0; }
.event-item { position: relative; height: 400px; overflow: hidden; border: 1px solid var(--border-color); }
.event-item img { transition: transform 0.6s; filter: brightness(0.7); }
.event-item:hover img { transform: scale(1.1); filter: brightness(0.5); }
.event-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.event-info h3 { color: var(--gold); font-size: 1.5rem; margin-bottom: 10px; }
.event-info p { color: var(--text-main); font-size: 0.9rem; margin-bottom: 15px; opacity: 0.9; }

/* --- 4. MENU PAGE --- */
.menu-hero {
    height: 60vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-attachment: fixed; padding: 0 20px;
}
.menu-hero h1 { font-size: 3.5rem; color: var(--gold); margin-bottom: 10px; }

/* Kategorijos */
.category-wrapper {
    position: sticky; top: 90px; z-index: 900; background: var(--bg-color);
    border-bottom: 1px solid var(--border-color); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex; justify-content: center;
}
.category-nav {
    display: flex; gap: 30px; overflow-x: auto; padding: 20px 40px;
    white-space: nowrap; scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.cat-link { color: var(--text-muted); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 2px; cursor: pointer; padding-bottom: 5px; }
.cat-link:hover, .cat-link.active { color: var(--gold); border-bottom: 2px solid var(--gold); }

/* Meniu Kortelės (Klasikinis Meniu puslapis) */
.menu-container { max-width: 1300px; margin: 0 auto; padding: 60px 20px; }
.section-header { margin: 60px 0 40px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); text-align: center; }
.section-title { font-size: 2.5rem; color: var(--text-main); text-transform: uppercase; letter-spacing: 2px; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px; }

.dish-card { background: var(--surface-color); border: 1px solid var(--border-color); transition: 0.3s; display: flex; flex-direction: column; }
.dish-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.dish-img { height: 240px; position: relative; overflow: hidden; cursor: zoom-in; }
.dish-img img { transition: transform 0.5s; }
.dish-card:hover .dish-img img { transform: scale(1.05); }

.dish-details { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.dish-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.dish-name { font-size: 1.2rem; color: var(--gold); font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.2; padding-right: 10px; }
.dish-price { font-size: 1.1rem; color: var(--text-main); font-weight: 500; white-space: nowrap; }
.dish-desc-en { font-size: 0.9rem; color: var(--text-main); margin-bottom: 5px; opacity: 0.8; }
.dish-desc-lt { font-size: 0.85rem; color: var(--text-muted); font-style: italic; margin-bottom: 15px; }
.allergens { margin-top: auto; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
.allergens span { border: 1px solid var(--border-color); padding: 2px 5px; border-radius: 2px; margin-right: 4px; }
.allergen-tip {
    cursor: help; position: relative; transition: all 0.2s ease;
    border: 1px solid var(--border-color); display: inline-flex;
    align-items: center; justify-content: center; width: 24px; height: 24px;
    font-size: 0.7rem; border-radius: 3px; margin-right: 4px; background: rgba(255,255,255,0.03);
}
.allergen-tip:hover { background: var(--gold); color: #000; border-color: var(--gold); transform: translateY(-2px); }

/* --- 5. DELIVERY / ORDER SYSTEM (FINAL UPDATED VERSION) --- */

/* Pagrindinis Konteineris */
.delivery-container { 
    display: grid; 
    grid-template-columns: 1fr 400px; 
    gap: 50px; 
    padding: 140px 50px 50px; 
    max-width: 1600px; 
    margin: 0 auto; 
}

/* Patiekalų Tinklelis (Compact Pro Grid) */
.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 20px;
    margin-top: 30px;
}

/* Nauja Maža ir Švari Kortelė (.pro-card) */
.pro-card {
    background: #1A1714;
    border: 1px solid rgba(217, 179, 130, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.pro-card:hover { transform: translateY(-5px); border-color: var(--gold); }

.pro-card-img { height: 160px; overflow: hidden; }
.pro-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pro-card:hover .pro-card-img img { transform: scale(1.1); }

.pro-card-content { padding: 15px; display: flex; flex-direction: column; }
.pro-card h3 { font-size: 1rem; margin: 0; color: #F2E8DC; }
.price-tag { color: var(--gold); font-size: 1rem; font-weight: 500; }

.desc {
    color: #B5A695;
    font-size: 0.75rem; line-height: 1.4;
    margin: 10px 0 15px; min-height: 35px;
}

/* Alergenai kortelėje */
.delivery-allergens { display: flex; gap: 4px; margin-bottom: 10px; }
.delivery-allergens span {
    font-size: 0.6rem; color: var(--gold);
    border: 1px solid rgba(217, 179, 130, 0.3);
    padding: 1px 4px; border-radius: 2px;
}

/* Prabangus "ADD" Mygtukas */
.add-btn-pro {
    background: none; border: none;
    border-top: 1px solid rgba(217, 179, 130, 0.3);
    color: var(--gold); padding: 12px 0 5px;
    text-transform: uppercase; font-size: 0.7rem;
    letter-spacing: 1.5px; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
}
.add-btn-pro::before { content: '+'; font-size: 1rem; font-weight: 300; }
.add-btn-pro:hover { letter-spacing: 2.5px; color: #F2E8DC; }

/* --- 6. CART / SIDEBAR (FINAL VERSION) --- */
.cart-box {
    background: #12100E;
    border: 1px solid rgba(217, 179, 130, 0.4);
    padding: 20px;
    border-radius: 12px;
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    display: flex; flex-direction: column;
    box-sizing: border-box; 
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Viršus */
.cart-title {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(217, 179, 130, 0.2);
    padding-bottom: 20px; margin-bottom: 10px; flex-shrink: 0;
}
.cart-title h3 { text-transform: uppercase; letter-spacing: 2px; color: var(--gold); }

/* Vidurys (Scrollable) */
#cart-content-scrollable {
    overflow-y: auto; overflow-x: hidden;
    flex-grow: 1; padding-right: 5px;
    scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
#cart-content-scrollable::-webkit-scrollbar { width: 3px; }
#cart-content-scrollable::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* Krepšelio elementai (Receipt Style) */
.cart-item { padding: 15px 0; border-bottom: 1px dashed rgba(217, 179, 130, 0.2); }
.item-info-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.item-qty { color: var(--gold); font-weight: bold; font-size: 0.85rem; margin-right: 10px; }
.item-name { flex-grow: 1; font-size: 0.9rem; color: #F2E8DC; }
.item-price { font-size: 0.9rem; font-weight: 500; margin-left: 10px; }
.cart-item .note { font-size: 0.75rem; color: var(--gold); font-style: italic; margin-top: 4px; }

/* Kiekio valdikliai */
.qty-controls { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.qty-btn {
    background: none; border: 1px solid rgba(217, 179, 130, 0.4);
    color: var(--gold); width: 24px; height: 24px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.9rem; transition: 0.2s;
}
.qty-btn:hover { background: var(--gold); color: #000; }

/* Apačia (Summary & Confirm) */
.cart-summary {
    flex-shrink: 0; padding: 20px 0 0;
    background: #12100E; border-top: 1px dashed rgba(217, 179, 130, 0.3);
    box-shadow: 0 -10px 20px rgba(0,0,0,0.4);
}
.summary-line { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; }
.summary-line.total {
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid rgba(217, 179, 130, 0.2);
    font-size: 1.1rem;
}
.confirm-btn { width: 100%; margin-top: 20px; padding: 15px; font-weight: bold; cursor: pointer; background: var(--gold); border: none; }

/* --- 7. INPUTS, FORMS & DROPDOWNS (GLOBAL BOHO) --- */
select, textarea, input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%; background: #12100E;
    border: 1px solid rgba(217, 179, 130, 0.2);
    color: #F2E8DC; padding: 14px;
    border-radius: 6px; font-family: inherit; font-size: 0.9rem;
    margin-top: 10px; transition: border-color 0.3s;
    appearance: none;
}
select:focus, textarea:focus, input:focus { border-color: var(--gold); outline: none; }
textarea { resize: none; min-height: 80px; }

/* Custom Select Arrow */
.select-wrapper { position: relative; width: 100%; display: block; }
.select-wrapper::after {
    content: '▼';
    font-size: 0.65rem;
    color: var(--gold);
    position: absolute;
    
    /* Pakeista pozicija */
    right: 15px;
    top: auto !important;     /* Panaikiname centravimą nuo viršaus */
    bottom: 12px !important;  /* Nustatome fiksuotą atstumą nuo apačios */
    transform: none !important; /* Panaikiname Y ašies pastūmimą */
    
    pointer-events: none; /* Svarbu: kad paspaudus ant rodyklės atsidarytų meniu */
    z-index: 5;
}
.select-wrapper select { padding-right: 40px !important; cursor: pointer; }

/* Datos ir Laiko įvestys */
#order-date, #order-time {
    background: #12100E; border: 1px solid rgba(217, 179, 130, 0.2);
    color: #F2E8DC; padding: 10px; border-radius: 4px;
    font-family: inherit; font-size: 0.8rem; width: 100%;
}
#order-date:focus, #order-time:focus { border-color: var(--gold); outline: none; }
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }

/* Address Input with Icon */
.address-input-wrapper { position: relative; display: flex; align-items: center; width: 100%; }
.address-input-wrapper i { position: absolute; left: 12px; color: var(--gold); font-size: 0.9rem; }
.address-input-wrapper input { padding-left: 35px !important; border-radius: 8px; border: 1px solid rgba(217, 179, 130, 0.3); }

/* Buto ir aukšto laukai */
#order-apt, #order-floor { font-size: 0.8rem; padding: 10px; background: #12100E; }

/* Telefono Įvestis (intl-tel-input) */
.iti { 
    width: 100%; 
    margin-top: 5px; 
    display: block; /* Užtikrina, kad konteineris užimtų vietą */
}
.phone-input {
    width: 100% !important;
    background: #12100E !important;
    border: 1px solid rgba(217, 179, 130, 0.3) !important;
    color: #F2E8DC !important;
    border-radius: 6px !important;
    font-family: inherit;
    
    /* SVARBIAUSIA DALIS: */
    /* Vietoj bendro "padding", nustatome juos atskirai */
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-right: 15px !important;
    
    /* Šitas didelis skaičius (95px) pastumia tekstą į dešinę, 
       kad jis nepalįstų po vėliava ir +34 kodu */
    padding-left: 95px !important; 
}
.iti__country-list { background-color: #1A1714 !important; border: 1px solid var(--gold) !important; color: #F2E8DC !important; z-index: 10000; }
.iti__country:hover, .iti__highlight { background-color: #24201C !important; }
.iti__selected-flag { background-color: transparent !important; border-radius: 6px 0 0 6px; }
.iti__country-name, .iti__dial-code { color: #F2E8DC !important; }
.iti__flag-container {
    border-radius: 6px 0 0 6px;
}

/* --- 8. MAPS & AUTOCOMPLETE --- */
.pac-container {
    background-color: #1A1714; border: 1px solid #D9B382;
    border-top: none; font-family: inherit; z-index: 9999;
}
.pac-item { border-top: 1px solid #3A322B; padding: 10px; color: #F2E8DC; }
.pac-item:hover { background-color: #24201C; }
.pac-item-query { color: #D9B382; }

/* Žemėlapio Dropdown */
.map-collapse { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); margin-top: 10px; }
.map-collapse.open { max-height: 250px; transition: max-height 0.5s ease-in-out; }
.map-toggle-btn {
    background: none; border: none; color: var(--gold);
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; margin-top: 10px; padding: 0;
    display: flex; align-items: center; gap: 8px;
}
.map-toggle-btn:hover { color: #F2E8DC; }
#map { filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%); border: 1px solid rgba(217, 179, 130, 0.3); height: 220px !important; width: 100%; }

/* --- 9. MODALS & LIGHTBOX --- */
/* (Old modals disabled) */
.modal-overlay { display: none !important; } 

.lightbox { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(26, 23, 20, 0.98); justify-content: center; align-items: center; flex-direction: column; }
.lightbox img { max-width: 90%; max-height: 80vh; object-fit: contain; border: 1px solid var(--gold); }
.lightbox-caption { color: var(--gold); margin-top: 20px; font-size: 1.8rem; font-family: 'Cormorant Garamond', serif; }
.close-lb { position: absolute; top: 30px; right: 40px; font-size: 50px; color: #fff; cursor: pointer; }

/* --- 10. KITCHEN ADMIN --- */
.order-card-admin { background: #1A1714; border-left: 5px solid var(--gold); margin-bottom: 15px; padding: 20px; border-radius: 8px; }
.status-badge { padding: 5px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; }
.status-pending { background: #ffcc00; color: #000; }
.status-preparing { background: #0099ff; color: #fff; }
.status-ready { background: #28a745; color: #fff; }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px; }

/* --- 11. FOOTER --- */
footer {
    background-color: var(--footer-bg); color: var(--text-muted);
    padding: 60px 20px 20px; font-size: 0.9rem; border-top: 1px solid var(--border-color);
}
.footer-container {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1.2fr; 
    gap: 40px; margin-bottom: 40px;
}
.footer-col h5 {
    color: var(--text-main); font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; letter-spacing: 1px; margin-bottom: 20px; text-transform: uppercase;
}
.footer-logo-img { height: 50px; width: auto; margin-bottom: 20px; opacity: 0.9; }
.address-box p { margin: 5px 0; line-height: 1.5; color: var(--text-muted); }
.footer-email { color: var(--gold); text-decoration: none; display: inline-block; margin-top: 10px; font-weight: 500; }
.hour-group { margin-bottom: 15px; }
.h-label { display: block; color: var(--gold); font-size: 0.85rem; text-transform: uppercase; margin-bottom: 4px; }
.h-time { display: block; color: var(--text-muted); }
.h-time.closed { color: #6d645a; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }

.map-col iframe {
    width: 100%; height: 200px; border-radius: 6px;
    filter: grayscale(100%) invert(90%) sepia(30%) contrast(85%);
    opacity: 0.6; transition: all 0.5s ease;
}
.map-col iframe:hover { filter: grayscale(0%) invert(0%); opacity: 1; box-shadow: 0 0 15px rgba(217, 179, 130, 0.2); }
.map-link { display: block; margin-top: 12px; color: var(--gold); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.map-link:hover { color: #fff; padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 20px; font-size: 0.8rem; color: #555; }

/* --- 12. RESPONSIVE --- */
@media (max-width: 1000px) {
    .delivery-container { grid-template-columns: 1fr; }
    .cart-box { position: relative; top: 0; height: auto; max-height: 600px; margin-top: 40px; }
}

@media (max-width: 900px) {
    .index-hero h1 { font-size: 3rem; }
    .nav-menu { display: none; }
    .view-grid, .menu-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
    .delivery-layout { grid-template-columns: 1fr; }

 .delivery-sidebar {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 20000;
        display: flex;
        align-items: flex-end;

        opacity: 0;
        pointer-events: none;
        visibility: hidden;

        transition: opacity 0.3s ease;
    }

    .delivery-sidebar.active {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    /* 2. Modifikuojame patį krepšelio langą (kortelė iš apačios) */
    .cart-box {
        width: 100%;
        height: 85vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.35s ease;
    }

    .delivery-sidebar.active .cart-box {
        transform: translateY(0);
    }

    #cart-content-scrollable {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        padding-bottom: 20px;
    }
    
    /* Neleidžiame body skrolintis, kai krepšelis atidarytas */
    body.modal-open {
        overflow: hidden;
    }

    /* Animacija iššokimui */
    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    /* 3. Apatinė juosta (visada matoma telefone) */
    #mobile-bottom-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: var(--gold);
        color: #1A1714;
        padding: 15px 25px;
        border-radius: 50px;
        z-index: 15000;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    }
    
    .m-bar-info {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.1rem;
    }

    /* 4. Krepšelio "Header" su uždarymu */
.mobile-cart-header {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        padding: 10px 0 20px;
        cursor: pointer;
    }

    /* Brūkšnelis viršuje kaip iOS */
    .close-indicator {
        width: 40px;
        height: 5px;
        background-color: #444;
        border-radius: 10px;
        margin-bottom: 8px;
    }
    
    /* Padarome vietos apačioje, kad turinys nebūtų uždengtas bar'o */
    .delivery-container {
        padding-bottom: 100px; 
        grid-template-columns: 1fr; /* Svarbu: vienas stulpelis */
    }
}

@media (max-width: 600px) {
    .logo img { height: 45px; }
    .category-nav { justify-content: flex-start; padding: 15px 20px; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-logo-img { margin: 0 auto 20px; }
    .address-box, .hours-box, .footer-links { margin-bottom: 20px; }
}
/* --- MOBILE MENU STILIAI --- */

/* Hamburger mygtukas (pagal nutylėjimą paslėptas) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001; /* Virš meniu */
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
}

/* Mobilioji versija (kai ekranas mažesnis nei 900px) */
@media (max-width: 900px) {
    /* Rodyti Hamburgerį */
    .hamburger {
        display: block;
        position: absolute;
        right: 30px; /* Atstumas nuo dešinės */
        top: 35px;   /* Centruojam vertikaliai navigacijoje */
    }

    /* Modifikuojame nav-menu */
    .nav-menu {
        position: fixed;
        left: -100%; /* Paslėpta kairėje */
        top: 90px; /* Po navigacijos juosta */
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-color); /* Tamsus fonas */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid var(--border-color);
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        
        /* Iš pradžių paslėpta */
        display: flex !important; /* Priverstinai rodome flex, bet nustumiame į šoną */
    }

    /* Klasė, kurią uždėsime su JavaScript */
    .nav-menu.active {
        left: 0; /* Atslenka į ekraną */
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 20px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        width: 100%;
    }

    /* Kalbų pasirinkimas telefone */
    .nav-right {
        position: static; /* Leidžiame menu išsiplėsti */
    }

    /* Hamburger animacija į X */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
        background-color: var(--gold);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
        background-color: var(--gold);
    }
    
    /* Paslepiam kalbų pasirinkimą navigacijos juostoje ir įdedam į meniu apačią (jei reikia) 
       arba tiesiog paliekame šalia logo */
    .lang-switch {
        margin-right: 50px; /* Kad neužliptų ant hamburgerio */
    }
}
/* --- ALERGENŲ TOOLTIP STILIUS --- */
.allergen-tip {
    cursor: help;
    position: relative; /* Būtina, kad tekstas atsirastų šalia skaičiaus */
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    border-radius: 3px;
    margin-right: 4px;
    background: rgba(255,255,255,0.03);
    user-select: none; /* Kad tekstas nesižymėtų spaudinėjant */
}

/* Tooltip burbuliukas (tekstas) */
.allergen-tip::after {
    content: attr(data-tooltip); /* Paima tekstą iš PHP */
    position: absolute;
    bottom: 125%; /* Pakelia virš skaičiaus */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    
    /* Dizainas */
    background-color: #000;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap; /* Tekstas vienoje eilutėje */
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    
    /* Paslėpta pagal nutylėjimą */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

/* Maža rodyklytė po burbuliuku */
.allergen-tip::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 5px;
    border-style: solid;
    border-color: var(--gold) transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

/* Rodyti užvedus pelę (Desktop) ARBA paspaudus (Mobile) */
.allergen-tip:hover::after,
.allergen-tip:hover::before,
.allergen-tip.active::after,
.allergen-tip.active::before,
.allergen-tip:focus::after,
.allergen-tip:focus::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.allergen-tip:hover, .allergen-tip.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
@media (max-width: 900px) {
    .menu-hero {
        /* Mobiliame telefone išjungiame "fixed" efektą, kad nuotrauka atsirastų */
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
        height: 50vh; /* Galima šiek tiek pamažinti aukštį telefone, jei norite */
    }
}
/* --- 13. WOW RESERVATION SYSTEM --- */

.wow-reservation-wrapper {
    max-width: 1400px;
    margin: -80px auto 100px; /* Pakeliame virš Hero sekcijos fono */
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.res-split {
    display: flex;
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(217, 179, 130, 0.2);
}

/* Kairė pusė - Nuotrauka */
.res-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 600px;
}

.res-image-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 60px 40px 40px;
    background: linear-gradient(transparent, #12100E);
}

.res-image-overlay h3 {
    font-size: 2.5rem; color: var(--gold); margin-bottom: 5px;
}
.res-image-overlay p {
    color: var(--text-main); font-size: 1rem; letter-spacing: 2px; text-transform: uppercase;
}

/* Dešinė pusė - Forma */
.res-form-side {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.res-form-title {
    font-size: 2.2rem; color: var(--text-main); margin-bottom: 5px;
}

.res-form-subtitle {
    color: var(--text-muted); margin-bottom: 40px; font-size: 0.9rem;
}

.form-step {
    margin-bottom: 30px;
}

.form-step label {
    display: block; margin-bottom: 12px; font-size: 0.85rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px;
}

/* Interaktyvių mygtukų tinklelis */
.selector-grid {
    display: flex; flex-wrap: wrap; gap: 10px;
}

.btn-select {
    flex: 1 1 calc(16.666% - 10px); /* Standartas svečiams (6 stulpeliai) */
    background: #12100E;
    color: var(--text-main);
    border: 1px solid rgba(217, 179, 130, 0.3);
    padding: 12px 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.time-grid .btn-select {
    flex: 1 1 calc(20% - 10px); /* Laikui (5 stulpeliai eilutėje) */
}

.btn-select:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-select.active {
    background: var(--gold);
    color: #1A1714;
    border-color: var(--gold);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(217, 179, 130, 0.2);
}

/* Įvesties laukeliai */
.wow-input, .pro-date-input {
    width: 100%;
    background: #12100E;
    border: 1px solid rgba(217, 179, 130, 0.2);
    color: #F2E8DC;
    padding: 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.pro-date-input { cursor: pointer; }
.wow-input:focus, .pro-date-input:focus { border-color: var(--gold); outline: none; }

.wow-submit {
    margin-top: 20px;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Sėkmės ekranas vietoje formos */
.success-screen {
    text-align: center; padding: 40px 0;
}
.success-screen h3 { color: var(--gold); font-size: 2rem; margin-bottom: 15px; }
.success-screen p { color: var(--text-main); }

/* Mobilus pritaikymas */
@media (max-width: 1000px) {
    .res-split { flex-direction: column; }
    .res-image { min-height: 300px; }
    .wow-reservation-wrapper { padding: 0 20px; margin-top: -40px; }
    .res-form-side { padding: 40px 30px; }
    .time-grid .btn-select { flex: 1 1 calc(33.333% - 10px); }
    .btn-select { flex: 1 1 calc(33.333% - 10px); }
    .modern-form .form-row { flex-direction: column; gap: 15px; }
}