html {
    scroll-behavior: smooth;
}
/* Reset i podstawowe ustawienia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #fbfaf5;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Placeholdery obrazów */
.placeholder {
    background-color: #e0e0e0;
    width: 100%;
    display: block;
}

.aspect-portrait { aspect-ratio: 3/4; }
.aspect-landscape { aspect-ratio: 16/9; }
.aspect-tall { aspect-ratio: 2/3; }
.hero-placeholder { height: 60vh; min-height: 400px; }

/* Nawigacja */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 10px;

    background-color: #fbfaf5;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-right {

}

.header-center {
    flex: 2;
    text-align: center;
    align-items: center;     /* Wyśrodkowuje logo idealnie w pionie */
}

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    /* Ustaw maksymalną wysokość logo, aby pasowało do paska nawigacji */
    max-height: 80px; 
    width: auto; /* Zapewnia zachowanie oryginalnych proporcji obrazka */
    display: block;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.icons {

}

/* Sekcja Hero */
.hero {
    text-align: center;
    padding-top: 60px;
}

.hero-text {
    margin-bottom: 40px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero h1 span {
    font-size: 32px;
    vertical-align: middle;
}

.hero p {
    font-size: 14px;
    color: #555;
    letter-spacing: 0.5px;
}

/* Bloki tekstowe */
.text-block {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
    color: #333;
}

.text-block p {
    margin-bottom: 20px;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    text-align: justify;
    text-align-last: center; /* To jest kluczowe! */
    hyphens: auto;
}


/* Galeria */
.gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Sekcja Produktów */
.products-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.products-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.shop-all {
    font-size: 13px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
}

.products-carousel {
    display: flex;
    align-items: center;
    position: relative;
}

.product-grid {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    width: 100%;
}

.product-card {
    flex: 0 0 calc(33.333% - 20px);
}

.product-info {
    margin-top: 15px;
    text-align: left;
}

.product-title {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #111;
}

.product-price {
    font-size: 14px;
    color: #555;
}

/* Strzałki karuzeli */
.nav-arrow {
    background: none;
    border: none;
    font-size: 40px;
    color: #999;
    cursor: pointer;
    padding: 0 20px;
    transition: color 0.3s;
}

.nav-arrow:hover {
    color: #000;
}

/* Styl ogólny (Desktop) */
.hero-image-container {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
}

/* POPRAWKA NA MOBILE */
@media (max-width: 850px) {
    .hero-image-container {
        height: 40vh; /* Zmniejszamy wysokość, żeby zdjęcie mogło się bardziej "oddalić" */
        min-height: 250px; /* Obniżamy próg minimalny */
    }
    
    .hero-image-container img {
        /* Opcjonalnie: jeśli najważniejsza część zdjęcia jest nieco wyżej niż środek, 
           zmień 'center' na 'center 20%' */
        object-position: center center; 
    }
}

/* Kontener dla pionowych zdjęć i GIF-ów */
.gallery-item-container,
.product-image-container {
    width: 100%;
    overflow: hidden;
    display: block;
}

/* Zachowanie zdjęć wewnątrz kontenerów */
.gallery-item-container img,
.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gwarantuje brak zniekształceń */
    display: block;
}

/* Responsywność */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 15px);
    }
    
    .header-right .currency-selector {
        display: none;
    }
    
    .site-header {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 100%;
    }
}

/* --- Sekcja Zamówienia --- */
.order-section {
    background-color: #f4f4f4; /* Jasnoszare tło, identyczne jak na zrzucie */
    padding: 40px 20px;
    font-family: 'Inter', sans-serif;
}

.order-container {
    max-width: 600px;
    margin: 0 auto;
}

.order-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.order-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* --- Style Formularza --- */
.elegant-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.half-width {
    flex: 1;
}

.elegant-form input,
.elegant-form select,
.elegant-form textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: #ffffff;
    border: 1px solid transparent;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
    /* Dodaje delikatne zaokrąglenie, możesz usunąć jeśli wolisz ostre rogi */
    border-radius: 2px; 
}

/* Zmiana koloru obramowania po kliknięciu w pole */
.elegant-form input:focus,
.elegant-form select:focus,
.elegant-form textarea:focus {
    border: 1px solid #ccc;
}

.elegant-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* --- Style Przycisku --- */
.submit-btn {
    align-items: center;
    padding: 16px 25px;
    margin-top: 10px;
    background-color: #000000;
    border: 1px solid #dcdcdc;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #e8e8e8;
    border-color: #bbb;
    color: #000000;

}


/* --- Style Danych Kontaktowych --- */
.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #111;
    margin-bottom: 15px;
}

.contact-item svg {
    color: #000;
}

/* --- Responsywność dla małych ekranów --- */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
    
    .order-container h2 {
        font-size: 32px;
    }
}

/* --- Stylizowanie Dropdownów (Select) --- */
.elegant-form select {
    /* Usuwa domyślny wygląd i strzałkę przeglądarki (Safari, Chrome, Firefox) */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Dodaje minimalistyczną strzałkę SVG jako tło */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center; /* Pozycjonuje strzałkę z prawej strony */
    background-size: 16px; /* Wielkość strzałki */
    
    /* Zwiększamy prawy padding, żeby tekst nie nachodził na strzałkę */
    padding-right: 45px;
    cursor: pointer;
}

/* Ukrywa domyślną strzałkę w starszych przeglądarkach Edge/IE */
.elegant-form select::-ms-expand {
    display: none;
}

/* Kiedy opcja jest wybrana, tekst ma odpowiedni kolor (domyślnie 'placeholder' jest szary, naprawiamy to tutaj) */
.elegant-form select:invalid {
    color: #999;
}
.elegant-form select option {
    color: #333;
    background-color: #fff;
    padding: 10px; /* Daje opcjom trochę oddechu */
}

/* Kontener dla pola ilości */
.quantity-stepper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid transparent; /* Aby pasował do reszty pól */
    border-radius: 2px;
}

/* Przyciski plus/minus */
.step-btn {
    width: 60px; /* Duży obszar klikania */
    height: 54px;
    background: #000000;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.2s;
}

.step-btn:hover {
    background: #f0f0f0;
    color: #000000;
}

/* Samo pole z cyfrą */
.quantity-stepper input[type="number"] {
    flex: 1;
    text-align: center;
    border: none !important; /* Usuwamy ramkę, bo kontener ją ma */
    font-size: 16px;
    padding: 0;
    pointer-events: none; /* Użytkownik nie wpisuje ręcznie, tylko klika +/- */
}

/* Ukrycie domyślnych małych strzałek */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}

.administratorem {
    display: flex;
    color: #999;
    font-size: 12px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    font-size: 13px;
    color: #666;
    text-align: left;
}

.checkbox-group input[type="checkbox"] {
    width: auto; /* Checkbox nie może być na całą szerokość */
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group a {
    color: #000;
    text-decoration: underline;
}
/* Ukrywamy domyślny, brzydki checkbox */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Kontener dla całego checkboxa i tekstu */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 0;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    user-select: none;
}

/* Nasza nowa, duża kratka (checkmark) */
.checkmark {
    position: relative;
    display: inline-block;
    min-width: 24px; /* Rozmiar checkboxa */
    height: 24px;
    background-color: #fff;
    border: 1px solid #ccc; /* Cienka linia jak w polach formularza */
    margin-right: 15px;
    transition: all 0.2s ease;
    border-radius: 2px;
}

/* Efekt po najechaniu myszką */
.custom-checkbox:hover input ~ .checkmark {
    border-color: #000;
}

/* Wygląd po zaznaczeniu (czarne tło) */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #000;
    border-color: #000;
}

/* Biały "ptaszek" (checkmark) w środku */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Wyświetlamy ptaszka po zaznaczeniu */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Stylizacja ptaszka (biała litera L obrócona o 45 stopni) */
.checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Tekst obok checkboxa */
.label-text {
    padding-top: 3px; /* Wyrównanie tekstu do środka checkboxa */
}

.label-text a {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
}

/* Styl błędu dla checkboxa */
.checkbox-group.has-error .checkmark {
    border-color: #ff0000 !important; /* Czerwona ramka */
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.2);
}

.checkbox-group.has-error .label-text {
    color: #ff0000 !important; /* Czerwony tekst */
}

/* Opcjonalnie: animacja potrząsania, żeby przyciągnąć wzrok */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.checkbox-group.has-error {
    animation: shake 0.3s ease-in-out;
}

.cookie-container {
    position: fixed;
    bottom: -200px; /* Ukryty na starcie */
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-container.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.cookie-btn {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 1px solid #000;
    transition: 0.3s;
}

.btn-dark {
    background-color: #000;
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: #000;
}

.btn-dark:hover { background-color: #333; }
.btn-light:hover { background-color: #f5f5f5; }

/* Responsywność */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Pływający przycisk ZAMÓW */
.floating-order-btn {
    position: fixed;
    bottom: 30px; /* Odstęp od dołu */
    right: 5%;
    transform: translateX(-50%); /* Idealne wyśrodkowanie */
    width: 110px;
    height: 110px;
    background-color: #000;
    color: #fff;
    border-radius: 50%; /* Robi koło */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    z-index: 998; /* Ciut niżej niż baner cookies */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Tekst wewnątrz koła */
.btn-text {
    font-size: 16px;
    margin-bottom: 2px;
    font-family: 'Inter', sans-serif;

}

/* Strzałka wewnątrz koła */
.btn-arrow {
    font-size: 18px;
    line-height: 1;
}

/* Efekt po najechaniu */
.floating-order-btn:hover {
    background-color: #fff;
    color:#000;
    transform: translateX(-50%) scale(1.1); /* Lekkie powiększenie */
}

/* Ukrywanie przycisku, gdy baner cookies jest otwarty (opcjonalnie, żeby nie było tłoczno) */
.cookie-container.show ~ .floating-order-btn {
    bottom: 120px; /* Przesuwa przycisk wyżej, gdy wyskakują cookies */
}

/* Responsywność - mniejszy na telefonach */
@media (max-width: 768px) {
    .floating-order-btn {
        width: 95px;
        height: 95px;
        bottom: 10px;
        right: 0px;
    }
    .btn-text { font-size: 14px; }
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: flex-start; /* Wyrównanie do lewej */
    gap: 6px;
    margin: 10px 0 10px 5px; /* Minimalne odstępy: góra, boki, dół */
    font-family: 'Inter', sans-serif;
    color: #000;
}

.price-text {
    font-size: 16px; /* Nieco mniejszy font dla elegancji */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.price-text strong {
    font-size: 20px; /* Wyraźna cena, ale bez przesady */
    font-weight: 700;
}

.price-subtext {
    font-size: 12px;
    color: #888; /* Jasnoszary dopisek */
    font-weight: 400;
}

.product-description {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: justify; /* Rozciągnięcie do krawędzi */
    text-align-last: center; /* Ostatnia linia każdego akapitu na środku */
    line-height: 1.8; /* Większy odstęp między liniami - klucz do elegancji */
    color: #333;
    font-family: 'Inter', sans-serif;
}

.product-description h3 {
    font-family: 'Playfair Display', serif;

    text-align: center;
    margin-bottom: 30px;
    font-size: 34px;
    color: #000;
}

.product-description p {
    margin-bottom: 25px;
    hyphens: auto; /* Automatyczne dzielenie wyrazów */
    font-family: 'Inter', sans-serif;

}

.process-section {
    max-width: 850px;
    margin: 0px auto;
    padding: 40px;
    background-color: #fafafa; /* Bardzo delikatne tło, by odróżnić proces od reszty */
    text-align: center;
}

.process-section h4 {
    font-family: 'Playfair Display', serif;
    margin: 60px 0 30px 0;
    font-size: 34px;
}

.process-steps {
    text-align: justify;
    text-align-last: center;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.process-steps p {
    margin-bottom: 20px;
    color: #444;
    font-family: 'Inter', sans-serif;

}

.process-steps strong {
    color: #000;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.intro-text {
    font-family: 'Playfair Display', serif;

    text-align: center;
    margin-bottom: 30px;
    font-size: 34px;
    color: #000;
}