body{
    margin: 0;
    font-family: 'Geist', sans-serif;
    background: #FFF9E9;
}

button{
    font-family: 'Geist', sans-serif;
    cursor: pointer;
}

.body-container{
    max-width: 1500px;
    margin-inline: auto;
    box-sizing: border-box;
    padding-inline: 10px;
}

h1{
    font-weight: 600;
    font-size: 3rem;
    margin-bottom: 0;
}

h2{
    font-weight: 500;
    font-size: 2.5rem;
    position: relative;
}



h2::after{
    position: absolute;
    content: '';
    background: #FFBB00;
    bottom: -10px;
    left: 0;
    height: 4px;
    width: 100px;
}

header{
    width: 100%;
    height: 100px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    box-sizing: border-box;
    padding: 15px 30px;
    position: relative;
}

header ul{
    display: flex;
    list-style: none;
    gap: 28px;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}

header a{
    position: relative;
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding: 2px;
}

header ul li a::after{
    position: absolute;
    content: '';
    width: 100%;
    transform: scaleX(0);
    transform-origin: right;
    background: #FFBB00;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: transform 0.3s ease;
}

.active::after{
    position: absolute;
    content: '';
    width: 100%;
    transform: scaleX(1);
    transform-origin: right;
    background: #FFBB00;
    height: 2px;
    bottom: 0;
    left: 0;
}

.user-btn{
    background: #e38d584d;
    width: fit-content;
    padding-inline: 20px;
    gap: 10px;
    box-sizing: border-box;
    border-radius: 30px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    color: rgba(0, 0, 0, 0.7);
}

.user-btn:hover{
    background: #e38d5877;
}

header ul li a:hover::after{
    transform-origin: left;
    transform: scaleX(1);
}

header div{
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    width: 540px;
}

header div img{
    opacity: 0.7;
}

#profile-menu{
    position: absolute;
    top: 90%;
    left: 10px;
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 0;
    background: white;
    width: fit-content;
    box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.6);
    border-radius: 10px;
    overflow: hidden;
    z-index: 10;
}

#profile-menu li{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;
}


#profile-menu a:hover{
    background: rgba(0, 0, 0, 0.1);
}

#profile-menu a{
    padding: 0;
    margin: 0;
}

#profile-menu a:after{
    display: none;
}

.profile-menu-mobile{
    transform: translateX(40vw);
}

[hidden] {
    display: none !important;
}

.header-mobile{
    background: #FFF9E9;
    top: 0;
    left: 0;
    flex-direction: column;
    position: absolute;
    display: none;
    z-index: 10;
}

.header-mobile .logo{
    width: 100px;
}

.header-mobile button{
    width: 40px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-mobile button img{
    width: 100%;
}

.header-mobile button:hover{
    opacity: 0.5;
    transform: scale(0.9);
}

.header-mobile div{
    position: absolute;
    background: #FFF9E9;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
}

.kategorie{
    position: relative;
    gap: 30px;
    padding-block: 15px;
}

input[type="search"]{
    padding: 10px 25px;
    font-weight: 400;
    font-family: 'Geist', sans-serif;
    width: 100%;
    background: white;
    max-width: 300px;
    border: 1px solid #00000040;
    color: #000000a4;
    font-size: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.21);
    border-radius: 5px;
}

#filters{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 100%;
    width: 200px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.21);
    border-radius: 10px;
    background: white;
    padding: 10px;
    margin: 0;
}

#filters div{
    display: flex;
    box-sizing: border-box;
    padding-left: 5px;
    width: 100%;
}

#filters label{
    display: flex;
    margin: 0;
}

#filter-btn{
    padding: 10px 25px;
    background: white;
    border: 1px solid #00000040;
    color: #000000a4;
    font-size: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.21);
    border-radius: 5px;
}

#filter-btn:hover{
    border: 1px solid rgb(255, 102, 0);
}


.dropdown{
    position: absolute;
    top: -40vh;
    left: 0;
    width: 100%;
    height: fit-content;
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    box-sizing: border-box;
    background: #FFF9E9;
    z-index: 1;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.21);
    transition: all 0.5s ease;
}

.dropdown li{
    width: 100%;

}

.dropdown .user-btns{
    border-top: 1px solid rgba(0, 0, 0, 0.21);
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    gap: 5px;
}

.dropdown .primary-btn{
    padding: 10px 15px;
}

.dropdown #login-btn{
    padding: 10px 0;
}

.dropdown .user-btns a::after{
    display: none;
}

.dropped{
    top: 70px;
}

.logo{
    z-index: 10;
    width: 160px;
    margin-right: 20px;
    transform: scale(1);
    transition: all 0.3s ease;
}

.logo:hover{
    transform: scale(1.05);
}

.logo a img{
    width: 100%; 
}

#hero{
    min-height: 700px;
    margin-bottom: 150px;
}



.produkty-header{
    margin-bottom: 50px;
}

.btns{
    display: flex;
    align-items: center;
    gap: 1em;
    z-index: 10;
}

.primary-btn{
    background: linear-gradient(100deg ,#FFBB00, #C36800);
    padding: 12px 32px;
    color: white;
    text-decoration: none;
    border: none;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 100px #ff62004e;
    font-weight: 600;
    filter: brightness(1);
    text-wrap: nowrap;
    transition: all 0.2s ease;
}

.primary-btn:hover{
    filter: brightness(0.9);
}

.secondary-btn{
    position: relative;
    background: transparent;
    box-sizing: border-box;
    border: 2px solid #8F4800;
    padding: 12px 32px;
    color: #8F4800;
    text-decoration: none;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.secondary-btn::before{
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: bottom;
    top: 0;
    left: 0;
    background: #8F4800;
    transition: all 0.4s ease;
}

.secondary-btn:hover::before, .secondary-btn:hover{
    transform: scaleY(1);
    color: rgba(255, 255, 255, 0.9);
}

#login-btn{
    padding: 12px 32px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

#login-btn:hover{
    border: 2px solid rgba(0, 0, 0, 0.3);
}

main{
    box-sizing: border-box;
    padding-inline: 10px;
    max-width: 1200px;
    margin-inline: auto;
    margin-bottom: 50px;
}

.products{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
    justify-content: center;
    gap: 50px 10px;
    min-height: 70vh;
}

.product{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    gap: 20px;
    margin: 0;
    height: fit-content;
    box-sizing: border-box;
    padding: 20px;
    background: white;
    box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.6);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.product:hover{
    box-shadow: 6px 6px 15px rgba(128, 128, 128, 0.6);
}

.product-link{
    text-decoration: none;
    color: inherit;
}

.product img{
    width: 100%;
    height: 430px;
    border-radius: 5px;
    object-fit: cover;
}

.product p{
    margin: 0;
}

.nazev-produkt{
    font-weight: 600;
    font-size: 1.5em;
    height: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popis-produktu{
    font-weight: 400;
    font-size: 0.9em;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.7;
}

.stav{
    color: rgb(0, 183, 125);
}

.cena{
    font-size: 1.2em;
    font-weight: 600;
}

.product-info{
    width: 100%;
}

.pridat{
    width: 50px;
    text-align: center;
    font-weight: 900;
    font-size: 1.5em;
    padding: 5px 20px;
}

footer{
    background: #9f582b;
    display: flex;
    flex-direction: column;
    color: white;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
}

footer p{
    opacity: 0.8;
    font-weight: 600;
}

.login-form{
    flex-direction: column;
    display: flex;
    align-items: start;
    margin-top: 300px;
    margin-inline: auto;
    color: black;
    background: #c9cdd3;
    width: 100%;
    max-width: 270px;
    padding: 40px 50px;
    border-radius: 30px;
}

form{
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-direction: column;
    width: 100%;
    gap: 1em;
}

input{
    padding: 7px 10px;
    border: none;
    font-family: "Manrope", sans-serif;
    outline: none;
    border-radius: 5px;
    width: 100%;
    font-weight: 600;
}

.input{
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-top: 10px;
}

.required:after {
    content: "*";
    color: #F15400;
    margin-left: 2px;
}

.info{
    background: rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 5px;
}


input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
    padding: 14px 18px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background-color: #fcfcfc;
    box-shadow: 0 4px 4px #0000002b;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-weight: 500;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #F15400;
    box-shadow: 0 4px 4px #f1540030;
}

input[type=submit]{
    margin-top: 20px;
    font-size: 1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 0;
    color: white;
    cursor: pointer;
    background: linear-gradient(160deg, rgb(253, 197, 29) 0%, rgb(253, 110, 0) 100%);;
}

.content{
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
    margin-bottom: 0;
}

.content div{
    max-width: 600px;
}

#hero img{
    width: 100%;
    transform: translateY(40px);
    filter: drop-shadow(0 0 250px #e3b24772);
    transition: all 0.5s ease
}

#hero img:hover{
    transform: translateY(35px);
    filter: drop-shadow(0 0 250px #dab200);
}

#author{
    opacity: 0.6;
    margin: 0 0 30px;
}

.stats{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 550px;
    transform: translateY(-60px);
}

.stats div{
    background-image: url("../images/Frontend/Hexagon.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 140px;
    height: 140px;
    overflow: none;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: rgba(0, 0, 0, 0.6);
    padding: 10px;
    transform: translateY(0);
    cursor: default;
    gap: 0;
    filter: drop-shadow(0 0 50px #c1b427);
    transition: all 0.2s ease;
}

.stats div:hover{
    transform: translateY(-5px);
    filter: drop-shadow(0 0 20px #c1b427);
}

.stats div span{
    font-size: 2rem;
    font-weight: 700;
}

.stats div hr{
    width: 40%;
    margin: 0;
    opacity: 0.7;
}

.stats div p{
    margin: 0;
}

#about div{
    display: flex;
    gap: 150px;
}

#about .description{
    display: block;
}

.image{
    position: relative;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.image:hover{
    transform: translateY(-10px);
}

.image img{
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.346);
}

.image::before{
    content: '';
    position: absolute;
    top: -15%;
    left: -15%;
    width: 135%;
    height: 130%;
    background-image: url("../images/Frontend/Hexagon2.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
    filter: drop-shadow(0 0 50px #ff6600);
}

.mobile-images{
    display: none;
    width: 100%;
    justify-content: center;
    gap: 50px;
}

.mobile-images .image::before{
    display: none;
}

.mobile-images img{
    width: 300px;
}

#about p{
    font-size: 21px;
    font-weight: 300;
}

#historie{
    margin-top: 200px;
    margin-bottom: 200px;
}

#historie article{
    font-size: 21px;
    display: flex;
    gap: 150px;
    margin-bottom: 140px;
    font-weight: 300;
}

.center{
    text-align: center;
}

.center::after{
    left: 50%;
    transform: translateX(-50%);
}

#sluzby .info-container{
    display: flex;
    gap: 40px;
    margin-top: 80px;
}

.card{
    width: 100%;
    max-width: 400px;
    min-height: 200px;
    padding: 36px;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.card:hover{
    transform: translateY(-10px);
    border: 1px solid rgb(255, 102, 0);
}

.card h3{
    font-size: 28px;
    margin: 0;
    font-weight: 500;
}

.card .title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.card img{
    
    width: 15px;
    height: 15px;
    transition: all 0.2s ease;
}

.card p{
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 300;
}

#kontakt{
    margin-top: 140px;
    margin-bottom: 100px;
}

#kontakt .info-container{
    display: flex;
    justify-content: center;
    gap: 80px;
}

.contact-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("../images/Frontend/Hexagon.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 250px;
    gap: 0;
    padding: 60px;
    text-align: center;
    filter: drop-shadow(0 0 50px #c1b427);
    cursor: default;
    transition: all 0.3s ease;
}

.contact-card:hover{
    transform: translateY(-10px);
}

.contact-card h3{
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.6;
}
.contact-card p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.6;
    word-wrap: wrap;
}

.contact-card hr{
    width: 60px;
    border-top: 1px solid black;
    outline: none;
    opacity: 0.6;
}

.contact-card img{
    opacity: 0.6;
    transform: scale(0.8);
}

#mapa iframe{
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.138);
}

.product-detail{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    gap: 60px;
    min-height: 70vh;
    margin: 100px 0;
}

#info-container{
    width: 50%;
}

#image-container{
    width: 450px;
    height: 570px;
}

.product-detail img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail h2{
    width: 100%;
    height: fit-content;
    margin-block: 0 20px;
}

.detail-controls{
    display: flex;
    align-items: start;
    gap: 20px;
}

#add-to-cart-btn{
    width: 100%;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: start;
    gap: 20px;
}

.cart-header{
     display: flex; 
     justify-content: space-between; 
     align-items: center; 
     flex-wrap: wrap;
}

#amount{
    border: 1px solid rgba(0, 0, 0, 0.230);
    padding: 8px;
    width: 50px;
    text-align: center;
    font-weight: 500;
    margin-left: 10px;
}

#detail-popis{
    height: 150px;
    font-size: 1em;
    opacity: 0.7;
    white-space: initial;
    text-overflow: none;
}

#detail-stav{
    margin: 0;
    font-size: 1em;
    font-weight: 600;
}

#detail-stav span{
    color: black;
    font-weight: 300;
    margin-left: 20px;
    opacity: 0.7;
}

.znacka{
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
    opacity: 0.7;
}

#detail-cena{
    font-size: 2em;
    margin-block: 5px 15px;
}

#detail-kategorie{
    font-weight: 300;
    opacity: 0.7;
    font-size: 0.8em;
    margin-bottom: 0;
    display: flex;
    gap: 5px;
}


.cart-container{
    position: relative;
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    box-sizing: border-box;
    background: white;
    width: 100%;
    box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.6);
    border-radius: 10px;
    margin: 50px 0;
}

#cart-items{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 5px;
    width: 100%;
    height: 70%;
    overflow-y: scroll;
    gap: 5px;
}

#controls div{
    display: flex;
    gap: 10px;
}

#controls button{
    background: #00000020;
    border-radius: 20px;
    padding: 10px 20px;
    border: none;
    font-size: 1rem;
    transition: all 0.2s ease;
}

#controls button:hover{
    background: #00000030;
}

#cart-items .item{
    display: flex;
    box-sizing: border-box;
    padding-inline: 15px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-width: 600px;
    height: 80px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.1);
}

#cart-items .item:hover{
    background: rgba(0, 0, 0, 0.15)
}

#cart-items .item img{
    max-width: 40px;
    max-height: 90%;
}

#cart-summary{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 10px 30px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 70px;
    border-top: 1px solid rgba(0, 0, 0, 0.21);
}

#cart-summary p{
    font-size: 1.5rem;
    font-weight: 500;
}

#cart-summary div{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}


h3{
    width: 100%;
    font-weight: 500;
    font-size: 1.5rem;
}

.container-form{
    margin: 0;
    padding: 0;
    display: flex;
    width: fit-content;
    height: fit-content;
}

.clear-btn{
    border: none;
    background: #ff000020;
    color: red;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.clear-btn:hover{
    background: #ff000050;
}

#delete-btn{
    background: none;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
}

#delete-btn:hover{
    color: rgb(255, 0, 0);
}

#info-btn:hover{
    color: rgb(0, 149, 255);
}

.popup{
    position: fixed;
    bottom: 10px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 300px;
    gap: 10px;
    transform: translateX(150%);
    margin: 10px;
    height: 70px;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.6);
    animation: 4s popup ease;
}

@keyframes popup{
    0%{
        transform: translateX(150%);
    }
    20%{
        transform: translateX(0);
    }
    60%{
        transform: translateX(0);
    }
    90%{
        transform: translateX(150%);
    }
    100%{
        transform: translateX(150%);
    }
}

#pocet{
    bottom: 10px;
    left: 35px;
    position: absolute;
    height: 10px;
    width: 10px;
}

#pocet span{
    width: 100%;
    min-width: 10px;
    height: 100%;
    font-size: 0.8rem;
    background: rgb(192, 0, 0);
    color: white;
    padding: 5px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup #icon{
    flex-grow: 1;
    text-align: center;
}

.popup p{
    text-align: center;
    flex-grow: 3;
}

.order-container{
    position: relative;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 40px;
    box-sizing: border-box;
    background: #fdfdfd;
    width: 80%;
    box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.6);
    border-radius: 10px;
    margin: 50px auto;
}

.order-container #form-container{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.order-container #detail{
    height: 100%;
    width: 100%;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.order-container #detail div{
    width: 100%;
}

#payment_and_shipping{
    max-width: 30%;
}

.order-container #summary{
    overflow-x: scroll;
    width: 100%;
    height: 100%;
}

.order-container #summary li{
    min-width: 400px;
    gap: 10px;
}

.order-container #detail #summary{
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    padding: 30px;
    border-radius: 5px;
    overflow-y: scroll;
    height: 300px;
}


#form-container{
    position: relative;
}

#form-container form{
    display: flex;
    flex-direction: row;
    width: 400%;
    height: 100%;
    transform: translateX(0);
    transition: transform 0.4s;
}

.form-page{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 10px 40px;
}

.overview{
    display: flex; 
    justify-content: space-between; 
    align-items: end;
    flex-wrap: wrap;
}

#totalPrice{
    margin-bottom: 0;
}

#progress-bar{
    position: absolute;
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
}

#progress-bar span{
    height: 100%;
    width: 0;
    background: #fb8d52;
    z-index: 1;
    transition: width 0.4s ease;
}

#summary-page{
    width: 100%;
}

#summary{
    height: 300px;
    padding: 0;
}

#summary div{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 10px;
}

#summary li{
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    max-height: 50px;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    padding: 5px 30px;
    min-width: 500px;
    margin-bottom: 5px;
}

#summary li:hover{
    background: rgba(0, 0, 0, 0.2)
}

#summary li p{
    min-width: 100px;
    text-align: start;
}

#totalPrice{
    font-size: 1.5rem;
    font-weight: 600;
}

#summary li img{
    height: 50px;
}

.amountControl{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.amountControl input{
    max-width: 30px;
    text-align: center;
}

.amountControl button{
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    background: rgb(255, 255, 255);
    width: 40px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.230);
}

.amountControl button:hover{
    border-color: rgb(255, 102, 0);
}

.calendar-container{
    max-width: 1200px;
    margin-top: 60px;
    margin-inline: auto;
    gap: 20px;
    min-height: 80vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
    justify-content: center;
}

.event-card{
    display: flex;
    flex-direction: column;
    height: 300px;
    background: white;
    box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.event-card #detail{
    display: flex;
    gap: 20px;
    box-sizing: border-box;
    flex-direction: column;
    padding: 10px 20px;
}

.event-card #detail p{
    margin: 0;
}

.event-card img{
    transform: scale(1);
    width: 100%;
    height: 212px;
    object-fit: cover;
    filter: brightness(0.9);
    transition: all 0.2s ease;
}

.event-detail{
    display: flex;
    margin-top: 40px;
    align-items: start;
    justify-content: start;
    gap: 40px;
}

.event-detail h2::after{
    display: none;
}

.event-detail h2, h1, h3{
    margin-block: 0;
}

.event-detail img{
    height: 400px;
    max-width: 500px;
    width: 100%;
    object-fit: contain;
}

#img-container{
    overflow: hidden;
    display: flex;
    width: 100%;
}

.event-card:hover img{
    filter: brightness(1);
    transform: scale(1.1);
}

.article-container{
    max-width: 1200px;
    margin-inline: auto;
    margin-top: 60px;
    min-height: 80vh;
}

.article-main h2{
    margin-bottom: 0;
}

.article-main h2::after{
    display: none;
}

#article-img{
    width: 180px;
    display: flex;
    justify-content: center;
}

#article-img img{
    height: 100%;
}

.article-card{
    display: flex;
    justify-content: start;
    height: 200px;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 20px;
    gap: 50px;
    margin-inline: auto;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.article-card:hover{
    background: rgba(0, 0, 0, 0.1);
}

.article-card p{
    margin-top: 0;
}

.article-card .popis{
    height: 40%;
}


.article-header div{
    display: flex;
    justify-content: start;
    gap: 100px;
    min-height: 300px;
    margin-top: 70px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 40px;
}

.article-header div img{
    max-height: 300px;
    object-fit: contain;
}

.article-images{
    margin-top: 50px;
    margin-bottom: 100px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.article-images div{
    display: flex;
    flex-direction: column;
    height: 300px;
    width: 100%;
}

.article-images div img{
    height: 100%;
    object-fit: contain;
}

.admin-links {
    position: relative;
    display: flex;
    justify-content: end;
    margin: 20px 0;
}

.admin-links nav {
    display: inline-flex !important;
    align-items: center;
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 10px;
    box-shadow: 3px 3px 10px rgba(128, 128, 128, 0.6);
}

.admin-links nav > div:first-child {
    display: none !important;
}

.admin-links nav > div:last-child {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
}

.admin-links nav > div:last-child > div:first-child{
    display: none;
}

.admin-links nav div:last-child > span,
.admin-links nav div:last-child div:last-child {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}

.admin-links p {
    font-weight: 700;
    color: #333;
}

.admin-links nav > div:last-child > div:last-child {
    display: flex;
    gap: 2px;
}

.admin-links nav > div:last-child > div:nth-child(2){
    display: inline-flex !important;
}

.admin-links button, 
.admin-links span[aria-current="page"] span,
.admin-links span[aria-disabled="true"] span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    border: 1px solid #00000030;
    background: #fff;
    cursor: pointer;
    color: #999;
    margin: 0 5px;
}

.admin-links span[aria-current="page"] span {
    background-color: #F15400 !important;
    color: white !important;
    border-color: #F15400;
}

.admin-links span[aria-disabled="true"] span {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: default;
}

.admin-links button:hover {
    background: #f154001a;
    color: #F15400;
    border-color: #f1540037;
}

.admin-links button {
    outline: none;
    padding: 0;
}

.admin-links svg {
    width: 18px;
    height: 18px;
}

.update-form{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.update-form input{
    width: 400px;
    display: block;
}

.cancel-btn{
    min-width: 80px;
    background: none;
    border: none;
    color: gray;
    text-decoration: underline;
    font-size: 1rem;
}

@media(max-width: 1650px){
    .body-container{
        padding-inline: 40px;
    }

    #about div{
        flex-direction: column-reverse;
        align-items: center;
    }
    #about img{
        width: 100%;
        max-width: 600px;
    }

    #kontakt .info-container{
        display: grid;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        grid-template-columns: repeat(auto-fit, 400px);
    }

    .contact-card{
        transform: scale(0.8);
    }

    #historie article{
        flex-direction: column-reverse;
        align-items: center;
        margin: 0;
    }

    #historie article .image{
        display: none;
    }

    .mobile-images{
        display: flex;
        flex-wrap: wrap;
        margin-top: 40px;
    }
}

@media(max-width: 1350px){
    #sluzby .info-container{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-inline: auto;
    }

    .content{
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        margin-top: 50px;
        gap: 20px;
    }
    #hero{
        margin-top: 100px;
    }

    #hero img{
        width: 100%;
        max-width: 500px;
        margin-bottom: 50px;
    }

    .content div{
        text-align: center;
    }

    .btns{
        flex-wrap: wrap;
        margin-top: 20px;
        justify-content: center;
    }

    .stats{
        max-width: 100%;
        margin-top: 100px;  
        gap: 10px;
        justify-content: center;
    }

    .order-container #detail{
        flex-wrap: wrap;
        padding-bottom: 30px;
    }

    .order-container #detail #summary{
        padding: 10px;
    }

    .order-container #detail #summary li{
        min-width: 450px;
    }

    #payment_and_shipping{
        max-width: 100%; 
    }
}

@media(max-width: 1260px){
    .header-full{
        display: none;
    }
    .header-mobile{
        display: flex;
    }

    h2{
        margin-top: 100px;
    }

    .cart-header{
        margin-top: 100px;
    }

    .cart-header h2{
        margin-top: 0;
    }
    
    .contact-card:hover{
        transform: scale(0.8);
    }

    .produkty-header{
        margin-top: 100px;
    }

    .kategorie{
        font-size: 14px;
    }

    .product-detail{
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 0;
    }

    #image-container{
        height: fit-content;
    }

    .product-detail img{
        width: 100%;
        object-fit: cover;
    }

    #info-container{
        width: 100%;
    }

    #detail-popis{
        height: fit-content;
        margin-bottom: 30px;
    }

    .znacka{
        font-size: 1rem;
    }

    .cart-container{
        padding: 5px;
        height: 900px;
    }

    #cart-item-container{
        overflow-x: scroll;
    }

    .order-container{
        padding: 10px;
        margin-inline: 0;
        width: 100%;
    }

    .event-detail{
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media(max-width: 860px){
    .overview{
        flex-direction: column;
        gap: 0;
        align-items: baseline;
        width: fit-content;
        margin-inline: 0;
    }

    .overview .primary-btn{
        font-size: 0.8rem !important;
        padding: 10px 10px !important;
    }

    #totalPrice{
        font-size: 1rem;
    }

    #summary-page{
        overflow-x: scroll;
    }

    .article-images{
        grid-template-columns: 1fr;
    }

    .article-header div{
        flex-direction: column;
    }

    .article-header div img{
        max-height: 300px;
    }
}

@media(max-width: 600px){
        .mobile-images .image img{
            max-width: 280px;
        }

        .stats{
            flex-direction: column;
            gap: 15px;
        }

        #info-container .primary-btn{
            font-size: 0.9rem;
            padding: 15px 20px;
        }

        .body-container{
            padding-inline: 10px;
        }

        h1{
            font-size: 1.8rem;
        }

        p{
            font-size: 14px;
        }

        #about .description p{
            font-size: 14px;
        }

        h2{
            font-size: 1.5rem;
        }

        #about img{
            width: 200px;
        }

        .image{
            margin: 10px 0;
        }

        section{
            margin: 10px 0;
        }

        #kontakt .info-container{
            display: flex;
            gap: 5px;
            flex-direction: column;
        }

        #sluzby .info-container{
            width: 300px;
        }

        .card{
            box-sizing: border-box;
            width: 270px;
        }

        .card h3{
            font-size: 1.2rem;
        }

        .card img{
            width: 10px;
        }

        .card p{
            font-size: 12px;
        }

        #hero{
            margin-bottom: 0;
        }

        #about div{
            gap: 20px;
        }

        #historie{
            margin: 30px 0;
        }

        #mapa iframe{
            height: 200px;
        }

        #image-container{
            width: 300px;
            height: fit-content;
        }

        #cart-summary p{
            font-size: 1.2rem;
        }

        #filter-btn{
            width: fit-content;
        }

        .kategorie div{
            flex-wrap: wrap-reverse;
        }

        .form-page{
            padding: 5px;
            height: 80%;
        }

        #summary{
            padding: 0;
            margin: 0;
        }

        .article-card{
            flex-direction: column;
            height: 400px;
        }

        .article-card img{
            width: 100%;;
        }

        .article-card p{
            margin-block: 0;
        }
    }