/* Reset a základ */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, p, span {
    color: #333333;
    text-align: center;
}

a {
    color: #333333;
    text-decoration: none;
    text-align: center;
}

a:hover {
    color: #ff99aa; /* alebo rovnaká farba ako text, ak nechceš hover efekt */
}

header {
    position: relative; /* header ostane nad hero */
    z-index: 2;
    border-bottom: none;
    background-color: rgba(240, 241, 241, 0.9) !important;
}

/* HERO sekcia */
.hero {
    position: relative;
    height: 100vh; /* fullscreen */
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Obrázky hero – plynulý fade */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 15s infinite;
}

.slide1 { background-image: url('../static/images/obrazok1.jpg'); animation-delay: 0s; }
.slide2 { background-image: url('../static/images/obrazok2.jpg'); animation-delay: 5s; }
.slide3 { background-image: url('../static/images/obrazok3.jpg'); animation-delay: 10s; }


@keyframes fade {
    0% { opacity: 0; }
    6.66% { opacity: 1; }
    33.33% { opacity: 1; }
    40% { opacity: 0; }
    100% { opacity: 0; }
}

/* Overlay na zosvetlenie */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.3);
    z-index: 1;
}

/* Obsah nad obrázkami */
.content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #333;
}

.content h1 { font-size: 4em; margin: 0; }
.content h2 { font-size: 2em; margin: 10px 0 30px 0; font-weight: normal; }

.content h1 a {
    color: #333;       /* rovnaká farba ako text */
    text-decoration: none; /* odstráni podčiarknutie */
    text-align: center;
    font-weight: normal !important;
}

.content h1 a:hover {
    color: #ff99aa; /* jemný efekt pri hover */
}


.main-nav {
    display: flex;
    justify-content: center; /* zarovnanie horizontálne na stred */
    gap: 15px;               /* medzera medzi odkazmi */
    margin-top: 30px;         /* odsadenie od nadpisu */
    flex-wrap: wrap;          /* aby sa pri menšej šírke zalamovali odkazy */
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-family: 'Montserrat', sans-serif; /* alebo iný font podľa potreby */
    font-weight: 400;
}

.main-nav a:hover {
    color: #ff99aa;
}


.obrazky {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 40px 20px;
}

.obrazky img {
    width: 100%;
    max-width: 200px; /* zmenšené, aby nezaberali príliš veľa miesta */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.obrazky img:hover {
    transform: scale(1.05);
}


/* Galéria – prehľad obrazov (obrazy.html) */
.grid-obrazov {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* správne */
    gap: 30px;
    justify-items: center; /* obrázky zarovnané na stred bunky */
    padding: 40px 20px;
    max-width: 1000px; 
    margin: 0 auto; 
}

.obraz-card img {
    width: 100%;
    height: auto;
    max-width: 220px; /* obmedzíme veľkosť */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

main .obraz-info, 
.obraz-info p, 
.obraz-info h1, 
.obraz-info div, 
.obraz-info form {
    text-align: left !important;
}


  
.obraz-info {
    text-align: left !important;
    align-items: flex-start !important;
    margin-left: 0;        /* reset pôvodného posunu */
    padding-left: 10px;    /* toto ti posunie celý textový blok od obrázkov */
}

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

.obraz-card h3 {
    margin-top: 10px;
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif; 
    font-weight: 500;
    
}


.kontakt {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    background-color: #fff; /* alebo jemný odtieň */
}

.kontakt-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    width: 100%;
    align-items: center;
    gap: 50px;
}

.kontakt-text {
    flex: 1;
    min-width: 200px;
    font-size: 1em;
}

.kontakt-text a {
    color: #333;
    text-decoration: none;
}

.kontakt-text a:hover {
    color: #ff99aa;
}

.kontakt-social {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kontakt-social a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.kontakt-social a:hover {
    color: #ff99aa;
}

.kontakt-social img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

/* Footer dole */
footer {
    background-color: rgba(240, 244, 244, 0.8);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

.galeria {
    padding: 50px 20px;
}

.grid-obrazov {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 1000px; 
    margin: 0 auto; 
}

.obraz-card {
    text-align: center;
    font-family: 'Montserrat', sans-serif; 
    font-weight: 400;
}

.obraz-card img {
    width: 100%;
    border-radius: 10px;
}

.nahlad-fotiek {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.nahlad-fotiek img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.detail-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background-color: #ff99aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    
}

.detail-btn:hover {
    background-color: #ff7f99;
}

.kontakt-formular {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}

.kontakt-formular label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.kontakt-formular input,
.kontakt-formular textarea {
    width: 100%;
    padding: 0 20px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.kontakt-formular button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff99aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;          /* tlačidlo bude rovnako široké ako formulár */
    max-width: 100%;      /* aby sa nepresahovalo */
    box-sizing: border-box;
}

.kontakt-formular button:hover {
    background-color: #ff7f99;
}

/* Detail obrazu */
.detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start; /* namiesto center */
    align-items: flex-start;
    padding: 50px 20px;
    max-width: 800px;   /* môžeš obmedziť šírku */
    margin: 0 auto;      /* a vycentrovať celý kontajner */
}

.detail-gallery {
    flex: 1;
    min-width: 300px;
    max-width: 60%; /* galéria vľavo */
    text-align: center;
}

.detail-gallery .hlavny-obraz {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

.detail-gallery .nahlady {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.detail-gallery .nahlady img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.detail-gallery .nahlady img:hover {
    transform: scale(1.1);
}

.detail-info {
    flex: 1;
    min-width: 250px;
    max-width: 35%; /* text napravo */
    text-align: left;
}

.detail-info h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: left;
}

.detail-info p {
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: left;
}

.spat-link {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #ff99aa;
}

.spat-link:hover {
    text-decoration: underline;
}

/* Galéria obrazov (prehľad) */
.grid-obrazov {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 1000px; 
    margin: 0 auto;
}

.grid-obrazov img {
    width: 100%;
    max-width: 250px; /* obmedzíme veľkosť v prehľade */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.grid-obrazov img:hover {
    transform: scale(1.05);
}

/* Náhľady ďalších fotiek v detaile */
.nahlad-fotiek {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.nahlad-fotiek img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
    cursor: pointer;
}

.detail-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background-color: #ff99aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.detail-btn:hover {
    background-color: #ff7f99;
}


.nova-kolekce {
    padding: 50px 20px;
    margin-top: 0; /* odstránime margin-top:100vh, budeme používať wrapper */
    background-color: #fff; /* vizuálne oddelenie od hero */
}

.nova-kolekce h2 {
    text-align: center;
    margin-bottom: 30px;
}

.nova-kolekce .grid-obrazov {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 1000px; 
    margin: 0 auto;
}

.nova-kolekce .obraz-card img {
    width: 100%;
    max-width: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.nova-kolekce .obraz-card img:hover {
    transform: scale(1.05);
}

.nova-kolekce-link {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

/* Centrovanie formuláru a tlačidla */
.zajem-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* centrovanie horizontálne */
    text-align: center;
}

#zajemFormInner {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center; /* centrovanie tlačidla */
}

#zajemFormInner input,
#zajemFormInner textarea {
    width: 100%; /* polia budú rovnako široké ako formulár */
}

#zajemFormInner button {
    width: 100%; /* tlačidlo rovnako široké ako formulár */
}


.zajem-form input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 250px;
}

.zajem-form button {
    padding: 8px 15px;
    background-color: #ff99aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    max-width: 150px;
}

.zajem-form button:hover {
    background-color: #ff7f99;
}

.flash-message {
    margin-top: 10px;
    color: green;
    font-weight: bold;
}

.novy-stitek {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f28c8c;
    color: white;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 3px;
}
.obraz-card {
    position: relative; /* aby štítok bol správne nad obrázkom */
}

.predane-stitek {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f27b7b; /* jemná červená */
    color: white;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 3px;
}
.obraz-card {
    position: relative; /* aby štítok bol správne nad obrázkom */
}




.gallery-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-image {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}


.thumbnails img {
    width: 60px;
    cursor: pointer;
    border-radius: 6px;
    border: 2px solid transparent; /* default bez rámčeka */
    transition: transform 0.2s, border 0.2s;
}

.thumbnails img.active {
    border: 2px solid #e91e63; /* ružový obrys pre aktívny */
}


.thumb {
    width: 60px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: transform 0.2s;
}

.thumb:hover {
    transform: scale(1.1);
}



/* Zarovnanie tlačidiel "Zpět" a "Mám zájem" na stred */
.action-buttons {
    display: flex;
    justify-content: center; /* horizontálne centrovanie */
    gap: 10px;               /* medzera medzi tlačidlami */
    margin-top: 10px;
    flex-wrap: wrap;         /* aby sa tlačidlá pri úzkom displeji poskladali pod seba */
}

.action-buttons button {
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    background-color: #ff99aa;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.action-buttons button:first-child {
    background-color: #ccc; /* Zpět tlačidlo svetlosivé */
    color: black;
}



.zajem-form {
    margin-top: 20px;
    padding-left: 20px;
}

.zajem-form form {
    display: flex;
    flex-direction: column;
    width: 300px;
    gap: 8px;
}

.zajem-form button {
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    background-color: #ff99aa;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.success { color: green; }
.error { color: red; }

.obraz-info ul {
    padding-left: 20px; /* odsazení odrážek */
    margin: 5px 0;      /* mezera nad a pod seznamem */
    font-size: 0.8em;   /* menší text než normálně */
    line-height: 1.4;   /* mírně zmenšený řádkování */
    
}

.obraz-info ul li {
    margin-bottom: 4px; /* menší mezera mezi položkami */
}

/* Mobilná verzia pre detail obrazu */
@media (max-width: 768px) {
    .detail-container {
      flex-direction: column;
      align-items: center;   /* obrázok a text pod sebou na stred */
      padding: 20px;
    }
  
    .obraz-info {
      max-width: 100% !important; /* nech je text na celú šírku */
      margin-left: 0 !important;  /* odstránime negatívne odsadenie */
      padding-left: 0 !important; /* nech text nezačína až od stredu */
      text-align: left;           /* text ostane zarovnaný vľavo */
    }
  
    .obraz-info p, 
    .obraz-info ul, 
    .obraz-info h1 {
      text-align: left !important;
    }
  
    .gallery-detail-container {
      max-width: 100%;
      justify-content: center;
    }
  }
  
  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* medzi emailom a IG blokom */
    flex-wrap: wrap;
}

.footer-item {
    margin: 5px 0;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
}

 /* Burger skrytý na desktop */
/* Skryjeme checkbox */
.menu-toggle {
    display: none;
}



/* Desktop */
@media (min-width: 769px) {
    .burger {
        display: none; /* burger zmizne */
    }
    .main-nav {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
        background-color: rgba(240, 241, 241, 0.9);
    }
    header {
        display: block; /* <<< nech sa header správa klasicky ako blok */
    }
}

/* Mobil */
@media (max-width: 768px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .content h1 {
        position: relative;
        margin: 0;
        font-size: 2.2em;
    }

   

    .main-nav {
        display: none;
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
        text-align: center;
        margin-bottom: 10px;
    }

}

.content-wrapper {
    padding: 0 20px;      /* odsadenie od okrajov */
    max-width: 600px;     /* obmedzenie šírky textu */
    margin: 0 auto;       /* centrovanie */
}

/* ---------- DETAIL OBRAZU - MOBILE ---------- */
@media (max-width: 768px) {
    .obraz-info {
      text-align: left !important;     /* text na ľavú stranu */
      margin-left: 0 !important;
      padding-left: 0 !important;
      max-width: 100% !important;
    }
  
    .obraz-info p, 
    .obraz-info ul, 
    .obraz-info h1 {
      text-align: left !important;     /* text vo vnútri tiež na ľavú stranu */
    }
  
    .action-buttons {
      justify-content: center !important; /* tlačidlá stále na stred */
    }
  
    .zajem-form {
      align-items: center !important;  /* formulár na stred */
      padding-left: 0 !important;
    }
  
    .zajem-form form {
      margin: 0 auto;                  /* nech form sedí na stred */
    }
  }




/* Základně schováme mobilní jazykový přepínač */
/* Mobilní verze: přepínač nad titul */


/* Desktopová verze zůstává viditelná */
.lang-switch-desktop {
    display: inline;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    .lang-switch-desktop {
        display: none;
    }



}

/* Mobilný prepinac jazykov */
.lang-switch-mobile {
    display: none; 
    position: absolute;
    top: -10px !important;  /* vyska prepinaca */
    right: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
}



/* Burger menu – základ */
.burger {
    display: none; /* defaultne vypnute */
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 40px;        /* tu som menila vysku burgeru (Arial - 15) */
    width: 20px;      /* fix šírky */
    height: 15px;     /* fix výšky – aby boli tri čiarky */
    z-index: 5;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Desktop – burger skrytý */
@media (min-width: 769px) {
    .burger {
        display: none;
    }
}

/* Mobilné zobrazenie */
@media (max-width: 768px) {

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        padding-bottom: 30px !important; /* spodok headeru sirka, je tu na 2 miestach  */ 
        padding-top: 20px !important;    /* vrch headeru tiez na 2 miestach */ 

    }

    .header-top {
        display: flex;
        align-items: center;
        justify-content: center; /* titul stred */
        position: relative;
        width: 100%;
    }

    .burger {
        display: flex;
        position: absolute;  /* absolútne voči header-top */
        top: 10; /* tu som menila vysku burgeru (Arial - 10) */
        left: 20px !important;          /* viac doľava */
        width: 20px ;
        height: 15px;
        flex-direction: column;
        justify-content: space-between;
        z-index: 10;
    }

    .header-top h1 {
        margin: 0 auto;       /* stred titul */
        text-align: center;
        font-size: 2.2em;
    }

    /* Mobilný prepinac jazykov */
    .lang-switch-mobile {
        display: block;
        position: absolute;
        top: -10px !important;   /* Mobilný prepinac jazykov tiez na 2 miestach */
        right: 20px !important;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.9em;
        z-index: 5;
    }

    /* Main nav menu pre mobil */
    .main-nav {
        display: none;
        flex-direction: column;
        gap: 12px;
        margin-top: 15px;
        text-align: center;
        margin-bottom: 10px !important;
    }

/* Checkbox schovať */
.menu-toggle {
    display: none;
}

/* Zobrazenie menu po kliknutí na burger */
.menu-toggle:checked ~ .main-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    text-align: center;
}

/* Animácia burgeru */
.menu-toggle:checked + .burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
}
.menu-toggle:checked + .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

}

header {
    position: relative;
    padding-top: 20px;         /* vrch headeru tiez na 2 miestach */ 
    z-index: 2;
    background-color: rgba(240, 241, 241, 0.9);
    padding-bottom: 30px !important; /* nahrádza margin-top */
    margin-top: 0;    /* odstránené */
}

.header-top {
    display: flex;
    justify-content: center; /* titul stred */
    align-items: center;
    position: relative;
    width: 100%;
}


.header-top h1 {
    margin: 0 auto;
    text-align: center;
    font-size: 2.2em;
}

@media (max-width: 768px) {
    .header-top h1 {
        font-size: 3em !important; /* arial 1.8em  toto sa meni pre mobil title*/
    }
    .site-header p {
        font-size: 0.8em !important; /* alebo 0.8em podľa potreby */
     }
}

.main-nav a.active {
    font-weight: bold;
    color: #ff99aa; /* alebo iná farba podľa dizajnu */
   /* border-bottom: 2px solid #e91e63; /* jemný vizuálny efekt */
}

/* ---------- SEARCH ---------- */
.search-container {
    display: inline-block;
    position: relative;
}

/* Ikona lupy */
.search-btn {
    position: relative;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23555" viewBox="0 0 24 24"><circle cx="10" cy="10" r="7" stroke="%23555" stroke-width="2" fill="none"/><line x1="15" y1="15" x2="22" y2="22" stroke="%23555" stroke-width="2"/></svg>') no-repeat center;
    background-size: 20px 20px;
    border: none;
    cursor: pointer;
    z-index: 5;
}

/* Desktop: lupa u jazykového přepínače */
.lang-switch-desktop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    top: -5px !important;
    
}

.lang-switch-desktop a { 
    display: inline-flex; 
    align-items: center !important;
    line-height: 1;}

.lang-switch-desktop .search-btn { 
    margin-left: 20px; top: -5px !important;}

/* Overlay přes celý header */
.search-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgba(255,255,255,0.95);
    padding: 15px;
    z-index: 1000;
    box-sizing: border-box;
}
.search-overlay.active { 
    display: block; 
}

.search-overlay form {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 10px;
}
.search-overlay input[type="text"] {
    flex: 0 1 clamp(320px, 36vW, 520px);
    max-width: 520px;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    font-size: 1em;
}

.search-overlay input[type="text"]:focus {
    outline: none;           /* zruší modrý outline */
}
.search-overlay button[type="submit"] {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 15px;
    border: none;
    background: #555;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.search-overlay #close-search {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: #555;
}

/* Mobile */
@media (max-width: 768px) {
    .lang-switch-desktop .search-btn { display: none; }
    .lang-switch-desktop  { display: none; }

    .search-btn#open-search-mobile {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }

    .search-overlay {
        width: 100%;
        height: 30%;
        padding: 20px;
    }
}


/* DESKTOP: dorovnej CS | EN + lupu k výšce menu */
@media (min-width: 769px) {
    .lang-switch-desktop {
      display: inline-flex;
      align-items: center;
      gap: 8px;
  
      /* posuň celý blok o kousek nahoru – uprav si podle oka */
      margin-top: -5px;
      line-height: 1;
    }
  
    /* ať se tlačítko nechová jinak než odkazy */
    .lang-switch-desktop .search-btn {
      top: auto !important;
      transform: none !important;
    }
    #open-search-mobile {
        display: none !important;
    }

  }

  /* formular buttons v order_detail */

  .form-buttons {
    display: flex;
    justify-content: flex-end; /* tlačidlá pôjdu doprava */
    gap: 10px; /* medzera medzi nimi */
    margin-top: 10px;
}

.btn-close {
    background: #ccc !important;
    color: #333 !important;
    border: none;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-close:hover {
    background: #bbb !important;
}




