* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 170px;
  color: #333;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.logo-img {
  height: 36px;
  margin-right: 10px;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  width: 100%;
  top: 0;
  margin-bottom: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.7);
  position: relative;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
}

.nav-list li {
  margin-left: 1.5rem;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-list li a:hover {
  color: #f0a500;
}

.hamburger {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.social-icons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-link img {
  filter: brightness(0);
  transition: transform 0.3s ease;
}

.social-link:hover img {
  transform: scale(1.2);
}

.social-link:hover {
  color: #f0a500;
}

.social-icons a,
.social-icons a:visited,
.social-icons a:active,
.social-icons a:focus {
  text-decoration: none;
  color: inherit;
  outline: none;
}

/* PRODUCT LIST */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product {
  border: 2px solid #814c19;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: transform 0.2s ease;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.product h3 {
  color: #4B2E05;
  font-size: 1.4rem;
  margin-bottom: 5px;
  text-align: center;
}

.product a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.new-badge {
  display: inline-block;
  margin-top: 5px;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 50px;
  animation: pulse 2s infinite;
  text-align: center;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ABOUT & CONTACT */
.about, .contact {
  padding: 4rem 2rem;
  text-align: center;
}

.about {
  background: #f9f9f9;
}

.about h2, .contact h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about p, .contact p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1rem auto;
}



/* FOOTER */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1.5rem 2rem;
  margin-top: 3rem;
}

/* Toggle przycisk (np. w menu) */
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 1rem;
  background-color: #f4f4f4;
  position: fixed;
  top: 75px; /* <-- 80 (header) + 40 (katalog) */
  left: 0;
  width: 100%;
  z-index: 998;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.toggle-category {
  position: fixed;
  top: 80px; /* <-- dokładnie pod headerem */
  left: 0;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin-right: 1rem;
  margin-top: 11px;
  background-color: #a7692b;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-category:hover {
  background-color: #c78145;
}

/* CATEGORY BUTTONS */

.category-buttons button {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  background: #814c19;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.category-buttons button:hover {
  background: #a7692b;
}

/* Startowe boxy z kategoriami */
.start-categories {
  display: flex;
  justify-content: center;
  padding: 4rem 1rem;
  background-color: #f4f4f4;
}

.start-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
}

.start-box {
  background-color: #814c19;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.start-box:hover {
  transform: scale(1.05);
  background-color: #a7692b;
}

.latest-teaser {
  background-color: #fff8f0;
  padding: 3rem 2rem;
  text-align: center;
}

.latest-teaser h2 {
  font-size: 2rem;
  color: #814c19;
  margin-bottom: 2rem;
}

.teaser-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: sticky;
    z-index: 1800;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    z-index: 1800;
  }

  #menu-toggle:checked ~ .nav-list {
    display: flex;
  }

  .nav-list li {
    margin: 1rem 0;
    text-align: center;
  }

  /* Katalog nad kategoriami */
  .toggle-category {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    text-align: left;
    border-radius: 0px;
    background-color: #814c19;
    font-size: 1.1rem;
    z-index: 1;
    margin-top: 82px;
  }

  /* Kategorie w kolumnie pod przyciskiem katalogu */
  .category-buttons {
    position: fixed;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    box-shadow: none;
    padding: 0.5rem;
    margin-top: 120px;
    z-index: 1;
  }

  .start-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 9px;
    width: 100%;
  }

  .category-buttons button, .start-box {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    background-color: #814c19;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    padding: 6px;
  }

  .start-box {
    gap: 5px;
  }

  .start-box:hover, .category-buttons button:hover {
  transform: scale(1.05);
  background-color: #a7692b;
  }

}