* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
}
/*Hero main*/

.hero-eshop {
  background: url("../IMG/hero-main.png") center/cover no-repeat;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin: 1rem 0;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn.primary {
  background: #ff4f00;
  color: white;
}

.btn.primary:hover {
  background: #cc3d00;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  color: white;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.4);
}
/*Konec Hero main*/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: #fff;
  padding: 0.5rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 90px;
}

.logo img {
  height: 120px;
  width: auto;
  display: block;
}

.main-nav ul.menu {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.main-nav ul.menu li {
  position: relative;
}

.main-nav ul.menu li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  transition: transform 0.4s ease; /* přidáno: plynulá změna */
}

.main-nav ul.menu li a:hover {
  transform: scale(1.1) ;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  background: #222;
  top: 100%;
  left: 0;
  list-style: none;
  min-width: 150px;
  z-index: 100;
}

.submenu li a {
  padding: 0.5rem 1rem;
}

#kosik img {
  width: 28px; 
  height: auto;
  vertical-align: middle;
  filter: brightness(0) invert(1); 
  transition: transform 0.3s ease;
}




#kosik {
  display: flex;
  align-items: center;
  padding: 0.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(to right, #f9f9f9, #eee);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.slide-in {
  animation: slideIn 1.2s ease-out forwards;
  transform: translateX(-100%);
  opacity: 0;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  margin-top: 1rem;
  background: #111;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #444;
}



.product {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
  transition: transform 0.3s;
}

.product:hover {
  transform: translateY(-5px);
}

.arrow-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0077cc;
  text-decoration: none;
  transition: transform 0.3s;
}

.arrow-link:hover {
  transform: translateX(5px);
}
.latest-products, .categories {
  padding: 2rem;
  text-align: center;
}
.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: #111;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  gap: 2rem;
}

.benefit {
  flex: 1 1 250px;
  max-width: 300px;
  padding: 1rem;
  background-color: #1a1a1a;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.benefit img {
  width: 100px;
  height: auto;
  margin-bottom: 1rem;
}

.benefit h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff6600;
}

.benefit p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}
.categories-modern-napis {
  font-size: 1.8rem;
font-weight: 600;
text-align: center;
background: linear-gradient(to right, #f6f6f6, #ffffff);
padding: 1rem 0;
border-top: 2px solid #eee;
border-bottom: 2px solid #eee;
color: #222;

}
.categories-modern {
  display: flex;
  flex-wrap: wrap;
  height: auto;
}

.category-tile {
  flex: 1 1 25%; /* 4 vedle sebe na velkých obrazovkách */
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;

}

.category-tile:hover .overlay {
  background: rgba(17, 17, 17, 0.7); /* zesílení při hoveru */
}

.category-tile .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: white;
}

.category-tile span {
  align-self: flex-start;
  margin-top: 1rem;
}

.category-tile a {
  align-self: flex-end;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid white;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.category-tile a:hover {
  color: #ff6600;
}

footer {
  background-color: #111;
  padding: 40px 0 20px;
  color: azure;
}

.obsah-paticky {
  display: flex;
  justify-content: space-around; 
  flex-wrap: wrap; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.sekce-paticky {
  flex: 1; 
  margin: 0 15px 20px; 
  min-width: 200px;
}

.sekce-paticky img {
  width: 50px;
  padding-right: 5px;
}

.sekce-paticky h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
}

.sekce-paticky ul {
  list-style: none;
  padding: 0;
}

.sekce-paticky ul li {
  margin-bottom: 8px;
}

.sekce-paticky a {
  color: white; 
  text-decoration: none;
  display: flex;
  align-items: center; /* Ikony a text zarovnané vedle sebe */
}

        

/* Styl hlavní sekce produktů */
.product-listing {
  background-color: #fff;
  padding: 3rem 0;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.product-listing h1, .product-listing h2 {
  text-align: center;
  color: #111;
  margin-bottom: 0; /* odstraní mezeru pod nadpisem */
  padding-top: 2rem;
  font-size: 2rem;
}

/* Pokud je potřeba mezera pouze pod h1, přidejte selektor: */
.product-listing h1 {
  margin-bottom: 2rem;
}

.product-list {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 2% 0;
}

/* Jednotlivý produkt */
.product {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 20%;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.product img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  height: auto;
}

.product h3 {
  font-size: 1.1rem;
  color: #222;
  margin: 0.5rem 0;
}

.product p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.product .btn {
  display: inline-block;
  background-color: #ff4f00;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.product .btn:hover {
  background-color: #cc3d00;
}

.product-detail {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  gap: 2rem;
}
.product-gallery {
  flex: 1;
  min-width: 300px;
}
.product-gallery .thumbnails {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.product-gallery .thumbnails img {
  width: 60px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
}
.product-gallery .thumbnails img.active {
  border-color: #000;
}
.product-info {
  flex: 1;
  min-width: 300px;
}
.price {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 1rem 0 0.3rem;
}
.vat-note {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
}
.purchase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}
.purchase-row select,
.purchase-row button {
  height: 45px;
}
.size-select {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  min-width: 250px;
  flex: 1;
}
.btn1 {
  background-color: black;
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
}
.accordion {
  margin-top: 2rem;
}
.accordion-section {
  margin-bottom: 1rem;
}
.accordion-section button {
  width: 100%;
  background: #eee;
  border: none;
  padding: 1rem;
  text-align: left;
  font-weight: bold;
  cursor: pointer;
}
.accordion-section .content {
  display: none;
  background: #f9f9f9;
  padding: 2rem;
  border: 1px solid #ddd;
}
.cart-container {
      width: 100%;
      padding: 2rem 1rem;
      display: flex;
      flex-direction: column;
      align-items: center;    
      background-color: #111;
      color: #333;
    }


    .cart-item,
    .cart-summary {
      width: 100%;
      max-width: 1500px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
      margin-bottom: 1.5rem;
      padding: 1.5rem;
    }

    .cart-item {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .cart-item img {
      width: 100px;
      height: auto;
      border-radius: 6px;
      object-fit: cover;
    }

    .item-info {
      flex: 2;
    }

    .item-info h3 {
      margin: 0;
      font-size: 1.2rem;
    }

    .item-info p {
      margin: 0.4rem 0;
      color: #666;
    }

    .price {
      font-weight: bold;
      font-size: 1.1rem;
      color: #000;
    }

    .vat-note {
      font-size: 0.9rem;
      color: #999;
    }

    .item-controls {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .quantity-controls {
      display: flex;
      align-items: center;
      border: 1px solid #ccc;
      border-radius: 5px;
      overflow: hidden;
    }

    .quantity-controls button {
      background: #222;
      color: white;
      padding: 0.4rem 0.9rem;
      border: none;
      cursor: pointer;
      font-size: 1rem;
    }

    .quantity-controls span {
      padding: 0 0.8rem;
      font-weight: bold;
    }

    .remove {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
    }

    .remove img {
      width: 20px;
    }

    .cart-summary .promo-code {
      display: flex;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .promo-code input {
      flex: 1;
      padding: 0.6rem;
      border-radius: 4px;
      border: 1px solid #ccc;
    }

    .promo-code button {
      padding: 0.6rem 1rem;
      border-radius: 4px;
      border: none;
      background: #222;
      color: white;
      cursor: pointer;
    }

    .summary-line {
      display: flex;
      justify-content: space-between;
      margin: 0.8rem 0;
      font-size: 1rem;
    }

    .checkout-btn {
      margin-top: 1.5rem;
      background-color: #ff4f00;
      color: white;
      padding: 1rem;
      text-align: center;
      font-weight: bold;
      border: none;
      width: 100%;
      border-radius: 6px;
      cursor: pointer;
      font-size: 1rem;
      text-decoration: none;
      display: block;
    }

  .checkout-container {
    background-color: #111;
      max-width: 800px;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .checkout-form,
    .checkout-summary {
      background: #fff;
      color: #000;
      border-radius: 10px;
      padding: 2rem;
      flex: 1;
      min-width: 300px;

    }

    .checkout-form h3,
    .checkout-summary h3 {
      margin-top: 0;
    }

    .checkout-form input,
    .checkout-form textarea,
    .checkout-form select {
      width: 100%;
      padding: 0.8rem;
      margin: 0.5rem 0 1rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
    }

    .summary-line {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 0.3rem 0;
    }

    .summary-line span:first-child,
    .summary-line strong:first-child {
      text-align: left;
    }

    .summary-line span:last-child,
    .summary-line strong:last-child {
      text-align: right;
      margin-left: 2rem;
    }

    .inline-checkbox {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      margin-bottom: 1rem;
      font-size: 0.95rem;
    }

    .inline-checkbox input {
      width: auto;
    }

    .checkout-summary .summary-block {
      margin-bottom: 1.5rem;
    }

    .checkout-summary .summary-line {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 0.3rem 0;
    }

    .btn-submit {
      background-color: #ff4f00;
      color: white;
      border: none;
      padding: 1rem;
      font-size: 1rem;
      font-weight: bold;
      border-radius: 6px;
      width: 100%;
      cursor: pointer;
      text-decoration: none;
      display: block;
    }

  .pozadi {
  background-color: #111;
  min-height: 100vh;
  padding: 2rem 0;
}
     #kalhoty,#boty,#napis {
      background-color: #111;
      color: #fff;
  }
  @media (max-width: 768px) {

    .main-nav ul.menu {
      display: flex;
      flex-direction: column;
      background: #111;
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 100%;
      padding-top: 5rem;
      justify-content: space-evenly;
      align-items: center;
      transform: translateY(-100%);
      transition: transform 0.5s ease;
      z-index: 999;
      font-size: 2.5em;
    }
    .main-nav ul.menu.open {
      transform: translateY(0);
    }
  
    .hamburger {
      display: flex;
      position: relative;
      z-index: 1001; /* nad menu */
    }
    .logo {
      z-index: 1002; /* vyšší než menu */
      position: relative;
    }
    #kosik img {
      width: 60px;
    }
    .category-tile {
      flex: 1 1 100%;
    }
         .checkout-form {
      border-radius: 0px;
     }
      #boty{
      margin-bottom: 0;
    }

   
  .product-list {
    flex-direction: column;
    align-items: center;}

  .product {
    width: 90%;
    margin-bottom: 2rem;}
  }