body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 40px;
}

.cart a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
  position: relative;
}

.cart-count {
  background: #007BFF;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  right: -12px;
}

/* ===== OBSAH ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-image img {
  width: 50%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-details h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.description {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #555;
}

.variants {
  margin: 20px 0;
}

select {
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.price {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 20px 0;
}

.btn {
  background: #007BFF;
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background: #0056b3;
}

.nutrition {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.nutrition h2 {
  margin-bottom: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

table th {
  background: #f1f1f1;
}

@media (max-width: 768px) {
  .product-section {
    grid-template-columns: 1fr;
  }
}
footer.footer {
  display: flex;
  justify-content: space-between;
  gap: 40px; /* medzera medzi SK a EN */
  background-color: #f8f8f8; /* rovnaká farba ako okolo tabuľky */
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

footer.footer p {
  flex: 1; /* obidva odstavce budú rovnako široké */
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Na mobiloch sa zlomia pod seba */
@media (max-width: 768px) {
  footer.footer {
    flex-direction: column;
  }
}

.purchase-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  margin: 20px 0;
}

.variants, .quantity {
  display: flex;
  flex-direction: column;
}

.input-spinner {
  display: flex;
  align-items: center;
}

.input-spinner input[type="number"] {
  width: 60px;
  text-align: center;
  font-size: 1rem;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin: 0 5px;
}

.input-spinner button {
  background: #007BFF;
  color: #fff;
  border: none;
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.input-spinner button:hover {
  background: #0056b3;
}

.variants label,
.quantity label {
  margin-bottom: -25px; /* zmenšenie medzery pod nadpisom */
  font-weight: 500;
}

.variants select,
.input-spinner {
  margin-top: 0; /* odstránenie ďalšej medzery */
}

.purchase-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* menší gap medzi variantou a množstvom */
  align-items: flex-end;
  margin: 15px 0; /* menší margin nad a pod sekciou */
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
.topNav{
  position: fixed;
  top: 18px;
  left: 90%;
  width: 5%;
  height: 40px;
  border-radius: 15%;
  z-index: 5;
}
.topNav img{
  height: 90%;
  position: absolute;
  left: 20%;
}
.topNav p{
  height: 90%;
  position: absolute;
  left: 67.5%;
}
.kosikDetail {
	position: absolute;
  top: 40px;
  left: -350px;
	background: white;
	border: none;
	padding: 10px;
	z-index: 100;
  transition: opacity 0.7s ease;
  opacity: 0;
  width: 380px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: none;
}

.topNav:hover .kosikDetail {
  display: block;
  opacity: 1;
}
.submitButt{
  background-color: #007BFF;
  border: none;
  border-radius: 10px;
  padding: 5px;
  margin-top: 10px;
  color: white;
  transform: shadow 0.3s;
  cursor: pointer;
  width: 23.5%;
}
.submitButt:hover{
  background-color: #0056b3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}