:root {
    /* Kolory */
    --primary-color: #5C4033; /* Ciemny brąz (nawiązanie do drewna) */
    --secondary-color: #FFD700; /* Żółty (złoty) jako akcent */
    --background-color: #f4f4f4; /* Tło strony */
    --text-color: #333; /* Kolor tekstu */
    --light-text-color: #ecf0f1; /* Jasny tekst na ciemnym tle */
    --footer-bg-color: #4B3621; /* Ciemny brąz dla stopki */
    --header-bg-color: #5C4033; /* Ciemny brąz dla nagłówka */
    --cta-bg-color: #FFD700; /* Żółty tło dla sekcji CTA */

    /* Typografia */
    --font-family: 'Roboto', sans-serif;
    --font-size-small: 14px;
    --font-size-medium: 16px;
    --font-size-large: 20px;

    /* Odstępy */
    --spacing-small: 8px;
    --spacing-medium: 16px;
    --spacing-large: 24px;

    /* Inne */
    --border-radius: 8px;

}

/* Reset domyślnych stylów przeglądarki */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}
/* Nagłówek */
header {
    position: relative;
    height: 400px; /* Zwiększona wysokość dla efektu paralaksy */
    background: url('/images/header/splash2.webp') no-repeat center center/cover;
    background-attachment: fixed; /* Efekt paralaksy */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-shadow: 1px 1px 2px black;
    overflow: hidden;
    border-bottom: var(--spacing-large);
    border-bottom: 5px solid var(--secondary-color) ;
}




.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: auto;
    animation: fadeIn 2s forwards, float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}



@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.cta-button {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    margin: var(--spacing-large);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-medium);
    color: var(--light-text-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

header p {
    font-size: 1.2rem;
    color: var(--light-text-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

/* Nawigacja */
nav {
    margin-top: var(--spacing-large);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: var(--spacing-medium);
    margin-top: var(--spacing-small);
    animation: fadeIn 1.5s ease-in-out;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: var(--font-size-medium);
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
}

nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsywność */
@media (max-width: 768px) {
    header {
        height: 300px;
        font-size: 1.5rem;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .logo {
        width: 80px;
    }

    nav ul {
        flex-direction: column;
        gap: var(--spacing-small);
    }
}
/* Sekcje */
section {
    padding: var(--spacing-large);
    background-color: rgba(255, 255, 255, 0.8);
    margin: var(--spacing-large);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}


/* Styl karty produktu */
.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    margin: 20px auto;

  }
  
/* Styl tytułu produktu */
.product-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color); /* Ciemny brąz */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-bottom: 10px;
    position: relative;
    display: block;
    margin: 0 auto 20px auto;
    width: fit-content; /* Dostosowanie szerokości do długości tytułu */
}
/* Podkreślenie – węższe i wycentrowane */
.product-title::after {
    content: "";
    width: 50%; /* Szerokość podkreślenia – możesz zmienić np. 40% */
    height: 4px;
    background: var(--secondary-color); /* Żółty pasek */
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%); /* Centrowanie podkreślenia */
    border-radius: 2px;
}

/* Responsywność - dostosowanie wielkości czcionki */
@media (max-width: 768px) {
    .product-title {
        font-size: 18px;
    }
    
    .product-title::after {
        width: 60%; /* Szersze podkreślenie na mniejszych ekranach */
    }
}


  /* Responsywność */
@media (max-width: 768px) {
    .product-card {
      padding: 15px;
    }
  
  }


/* Kontener na główne zdjęcie */
.product-image-container {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .product-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: opacity 0.3s ease-in-out; /* Animacja zmiany zdjęcia */
  }
  
  /* Kliknij, aby powiększyć */
  .click-info {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .click-info i {
    font-size: 16px;
  }
  
  /* Galeria miniatur */
  .product-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  
  .gallery-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.3s;
    opacity: 0.7;
  }
  
  .gallery-image:hover {
    transform: scale(1.1);
    opacity: 1;
  }
  
  /* Aktywnie zaznaczona miniatura */
  .active-thumb {
    border: 3px solid #c9a227; /* Żółty */
    opacity: 1;
  }
  
  /* Responsywność */
  @media (max-width: 768px) {
    .gallery-image {
      width: 50px;
      height: 50px;
    }
  }
  


.product-details {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-family: 'Roboto', sans-serif;
  }
  
  .detail-section {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }
  
  .detail-section:last-child {
    border-bottom: none;
  }
  
  .detail-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
  }
  
  .detail-section h3 i {
    margin-right: 8px;
    color: #c9a227; /* Żółty */
  }
  
  .detail-section p {
    font-size: 16px;
    color: #555;
    margin: 0;
  }
  
  .detail-section ul {
    list-style: none; /* Usunięcie domyślnych kropek */
    padding-left: 0;
  }
  
  .detail-section ul li {
    font-size: 16px;
    color: #444;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
  }
  
  .detail-section ul li i {
    margin-right: 8px;
    color: #8b5e3b; /* Brązowy */
  }
  
  .product-info {
    background: #fefaf3;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-family: 'Roboto', sans-serif;
  }
  
  .product-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .product-info h3 i {
    margin-right: 8px;
    color: #c9a227; /* Żółty */
  }
  
  .product-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .product-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #444;
  }
  
  .product-table tr:last-child td {
    border-bottom: none;
  }
  
  /* Pierwsza kolumna (nazwa parametru + ikona) */
  .product-table td:first-child {
    font-weight: bold;
    color: #8b5e3b; /* Brązowy */
    display: flex;
    align-items: center;
    gap: 10px;
    width: 90%;
    justify-content: center;
  }
  
  /* Druga kolumna (wartość parametru) */
  .product-table td:last-child {
    width: 70%;
    text-align: center;
    color: #555;
  }
  
  .product-table i {
    color: #c9a227;
    font-size: 18px;
    flex-shrink: 0;
  }
  
  
  
  /* Responsywność */
@media (max-width: 768px) {
  .product-table td {
    font-size: 14px;
    padding: 10px 8px;
  }

  .product-table td:first-child { /* Etykieta */
    display: block; 
    width: 100%;    
    border-bottom: none; 
    padding-bottom: 4px; 
    font-weight: bold; /* Utrzymanie pogrubienia dla etykiety */
    color: #8b5e3b;
    /* display: flex; align-items: center; gap: 8px; -- jeśli ikona i tekst mają być w jednej linii */
  }
  
  .product-table td:first-child .fas { /* Dodatkowe style dla ikony w etykiecie */
    margin-right: 8px; 
    color: #c9a227; /* Utrzymanie koloru ikony */
  }

  .product-table td:last-child { /* Wartość */
    display: block; 
    width: 100%;    
    padding-top: 4px; 
    padding-left: 25px; /* Wcięcie dla wartości, aby była pod tekstem etykiety (za ikoną) */
    border-bottom: 1px solid #ddd; 
    color: #555;
  }
  
  .product-table tr:last-child td:last-child {
      border-bottom: none;
  }

  .product-table i {
    font-size: 16px;
  }
}


@media (max-width: 480px) {
    .product-table td {
        font-size: 14px;
        padding: 6px;
    }

    .product-table td:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .product-table td:last-child {
        text-align: left;
    }

    .product-table i {
        font-size: 14px;
    }
}


  
  /* Przycisk „Zadaj pytanie” wyśrodkowany */
  .btn-contact {
    background: var(--cta-bg-color);
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center; /* Wycentrowanie tekstu w przycisku */
    gap: 8px;
    margin: 20px auto 0 auto; /* Wyśrodkowanie przycisku */
    width: fit-content; /* Dopasowanie szerokości do treści */
  }
  
  /* Responsywność dla ekranów o szerokości mniejszej niż 768px */
@media (max-width: 768px) {
    .btn-contact {
      padding: 10px 16px; /* Mniejszy padding */
      font-size: 16px; /* Mniejsza czcionka */
      gap: 6px; /* Mniejszy odstęp między ikoną a tekstem */
    }
  }
  
  /* Responsywność dla ekranów o szerokości mniejszej niż 480px */
  @media (max-width: 480px) {
    .btn-contact {
      padding: 8px 12px; /* Jeszcze mniejszy padding */
      font-size: 14px; /* Jeszcze mniejsza czcionka */
      gap: 4px; /* Minimalny odstęp */
      width: 100%; /* Pełna szerokość na bardzo małych ekranach */
      text-align: center; /* Wycentrowanie tekstu */
    }
  }
  /* Ikona na przycisku */
  .btn-contact i {
    font-size: 16px;
    color: var(--primary-color);
  }
  
  /* Efekt hover dla przycisku */
  .btn-contact:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
  }
  

/* Utrzymanie widoczności ikony po najechaniu */
.btn-contact:hover i {
    color: var(--secondary-color); /* Żółta ikona koperty */
  }
 
  

  
.no-scroll {
    overflow: hidden;
}

/* Przycisk powrotu do góry */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    transform: scale(0);
}

.scroll-to-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.scroll-to-top:hover {
    background-color: rgba(255, 204, 0, 0.8);
}

/* Galeria zdjęć */
.product-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ccc;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    border-color: var(--secondary-color);
}

.contact-form.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.contact-form {
    background-color: #fff; /* Przywrócone tło */
    color: var(--text-color); /* Przywrócony kolor tekstu */
    padding: var(--spacing-large);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 800px;
    margin: 0 auto;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: var(--spacing-medium);
}


.contact-form h2 {
    font-size: var(--font-size-large);
    color: var(--primary-color);
    margin-bottom: var(--spacing-medium);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-medium);
    margin-bottom: var(--spacing-small);
    text-align: left;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: var(--spacing-medium);
    font-size: var(--font-size-medium);
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.contact-form button.btn-submit {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-medium);
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button.btn-submit:hover {
    background-color: var(--primary-color);
}

.fullscreen-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;      /* użyj 100vw, aby mieć pewność pełnej szerokości */
    height: 100vh;     /* zamiast 100%, aby mieć pewność pełnej wysokości widoku */
    background-color: rgba(0, 0, 0, 0.9);
    display: none;     /* domyślnie ukryte */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 0;        /* usuń padding, bo potrafi przesunąć obraz w dół */
    margin: 0;
  }
  
  

  .fullscreen-image {
    all: unset; /* Resetowanie stylów */
    display: block;
    max-width: 95%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin: auto;
  }
/* Przycisk zamykania pełnego ekranu */
.close-fullscreen {
    position: absolute;
    top: var(--spacing-small);
    right: var(--spacing-medium);
    font-size: 30px;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* Efekt hover na przycisku zamykania */
.close-fullscreen:hover {
    background-color: #ffcc00cc; /* Żółty kolor z przezroczystością */
}

/* Strzałki nawigacyjne */
.nav-arrow {
    position: absolute; /* Pozycjonowanie absolutne */
    top: 50%; /* Wyśrodkuj w pionie */
    transform: translateY(-50%); /* Dokładne wyśrodkowanie */
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    transition: background-color 0.3s ease;
}

/* Strzałka "Poprzednie zdjęcie" */
.nav-arrow#prevImage {
    left: 5vw; /* Odstęp jako procent szerokości ekranu */
}

/* Strzałka "Następne zdjęcie" */
.nav-arrow#nextImage {
    right: 5vw; /* Odstęp jako procent szerokości ekranu */
}

/* Efekt hover na strzałkach */
.nav-arrow:hover {
    background-color: #ffcc00cc; /* Żółty kolor z przezroczystością */
}

/* Licznik zdjęć */
.image-counter {
    position: absolute;
    bottom: 10px; /* Zmniejszony dystans do dolnej krawędzi */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px 15px;
    border-radius: 5px;
    z-index: 10; /* Upewnienie się, że licznik nie zniknie pod obrazem */
}


/* Krótki opis strony */
.short-description {
    background-color: var(--background-color);
    padding: var(--spacing-medium);
    margin-bottom: var(--spacing-large);
    text-align: center;
    font-size: var(--font-size-medium);
    color: var(--text-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin-top: var(--spacing-large);
    margin-left: auto; /* Dodaj to */
    margin-right: auto; /* Dodaj to */
}

.short-description p {
    margin: 0;
    line-height: 1.6;
}

/* Kontener dla ikony i tekstu */
.click-info {
    position: absolute;
    bottom: 20px; /* Odstęp od dołu kontenera */
    left: 50%; /* Wyśrodkuj w poziomie */
    transform: translateX(-50%); /* Dokładne wyśrodkowanie */
    background-color: rgba(0, 0, 0, 0.7); /* Półprzezroczyste tło */
    color: white; /* Kolor tekstu */
    padding: 10px 20px; /* Odstępy wewnętrzne */
    border-radius: 25px; /* Zaokrąglone rogi */
    font-size: 16px; /* Rozmiar czcionki */
    display: flex; /* Flexbox do wyśrodkowania ikony i tekstu */
    align-items: center; /* Wyśrodkuj w pionie */
    gap: 10px; /* Odstęp między ikoną a tekstem */
    cursor: pointer; /* Kursor wskazujący */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Animacja */
    user-select: none; /* Zapobiega zaznaczaniu tekstu */
    z-index: 10; /* Upewnij się, że jest na wierzchu */
}


.click-info:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateX(-50%) scale(1.05);
}

.click-info i {
    font-size: 18px;
    color: var(--secondary-color);
}

.click-info span {
    font-size: 14px;
    font-weight: bold;
}

::selection {
    background-color: #ffcc00;
    color: black; /* Optional: Change text color when selected */
}


#menu-toggle {
    display: none; /* Ukryj przycisk domyślnie */
}
@media (max-width: 768px) {

  #menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    /* Używamy przezroczystej wersji koloru podstawowego */
    background-color: rgba(92, 64, 51, 0.1); /* #5C4033 z 80% opacity */
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    border-radius: 25px;
    margin: 20px auto;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    /* Efekt glass - rozmycie tła */
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  
  #menu-toggle:hover {
    /* Podmieniamy kolor tła na przezroczystą wersję koloru akcentowego */
    background-color: rgba(255, 215, 0, 0.8); /* var(--secondary-color) z 80% opacity */
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  }
  
  #menu-toggle:active {
    transform: scale(0.97);
  }
  
  .fas.fa-bars {
    font-size: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
  }
  
  #menu-toggle:hover .fa-bars {
    transform: rotate(90deg);
    opacity: 1;
  }
  
  .menu-label {
    font-size: 1.2rem;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
    /* Kontener menu */
    .menu-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Ukryte menu domyślnie */
    nav {
        display: none;
        margin-bottom: var(--spacing-medium);
    }

    /* Widoczne menu po aktywacji */
    nav.active {
        display: block;
    }

    /* Lista menu */
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    /* Elementy listy menu */
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    /* Linki w menu */
    nav ul li a {
        font-size: 1.3rem;
        padding: 10px;
        display: block;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    /* Efekt hover na linkach */
    nav ul li a:hover {
        color: var(--secondary-color);
    }

    /* Testimonials w trybie mobilnym */
    .testimonials-container {
        max-width: 90%;
        padding: 0 10px;
    }

    .testimonials-track {
        flex-direction: column;
        align-items: center;
    }

    blockquote {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        font-size: 14px;
    }

    blockquote footer {
        font-size: 12px;
    }

    /* Logo w trybie mobilnym */
    .logo {
        width: 60px;
        top: 15px;
        left: 15px;
    }

    /* Nagłówek w trybie mobilnym */
    .header-content p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Ukryte elementy */
    .hidden {
        opacity: 0;
        visibility: hidden;
        transition: visibility 0.3s, opacity 0.3s ease;
    }
}



/* Stopka - minimalistyczna wersja z gradientem, cieniami i responsywnym footer-bottom */
footer {
  background: linear-gradient(135deg, var(--footer-bg-color) 0%, #2a1a0f 100%);
  color: var(--light-text-color);
  padding: var(--spacing-large) 0;
  margin-top: var(--spacing-xl);
  border-top: 2px solid var(--secondary-color);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-large);
  max-width: 1400px;
  margin: 0 auto var(--spacing-large);
  padding: 0 var(--spacing-medium);
  position: relative;
  z-index: 1;
}

.footer-section {
  padding: var(--spacing-large);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  text-align: center;
}

.footer-section:hover {
  transform: translateY(-5px) rotateX(5deg) rotateY(-1deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.footer-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-medium);
  position: relative;
  display: inline-block;
  padding-bottom: var(--spacing-small);
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.2s ease;
}

.footer-section p,
.footer-section ul {
  line-height: 1.6;
  font-size: 0.95rem;
  list-style: none;
  padding: 0;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  padding: 0.2rem 0;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: var(--spacing-medium);
  margin-top: var(--spacing-large);
  list-style: none;
  padding: 0;
}

.social-links a {
  font-size: 1.5rem;
  padding: 0.7rem;
  border-radius: 10%;
  transition: background 0.2s ease, box-shadow 0.2s ease;

}

.social-links a:hover {

  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  position: relative;
  padding-top: var(--spacing-large);
  margin-top: var(--spacing-xl);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 15px auto 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .author-info {
  font-style: normal;
  position: relative;
  cursor: pointer;
  color: var(--secondary-color);
}



/* Responsywność */
@media (max-width: 768px) {
  .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .footer-section {
      text-align: center;
      padding: var(--spacing-medium) 0;
  }
  
  .social-links {
      justify-content: center;
  }
  
  /* Wyśrodkowanie dolnej części stopki na mobilnych urządzeniach */
  .footer-bottom {
      text-align: center;
      align-items: center;
  }
}



@media (max-width: 768px) {
    header {
        height: 700px;
        font-size: 1.5rem;
    }

    header h1 {
        font-size: 3rem;
    }

    header p {
        font-size: 1rem;
    }

    nav ul {
        gap: var(--spacing-small);
    }
}

@media (max-width: 768px) {
    /* Zmniejszenie nagłówka */


   .product-card {
        width: 90%;
    }

    .product-image {
        width: 100%;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .product-info {
        grid-template-columns: 1fr; /* Zmiana układu na kolumnowy */
    }

    .contact-form {
        width: 90%;
        padding: var(--spacing-small);
    }
  
}



@media (max-width: 768px) {
    /* Ogólne style dla stopki w trybie mobilnym */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        flex: 1 1 100%;
        text-align: center;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links a {
        padding: 10px;
    }
}

/* Strzałki na małych ekranach */
@media (max-width: 768px) {
    .nav-arrow {
        width: 30px; /* Mniejszy rozmiar strzałek */
        height: 30px; /* Mniejszy rozmiar strzałek */
        font-size: 18px; /* Zmniejszenie czcionki strzałek */
        z-index: 10; /* Upewnienie się, że strzałki są na wierzchu */
    }

    .nav-arrow#prevImage {
        left: 10px; /* Dostosowanie położenia lewej strzałki */
    }

    .nav-arrow#nextImage {
        right: 10px; /* Dostosowanie położenia prawej strzałki */
    }


    


    .product-info {
        font-size: 14px; /* Zmniejszenie tekstów informacyjnych */
    }

    .product-description,
    .product-finish {
        font-size: 14px; /* Mniejsze opisy produktów */
    }

    /* Mniejsze przyciski w formularzu */
    .btn-submit {
        font-size: 14px;
        padding: 10px 20px;
    }

    .product-image-container {
            width: 100%; /* Zdjęcie zajmuje całą szerokość kontenera */
            margin: 0 auto; /* Wyśrodkowanie zdjęcia */
        }
    
        .product-image {
            width: 100%; /* Zdjęcie zajmuje całą szerokość kontenera */
            height: auto; /* Zachowaj proporcje zdjęcia */
        }
        .scroll-to-top {
            width: 2.5rem;
            height: 2.5rem;
            font-size: 1.25rem;
          }
        

    .click-info {
        font-size: 12px; /* Zmniejszenie rozmiaru czcionki */
        padding: 8px 16px; /* Mniejsze odstępy wokół napisu */
        bottom: 10px; /* Przesunięcie napisu bliżej dolnej krawędzi */
    }

    .click-info i {
        font-size: 12px; /* Zmniejszenie ikony */
    }

    .click-info span {
        font-size: 10px; /* Zmniejszenie tekstu */
    }
}

@media (max-width: 768px) {
    .product-info {
        gap: var(--spacing-small); /* Mniejsze odstępy między elementami */
        width: 100%; /* Na mobile pozwalamy tabeli zająć pełną szerokość .product-card */
        /* (lub np. width: 95%; margin-left/right: auto; jeśli .product-card nie ma paddingu) */
        margin-left: 0;  /* Reset centrowania, jeśli width: 100% */
        margin-right: 0;

    }

    .product-description, .product-finish {
        padding: var(--spacing-small); /* Mniejsze odstępy wewnętrzne */
    }
}

    

.social-links img {
    width: 64px; /* Dostosuj szerokość */
    height: auto; /* Zachowaj proporcje */
    vertical-align: middle; /* Wyrównaj ikony z tekstem */
    margin-right: 8px; /* Dodaj odstęp między logo a tekstem */
}

.message-box {
    position: fixed;
    top: 20px;
    right: 20px;
    background: green;
    color: white;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    visibility: hidden;
}

.message-box.show {
    visibility: visible;
    opacity: 1;
}

.message-box.hide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
  
.message-box.error {
    background: red;
}


/* Kontener dla listy rozwijanej */
.select-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px; /* Odstęp od następnego elementu */
}

/* Stylizacja podstawowa */
#product {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

/* Ikona strzałki */
.select-container::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 12px;
}

/* Stylizacja po najechaniu myszką */
#product:hover {
    border-color: #888;
}

/* Stylizacja po aktywacji (kliknięciu) */
#product:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(211, 226, 5, 0.5);
}

/* Stylizacja opcji */
#product option {
    padding: 10px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
}

/* Stylizacja opcji po najechaniu myszką */
#product option:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Zapewnienie spójnej czcionki dla wszystkich pól formularza */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    font-family: 'Arial', sans-serif; /* Przykład czcionki, zmień na własną */
    font-size: 1rem;
}

/* Stylowanie textarea */
textarea {
    resize: vertical;
    height: 150px;
    font-family: 'Arial', sans-serif; /* Dopasowanie czcionki do textarea */
    font-size: 1rem; /* Ustawienie jednolitego rozmiaru czcionki */
}


.grecaptcha-badge {
    left: 10px !important;
    right: auto !important;
    z-index: 1000;
}





/* ===== Desktop (min-width: 769px) ===== */
@media (min-width: 769px) {
    /* Kontener bocznej listy – po lewej stronie, fixed */
    #productNav {
      position: fixed;
      top: 20px; /* Możesz dostosować wartość – lista pojawi się w widoku, gdy JS ustawi display: block */
      left: 20px;
      width: 250px;
      background-color: rgba(255, 255, 255, 0.95);
      padding: var(--spacing-medium);
      border: 1px solid #ccc;
      border-radius: var(--border-radius);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      z-index: 999;
      /* Domyślnie ukryta – JS ustawi display: block, gdy użytkownik przewinie stronę poniżej short-description */
      display: none;
    }
  
    /* Stylizacja listy wewnątrz kontenera */
    #productNav ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    #productNav ul li {
      margin-bottom: var(--spacing-small);
    }
    #productNav ul li a {
      display: block;
      text-decoration: none;
      color: var(--primary-color);
      font-weight: bold;
      padding: var(--spacing-small);
      border-radius: var(--border-radius);
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    #productNav ul li a:hover,
    #productNav ul li a:focus {
      background-color: var(--secondary-color);
      color: var(--header-bg-color);
    }
  
    /* Przycisk przełączający listę – w wersji desktop ukryty */
    #productNavToggle {
      display: none;
    }

    .product-info {
      width: 60%;       /* Ustawienie szerokości na 50% na desktopie */
      margin-left: auto;  /* Automatyczny lewy margines do centrowania */
      margin-right: auto; /* Automatyczny prawy margines do centrowania */
      /* Możesz dodać max-width, jeśli 50% bardzo dużego ekranu to nadal za dużo, np. */
      /* max-width: 600px; */ 
    }
  }
  
  /* ===== Mobilna wersja (max-width: 768px) ===== */
  @media (max-width: 768px) {
    /* Przycisk mobilny – zawsze widoczny, umieszczony w prawym dolnym rogu */
    #productNavToggle {
      position: fixed;
      bottom: 20px;
      left: 20px;
      background-color: rgba(255, 215, 0, 0.5); /* złoty, 50% przezroczysty */
      color: var(--primary-color);
      padding: var(--spacing-small);
      border: none;
      border-radius: var(--border-radius);
      font-size: var(--font-size-medium);
      text-align: center;
      cursor: pointer;
      z-index: 1100; /* wyżej niż inne elementy, np. scroll-to-top */
      opacity: 0.7;
      transition: background-color 0.3s ease, opacity 0.3s ease;
      display: block;
    }
    /* Po aktywacji przycisku – zmiana wyglądu */
    #productNavToggle.active {
      background-color: var(--secondary-color);
      opacity: 1;
    }
  
    /* Kontener bocznej listy – wyświetlany tuż nad przyciskiem */
      #productNav {
    position: fixed;
    bottom: 80px; /* Nad przyciskiem #productNavToggle */
    left: 20px;   /* Wyrównaj do lewej krawędzi przycisku #productNavToggle */
    
    /* --- ZMIANY SZEROKOŚCI --- */
    width: fit-content; /* Szerokość dopasuje się do zawartości */
    min-width: 180px;   /* Opcjonalnie: minimalna szerokość, np. aby nie było węższe niż przycisk lub pewna czytelna wartość. Dostosuj. */
    max-width: calc(100vw - 40px); /* Opcjonalnie: maksymalna szerokość, aby nie wyszło poza ekran (uwzględniając lewy margines 20px i potencjalny prawy) */
                                 /* Alternatywnie, stała wartość np. max-width: 300px; jeśli nie chcesz, by było zbyt szerokie */
    /* Usunięto: right: 20px; (jeśli było) */
    /* Usunięto: max-width: none; (jeśli było) */
    /* --- KONIEC ZMIAN SZEROKOŚCI --- */
    
    margin: 0;
    padding: var(--spacing-small);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* Domyślnie ukryta - JS to zmienia na 'block' */

    /* Style dla wysokości (z poprzedniej sugestii - zostawiamy) */
    height: auto; 
    max-height: 60vh; /* Maksymalna wysokość np. 60% wysokości ekranu */
    overflow-y: auto; /* Pokaż pasek przewijania, jeśli zawartość przekroczy max-height */
  }
    
    /* Stylizacja listy wewnątrz kontenera – taka sama jak w wersji desktop */
    #productNav ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    #productNav ul li {
      margin-bottom: var(--spacing-small);
    }
    #productNav ul li a {
      display: block;
      text-decoration: none;
      color: var(--primary-color);
      font-weight: bold;
      padding: var(--spacing-small);
      border-radius: var(--border-radius);
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    #productNav ul li a:hover,
    #productNav ul li a:focus {
      background-color: var(--secondary-color);
      color: var(--header-bg-color);
    }
  }
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    transition: opacity 0.5s ease-out;
  }
  
  #progress-bar {
    width: 80%;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
  }
  
  #progress-fill {
    width: 0%;
    height: 100%;
    background: #4caf50;
    transition: width 0.2s;
  }
  
  .hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  

 /* Kontener ceny, statusu i wysyłki */
.product-price-status-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px;
    background: var(--background-color);
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 50%;
    margin: 15px auto 0;
  }
  
  /* Styl ceny */
  .product-price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 204, 0, 0.1);
    padding: 6px 12px;
    border-radius: 5px;
  }
  
  /* Ikona przy cenie */
  .product-price i {
    color: var(--secondary-color);
  }
  
  /* Styl statusu */
  .product-status {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-align: center;
  }
  
  /* Kolory dla różnych statusów */
  .status-available {
    color: #228B22;
    background: #E6F4E6;
    padding: 6px 12px;
    border-radius: 5px;
  }
  
  .status-soldout {
    color: #B22222;
    background: #FCE8E8;
    padding: 6px 12px;
    border-radius: 5px;
  }
  
  .status-production {
    color: #D2691E;
    background: #FFE4C4;
    padding: 6px 12px;
    border-radius: 5px;
  }
  
  /* Styl sekcji wysyłki */
  .product-shipping {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
  }
  
  /* Styl ikon wysyłki */
  .shipping-item {
    font-size: 14px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  /* Kolory dla różnych metod wysyłki */
  .shipping-gabaryt {
    background: #FFA07A; /* Pomarańczowy */
    color: #8B0000;
  }
  
  .shipping-paczkomat {
    background: #ADD8E6; /* Niebieski */
    color: #00008B;
  }
  
  .shipping-courier {
    background: #32CD32; /* Zielony */
    color: #006400;
  }
  
  .shipping-none {
    background: #D3D3D3;
    color: #555;
  }
  
  /* Responsywność */
  @media (max-width: 768px) {
    .product-price-status-container {
      flex-direction: column;
      gap: 10px;
      text-align: center;
    }
  
    .product-shipping {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .shipping-item {
      font-size: 13px;
      padding: 5px 10px;
    }
  }
  
  /* Responsywność */
  @media (max-width: 768px) {
    .product-price-status-container {
      flex-direction: column;
      gap: 10px;
      text-align: center;
      max-width: 80%;
    }
  
    .product-price{
    font-size: 13px;
    padding: 5px 10px;
  }
      .status-available {
        font-size: 13px;
        padding: 5px 10px;
      }
    .product-shipping {
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .shipping-item {
      font-size: 13px;
      padding: 5px 10px;
    }
  }
/* Kontener miniatury */
.gallery-item {
  position: relative;
  display: inline-block;
  /* Ustal domyślne wymiary – te wartości mogą być nadpisywane przez slider */
  width: 100px;
  height: 100px;
  overflow: hidden; /* Spinner nie wyjdzie poza kontener */
}

/* Styl loadera (spinner) */
.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 2s linear infinite; /* Wydłużona animacja */
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Dodatkowe style miniatur – upewnij się, że nie mają marginesów, które mogłyby powodować nachodzenie */
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.controls-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 90%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-container, .sort-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.controls-container label {
  font-weight: bold;
  color: #5C4033;
}

.controls-container select {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
}

.btn-reset {
  padding: 8px 16px;
  border: none;
  background-color: #5C4033;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-reset:hover {
  background-color: #4a3126;
}

.product-card.sold-out .product-image-container {
  position: relative;
}

.product-card.sold-out .gallery-image {
  filter: grayscale(100%);
}

.tabs-container {
  margin-top: 20px;
}

.tab-buttons {
  display: flex;
  border-bottom: 2px solid #eee;
}

.tab-button {
  padding: 10px 20px;
  cursor: pointer;
  background: #f9f9f9;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  background: #fff;
}

.tab-button:hover {
  background: #efefef;
}

.tab-contents {
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


.tabs-container {
  margin-top: 20px;
}

.tab-buttons {
  display: flex;
  border-bottom: 2px solid #eee;
}

.tab-button {
  padding: 10px 20px;
  cursor: pointer;
  background: #f9f9f9;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  background: #fff;
}

.tab-button:hover {
  background: #efefef;
}

.tab-contents {
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


.sold-out-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background-color: rgba(211, 47, 47, 0.8);
  color: white;
  padding: 10px 25px;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  z-index: 10;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .controls-container {
    flex-direction: column;
    align-items: stretch;
  }
}