@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-decoration: none;
    font-family: "Sora", sans-serif;
    scroll-padding: 25px;
}
 :root{
    --defaultColor:#49B2A1;
    --secondColor:#F4F7F8;
    --whiteColor:white;
    --max-width:1250px;
    --dark-green: #0C342D;
 }

 html{
    overflow-x: hidden;
 }

 body{
    overflow-x: hidden;
 }

 .flex{
    display: flex;
    justify-content: center;
    align-items: center;
 }

 .section{
    flex-direction: column;
    align-items: start;
    width: 100%;
    max-width: var(--max-width);
    margin: 150px auto;
    position: relative;
 }
p{
     line-height: 2;
     font-size: 16px;
    font-family: "Inter", sans-serif;
    font-weight: 300;
}

ul li{
     font-family: "Inter", sans-serif;
     font-weight: 300;
}

.mobile-products-link{
    display: none;
}


 .button{
    background-color: var(--defaultColor);
    padding: 15px 30px;
    color: black;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
 }

 .button:hover{
    transition: 0.2s;
    background-color: #46a898;
    color: white;
 }

 .strong{
    color: var(--defaultColor);
 }

 h2{
    font-weight: 400;
    font-size: 27px;
 }

 .title-style{
    flex-direction: column;
    gap: 15px;
    align-items: start;
    justify-content: start;
 }

 .title-style div{
    height: 3px;
    background-color: var(--defaultColor);
    width: 35%;
 }

 .title-container{
    flex-direction: column;
    gap: 25px;
    align-items: start;
    justify-content: start;
    width: 100%;
    max-width: var(--max-width);

 }

 .title-container p{
    text-align: left;
 }

 .title-flex-container{
    justify-content: space-between;
    max-width: var(--max-width);
    width: 100%;
    flex-wrap: wrap;
 }

 strong{
    font-weight: 600;
 }

 

.nav-ul a.active_nav {
    border-bottom: 2px solid var(--defaultColor); /* ZDE dej svou barvu (např. tu z loga) */
    font-weight: 600; /* Můžeme i ztučnit */
    padding-bottom: 5px;
}

/* Volitelně: Hover efekt */
.nav-ul a:hover {
    border-bottom: 2px solid var(--defaultColor);
    padding-bottom: 5px;
}

 nav{
    width: 100%;
    max-width: var(--max-width);
    justify-content: space-between !important;
    margin: 0 auto;
    padding: 15px 0px;
 }

  nav img{
    height: 25px;
  }

 .nav-box{
    gap:30px;
 }

 .nav-box ul{
list-style: none;
gap: 25px;
 }

  .nav-box ul li a{
    color: black;
    font-size: 15px;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
  }


  .menu {
    width: 30px;
    height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    display: none;
}

.menu div {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease;
}

/* Aktivní stav - X */
.menu.close div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu.close div:nth-child(2) {
    opacity: 0;
}

.menu.close div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


  /*Main section*/
  .main-section{
    width: 100%;
    height: 85vh;
    background-color: var(--secondColor);
    position: relative;
    overflow: hidden;
  }



  .main-section::before {
 content: "";
    position: absolute;
    bottom: -25px; /* Menší posun */
    left: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku (poloviční oproti původnímu příkladu) */
    border-style: solid;
    border-width: 50px 50px 0 0; 
    /* Barva trojúhelníku: Zelená/tyrkysová */
    border-color: var(--defaultColor) transparent transparent transparent; 
    transform: rotate(45deg);
}

/* Trojúhelníček v pravém horním rohu */
.main-section::after {
    content: "";
    position: absolute;
    top: -25px;
    right: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku */
    border-style: solid;
    border-width: 0 0 50px 50px;
    border-color: transparent transparent var(--defaultColor) transparent;
    transform: rotate(45deg);
}

.main-small-section{
    width: 100%;
    height: 30vh;
    background-color: var(--secondColor);
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.main-small-container {
    width: 100%;
    max-width: var(--max-width);
    align-items: start;
    justify-content: start;
}

.main-small-container .main-info h1{
    width: 50%;
}

.main-mobile-button{
    display: none;
}

.main-mobile-button{
    display: none;
}




  .main-small-section::before {
 content: "";
    position: absolute;
    bottom: -25px; /* Menší posun */
    left: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku (poloviční oproti původnímu příkladu) */
    border-style: solid;
    border-width: 50px 50px 0 0; 
    /* Barva trojúhelníku: Zelená/tyrkysová */
    border-color: var(--defaultColor) transparent transparent transparent; 
    transform: rotate(45deg);
}

/* Trojúhelníček v pravém horním rohu */
.main-small-section::after {
    content: "";
    position: absolute;
    top: -25px;
    right: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku */
    border-style: solid;
    border-width: 0 0 50px 50px;
    border-color: transparent transparent var(--defaultColor) transparent;
    transform: rotate(45deg);
}






.main-container{
    width: 100%;
    max-width: var(--max-width);
    gap: 100px;
    flex-wrap: wrap-reverse;
}

.main-info{
    flex-direction: column;
    gap: 35px;
    align-items: start;
    flex: 1 1 300px;
}

.main-image{
    height: 100%;
    background-image: url('Images/main-background-chemistry.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    flex: 1 1 400px;
    position: relative;
}

.main-image img{
   max-width:70%;
   max-height: 80%;
    min-width: 350px;
   width: auto;       /* Zachová poměr stran */
   height: auto;      /* Zachová poměr stran */
   
   /* Aby se obrazek nedeformoval */
   object-fit: contain; 
   
   position: relative;
   bottom: 70px;
   filter: drop-shadow(15px 40px 25px rgba(0, 0, 0, 0.3));
}


.main-info h1{
    font-size: 37px;
    font-weight: 400;
    color: black;
}

.main-info p{
    font-weight: 300; 
    color: black;
}

.mouse-scroll{
    position: absolute;
    bottom: 20px; /* Nebo jiná pozice na spodní části sekce */
    left: 50%;
    transform: translateX(-50%); /* Vycentrování */
    /* Aplikace animace: */
    animation: bounce-scroll 3s infinite; /* Název, doba trvání, nekonečná smyčka */
    cursor: pointer; /* Změna kurzoru */
}

.mouse-scroll img{
    height: 50px;
}

@keyframes bounce-scroll {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* Zastavení na nule (výchozí pozice) */
    }
    40% {
        transform: translateY(-10px); /* Pohyb nahoru */
    }
    60% {
        transform: translateY(-5px);  /* Menší pohyb nahoru */
    }
}



.why-us{
    width: 100%;
    margin: 0 auto;
    gap: 80px;
    flex-direction: column;
    align-items: start;
    margin-top: 100px;
    position: relative;
    justify-content: center;
    align-items: center;
}

.why-us .decoration{
    position: absolute;
    left: 0;
    transform: rotate(180deg);
}

.why-us-container{
 width: 100%;
gap: 90px;
max-width: var(--max-width);
flex-wrap: wrap;
align-items: start;
}

.why-card{
    flex: 1 1 150px;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: start;
}

.why-card .hexagon-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    flex: 1;
}

/* 3. Vnější element: Vytvoří ZELENÝ obrys šestiúhelníku */
.why-card .hexagon-border {
    /* Rozměry pro hexagon s obrysem */
    width: 90px; /* o něco větší než vnitřní obsah */
    height: 100px; /* Proporčně upravená výška */
    
   background: var(--secondColor) !important; /* Barva výplně (bílá) */
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Vytvoření tvaru */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    
    margin-bottom: 10px; 
}

/* 4. Vnitřní element: Vytvoří BÍLOU výplň šestiúhelníku */
.why-card .hexagon-content {
    /* Rozměry o něco menší než vnější obrys */
    width: 118px; /* O cca 7px menší z každé strany */
    height: 136.25px; /* Proporčně upravená výška */
    
    background-color: var(--secondColor); /* Barva výplně (bílá) */
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Zdědí tvar od rodiče (nebo se definuje znovu, ale inherit je čistší) */
    clip-path: inherit; 
    -webkit-clip-path: inherit;
}

/* 5. Ikony uvnitř hexagonu */
.why-card .hexagon-content img {
    width: 35px; 
    height: auto;

}

.why-card img{
    height: 35px;
    width: 35px;
}

.why-card h3{
    font-size: 16px;
    text-align: center;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
}

.why-card p{
    text-align: center;
    font-weight: 300;
    font-size: 15px;
}


.about-us{
    flex-direction: row;
    gap:100px;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    margin: 150px auto;
    position: relative;
    background-color: var(--secondColor);
    padding: 50px 0px;
}

.about-us .decoration{
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 1;
    transform: translate(0, -50%);
}

.about-us-container{
    width: 100%;
    max-width: var(--max-width);
     gap: 50px;
     flex-wrap: wrap;
}
.about-us-img{
    flex: 1 1 400px;
    aspect-ratio: 16/14;
    background-color: var(--secondColor);
    box-shadow: 
        -7px 7px 0 0 white,  /* 1. stín: Barva pozadí stránky (bílá) - udělá mezeru */
        -10px 10px 0 0 var(--defaultColor);  /* 2. stín: Černá linka - udělá ten "prázdný border" */
}
.about-us-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(1.15) contrast(1.1);
}

.about-us-info{
    flex-direction: column;
    gap: 25px;
    flex: 1 1 400px;
    align-items: start;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.about-us-info p{
    font-weight: 300;
    line-height: 2;
}

.about-cards{
    flex-direction: column;
    gap: 5px;
    align-items: start;
    justify-content: start;
}


.about-card .hexagon-border {
    width: 60px;
    height: 68px;
    
   background: linear-gradient(180deg, var(--defaultColor), #43a090);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Vytvoření tvaru */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    
    margin-bottom: 10px; 
}

.about-card .hexagon-content {
    width: 56px;
    height: 64px;
    
    background: linear-gradient(180deg, var(--defaultColor), #43a090);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    clip-path: inherit; 
    -webkit-clip-path: inherit;
}

.about-card img {
    width: 30px !important; 
    height: auto;
}

.about-card{
    gap: 15px;
}

.about-card span{
    gap: 15px;
    font-weight: 600;
     font-family: "Poppins", sans-serif;
}
















.order-steps{
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 50px 0px 200px 0px;
    overflow: hidden;
    position: relative;
}



.order-steps .decoration{
    position: absolute;
    left: 0;
    transform: rotate(180deg);
}





/* 1. Kontejner pro celou řadu (stejné jako předtím) */
.order-steps-horizontal {
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 0px; /* Mezera mezi prvky */
    text-align: center;
    width: 100%;
    flex-direction: row;
    width: 100%;
    max-width: var(--max-width);
    flex-wrap: wrap;
}

/* 2. Obal pro jeden Hexagon + text (stejné jako předtím) */
.hexagon-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
    flex: 1;
}

/* 3. Vnější element: Vytvoří ZELENÝ obrys šestiúhelníku */
.hexagon-border {
    /* Rozměry pro hexagon s obrysem */
    width: 125px; /* o něco větší než vnitřní obsah */
    height: 144.34px; /* Proporčně upravená výška */
    
    background: linear-gradient(180deg, var(--defaultColor), #43a090); /* Barva výplně (bílá) */
    background-color: var(--dark-green);
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Vytvoření tvaru */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    
    margin-bottom: 10px; /* Mezera mezi hexagonem a textem */

}

/* 4. Vnitřní element: Vytvoří BÍLOU výplň šestiúhelníku */
.hexagon-content {
    /* Rozměry o něco menší než vnější obrys */
    width: 118px; /* O cca 7px menší z každé strany */
    height: 136.25px; /* Proporčně upravená výška */
    
    background: linear-gradient(180deg, var(--defaultColor), #43a090); /* Barva výplně (bílá) */
   
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Zdědí tvar od rodiče (nebo se definuje znovu, ale inherit je čistší) */
    clip-path: inherit; 
    -webkit-clip-path: inherit;
}

/* 5. Ikony uvnitř hexagonu */
.hexagon-content img {
    width: 45px; 
    height: auto;

}

/* 6. Text pod hexagonem (stejné jako předtím) */
.hexagon-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
     font-family: "Poppins", sans-serif;
}

/* 7. Šipky mezi hexagony (stejné jako předtím) */
.arrow-horizontal {
    width: 100px; 
    height: auto;
}

.propagate-products{
    justify-content: center;
    align-items: center;
    gap: 75px;
}

.propagate-products .title-style{
    align-self: start;
}

.propagate-products-contaier{
    width: 100%;
    max-width: var(--max-width);
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

.product-card{
   flex: 1 1 280px; /* automatická šířka s minimem 280px */
    max-width: 280px;
    height: 500px; /* místo pevné výšky */
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: start;
    justify-content: start;
}

.product-card:hover{
  box-shadow: 2px 11px 40px rgba(0,0,0,0.05);
  cursor: pointer;
  padding: 5px;
  transition: 0.3s;
}

.product-card h3{
    font-weight: 600;
    font-size: 16px;
}

.product-card p{
    text-align: left;
    font-size: 15px;
    font-weight: 300;
    display: -webkit-box;   
     -webkit-line-clamp: 3;       /* maximálně 3 řádky textu */
    -webkit-box-orient: vertical; 
    overflow: hidden;            /* skryje přebytečný text */
    text-overflow: ellipsis; 
}

/*

.product-card span{
    font-weight: 400;
    font-size: 14px;
    color: black;
    padding: 12px 0px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--defaultColor);
}

.product-card span:hover{
    transition: 0.2s;
    background-color: #46a898;
    color: white;
}
*/
.product-card-img{
    background-color: var(--secondColor);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 65%;
}

.product-card-img img{
    height: 75%;
    filter: drop-shadow(0px 10px 5px rgba(0,0,0,0.3));
    width: 100%;
    object-fit: contain;
}

.product-card-img::before {
 content: "";
    position: absolute;
    bottom: -10px; /* Menší posun */
    left: -10px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku (poloviční oproti původnímu příkladu) */
    border-style: solid;
    border-width: 20px 20px 0 0; 
    /* Barva trojúhelníku: Zelená/tyrkysová */
    border-color: var(--defaultColor) transparent transparent transparent; 
    transform: rotate(45deg);
}

/* Trojúhelníček v pravém horním rohu */
.product-card-img:after {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku */
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent var(--defaultColor) transparent;
    transform: rotate(45deg);
}

.product-card {
    flex-direction: column;
}

.product-card-button{
   background-color: transparent;
   gap: 10px;
}

.product-card-button span{
    font-weight: 600;
    color: var(--defaultColor);
    width: auto;
    font-size: 15px;
}

.product-card-button img{
    height: 16px;
}

.product-card-button:hover{
    transition: 0.2s;
    gap: 15px;
}

.product-card:hover > .product-card-button{
     transition: 0.2s;
    gap: 15px;
}




/*ANIMCE*/
/* Výchozí stavy */
.fade-left, .fade-right, .fade-up {
  opacity: 0;
  transition: all 0.8s ease-out;
}

/* Posun pro jednotlivé směry */
.fade-left {
  transform: translateX(-30px); /* zleva */
}

.fade-right {
  transform: translateX(30px); /* zprava */
}

.fade-up {
  transform: translateY(30px); /* ze spodu */
}

/* Třída která spustí animaci */
.in-view {
  opacity: 1;
  transform: translateX(0) translateY(0);
}










.contact-form{
    width: 100%;
    background-color: var(--secondColor);
    position: relative;
    height: 400px;
    margin-bottom: 700px;
}

.contact-form::before {
 content: "";
    position: absolute;
    bottom: -25px; /* Menší posun */
    left: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku (poloviční oproti původnímu příkladu) */
    border-style: solid;
    border-width: 50px 50px 0 0; 
    /* Barva trojúhelníku: Zelená/tyrkysová */
    border-color: var(--defaultColor) transparent transparent transparent; 
    transform: rotate(45deg);
}

/* Trojúhelníček v pravém horním rohu */
.contact-form::after {
    content: "";
    position: absolute;
    top: -25px;
    right: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku */
    border-style: solid;
    border-width: 0 0 50px 50px;
    border-color: transparent transparent var(--defaultColor) transparent;
    transform: rotate(45deg);
}




.contact-container{
    width: 100%;
    max-width: var(--max-width);
    gap: 50px;
    position: relative;
    align-items: start;
    justify-content: start;
    flex-wrap: wrap;
}
.contact-info {
    flex-direction: column;
    gap: 25px;
    align-items: start;
    justify-content: start;
    width: 50%;
}
.contact-info h2{
     color: black;
}
.contact-info p{
    font-weight: 300;
    font-size: 15px;
    width: 80%;
    color: black;
}

.contact-form form p{
    font-size: 14px;
}

.contact-form p a{
    font-size: 14px;
    color: var(--defaultColor);
}

.contact-info a{
    padding: 15px 35px;
    background-color: var(--defaultColor);
    color: black;
    gap: 15px;
}

.contact-info a img{
    height: 20px;
    filter: invert(100%);
}

.contact-container form{
    background-color: white;
    padding: 50px 25px;
    gap: 35px;
    flex-direction: column;
    position: absolute;
    top: 0px;
    box-shadow: 2px 11px 40px rgba(0,0,0,0.05);
    right: 0;
    width: 50%;
}

.form-row{
    width: 100%;
    justify-content: space-between;
    gap: 25px;
}

.form-input::placeholder {
  color: #42a19398;
  opacity: 1;
}


.form-input{
    flex-direction: column;
    justify-content: start;
    align-items: start;
    width: 100%;
    gap: 10px;
}

.form-input label{
    font-size: 14px;
}



.form-input input{
    height: 45px;
    width: 100%;
    background-color: white;
    border: 1px solid var(--defaultColor);
    padding: 15px;
}

.form-input input::placeholder{
    color: rgb(194, 194, 194);
}

.form-input textarea::placeholder{
    color: rgb(194, 194, 194);
}

.form-input textarea{
    height: 150px;
    width: 100%;
    background-color: white;
     border: 1px solid var(--defaultColor);
    padding: 15px;
}

footer{
    width: 100%;
    background-color: var(--secondColor);
    flex-direction: column;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}



/* Trojúhelníček v pravém horním rohu */
footer::after {
    content: "";
    position: absolute;
    top: -25px;
    right: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku */
    border-style: solid;
    border-width: 0 0 50px 50px;
    border-color: transparent transparent var(--defaultColor) transparent;
    transform: rotate(45deg);
}


.footer-container{
    width: 100%;
    max-width: var(--max-width);
    padding: 50px 0;
    flex-wrap: wrap;
}
.footer-block{
    flex-direction: column;
    gap: 15px;
    align-items: start;
    justify-content: start;
    flex: 1 1 200px;
}


.footer-block:nth-child(2){
    align-items: center;
    justify-content: center;
}

.footer-block:nth-child(3){
    align-items: end;
    justify-content: start;
}



.footer-block h2{
    font-size: 16px;
    color: black;
}


.footer-block img{
    height: 35px;
}

.footer-block p{
    width: 70%;
    font-weight: 300;
    font-size: 14px;
    color: black;
}

.footer-block ul{
    flex-direction: column;
    gap: 25px;
    list-style: none;
    justify-content: start;
    align-items: start;
}

.footer-block ul li a{
    color: black;
    font-size: 14px;
    font-weight: 300;
}

.footer-block ul li{
    color: black;
    font-size: 14px;
    font-weight: 300;
}

.footer-icons{
    gap: 15px;
}

.footer-icons img{
    height: 23px !important;
}

.footer-bootom{
    background-color: var(--defaultColor);
    width: 100%;
    height: 60px;
}

.footer-bootom p{
    color: black;
}

.categories{
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    flex-direction: column;
    margin-top: 100px;
    align-items: start;
    justify-content: start;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #ebedee;
}

.categories-container{
    width: 100%;
    justify-content: start;
    width: 100%;
    gap: 40px;
    flex-wrap: wrap;
}




.category{
    padding: 15px 35px;
    flex: 1 1 280px;
    background-color: var(--secondColor);
    color: black;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 280px;
}

.category:hover{
    transition: 0.2s;
    background-color: #e4e8e9;
    cursor: pointer;
}

.active{
    padding: 15px 35px;
    background-color: var(--defaultColor);
    color: black;
    font-size: 14px;
}


.products{
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 50px;
    justify-content: center;
    flex-direction: column;
    margin-top: 100px;
}

.products-contaier{
    width: 100%;
    gap: 43px;
    justify-content:flex-start;
    flex-wrap: wrap;
    transition: all 0.3s ease-in-out;
}


.full-product{
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 50px;
    justify-content: center;
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 100px;
}

.full-product-container{
    width: 100%;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    transition: all 0.3s ease-in-out;
    align-items: start;
}

.more-info{
    border-bottom: 2px solid black;
    color: black;
    font-weight: 600;
}



.product-image{
    flex-direction: column;
    gap: 15px;
    aspect-ratio: 16/16;
     flex: 1 1 350px;
}

.big-image{
    width: 100%;
    background-color: var(--secondColor);
    height: 100%;
    overflow: hidden;
    transition: 0.2s;
    position: relative;
}

.big-image:hover{
    cursor: pointer;
}

.big-image:hover > img{
    transform: scale(1.05);
    transition: 0.2s;
}

.big-image img{
    height: 80%;
    object-fit: contain;
    width: 100%;
    transition: 0.2s;
    filter: drop-shadow(0px 10px 5px rgba(0,0,0,0.3));
}


.big-image::before {
 content: "";
    position: absolute;
    bottom: -25px; /* Menší posun */
    left: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku (poloviční oproti původnímu příkladu) */
    border-style: solid;
    border-width: 50px 50px 0 0; 
    /* Barva trojúhelníku: Zelená/tyrkysová */
    border-color: var(--defaultColor) transparent transparent transparent; 
    transform: rotate(45deg);
}

/* Trojúhelníček v pravém horním rohu */
.big-image::after {
    content: "";
    position: absolute;
    top: -25px;
    right: -25px;
    width: 0;
    height: 0;
    /* Zmenšení velikosti trojúhelníku */
    border-style: solid;
    border-width: 0 0 50px 50px;
    border-color: transparent transparent var(--defaultColor) transparent;
    transform: rotate(45deg);
}

.small-images{
    width: 100%;
    gap: 15px;
    justify-content: start;
    flex-wrap: nowrap;          
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    max-width: 100vw;
}

.small-image-wrapper{
    cursor: pointer;
    flex: 1;
    height: 100px;
    background-color: var(--secondColor);
    padding: 15px;
    max-width: 200px;
    min-width: 100px;
}

.active_img{
    background-color: var(--defaultColor) !important;
}

.small-images img{
   height: 100%;
   width: 100%;
   object-fit: contain;
}

.full-product{
    gap: 100px;
}

.full-product p{
    font-size: 15px !important;
    font-weight: 300 !important;
}

.full-product h2{
 justify-self: start;
 align-self: start;
 border-bottom: 1px solid #ebedee;
 width: 100%;
 padding-bottom: 15px;
}

.full-product-info{
    flex: 1 1 300px;
    flex-direction: column;
    gap: 30px;
    align-items: start;
    justify-content: start;
}

.full-product-info h2{
justify-self: start;
align-self: start;
border: none;
padding: 0;
font-weight: 700;
}

.product-description-container{
    flex-direction: column;
    gap: 25px;
}

#productDescription ul{
    padding-left: 10px;
}

.productAvailabilityContainer{
    gap: 10px;
}

#productPrice{
    font-size: 26px;
    font-weight: 600;
    color: black;
    display: none;
}

.full-product-info span{
    font-family: "Inter", sans-serif;
    font-weight: 300;
}

#productAvailability{
    color: var(--defaultColor);
    font-weight: 700;
    font-size: 16px;
    font-family: "Inter", sans-serif;
}

.line{
    width: 100%;
    height: 2px;
    background-color: var(--secondColor);
}

.full-product table{
    border: none;
    margin-top: 25px;
}

.full-product table td{
    padding: 15px;
    font-family: "Inter", sans-serif;
}

.full-product table tr{
    padding: 15px;
}

.full-product table tr td:nth-child(even) {
    background-color: transparent;
}

.full-product table tr td:nth-child(odd) {
    background-color: var(--secondColor); /* Zde si dejte svou barvu */
}

.send-now{
    color: var(--defaultColor);
}

.send-later{
    color: red;
}

.product-contact-info{
    background-color: var(--secondColor);
    padding: 40px;
    width: 100%;
}


.quick-info-container{
    flex-direction: column;
    gap: 15px;
    justify-content: start;
    align-items: start;
    width: 100%;
}

.quick-info{
    gap: 15px;
    width: 100%;
    justify-content: start;
    align-items: center;
    background-color: var(--secondColor);
    padding: 15px;
}

.quick-info img{
    height: 30px;
    width: 30px;
}

.material-symbols-outlined{
    font-size: 35px !important;
    color: var(--defaultColor);
}

.quick-info span{
    font-size: 14px;
    font-weight: 500;
}

/*MODAL*/
/* --- Modální okno styly zůstávají --- */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 85%; /* Trochu menší, aby bylo místo na šipky */
  max-height: 90vh;
  object-fit: contain;
  /* Animace při otevření */
  animation-name: zoom;
  animation-duration: 0.3s;
}

/* --- NOVÉ: Šipky vlevo a vpravo --- */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 100000;
}

/* Pozice šipek */
.next {
  right: 10px;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 10px;
  border-radius: 3px 0 0 3px;
}

/* Hover efekt na šipky */
.prev:hover, .next:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--defaultColor); /* Tvoje barva */
}

/* --- NOVÉ: Animace při přepnutí obrázku --- */
.fade-anim {
  animation-name: fade;
  animation-duration: 0.4s;
}

@keyframes fade {
  from {opacity: 0.4} 
  to {opacity: 1}
}

@keyframes zoom {
  from {transform:scale(0.8); opacity: 0;} 
  to {transform:scale(1); opacity: 1;}
}

/* --- KŘÍŽEK (ZAVŘÍT) - UPRAVENO --- */
.close-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #f1f1f1;
  font-size: 50px; /* Velký křížek */
  font-weight: bold;
  cursor: pointer;
  z-index: 100000; /* Musí být úplně nahoře */
  transition: 0.3s;
  
  /* Zvětšení klikací plochy pro lepší ovládání */
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* Jemné podbarvení, aby byl vidět i na světlém obr. */
  border-radius: 50%; 
}

.close-overlay:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.gdpr{
    max-width: var(--max-width);
    width: 100%;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 15px;
    margin: 0 auto;
    padding: 50px 0;
}

.gdpr ul{
    margin-left: 20px;
}

.gdpr h2{
    margin-top: 50px;
}

.gdpr h1{
    font-weight: 400;
}