/* menu v hlavičce*/

.subheadmenu {
	display: flex;
	flex-wrap: wrap;
	margin-top: 10px;
	width:100%;
	background-color: rgb(234, 234, 234, 1);
	border-radius: 3px;
	justify-content: center;
	}

.subheadmenuitem {
	box-sizing: border-box;
	width:33%;
	min-width: 220px;
	text-align: center;
	padding:5px;
	}

.subheadmenuitem a:link {
	color: rgba(117, 117, 117, 1);
	}	

.subheadmenuitem a:visited {
	color: rgba(117, 117, 117, 1);
	}	



/* popis produktu - galerie + ceník*/

.productdescription {
	display: flex;
	flex-wrap: wrap;
	width:100%;
	}

.proddescgall {
	box-sizing: border-box;
	width:60%;
	text-align: center;
	}

.proddesc {
	box-sizing: border-box;
	width: 40%;
	min-width: 250px;
	text-align: left;
	}

.proddesc a:link {
	color: black;
	}

.proddesc a:hover {
	color: black;
	}
    
.proddesc a:visited {
	color: black;
	}   


.fulldesc {
	width: 100%; 
	text-align: justify; 
	margin:auto;
	}

.fulldescimg {
	width: 50%; 
	margin:auto;
	text-align: center;
	}

h3 {
	font-size: 19px; 
	}

p {
	font-size: 15px; 
	}

/* popis produktu - galerie */

.gallery {
      max-width: 94%;
      margin: auto;
      object-fit: contain;
    }

    .main-image {
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 5px;
      cursor: pointer;
      text-align: center;
      object-fit: contain;
     transition: opacity 0.3s ease-in-out;
    }

    .thumbnails {
      display: flex;
      gap: 5px;
      justify-content: center;
      margin-top: 5px;
    }

    .thumbnails img {
      width: 12%;
      height: auto;
      object-fit: cover;
      border: 1px solid black;
      border-radius: 4px;
      cursor: pointer;
      transition: border 0.1s;
    }

    .thumbnails img:hover,
    .thumbnails img.active {
      border: 1px solid red;
    }

    /* Modal (lightbox) */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.8);
    }

    .modal-content {
      margin: 50px auto;
      padding: 20px;
      background-color: white;
      border-radius: 10px;
      max-width: 800px;
      position: relative;
      text-align: center;
    }

    .modal-image {
      width: 100%;
      max-height: 500px;
      object-fit: contain;
      margin-bottom: 15px;
    }

    .modal .thumbnails {
      justify-content: center;
      flex-wrap: wrap;
    }

    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
      color: #333;
    }

    .close:hover {
      color: red;
    }

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  font-weight: bold;
  color: #333;
  background-color: rgba(255,255,255,0.6);
  padding: 7px;
  border-radius: 10%;
  cursor: pointer;
  z-index: 10;
  user-select: none;
}

.arrow:hover {
  background-color: rgba(255,255,255,0.9);
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}	

@media (max-width: 1000px) {
	   
	}



/* úvodní stránka - nejmenší možné mobilní zobrazení */

@media (max-width: 720px) {
	.subheadmenuitem {
		width:50%;
		min-width: 205px;
		}		
	
	.proddescgall {
		width:100%;
		}	
	
	.proddesc {
		width:100%;
		margin-top: 5px;
		}		
	
	.fulldesc {
		width: 100%; 
		}
	
	.fulldescimg {
		width: 100%; 
		}

	.subheadmenuitem {
		padding: 0px;
		}		
	
	.gallery {
      		max-width: 100%;
      		}
	h3 {
		font-size: 13px; 
		}
	}
    




