/* =========================================
   RESET + ZMIENNE (PALETA NATURALNE EKO)
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #f4efe7;
  --secondary-color: #e8e1d6;
  --accent-color: #c19a6b;
  --accent-dark: #a67c52;
  --olive: #a3b18a;
  --text-color: #3a3a3a;
  --text-muted: #6b6b6b;
  --shadow-color: rgba(0,0,0,0.15);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --font-family: 'Poppins', sans-serif;
}

/* =========================================
   PODSTAWY
========================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   LINKI (nie psuj przycisków i elementów JS)
========================================= */
a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  color: var(--olive);
}

/* animowane podkreślenie TYLKO dla zwykłych linków w treści */
a:not(.button):not(.button-outline):not(.mini-cart-link) {
  position: relative;
}
a:not(.button):not(.button-outline):not(.mini-cart-link)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: var(--accent-dark);
  transition: width 0.25s ease, left 0.25s ease;
}
a:not(.button):not(.button-outline):not(.mini-cart-link):hover::after {
  width: 100%;
  left: 0;
}

/* =========================================
   HEADER
========================================= */
.header {
  background-color: var(--primary-color);
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px var(--shadow-color);
}

.header .container,
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 65px;
}

.logo a {
  color: var(--accent-dark);
  font-size: 1.6em;
  font-weight: 700;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-list a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  padding: 10px 15px;
  border: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  background: none;
  cursor: pointer;
  border-radius: 6px;
}

/* =========================================
   MAIN OFFSET
========================================= */
main {
  padding-top: 65px;
}

/* =========================================
   BUTTONS
========================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button-outline {
  background: transparent;
  color: var(--accent-dark);
  border: 2px solid var(--accent-dark);
}

.button-outline:hover {
  background-color: var(--accent-dark);
  color: white;
}

/* ================================
   HERO – STABILNA WERSJA (FIX)
================================ */

/* kontener hero */
.hero-section {
  position: relative;
  min-height: 55vh;
  overflow: hidden;
  background-color: var(--secondary-color);
}

/* slajd = pełny kontener */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;   /* tekst na dole */
  justify-content: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* overlay */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0)
  );
  z-index: 0;
}

/* CONTENT – JUŻ NIE ABSOLUTE */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 32px 20px 40px;
  text-align: center;
  color: #ffffff;
}

/* tekst */
.hero-content h1,
.hero-content h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 10px;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.95);
}

/* CTA */
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* przyciski czytelne */
.hero-actions .button {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.hero-actions .button:hover {
  background: var(--accent-color);
  color: #fff;
}

.hero-actions .button-outline {
  background: rgba(0,0,0,0.35);
  border-color: #fff;
  color: #fff;
}

.hero-actions .button-outline:hover {
  background: #fff;
  color: var(--accent-dark);
}

/* strzałki */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* dots */
.slider-dots {
  z-index: 3;
}

/* MOBILE */
@media (max-width: 600px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-content {
    padding-bottom: 28px;
  }
}

/* =========================================
   SEKCJE Z TEKSTURĄ (ważne: nie blokuj kliknięć)
========================================= */
.section-texture {
  position: relative;
  background-color: var(--secondary-color);
}

.section-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;     /* kluczowe: NIE blokuje kliknięć */
  z-index: 0;
}

/* Wszystko w sekcji nad teksturą */
.section-texture > .container,
.section-texture > * {
  position: relative;
  z-index: 1;
}

/* =========================================
   "DLACZEGO" (nowa sekcja na home)
========================================= */
.why-section {
  padding: 80px 20px;
  text-align: center;
}

.section-lead {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--text-muted);
  font-size: 1.05em;
}

.why-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.why-card {
  background-color: var(--primary-color);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: 0 6px 20px var(--shadow-color);
  text-align: center;
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.why-card h3 {
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95em;
}

/* =========================================
   PRODUKTY
========================================= */
.products-section {
  padding: 70px 20px;
  background-color: var(--secondary-color);
}

.products-section h2 {
  text-align: center;
  font-size: 2.6em;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  margin-top: 26px;
}

.product-card {
  background-color: var(--primary-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 10px var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px var(--shadow-color);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-card h3 {
  margin: 15px 0 10px;
  color: var(--accent-dark);
  padding: 0 12px;
}

.product-card p {
  padding: 0 15px;
  font-size: 0.95em;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.product-price {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--olive);
  margin-bottom: 12px;
}

.products-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   JAK POWSTAJE PLECAK
========================================= */
.process-section {
  padding: 80px 20px;
  text-align: center;
}

.process-section h2 {
  font-size: 2.6em;
  margin-bottom: 15px;
  color: var(--accent-dark);
}

.process-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 1.05em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  background-color: var(--primary-color);
  border-radius: var(--radius-md);
  padding: 25px 20px;
  box-shadow: 0 6px 20px var(--shadow-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.process-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 1.15em;
  color: var(--accent-dark);
  min-height: 44px; /* wyrównanie wysokości tytułów */
}

.process-step p {
  font-size: 0.98em;
  line-height: 1.6;
  color: var(--text-color);
}

/* =========================================
   DLACZEGO ZERO WASTE
========================================= */
.zerowaste-section {
  padding: 80px 20px;
}

.zerowaste-container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: center;
}

.zerowaste-text h2 {
  font-size: 2.6em;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

.zerowaste-text p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.zerowaste-facts {
  display: grid;
  gap: 18px;
}

.fact-box {
  background-color: var(--primary-color);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px var(--shadow-color);
}

.fact-number {
  display: block;
  font-size: 1.6em;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 5px;
}

.fact-label {
  display: block;
  font-size: 0.95em;
}

/* =========================================
   STORY / O MARCE (nowa sekcja home)
========================================= */
.story-section {
  padding: 80px 20px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.story-text h2 {
  margin-bottom: 10px;
}

.story-text p {
  color: var(--text-color);
  margin-bottom: 16px;
}

.story-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.story-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px var(--shadow-color);
}

/* =========================================
   FAQ (nowa sekcja home)
========================================= */
.faq-section {
  padding: 80px 20px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 16px;
}

.faq-item {
  max-width: 820px;
  margin: 12px auto 0;
  background: var(--primary-color);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px var(--shadow-color);
  padding: 14px 16px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--accent-dark);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 10px;
  color: var(--text-muted);
}

/* =========================================
   MINI KOSZYK — EKO + ANIMACJE (JS safe)
========================================= */
.mini-cart {
  position: relative;
  margin-left: 20px;
}

.mini-cart-button {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  position: relative;
  color: var(--accent-dark);
}

.mini-cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--accent-color);
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  transform: scale(1);
  transition: transform 0.2s ease;
}

.mini-cart-count.bump {
  transform: scale(1.3);
}

.mini-cart-panel {
  position: absolute;
  right: 0;
  top: 45px;
  width: 280px;
  background: var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow-color);
  padding: 15px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.mini-cart-panel h4 {
  margin: 0 0 10px;
  color: var(--accent-dark);
  text-align: center;
}

.mini-cart-items {
  list-style: none;
  padding: 6px 0 0; /* poprawka ucinania pierwszego */
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

.mini-cart-items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
}

.mini-cart-total {
  font-weight: bold;
  text-align: right;
  margin-top: 10px;
}

.mini-cart-link {
  display: block;
  margin-top: 10px;
  text-align: center;
  padding: 10px;
  background: var(--accent-color);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.mini-cart-link:hover {
  background: var(--accent-dark);
}

/* zamknięcie panelu */
.mini-cart-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.mini-cart-close:hover {
  opacity: 1;
}

/* =========================================
   MODAL — EKO
========================================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 5000;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--primary-color);
  padding: 35px;
  border-radius: 14px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  position: relative;
  transform: translateY(-18px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: var(--accent-dark);
  font-size: 1.8em;
  text-align: center;
}

.modal-content label {
  font-weight: 600;
  color: var(--accent-dark);
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cfc7bb;
  background: #faf7f2;
  color: var(--text-color);
  margin-bottom: 15px;
  font-size: 1em;
}

.modal-content textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-content button[type="submit"] {
  width: 100%;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: var(--accent-dark);
  cursor: pointer;
}

/* =========================================
   LIGHTBOX
========================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 5000;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.close-lightbox {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 2.5rem;
  color: var(--accent-dark);
  cursor: pointer;
  z-index: 10;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: var(--accent-dark);
  border: none;
  padding: 12px 18px;
  font-size: 2.2rem;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.35);
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* =========================================
   COOKIE BANNER
========================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--accent-dark);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 6000;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background-color: var(--primary-color);
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid var(--secondary-color);
}

/* =========================================
   CONTACT FORM (eko styl)
========================================= */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background-color: var(--secondary-color);
  min-height: calc(100vh - 120px);
}

.contact-form {
  background-color: var(--primary-color);
  padding: 35px;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 6px 20px var(--shadow-color);
}

.contact-form label {
  font-weight: 600;
  color: var(--accent-dark);
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #cfc7bb;
  background: #faf7f2;
  color: var(--text-color);
  font-size: 1em;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* =========================================
   GALERIA REALIZACJI — styl eko
   (ważne: nie psuć klików/hoverów)
========================================= */
.gallery-section {
  padding: 80px 20px;
  background-color: var(--secondary-color);
  text-align: center;
  position: relative;
  z-index: 1;
}

.gallery-section h2 {
  font-size: 2.6em;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

.gallery-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: var(--text-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1;
}

.gallery-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px var(--shadow-color);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

/* =========================================
   KOSZYK — layout (jeśli używasz koszyk.html)
========================================= */
.cart-page h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: 600;
}

#cart-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}

.cart-row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cart-row img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-row button.remove-item {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.cart-row button.remove-item:hover {
  background: #d93636;
}

.cart-summary {
  margin-top: 30px;
  padding: 20px;
  background: #fafafa;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

body.koszyk-page {
  padding-top: 120px;
}

.fly-img {
  position: fixed;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

/* =========================================
   MEDIA QUERIES
========================================= */
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; }
  .zerowaste-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    text-align: center;
  }
  .nav-list.active { display: flex; }
  .menu-toggle { display: block; }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }

  .cart-row {
    grid-template-columns: 60px 1fr auto;
    grid-template-areas:
      "img title remove"
      "img price remove";
  }
}

@media (max-width: 480px) {
  .header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
  }

  .logo a {
    font-size: clamp(18px, 6vw, 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mini-cart { justify-self: end; }

  .mini-cart-panel {
    right: 0;
    width: 320px;
    max-width: 90vw;
  }
}
/* === HERO FIX: klikalność CTA === */
.hero-section,
.hero-slide,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-slide::after {
  z-index: 1;
}

/* upewniamy się, że CTA jest NAD overlayem */
.hero-actions,
.hero-actions a,
.hero-actions button {
  position: relative;
  z-index: 3;
  pointer-events: auto;
}
/* === HERO CTA – kontrast === */
.hero-actions .button {
  background-color: #ffffff;
  color: var(--accent-dark);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.hero-actions .button:hover {
  background-color: var(--accent-color);
  color: #ffffff;
}

.hero-actions .button-outline {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
}

.hero-actions .button-outline:hover {
  background: #ffffff;
  color: var(--accent-dark);
}
/* === PRODUKTY: wyrównanie przycisków === */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .product-price {
  margin-top: auto; /* spycha dół karty */
}

.product-card .add-to-cart {
  margin: 12px 16px 18px;
}
/* ================================
   HERO SLIDER – FIX STACKING
================================ */

/* wszystkie slajdy są absolutne i niewidoczne */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

/* TYLKO aktywny slajd */
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

/* kontener hero musi być kontekstem */
.hero-section {
  position: relative;
  overflow: hidden;
}
/* ============================
   O MNIE – FINALNY LAYOUT
   (dopasowany 1:1 do HTML)
============================ */

.about-section {
  padding: 90px 20px;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
}

.about-wrapper {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

/* TEKST */
.about-text {
  background-color: var(--primary-color);
  padding: 48px 44px;
  border-radius: 18px;
  box-shadow: 0 10px 30px var(--shadow-color);
  font-size: 1.1em;
  line-height: 1.85;
}

.about-text h2 {
  font-size: 2.6em;
  margin-bottom: 26px;
  color: var(--accent-dark);
}

.about-text .lead {
  font-size: 1.15em;
  margin-bottom: 22px;
  color: var(--text-color);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-text .signature {
  margin-top: 28px;
  font-weight: 600;
  font-size: 1.1em;
}

/* ZDJĘCIA */
.about-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.about-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
}

.about-photos img:hover {
  transform: scale(1.03);
}

/* TABLET */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 520px) {
  .about-text {
    padding: 32px 26px;
    font-size: 1.05em;
  }

  .about-text h2 {
    font-size: 2.2em;
  }

  .about-photos {
    grid-template-columns: 1fr;
  }

  .about-photos img {
    height: 180px;
  }
}
/* ============================
   KONTAKT – PRZYCISK WYŚLIJ
   (działa też po disabled=true)
============================ */

.contact-form button[type="submit"],
.contact-section button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 22px;

  background-color: var(--accent-color);
  color: #ffffff;

  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1em;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

/* hover – tylko gdy aktywny */
.contact-form button[type="submit"]:not(:disabled):hover,
.contact-section button[type="submit"]:not(:disabled):hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
}

/* klik */
.contact-form button[type="submit"]:active,
.contact-section button[type="submit"]:active {
  transform: translateY(0);
}

/* STAN PO KLIKNIĘCIU (disabled) */
.contact-form button[type="submit"]:disabled,
.contact-section button[type="submit"]:disabled {
  background-color: var(--accent-dark);
  opacity: 0.65;
  cursor: not-allowed;
}
/* ============================
   HERO – WYŁĄCZENIE STRZAŁEK
============================ */

.hero-section .slider-arrow {
  display: none !important;
}
/* Jak powstaje – delikatne wyróżnienie nagłówka */
.process-section h1 {
  font-size: 2.6em;
  margin-bottom: 20px;
  color: var(--accent-dark);
}
.zerowaste-section {
  padding-top: 0;
}
