/* --- ZMIENNE I RESET --- */
:root {
    --primary-text: #1a1a1a;
    --accent-gold: #B08D55;       /* Złoty akcent */
    --accent-brown: #5D4037;      /* Ciemny brąz dla nagłówków */
    --bg-beige: #F9F7F2;          /* Bardzo jasne tło */
    --bg-dark-beige: #E6DED5;     /* Ciemniejsze beżowe tło */
    --box-bg: #FFF8F0;            /* Tło pudełek tekstowych */
    --white: #ffffff;
    --border-color: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }


html, body {
    max-width: 100%;
    overflow-x: hidden; /* Ukrywa wszystko co wystaje w poziomie */
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Lato', sans-serif;
    color: var(--primary-text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif-font, .logo {
    font-family: 'Playfair Display', serif;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }
input, select, textarea { font-family: 'Lato', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }

/* --- HEADER --- */
header {
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    z-index: 1000;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; font-weight: 700; color: var(--accent-brown); letter-spacing: 1px; text-transform: uppercase; }
nav ul { display: flex; gap: 30px; }
nav a { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; color: #555; }
nav a:hover, nav a.active { color: var(--accent-gold); }


        /* --- SEKCJA BEST SELLER (Split layout) --- */
        .best-seller {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background-color: var(--accent-gold); /* Brązowe tło z */
            color: white;
        }

        .best-seller-content {
            padding: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .best-seller-content h2 {
            color: white;
            font-size: 3rem;
            margin-bottom: 20px;
        }

        .best-seller-content p {
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .best-seller-img {
            background-image: url('img/Pola_kolekcja_aurora.png');
            background-size: cover;
            background-position: center;
            height: 100%;
            min-height: 500px;
        }
		
		
		.best-seller-img2 {
            background-image: url('img/Pola_32.png');
            background-size: cover;
            background-position: center;
            height: 100%;
            min-height: 500px;
        }
        
        .white-btn {
            background: white;
            color: var(--accent-gold);
            padding: 15px 30px;
            text-transform: uppercase;
            border: none;
            width: fit-content;
            font-weight: 700;
        }

/* --- BUTTONS --- */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-brown);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background-color: var(--accent-gold); }

.btn-outline {
    border: 1px solid var(--accent-brown);
    padding: 10px 25px;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--accent-brown);
}
.btn-outline:hover { background: var(--accent-brown); color: #fff; }

/* --- DEKORACJE --- */
.star { color: var(--accent-gold); font-size: 1.2rem; vertical-align: middle; }

/* --- SEKCJA: WELCOME (Aurellé style) --- */
.welcome-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.welcome-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--accent-brown); }
.welcome-collage { position: relative; display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.welcome-box { 
    background: var(--box-bg); 
    padding: 40px; 
    border-left: 2px solid var(--accent-gold);
    position: relative;
    z-index: 1;
}

/* --- SEKCJA: UNITING DESIGN (3 cols) --- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-minimal img { height: 250px; width: 100%; margin-bottom: 15px; background: #f9f9f9; }
.price-tag-bar { 
    background: #C4A484; color: white; text-align: center; 
    padding: 8px; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 10px; 
}
.price-tag-bar.light { background: #E0E0E0; color: #555; }

/* --- SEKCJA: EXCLUSIVE COLLECTION (4 cols) --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.collection-item { text-align: center; transition: 0.3s; padding-bottom: 10px; }
.collection-item:hover { transform: translateY(-5px); }
.collection-item.highlight { background-color: #C4A484; color: white; }
.collection-item.highlight .price, .collection-item.highlight h4 { color: white; }
.collection-item img { height: 200px; width: 100%; margin-bottom: 15px; }

/* --- SEKCJA: BEST SELLER (Split) --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-dark-beige); }
.split-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; }
.split-content { padding: 80px; display: flex; flex-direction: column; justify-content: center; background: #fff; }

/* --- SEKCJA: PROMO --- */
.promo-banner1 {
    position: relative;
    height: 800px;
    background: url('img/Pola_1.png') center/cover;
    display: flex; align-items: center; justify-content: center;
}

.promo-banner2 {
    position: relative;
    height: 800px;
    background: url('img/Pola_3.png') center/cover;
    display: flex; align-items: center; justify-content: center;
}

.promo-banner3 {
    position: relative;
    height: 800px;
    background: url('img/Pola_6.png') center/cover;
    display: flex; align-items: center; justify-content: center;
}

.promo-banner4 {
    position: relative;
    height: 800px;
    background: url('img/Pola_8.png') center/cover;
    display: flex; align-items: center; justify-content: center;
}

.promo-banner5 {
    position: relative;
    height: 800px;
    background: url('img/Pola_10.png') center/cover;
    display: flex; align-items: center; justify-content: center;
}

.promo-overlay-box {
    background: white; padding: 50px; text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--accent-gold);
    transform: translateX(20%); /* Przesunięcie jak na zdjęciu */
}
.promo-big-price { font-size: 4rem; font-family: 'Playfair Display'; margin: 10px 0; }

/* --- SEKCJA: STORY (3 images) --- */
.story-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.story-header h2 { font-size: 3rem; color: var(--accent-brown); }
.story-grid-3 img { height: 400px; width: 100%; object-fit: cover; }

/* --- SEKCJA: SALE 70% --- */
.sale-square-section { 
    background: #fff; padding: 100px 0; 
    display: flex; align-items: center; justify-content: center; gap: 50px; 
}
.sale-square { 
    background: #333; color: white; width: 300px; height: 350px; 
    display: flex; align-items: center; justify-content: center; 
    text-align: center; font-size: 2.5rem; font-family: 'Playfair Display';
}

/* --- DOMYŚLNY WYGLĄD (DESKTOP) --- */
.sale-square-section { 
    background: #fff; 
    padding: 100px 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 80px; /* Odstęp między tekstem a kwadratem */
}

.sale-text-block {
    max-width: 350px;
}

.sale-text-block h3 {
    font-size: 2.5rem; 
    margin-bottom: 20px;
    color: var(--accent-brown);
}

.sale-text-block p {
    color: #666;
    margin-bottom: 30px; /* Odstęp nad przyciskiem */
    line-height: 1.6;
}

.sale-square { 
    background: #1a1a1a; 
    color: white; 
    width: 300px; 
    height: 350px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    font-size: 2.5rem; 
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.sale-highlight {
    font-style: italic; 
    color: var(--accent-gold);
}

/* --- WERSJA MOBILNA (TELEFONY I TABLETY) --- */
@media (max-width: 768px) {
    .sale-square-section { 
        flex-direction: column; /* Ustawia elementy jeden pod drugim */
        padding: 60px 20px; /* Mniejsze marginesy na telefonie */
        text-align: center; /* Środkuje cały tekst */
        gap: 40px; /* Zmniejsza odstęp między tekstem a kwadratem */
    }

    .sale-text-block {
        max-width: 100%; /* Pozwala tekstowi zająć całą szerokość */
    }

    .sale-text-block h3 {
        font-size: 2rem; /* Nieco mniejszy nagłówek */
    }

    /* Środkowanie przycisku na telefonie */
    .sale-text-block .btn-primary {
        margin: 0 auto;
        display: inline-block;
    }

    .sale-square {
        width: 100%; /* Kwadrat dopasowuje się do szerokości telefonu */
        max-width: 350px; /* Zabezpiecza przed nadmiernym rozciągnięciem na większych telefonach */
        height: 300px; /* Proporcjonalnie mniejsza wysokość */
        font-size: 2rem; 
    }
}

/* --- SEKCJA: SIMPLICITY (Verticals) --- */
.simplicity-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 20px; background: #fff; align-items: center; }
.simplicity-intro { background: #C4A484; color: white; padding: 40px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.simplicity-item img { height: 400px; width: 100%; }

/* --- SEKCJA: COLLECTIONS (Framed) --- */
.collections-frame-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.frame-box { border: 1px solid var(--accent-gold); padding: 15px; margin-bottom: 20px; }
.frame-box img { width: 100%; height: 250px; }

/* --- PODSTRONY: SKLEP / PRODUKT / FORMULARZE --- */
.category-filter { padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 40px; display: flex; gap: 15px; }
.filter-item { cursor: pointer; text-transform: uppercase; font-size: 0.8rem; color: #888; }
.filter-item.active { color: var(--accent-brown); font-weight: 700; border-bottom: 2px solid var(--accent-brown); }

.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 40px; }
.pd-gallery img { width: 100%; margin-bottom: 10px; cursor: pointer; }
.pd-info h1 { font-size: 2.5rem; color: var(--accent-brown); }
.pd-price { font-size: 1.5rem; color: var(--accent-gold); display: block; margin: 10px 0 20px; }
.pd-meta { border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 20px 0; margin: 30px 0; }
.pd-row { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 0.9rem; }

.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #ddd; background: #fafafa; }
.order-summary { background: var(--bg-beige); padding: 30px; height: fit-content; }

/* --- GALERIA & O FIRMIE --- */
.masonry-gallery { columns: 3 250px; gap: 20px; }
.masonry-item { margin-bottom: 20px; break-inside: avoid; position: relative; }
.timeline { border-left: 2px solid var(--accent-gold); padding-left: 30px; margin: 50px 0; }
.timeline-item { margin-bottom: 40px; }

/* --- FOOTER --- */
footer { background: #222; color: #fff; padding: 60px 0; margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer-col h4 { margin-bottom: 20px; color: var(--accent-gold); }


* --- BAZOWY WYGLĄD STOPKI (Desktop) --- */
footer { 
    background: #222; /* Ciemne tło stopki */
    color: #fff; 
    padding: 60px 0; 
    margin-top: 80px; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* 4 równe kolumny na komputerze */
    gap: 40px; 
}

.footer-col h4 { 
    margin-bottom: 20px; 
    color: var(--accent-gold); 
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent-gold);
}


/* --- RESPONSYWNOŚĆ (Mobile i Tablety) --- */
@media (max-width: 900px) {
    .footer-grid { 
        /* Zmienia układ na 2 kolumny na tabletach */
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-grid { 
        /* Zmienia układ na 1 kolumnę na telefonach */
        grid-template-columns: 1fr; 
        text-align: center; /* Wyśrodkowanie wygląda lepiej na małych ekranach */
        gap: 40px;
    }

    .footer-col ul li {
        /* Zwiększamy marginesy, aby łatwiej było trafić palcem w link */
        margin-bottom: 15px; 
    }

    .footer-col img {
        /* Upewnia się, że logo jest wyśrodkowane, jeśli używamy text-align: center */
        margin: 0 auto; 
    }
    
    .footer-col button {
        /* Zapobiega rozciąganiu przycisku na całą szerokość wielkich ekranów telefonów, trzymając go w ryzach */
        max-width: 300px;
        margin: 0 auto;
    }
}

/* R

/* --- STYLE PODSTRONY KOLEKCJE --- */

/* Wrapper sekcji */
.collection-block {
    margin-bottom: 0;
    padding-bottom: 100px;
    border-bottom: 1px solid #eee;
}

.collection-block.bg-light {
    background-color: #fafafa; /* Lekkie tło dla co drugiej sekcji */
}

/* Baner na całą szerokość */
.col-banner {
    width: 100%;
    height: 250px; /* Wysokość banera */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efekt paralaksy (tło stoi w miejscu przy przewijaniu) */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Przyciemnienie banera */
.col-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
}

.banner-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Grid treści pod banerem */
.col-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: -60px; /* Lekkie nasunięcie na baner (opcjonalne) lub margines dodatni */
    padding-top: 100px; /* Odstęp od góry banera */
}

/* Styl tekstu */
.col-text h2 {
    font-size: 3rem;
    color: var(--accent-brown);
    margin-bottom: 20px;
    line-height: 1.1;
}

.col-text p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 30px;
    text-align: justify;
}

.col-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* Wrapper zdjęcia */
.col-img-wrapper {
    position: relative;
    z-index: 1;
}

.col-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Prostokąt wewnątrz zdjęcia (Floating Box) */
.col-floating-box {
    position: absolute;
    bottom: 30px;
    left: -40px; /* Wychodzi poza zdjęcie w lewo */
    background: var(--box-bg); /* #FFF8F0 z głównego CSS */
    padding: 30px 40px;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 250px;
    z-index: 2;
}

/* Wariant prostokąta dla układu odwróconego */
.col-floating-box.left-pos {
    left: auto;
    right: -40px; /* Wychodzi poza zdjęcie w prawo */
}

.col-floating-box h4 {
    font-size: 1.5rem;
    color: var(--accent-brown);
    margin-bottom: 5px;
}

.col-floating-box p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
    font-style: italic;
}

.col-floating-box .btn-outline {
    display: inline-block; /* Naprawa przycisku wewnątrz div */
}

/* RWD - Dostosowanie do telefonów */
@media (max-width: 900px) {
    .col-content-grid {
        grid-template-columns: 1fr; /* Jedna kolumna */
        gap: 40px;
        padding-top: 50px;
    }

    /* Wyłączamy odwrócony układ na telefonie, żeby zawsze tekst był nad zdjęciem */
    .col-content-grid.reverse-layout {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .col-img-wrapper {
        width: 90%;
        margin: 0 auto;
    }

    .col-img-wrapper img {
        height: 350px;
    }

    .col-floating-box, .col-floating-box.left-pos {
        left: 50%;
        bottom: -30px;
        transform: translateX(-50%); /* Wyśrodkowanie pudełka */
        right: auto;
        width: 80%;
        text-align: center;
    }

    .banner-title {
        font-size: 2.5rem;
    }
}



 /* --- KONFIGURACJA BANERA (Zmień ustawienia tutaj) --- */
        :root {
            /* Pozycja prostokąta: 'flex-start' (lewo) lub 'flex-end' (prawo) */
            --box-position: flex-start;
            
            /* Odległość od krawędzi bocznej */
            --box-margin-side: 5%;

            /* Kolor i przezroczystość tła prostokąta (RGBA: Red, Green, Blue, Alpha) */
            /* 0.85 = 85% widoczności, 0.5 = 50% itd. */
            --box-bg-color: rgba(255, 255, 255, 0.9);

            /* Wysokość banera */
            --banner-height: 750px;

            /* Kolor akcentu (np. złoty/czarny) */
            --accent-color: #1a1a1a;
            --gold-color: #D4AF37;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Lato', sans-serif;
            background-color: #f4f4f4;
        }

        /* Główny kontener sekcji */
        .luxury-hero {
            position: relative;
            width: 100%;
            height: var(--banner-height);
            overflow: hidden;
            display: flex;
            align-items: center;
            /* Sterowanie pozycją lewo/prawo */
            justify-content: var(--box-position); 
        }

        /* Kontener na zdjęcia (Slider) */
        .slider-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        /* Pojedynczy slajd */
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1.5s ease-in-out, transform 6s ease;
            transform: scale(1);
        }

        /* Klasa aktywna dla widocznego zdjęcia */
        .slide.active {
            opacity: 1;
            transform: scale(1.04); /* Delikatny efekt zoom */
        }

        /* --- STYLIZACJA PROSTOKĄTA (OVERLAY) --- */
        .info-card {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 500px;
            background-color: var(--box-bg-color);
            padding: 60px 40px;
            text-align: center;
            margin-left: var(--box-margin-side);
            margin-right: var(--box-margin-side);
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            backdrop-filter: blur(2px); /* Delikatne rozmycie tła pod spodem */
        }

        /* Ozdobna ramka wewnętrzna (jak na wzorze) */
        .info-card::after {
            content: '';
            position: absolute;
            top: 15px;
            left: 15px;
            right: 15px;
            bottom: 15px;
            border: 1px solid rgba(0, 0, 0, 0.15);
            pointer-events: none;
        }

        /* Typografia wewnątrz karty */
        .promo-label {
            display: block;
            font-size: 0.85rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #666;
            margin-bottom: 15px;
        }

        .main-title {
            font-family: 'Cinzel', serif;
            font-size: 3.5rem;
            color: var(--accent-color);
            margin-bottom: 10px;
            line-height: 1;
        }

        .price-tag {
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
            color: var(--accent-color);
            margin-bottom: 5px;
        }
        
        .price-old {
            text-decoration: line-through;
            font-size: 1rem;
            color: #999;
            margin-right: 10px;
        }

        .date-info {
            font-size: 0.8rem;
            color: #555;
            margin-bottom: 35px;
            font-style: italic;
        }

        /* Przycisk Zamów */
        .btn-order {
            display: inline-block;
            padding: 15px 45px;
            background-color: var(--accent-color);
            color: #fff;
            text-transform: uppercase;
            text-decoration: none;
            letter-spacing: 2px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            border: 1px solid var(--accent-color);
            cursor: pointer;
            position: relative;
            z-index: 2;
        }

        .btn-order:hover {
            background-color: transparent;
            color: var(--accent-color);
        }

        /* Responsywność dla mniejszych ekranów */
        @media (max-width: 768px) {
            .luxury-hero {
                justify-content: center; /* Wycentruj na mobilkach */
                height: 600px;
            }
            
            .info-card {
                margin: 0 20px;
                padding: 40px 20px;
            }

            .main-title {
                font-size: 2.5rem;
            }
        }






/* --- STYLE PODSTRONY PRODUKTU (APART STYLE) --- */

.breadcrumbs {
    padding: 20px 0;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
}
.breadcrumbs .current {
    color: var(--primary-text);
    font-weight: 700;
}

.product-main-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-top: 20px;
}

/* Galeria */
.product-gallery-layout {
    display: flex;
    gap: 20px;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
}

.gallery-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid transparent;
    opacity: 0.6;
    transition: 0.3s;
}

.gallery-thumbnails img:hover, 
.gallery-thumbnails img.active-thumb {
    border-color: var(--accent-brown);
    opacity: 1;
}

.gallery-main-image {
    flex-grow: 1;
    position: relative;
    background: #f9f9f9;
    height: 600px; /* Stała wysokość */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-image img {
    max-width: 100%;
    max-height: 100%;
}

.zoom-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
}

/* Panel Info */
.product-info-panel {
    padding-top: 10px;
}

.product-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 400; /* Lżejsza czcionka jak w Apart */
}

.product-ref {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 20px;
}

.product-price-box {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-text);
    font-family: 'Playfair Display', serif;
}

.installment-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Selektor Rozmiaru */
.size-selector-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.size-guide {
    font-weight: 400;
    text-decoration: underline;
    color: #666;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.size-btn {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: 0.2s;
}

.size-btn:hover { border-color: var(--accent-brown); }
.size-btn.active { background: var(--accent-brown); color: #fff; border-color: var(--accent-brown); }
.size-btn.disabled { background: #f5f5f5; color: #ccc; cursor: not-allowed; border-color: #eee; }

/* Akcje koszyka */
.cart-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-full {
    flex-grow: 1;
    text-align: center;
    padding: 18px 0;
    font-size: 0.9rem;
}

.btn-icon {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Dostępność */
.availability-status {
    color: #2e7d32; /* Zielony kolor dostępności */
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.store-availability {
    font-size: 0.9rem;
    margin-bottom: 30px;
}
.store-availability a { text-decoration: underline; }

/* Akordeon Szczegółów */
.product-details-accordion details {
    border-bottom: 1px solid #eee;
}

.product-details-accordion summary {
    padding: 15px 0;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Ukrywa domyślny trójkąt */
}

.product-details-accordion summary::-webkit-details-marker {
    display: none;
}

.details-content {
    padding-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.specs-list {
    list-style: none;
    padding: 0;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 4px;
}

/* RWD PRODUKT */
@media (max-width: 900px) {
    .product-main-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery-layout {
        flex-direction: column-reverse; /* Miniaturki pod zdjęciem */
    }
    
    .gallery-thumbnails {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
    }
    
    .gallery-main-image {
        height: 400px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
}




/* --- STYLE PODSTRONY PRODUKT (Apart style 2) --- */

.breadcrumbs {
    padding: 20px 0;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
}
.breadcrumbs .current {
    color: var(--primary-text);
    font-weight: 700;
}

/* Układ Grid Produktu */
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Podział 50/50 */
    gap: 60px;
    margin-bottom: 80px;
}

/* Lewa kolumna - Zdjęcie */
.main-image-frame {
    position: relative;
    background: #f9f9f9;
    padding: 20px;
}
.main-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}
.badge-new {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--accent-brown);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Prawa kolumna - Konfigurator */
.product-header h1 {
    font-size: 2rem;
    color: #333;
    line-height: 1.2;
    margin-bottom: 10px;
}
.sku {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 20px;
}
.price-box {
    margin-bottom: 20px;
}
.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}
.installment-info {
    font-size: 0.85rem;
    color: var(--accent-gold);
}

.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 25px 0;
}

/* Formularz Konfiguracji */
.config-group {
    margin-bottom: 25px;
}
.config-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

/* Stylowanie przycisków wyboru (Kamienie/Metal) */
.options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.option-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Lato', sans-serif;
    color: #555;
}
.option-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.option-btn.active {
    border-color: var(--accent-brown);
    background-color: var(--accent-brown);
    color: #fff;
}

/* Select rozmiaru */
.size-select {
    padding: 12px;
    width: 60%;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    color: #333;
    background: #fff;
}
.size-guide {
    display: inline-block;
    margin-left: 15px;
    font-size: 0.85rem;
    text-decoration: underline;
    color: #666;
}

.delivery-info {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #555;
}
.delivery-info p { margin-bottom: 5px; }
.delivery-info i { color: var(--accent-gold); margin-right: 8px; }

.full-width { width: 100%; padding: 18px; font-size: 1rem; }

.product-description-text {
    margin-top: 40px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}
.product-description-text h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}
.product-description-text ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 15px;
}

/* --- SEKCJA ROLLOVER (Efekt przenikania) --- */
.rollover-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rollover-card {
    text-align: center;
}

.img-container {
    position: relative;
    width: 100%;
    height: 400px; /* Stała wysokość */
    overflow: hidden;
    margin-bottom: 15px;
}

.img-container img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out; /* Płynne przejście */
}

/* Logika rollover: */
.img-container .img-hover {
    opacity: 0; /* Domyślnie niewidoczne (spód) */
    z-index: 2;
}
.img-container .img-default {
    opacity: 1; /* Domyślnie widoczne (wierzch) */
    z-index: 1;
}

/* Po najechaniu na kontener: */
.img-container:hover .img-hover {
    opacity: 1; /* Pokaż zdjęcie modelki */
}
.img-container:hover .img-default {
    opacity: 0; /* Ukryj zdjęcie produktu */
}

.rollover-caption {
    font-family: 'Playfair Display', serif;
    color: #555;
    font-style: italic;
}

/* RWD */
@media (max-width: 900px) {
    .product-main-grid { grid-template-columns: 1fr; gap: 30px; }
    .rollover-grid { grid-template-columns: 1fr; gap: 40px; }
    .size-select { width: 100%; margin-bottom: 10px; }
    .size-guide { margin-left: 0; }
}






/* --- STYLE PODSTRONY PRODUKT KONFIGURATOR --- */

.product-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Więcej miejsca na zdjęcia */
    gap: 60px;
    padding: 40px 20px;
}

/* LEWA STRONA - ZDJĘCIA */
.main-image-container {
    background-color: #f9f9f9;
    margin-bottom: 20px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Lub contain, zależy od zdjęć */
    transition: opacity 0.3s ease;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Efekt Hover na małych zdjęciach */
.gallery-flip-item {
    position: relative;
    height: 150px;
    cursor: pointer;
    overflow: hidden;
}

.gallery-flip-item img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

.gallery-flip-item .img-back {
    opacity: 0; /* Ukryte drugie zdjęcie */
}

.gallery-flip-item:hover .img-back {
    opacity: 1; /* Pokazane po najechaniu */
}

/* PRAWA STRONA - KONFIGURATOR */
.product-config-section {
    padding: 20px 0;
}

.product-title {
    font-size: 2.2rem;
    color: var(--primary-text);
    margin-bottom: 5px;
}

.product-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-box {
    font-size: 2rem;
    color: var(--accent-brown); /* Używa brązu z Twojego stylu */
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    transition: opacity 0.2s;
}

/* Grupy konfiguracyjne */
.config-group {
    margin-bottom: 30px;
}

.config-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #333;
}

/* Przyciski kamieni */
.stone-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stone-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.stone-btn:hover {
    border-color: var(--accent-gold);
}

.stone-btn.selected {
    border-color: var(--accent-brown);
    background-color: #fcfcfc;
    box-shadow: 0 0 0 1px var(--accent-brown); /* Podwójna ramka */
}

.stone-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Przyciski metalu */
.metal-options {
    display: flex;
    gap: 10px;
}

.metal-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    font-size: 0.8rem;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.metal-btn:hover { border-color: var(--accent-gold); }
.metal-btn.selected { border-color: var(--accent-brown); background-color: #f9f9f9; font-weight: 700; }

.metal-circle {
    width: 20px; height: 20px; border-radius: 50%; display: block;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

/* Select rozmiaru */
.custom-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: 'Lato', sans-serif;
    background: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
    background-color: white;
    appearance: none;
    cursor: pointer;
}

/* Przyciski akcji */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

/* Szczegóły (Lista cech) */
.product-details-tabs {
    margin-top: 40px;
}

.detail-item {
    margin-bottom: 25px;
}

.detail-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--accent-brown);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-item ul {
    list-style: none;
    padding-left: 0;
    font-size: 0.9rem;
    color: #666;
}

.detail-item ul li {
    margin-bottom: 5px;
}
.detail-item ul li::before {
    content: "•";
    color: var(--accent-gold);
    margin-right: 10px;
}

/* RWD */
@media (max-width: 900px) {
    .product-wrapper {
        grid-template-columns: 1fr; /* Jedna kolumna na mobile */
        gap: 30px;
    }
    .main-image-container {
        height: 350px;
    }
}








/* --- CSS DLA KONFIGURATORA PRODUKTU --- */

.product-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* LEWA KOLUMNA - GALERIA */
.product-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    background: #f9f9f9;
    border: 1px solid #eee;
}

.thumbnails-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

/* EFEKT PODMIANY ZDJĘCIA (HOVER SWAP) */
.hover-swap-container {
    position: relative;
    width: 100%;
    height: 150px;
    cursor: pointer;
    overflow: hidden;
}

.hover-swap-container img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

/* Domyślnie widoczne zdjęcie przednie */
.hover-swap-container .img-front {
    opacity: 1;
    z-index: 2;
}
/* Domyślnie ukryte zdjęcie tylne */
.hover-swap-container .img-back {
    opacity: 0;
    z-index: 1;
}

/* Na hover: przednie znika, tylne się pokazuje (bo jest pod spodem) */
.hover-swap-container:hover .img-front {
    opacity: 0;
}
.hover-swap-container:hover .img-back {
    opacity: 1;
}


/* PRAWA KOLUMNA - SZCZEGÓŁY */
.product-details-section {
    padding: 10px;
}

.product-title {
    font-size: 2.5rem;
    color: var(--accent-brown);
    margin: 10px 0;
}

.price-box {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.product-desc {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* STYLE FORMULARZA / PRZYCISKÓW OPCJI */
.config-group {
    margin-bottom: 25px;
}

.config-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #333;
}

.options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 15px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: 'Lato', sans-serif;
    color: #555;
}

.option-btn:hover {
    border-color: var(--accent-gold);
}

.option-btn.active {
    border: 1px solid var(--accent-gold);
    background: #FFF8F0; /* Jasny beż */
    color: var(--accent-brown);
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Kolorowe kółka (swatche) */
.swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
}
.swatch.circle {
    border-radius: 50%;
}

.size-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
}

.summary-box {
    background: #f4f4f4;
    padding: 15px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #555;
}

.full-width {
    width: 100%;
}

/* RWD */
@media (max-width: 900px) {
    .product-wrapper {
        grid-template-columns: 1fr;
    }
    
    .main-image-container img {
        height: 350px;
    }
    
    .thumbnails-row {
        height: auto;
    }
    .hover-swap-container {
        height: 100px;
    }
}


./* --- SEKCJA WIDEO --- */
.video-showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Wideo zajmuje nieco więcej miejsca niż tekst */
    gap: 60px;
    align-items: center;
    background-color: var(--bg-beige); /* Używamy beżowego tła z projektu */
    padding: 60px;
    border-left: 3px solid var(--accent-gold);
}

.video-showcase-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-showcase-player {
    position: relative;
    width: 100%;
    height: 100%;
    /* Subtelny cień nadający głębi */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    background-color: #000; /* Tło w razie ładowania wideo */
    line-height: 0; /* Usuwa zbędne marginesy pod wideo */
}

.video-showcase-player video {
    width: 100%;
    height: auto;
    max-height: auto;
    object-fit: cover;
    display: block;
}

/* Dostosowanie na telefony */
@media (max-width: 900px) {
    .video-showcase-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        border-left: none;
        border-top: 3px solid var(--accent-gold);
    }
}


/* --- STYLE PODSTRONY ETYCZNY LUKSUS --- */

.eco-hero {
    background-color: var(--bg-beige);
    padding: 100px 20px;
    border-bottom: 1px solid var(--border-color);
}

.eco-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--accent-brown);
    color: var(--white);
    padding: 20px 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.eco-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.eco-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.eco-feature-item h4 {
    font-family: 'Lato', sans-serif;
    color: var(--primary-text);
    font-size: 1rem;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eco-feature-item p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

/* SEKCJA CZYSTOŚCI KAMIENI */
.clarity-section {
    background-color: #fff;
}

.clarity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.clarity-card {
    background: var(--bg-beige);
    border: 1px solid transparent;
    transition: 0.3s;
}

.clarity-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--accent-gold);
}

.clarity-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.clarity-card-content {
    padding: 40px;
}

.clarity-card-content h3 {
    font-size: 1.8rem;
    color: var(--accent-brown);
    margin-bottom: 15px;
    line-height: 1.2;
}

.clarity-card-content p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
}

/* Specjalne wyróżnienie dla karty Szmaragdu */
.emerald-card {
    background-color: #F0F4F1; /* Bardzo delikatny, luksusowy odcień zieleni w tle */
}
.emerald-card h3 em {
    color: #2E5C43; /* Szmaragdowy akcent w tekście */
    font-style: italic;
}

/* RWD - Telefony */
@media (max-width: 900px) {
    .clarity-grid {
        grid-template-columns: 1fr;
    }
    .eco-badge {
        bottom: -10px;
        right: 10px;
        font-size: 1rem;
        padding: 15px 20px;
    }
}

/* --- STYLE: PRZEWODNIK PO SZYLIFACH (CUT GUIDE) --- */

.cut-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.cut-card {
    background: #fff;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cut-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--accent-gold);
}

.cut-image-wrapper {
    height: 250px;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Formatowanie obrazków pobieranych z tagów */
.cut-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Utrzymuje proporcje rysunków */
}

.cut-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cut-info h3 {
    font-size: 1.5rem;
    color: var(--accent-brown);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--bg-beige);
    padding-bottom: 10px;
}

.cut-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Tabela Rozmiarów i Mas */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: auto; /* Dopycha tabelę do dołu karty */
    font-size: 0.85rem;
}

.size-table th {
    text-align: left;
    text-transform: uppercase;
    color: var(--accent-brown);
    padding: 8px 0;
    border-bottom: 1px solid var(--accent-gold);
    font-weight: 700;
}

.size-table td {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px dashed #eee;
}

.size-table tr:last-child td {
    border-bottom: none;
}

/* Wyróżnienie sekcji Moissanitów */
.premium-cut {
    background: var(--white);
    border: 1px solid #E8DECF;
}

.cut-highlights {
    list-style: none;
    padding: 0;
    margin-top: auto;
    background: #fafafa;
    padding: 15px;
    border-left: 2px solid var(--accent-gold);
}

.cut-highlights li {
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.cut-highlights li::before {
    content: '✦';
    color: var(--accent-gold);
    margin-right: 8px;
    font-size: 0.8rem;
}

/* RWD */
@media (max-width: 768px) {
    .cut-guide-grid {
        grid-template-columns: 1fr; /* 1 kolumna na mobile */
    }
}


/* --- ROZWIJANE MENU (DROPDOWN) --- */

/* Ustawienie pozycji relatywnej dla rodzica, aby podmenu trzymało się pod nim */
nav ul li.dropdown {
    position: relative;
    padding-bottom: 10px; /* Zwiększa obszar aktywacji hovera, by menu nie znikało przy zjeżdżaniu myszką */
    margin-bottom: -10px;
}

/* Wygląd podmenu (domyślnie ukryte) */
nav ul li.dropdown .dropdown-menu {
    display: none; /* Ukryte */
    position: absolute;
    top: 100%; /* Pojawia się idealnie pod słowem "Kolekcje" */
    left: 0;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 2px solid var(--accent-gold); /* Złoty akcent na górze */
    z-index: 1000;
    flex-direction: column; /* Linki jeden pod drugim */
    gap: 0; /* Resetuje odstępy z głównego menu */
    padding: 10px 0;
}

/* Pokazanie podmenu po najechaniu myszką (hover) */
nav ul li.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Resetowanie szerokości dla elementów podmenu */
nav ul li.dropdown .dropdown-menu li {
    width: 100%;
}

/* Wygląd linków w podmenu */
nav ul li.dropdown .dropdown-menu a {
    padding: 12px 25px;
    display: block;
    font-size: 0.75rem;
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Wygląd linku w podmenu po najechaniu myszką */
nav ul li.dropdown .dropdown-menu a:hover {
    background-color: var(--bg-beige); /* Jasne tło po najechaniu */
    color: var(--accent-gold);
    padding-left: 30px; /* Delikatny efekt wcięcia tekstu (opcjonalny, luksusowy detal) */
}


/* --- 3 PIONOWE BLOKI TEKSTOWE --- */

.features-text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Dzieli na 3 równe kolumny */
    gap: 40px; /* Odstęp między blokami */
}

.feature-text-block {
    background-color: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    text-align: center; /* Wyśrodkowanie tekstu - bardzo eleganckie */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Efekt po najechaniu myszką */
.feature-text-block:hover {
    transform: translateY(-10px); /* Unosi blok lekko do góry */
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); /* Dodaje miękki cień */
    border-color: var(--accent-gold); /* Zmienia kolor ramki na złoty */
}

.feature-icon {
    display: block;
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.feature-text-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-brown);
    margin-bottom: 15px;
}

.feature-text-block p {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* RWD - Dostosowanie do urządzeń mobilnych */
@media (max-width: 900px) {
    .features-text-grid {
        grid-template-columns: 1fr; /* Na telefonach i małych tabletach bloki ustawią się jeden pod drugim */
        gap: 30px;
    }
    
    .feature-text-block {
        padding: 30px 20px;
    }
}


/* --- POZIOMY BLOK TEKSTOWY --- */
.horizontal-text-block {
    background-color: #ffffff; /* Całkowicie białe tło */
    /* Delikatne odcięcie u góry i dołu, aby sekcja oddzielała się od innych jasnych teł */
    border-top: 1px solid #f9f9f9; 
    border-bottom: 1px solid #f9f9f9;
}

.horizontal-text-block .block-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--accent-brown);
    margin: 15px 0 25px;
}

.horizontal-text-block .block-description {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px; /* Ograniczenie szerokości tekstu dla lepszej czytelności */
    margin: 0 auto;   /* Wyśrodkowanie bloku tekstu */
}

/* Dostosowanie na mniejsze ekrany (telefony) */
@media (max-width: 768px) {
    .horizontal-text-block .block-title {
        font-size: 2rem;
    }
    .horizontal-text-block .block-description {
        font-size: 1rem;
        padding: 0 10px;
    }
}

/* --- MENU MOBILNE --- */

/* Przycisk Hamburgera (domyślnie ukryty) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001; /* Zawsze na wierzchu */
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--primary-text, #1a1a1a);
    transition: 0.3s ease;
    border-radius: 2px;
}

/* Animacja krzyżyka przy otwartym menu */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-only-btn {
    display: none; /* Ukryte na desktopie */
}

/* MEDIA QUERY DLA TELEFONÓW I TABLETÓW */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-only-btn {
        display: none; /* Ukrywamy przycisk obok logotypu */
    }

    .mobile-only-btn {
        display: block;
        margin-top: 20px;
    }

    /* Układ głównej nawigacji na mobile */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white, #fff);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        display: none; /* Domyślnie ukryte */
        flex-direction: column;
        padding: 20px 0;
        z-index: 1000;
    }

    .main-nav.active {
        display: flex; /* Pokazuje się po dodaniu klasy przez JS */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    /* Dostosowanie rozwijanego menu "Kolekcje" do dotyku */
    nav ul li.dropdown {
        width: 100%;
        text-align: center;
    }

    nav ul li.dropdown .dropdown-menu {
        position: relative; /* Zerujemy pozycję absolutną z desktopu */
        box-shadow: none;
        border: none;
        background-color: #f9f9f9; /* Delikatne tło dla podmenu */
        width: 100%;
        display: none; /* Domyślnie ukryte na mobile */
        padding: 10px 0;
        margin-top: 15px;
    }

    /* Klasa dodawana przez JS po kliknięciu w "Kolekcje" na telefonie */
    nav ul li.dropdown.mobile-open .dropdown-menu {
        display: flex;
    }

    /* Blokujemy rozwijanie po hoverze na telefonach, żeby nie psuło kliknięć */
    nav ul li.dropdown:hover .dropdown-menu {
        display: none; 
    }
    nav ul li.dropdown.mobile-open:hover .dropdown-menu {
        display: flex;
    }
}


/* --- KOLEKCJE - WYGLĄD BAZOWY (DESKTOP) --- */

/* Wyśrodkowanie nagłówka z obrazkiem */
.flex-center-heading {
    display: flex;
    align-items: center;
    justify-content: center; /* To sprawia, że tekst i logo są na środku! */
    gap: 15px;
    color: var(--accent-brown);
}

.collections-frame-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 równe kolumny */
    gap: 40px;
    text-align: center;
}

.collection-item h4 {
    margin-top: 15px;
    font-size: 1.5rem;
    color: var(--primary-text);
}

.collection-subtext {
    font-size: 0.85rem; 
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.frame-box {
    border: 1px solid var(--accent-gold, #D4C5B0); /* Ozdobna ramka */
    padding: 15px;
    transition: transform 0.3s ease;
}

.frame-box:hover {
    transform: translateY(-5px); /* Delikatne uniesienie przy najechaniu */
}

.frame-box img {
    width: 100%;
    height: 300px; /* Stała wysokość, żeby wszystkie ramki były równe */
    object-fit: cover; /* Zapewnia, że zdjęcia nie będą spłaszczone */
    display: block;
}


/* --- WERSJA MOBILNA (TELEFONY I TABLETY) --- */
@media (max-width: 768px) {
    .collections-frame-grid {
        grid-template-columns: 1fr; /* Zmiana na 1 kolumnę (elementy jeden pod drugim) */
        gap: 30px; /* Zmniejszenie odstępów między całymi kafelkami */
    }

    .flex-center-heading {
        flex-wrap: wrap; /* Pozwala logo przeskoczyć do nowej linii na bardzo wąskich ekranach */
        font-size: 2rem; /* Nieco mniejsza czcionka na telefonach */
    }

    .frame-box img {
        height: 250px; /* Mniejsze zdjęcia na telefonach */
    }
}