:root {
    --kolor-glowny: #2c3e50;
    --kolor-akcent: #4a6741;
    --kolor-tla-karty: #f4f7f2;
    --cien: 0 15px 45px rgba(0, 0, 0, 0.08);
    --czcionka: 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--czcionka);
    line-height: 1.6;
    color: var(--kolor-glowny);
    background-color: #fff;
}

/* --- TYPOGRAFIA SEKCYJNA --- */
h2 {
    font-size: 1.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 8px;
}

/* Środkowanie nagłówka i pre-tytułu */
.header-sekcji {
    text-align: center; /* To wyśrodkuje tekst p oraz h2 */
    display: flex;
    flex-direction: column;
    align-items: center; /* To wyśrodkuje elementy typu span i div */
    margin-bottom: 50px;
}

.pre-title {
    display: block; /* Zmieniamy na block, aby reagował na marginesy */
    text-align: center;
    width: 100%;
    color: #2d5a27;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.header-sekcji p,
.header-filtrow p {
    font-size: 0.95rem;
    color: #888;
    font-style: italic;
    text-align: center;
    margin-bottom: 40px;
}

.section-padding {
    padding: 80px 20px;
}

/* --- NAWIGACJA STICKY --- */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--kolor-akcent);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--kolor-glowny);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- HERO (ZMODYFIKOWANY) --- */
.hero-section {
    min-height: 80vh; /* Zwiększamy wysokość, by pomieścić grafikę */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 60px 5%;
  
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.hero-content {
    flex: 1;
    text-align: left; /* Na desktopie tekst do lewej wygląda profesjonalniej przy obrazku */
    padding-right: 40px;
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    font-weight: 600;
    color: var(--kolor-akcent, #4CAF50);
}

.hero-line {
    width: 50px;
    height: 2px;
    background: var(--kolor-akcent, #4CAF50);
    margin: 25px 0; /* Linia do lewej */
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 110%; /* Lekkie powiększenie dla efektu nowoczesności */
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1)); /* Delikatny cień pod modułem */
    animation: float 6s ease-in-out infinite; /* Subtelny ruch góra-dół */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(#f0f0f0 1px, transparent 1px), linear-gradient(90deg, #f0f0f0 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    opacity: 0.3;
    mask-image: radial-gradient(circle, black, transparent 90%);
}

/* --- RESPONSYWNOŚĆ (MOBILE) --- */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 40px;
        text-align: center;
    }

    .hero-container {
        flex-direction: column; /* Tekst nad obrazkiem */
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-line {
        margin: 20px auto; /* Linia na środek */
    }

    .hero-image img {
        max-width: 90%; /* Nieco mniejszy na telefonach, by nie zajmował całego ekranu */
    }
}


/* --- PROJEKTANT (GŁÓWNA KARTA) --- */
.sekcja-glowna-projektu {
    background-color: var(--kolor-tla-karty);
    padding: 6rem 2rem;
}

.projektant-card {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    padding: 4rem 2rem;
    box-shadow: 0 30px 100px rgba(74, 103, 65, 0.12);
}

/* --- FILTRY I GALERIA (Wewnątrz karty) --- */
.kontener-filtrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.grupa-filtrow {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.etykieta-filtru {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #ccc;
    letter-spacing: 2px;
}

.filter-btn {
    padding: 10px 22px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active {
    background: var(--kolor-akcent);
    color: white;
    border-color: var(--kolor-akcent);
}

#galeria-modulow {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

@media (min-width: 1200px) {
    #galeria-modulow {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- KARTA MODUŁU --- */
.karta-modulu {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.karta-modulu:hover {
    transform: translateY(-10px);
    box-shadow: var(--cien);
}

.kontener-foto {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.kontener-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.karta-modulu .info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.karta-modulu h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-container {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.pill-styl,
.pill-schemat {
    font-size: 0.55rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 800;
}

.pill-styl {
    background: #f1f3f0;
    color: var(--kolor-akcent);
}

.pill-schemat {
    background: #f5f5f5;
    color: #999;
}

.btn-szczegoly,
.btn-zapytaj {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 5px;
}

.btn-szczegoly {
    background: #f4f4f4;
    color: #555;
}

.btn-zapytaj {
    background: var(--kolor-akcent);
    color: white;
}

/* --- SCHEMATY I KOMBI --- */
.siatka-schematow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.karta-schematu {
    background: #fcfcfc;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
}

.ikona-3d img {
    width: 180px;
    margin-bottom: 20px;
}

.tag-schematu-etykieta {
    font-size: 0.6rem;
    color: var(--kolor-akcent);
    border: 1px solid var(--kolor-akcent);
    padding: 3px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 800;
}

.system-kombi-section {
    padding: 100px 0;
}

.image-container-modul {
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--cien);
}

.image-container-modul img {
    width: 100%;
    display: block;
}

.flex-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    padding: 20px;
    border-left: 2px solid var(--kolor-akcent);
    background: #fafafa;
}

.step-number {
    font-size: 3rem;
    font-weight: 100;
    color: var(--kolor-akcent);
    display: block;
    opacity: 0.3;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .projektant-card {
        border-radius: 20px;
        padding: 2rem 1rem;
    }

    .sekcja-glowna-projektu {
        padding: 2rem 1rem;
    }

    .grupa-filtrow {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .scroll-wrapper {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
    }

    .filter-btn {
        font-size: 0.7rem;
        padding: 6px 15px;
    }

    .flex-grid-container {
        grid-template-columns: 1fr;
    }
}

/* --- STRONA PRODUKTU - NOWY LAYOUT --- */
.product-page {
    background-color: #fff;
    color: var(--kolor-glowny);
}

.product-container {
    max-width: 1400px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Układ katalogowy */
    gap: 60px;
    padding: 0 2rem;
}

/* Galeria po lewej */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.main-visual img,
.tech-visual img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.tech-visual {
    position: relative;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 15px;
    background: #fafafa;
}

.tech-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #bbb;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* Szczegóły po prawej */
.product-details {
    padding-top: 20px;
}

.details-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-pill {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--kolor-akcent);
    background: var(--kolor-tla-karty);
    padding: 4px 12px;
    border-radius: 4px;
}

.details-section {
    margin-top: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.details-section h4 {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #bbb;
}

.bg-light {
    background: var(--kolor-tla-karty);
    padding: 25px;
    border-radius: 15px;
    border: none;
}

/* Listy */
.plant-list,
.kit-list,
.offer-options {
    list-style: none;
    padding-left: 0;
}

.plant-list li,
.kit-list li {
    font-size: 1rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.plant-list li::before,
.kit-list li::before {
    content: "•";
    color: var(--kolor-akcent);
    position: absolute;
    left: 0;
}

.offer-options li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.offer-options strong {
    color: var(--kolor-glowny);
    display: block;
    margin-bottom: 2px;
}

/* Akcje */
.product-actions {
    margin-top: 40px;
}

.btn-primary-large {
    width: 100%;
    padding: 20px;
    background: var(--kolor-akcent);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #999;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- SEKCJA POWIĄZANE MODUŁY --- */
.related-products {
    background-color: var(--kolor-tla-karty);
    padding: 80px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.related-products h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

#galeria-modulow-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsywność dla powiązanych */
@media (max-width: 900px) {
    #galeria-modulow-related {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    #galeria-modulow-related {
        grid-template-columns: 1fr;
    }
}

/* --- STOPKA (FOOTER) --- */
.main-footer {
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 80px 0 40px 0;
    color: var(--kolor-glowny);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand .logo {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--kolor-akcent);
}

.footer-brand p {
    font-size: 0.85rem;
    color: #888;
    max-width: 250px;
}

.footer-container h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #bbb;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav a,
.footer-contact a {
    text-decoration: none;
    color: var(--kolor-glowny);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--kolor-akcent);
}

.footer-social .social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-icon {
    text-decoration: none;
    color: var(--kolor-glowny);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--kolor-akcent);
    transform: translateX(5px);
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0 auto;
    padding: 30px 2rem 0 2rem;
    border-top: 1px solid #f9f9f9;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.7rem;
    color: #ccc;
    letter-spacing: 1px;
}

/* --- RESPONSYWNOŚĆ STOPKI --- */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 30px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-social .social-links {
        align-items: center;
    }

    .social-icon:hover {
        transform: translateY(-3px);
    }
}

/* --- ANATOMIA MODUŁU --- */
.container-anatomia {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.anatomia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pre-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--kolor-akcent);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

/* Wizualizacja wymiarowania */
.anatomia-visual {
    position: relative;
    padding: 0px;
}

.cube-frame {
    position: relative;
    border: 1px solid #eee;
    padding: 20px;
    background: #fff;
    box-shadow: var(--cien);
    border-radius: 10px;
}

.cube-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
}

/* Etykiety wymiarów - styl techniczny */
.dimension-label {
    position: absolute;
    font-size: 0.65rem;
    font-family: monospace;
    background: var(--kolor-glowny);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    z-index: 10;
}

.dim-x {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.dim-x::before {
    content: '';
    position: absolute;
    width: 300px;
    /* Szerokość linii pomocniczej */
    height: 1px;
    background: var(--kolor-glowny);
    bottom: 50%;
    left: -150px;
    z-index: -1;
}

.dim-y {
    right: -35px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

/* Lista cech */
.features-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 1.2rem;
    font-weight: 200;
    color: var(--kolor-akcent);
    border-bottom: 1px solid var(--kolor-akcent);
    height: fit-content;
}

.feature-desc strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.feature-desc p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* Responsywność */
@media (max-width: 900px) {
    .anatomia-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .anatomia-visual {
        order: 2;
    }

    .feature-item {
        text-align: left;
    }

    .dim-x::before {
        width: 100px;
        left: -50px;
    }
}

.kontener-foto {
    position: relative;
}

.ikona-wymagan {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* --- SEKCJA: JAK TO DZIAŁA - POWIĘKSZONE ZDJĘCIA --- */
.jak-to-dziala-system {
    padding: 40px 20px !important; /* Zmniejszone marginesy sekcji dla lepszego skupienia */
    background-color: #fcfdfc;
}

/* Kontener na obrazek - ZWIĘKSZAMY WYSOKOŚĆ */
.img-wrapper-mini {
    width: 100%;
    height: 520px; /* Zwiększone z 160px - teraz zdjęcia są naprawdę duże */
    margin-bottom: 30px;
    overflow: hidden; /* Ważne przy efekcie hover */
    border-radius: 12px;
    display: block; /* Zmienione z flex dla lepszej kontroli cover */
    background: #f9f9f9;
}

.img-wrapper-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zdjęcie wypełnia całą przestrzeń (jak w katalogu) */
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Subtelny ruch przy najechaniu */
.krok-item:hover .img-wrapper-mini img {
    transform: scale(1.08);
}

/* Dopasowanie siatki, by przy dużych zdjęciach wszystko było równe */
.siatka-procesu {
    display: flex;
    justify-content: center;
    gap: 30px; /* Nieco mniejszy odstęp, by zmieścić większe karty */
    max-width: 1300px;
    margin: 40px auto 0;
    position: relative;
}

/* Kółko z numerem - lekka korekta pozycji */
.krok-icon-circle {
    width: 44px;
    height: 44px;
    background: #2d5a27;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin: 0 auto 25px auto;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 0 8px #fcfdfc;
}

/* Responsywność - na mniejszych ekranach zdjęcia muszą być nieco mniejsze */
@media (max-width: 1100px) {
    .img-wrapper-mini {
        height: 250px;
    }
}

@media (max-width: 991px) {
    .siatka-procesu {
        flex-direction: column;
        align-items: center;
    }
    .krok-item {
        max-width: 500px; /* Szersza karta na mobile */
        width: 100%;
    }
    .img-wrapper-mini {
        height: 280px;
    }
}

.siatka-procesu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Zmieniono na 4 kolumny */
    gap: 25px;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 0 2rem;
}

.krok {
    background: #fff;
    padding: 35px 25px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.krok:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--kolor-akcent);
}

/* Wyróżnienie kroku z realizacją */
.akcent-realizacja {
    background: #fafafa;
    border-left: 3px solid var(--kolor-akcent);
}

.krok-icon {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f3f3f3;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1;
}

.krok h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    z-index: 2;
}

.krok p {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.6;
    z-index: 2;
}

/* Responsywność */
@media (max-width: 1100px) {
    .siatka-procesu {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.container-doc {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.doc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: center;
}

.karta-techniczna {
    background: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    position: relative;
}

.label-tech {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--kolor-akcent);
    color: white;
    font-size: 0.65rem;
    padding: 5px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.img-frame-tech {
    background: #fdfdfd;
    border: 1px dashed #ccc;
    padding: 10px;
    aspect-ratio: 1.41 / 1;
    /* Proporcje arkusza A4/A3 poziomo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-frame-tech img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lista-doc {
    list-style: none;
    margin-top: 40px;
}

.lista-doc li {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
}

.lista-doc li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--kolor-akcent);
    font-weight: bold;
}

.lista-doc strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.lista-doc p {
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 900px) {
    .doc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .doc-preview {
        order: 2;
    }
}

.arkusz-projektowy {
    background: #fff;
    padding: 30px;
    border: 1px solid #d0d0d0;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', sans-serif;
}

.arkusz-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.modul-code {
    font-weight: 800;
    color: var(--kolor-akcent);
}

.modul-title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.arkusz-main-img {
    background: #f9f9f7;
    /* Delikatny kolor papieru czerpanego */
    border: 1px solid #eee;
    padding: 15px;
}

.arkusz-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #aaa;
}

.doc-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.doc-feature-box {
    padding: 20px;
    background: #fafafa;
    border-radius: 5px;
}

.icon-doc {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
}

.doc-feature-box h4 {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.doc-feature-box p {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.4;
}

/* Styl sekcji zakupu PDF */
.buy-digital-box {
    background: #f8faf8;
    /* Bardzo delikatny zielonkawy odcień */
    border: 2px solid #e1e8e1;
    padding: 30px !important;
    border-radius: 12px;
    margin: 25px 0;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d5a27;
    margin-bottom: 10px;
}

.doc-benefit {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
}

.btn-buy-now {
    width: 100%;
    background: #333;
    /* Ciemny przycisk dla kontrastu z głównym zielonym */
    color: white;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy-now:hover {
    background: #000;
}

/* Sekcja płatności wewnątrz buy-digital-box */
.payment-trust-bar {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e1e8e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payment-icons img {
    height: 18px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(0.2);
    transition: all 0.3s ease;
}

.payment-icons img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.secure-badge {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sekcja lokalna Olsztyn */
.local-service {
    background: #fdfdfd;
    border: 1px dashed #d1d1d1 !important;
    padding: 25px !important;
    border-radius: 8px;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    background: #fff4e5;
    color: #8a5300;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #ffd8a8;
}

/* RESET I UKŁAD PRZYCISKÓW W KARCIE */
/* PRZYCISK SZCZEGÓŁY */
.btn-szczegoly-main {
    background: #f4f4f4 !important;
    color: #333 !important;
    border: none !important;
    padding: 12px 5px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: 0.3s !important;
}

.btn-szczegoly-main:hover {
    background: #e0e0e0 !important;
}

/* PRZYCISK PROJEKT PDF (ZIELONY) */
.btn-kup-projekt-grid {
    background: #4a6741 !important;
    /* Twój zielony akcent */
    color: white !important;
    border: none !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: 0.3s !important;
}

.btn-kup-projekt-grid:hover {
    background: #2c3e50 !important;
    /* Ciemny granat przy najechaniu */
}

/* WEWNĄTRZ PRZYCISKU PDF */
.btn-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    line-height: 1.1 !important;
    text-align: left !important;
}

.btn-pdf-label {
    font-size: 0.55rem !important;
    font-weight: 400 !important;
    opacity: 0.8 !important;
    letter-spacing: 0.5px !important;
}

.btn-pdf-price {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
}

/* IKONA POBIERANIA */
.btn-kup-projekt-grid svg {
    flex-shrink: 0 !important;
    margin-left: 4px !important;
}

.akcje-karty-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    /* Dwie równe kolumny */
    gap: 8px !important;
    margin-top: auto !important;
    /* Pcha przyciski do dołu karty */
    padding-top: 15px !important;
    width: 100% !important;
}

/* --- PRODUCT PAGE STYLES --- */
.product-page {
    background-color: #fcfcfc;
    font-family: 'Inter', sans-serif;
}

.product-container {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 20px;
}

/* Galeria */
.main-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.tech-card {
    background: white;
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
    text-align: center;
}

.tech-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}

.tech-visual img {
    max-width: 100%;
    height: auto;
}

/* Szczegóły */
.category-pill {
    background: #eef5ee;
    color: #2d5a27;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.details-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin: 15px 0;
}

.short-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.section-subtitle {
    margin-top: 30px;
    color: #1a1a1a;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-bottom: 2px solid #2d5a27;
    display: inline-block;
    padding-bottom: 5px;
}

.plant-minimal-list {
    margin-top: 15px;
}

.plant-item {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* MODUŁY OFERTY */
.offer-grid {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offer-card {
    background: white;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s ease;
}

.offer-card.highlight {
    background: #f0faf4;
    border-color: #2d5a27;
}

.offer-price {
    float: right;
    font-weight: 800;
    font-size: 1.2rem;
    color: #2d5a27;
}

.offer-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.offer-card p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.offer-tag {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #333;
    color: white;
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 5px;
    text-transform: uppercase;
}

.offer-tag.gold {
    background: #2d5a27;
}

/* Przyciski */
.btn-digital,
.btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-digital {
    background: #333;
    color: white;
}

.btn-primary {
    background: #2d5a27;
    color: white;
}

.btn-outline {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: white;
    font-weight: 700;
    cursor: pointer;
}

/* Modal */
/* Ukrycie modala na starcie */
#productModal {
    display: none;
    position: fixed;
    z-index: 5000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    margin: 10vh auto;
    padding: 35px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Moduły oferty na stronie produktu */
.offer-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.offer-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.offer-card.highlight {
    border: 2px solid #2d5a27;
    background: #f0faf4;
}

.offer-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #2d5a27;
    margin-bottom: 5px;
    display: block;
}

.modal-content {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 550px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.product-contact-form input,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #f9f9f9;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: #2d5a27;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

/* Responsywność */
@media (max-width: 900px) {
    .product-container {
        grid-template-columns: 1fr;
    }
}

/* Mikro-info o wymiarach */
.karta-wymiar {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    opacity: 0.6;
    /* Delikatne przygaszenie, by nie odciągać uwagi od tytułu */
}

.mini-square {
    width: 8px;
    height: 8px;
    border: 1px solid #2d5a27;
    flex-shrink: 0;
}

.wymiar-text {
    font-size: 0.65rem;
    font-weight: 600;
    color: #2d5a27;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Etykieta wymiaru na zdjęciu */
.label-wymiar {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.85);
    /* Białe, lekko przezroczyste tło */
    backdrop-filter: blur(4px);
    /* Efekt rozmycia pod etykietą */
    color: #2d5a27;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    pointer-events: none;
    /* Kliknięcie przechodzi do zdjęcia/produktu */
    border: 1px solid rgba(45, 90, 39, 0.1);
    z-index: 10;
}

/* Ważne: kontener zdjęcia musi mieć pozycję relatywną */
.kontener-foto {
    position: relative;
    overflow: hidden;
}

.module-purchase-info {
    padding: 100px 20px;
    background-color: #ffffff;
    /* Powrót do czystej bieli */
    font-family: 'Montserrat', sans-serif;
}

.info-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.info-content {
    text-align: center;
    margin-bottom: 70px;
}

.info-content .subtitle {
    color: #2d5a27;
    letter-spacing: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.info-content h2 {
    font-size: 2.4rem;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.info-content p {
    color: #666;
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Przycisk PDF w wersji minimalistycznej */
.btn-sample-pdf {
    display: inline-block;
    padding: 15px 35px;
    background-color: #2d5a27;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    /* Bardziej kanciasty, nowoczesny styl */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.btn-sample-pdf:hover {
    background-color: #1e3d1a;
}

/* Nowy wygląd okienek */
.info-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 50px 30px;
    border: 1px solid #eee;
    /* Cienkie obramowanie zamiast cienia */
    border-radius: 0;
    /* Kwadratowa estetyka nawiązuje do logo */
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    border-color: #2d5a27;
    background-color: #f9fbf8;
}

/* Ikony w kółkach */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f0f4ef;
    color: #2d5a27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-circle {
    background-color: #2d5a27;
    color: #fff;
}

.icon-circle svg {
    width: 24px;
    height: 24px;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .info-content h2 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 30px 20px;
    }
}

/* Styl dla widoku systemowego wewnątrz karty produktu */
.widok-systemowy-karta {
    padding: 10px 15px;
    background: #fdfdfd;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.widok-systemowy-karta:hover {
    background: #f5f9f4;
}

.system-tag {
    display: block;
    font-size: 0.55rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.system-img-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.system-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.98);
}

/* Opcjonalne: ukrycie na bardzo małych ekranach, by karta nie była za długa */
@media (max-width: 480px) {
    .widok-systemowy-karta {
        padding: 8px 10px;
    }

    .system-tag {
        font-size: 0.5rem;
    }
}

.btn-load-more {
    display: block;
    margin: 50px auto 0;
    padding: 18px 40px;
    background-color: transparent;
    border: 2px solid var(--kolor-akcent);
    color: var(--kolor-akcent);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: var(--kolor-akcent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 103, 65, 0.2);
}

/* Zielony kwadracik przed logo w nagłówku */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Odstęp między kwadratem a tekstem */
}

.logo::before {
    content: "";
    width: 12px;
    /* Rozmiar kwadracika */
    height: 12px;
    background-color: var(--kolor-akcent);
    /* Używa Twojej zdefiniowanej zieleni #4a6741 */
    display: inline-block;
    flex-shrink: 0;
}

/* Opcjonalnie: jeśli chcesz, aby kwadracik był obecny również w stopce */
.footer-brand .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Wyśrodkowanie, jeśli stopka jest wyśrodkowana */
}

.kontener-foto {
    position: relative;
}

.label-naslonecznienie {
    position: absolute;
    top: 10px;
    right: 10px;
   
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* Poprawa układu filtrów na mobile */
@media (max-width: 768px) {
    .kontener-filtrow {
        padding: 10px 0;
    }

    .grupa-filtrow {
        margin-bottom: 20px;
    }

    .etykieta-filtru {
        display: block;
        margin-bottom: 10px;
        font-size: 0.8rem;
        padding-left: 15px;
    }

    .scroll-wrapper {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 15px 10px 15px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Ukrycie paska Firefox */
    }

    .scroll-wrapper::-webkit-scrollbar {
        display: none;
        /* Ukrycie paska Chrome/Safari */
    }

    .filter-btn {
        flex: 0 0 auto;
        /* Zapobiega ściskaniu przycisków */
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Poprawa widoczności ikon na zdjęciu (Sun/Shade) */
.ikona-wymagan {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 20;
    display: flex !important;
    /* Gwarancja wyświetlania */
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .ikona-wymagan {
        top: 8px;
        right: 8px;
        font-size: 0.65rem;
        padding: 3px 6px;
    }

    /* Upewnij się, że kontener foto ma relative */
    .kontener-foto {
        position: relative;
    }
}

/* Linia pomocnicza dla głębokości żywopłotu */
.dimension-line {
    position: absolute;
    right: 5mm;
    /* Odstęp od krawędzi rzutu */
    top: 55%;
    /* Pozycja pionowa żywopłotu */
    height: 60mm;
    /* 60cm w skali 1:10 = 60mm */
    width: 1px;
    background: var(--mz-green);
    display: flex;
    align-items: center;
}

.dimension-line::before,
.dimension-line::after {
    content: '';
    position: absolute;
    width: 6mm;
    height: 1px;
    background: var(--mz-green);
    left: -3mm;
}

.dimension-line::after {
    bottom: 0;
}

.dimension-text {
    position: absolute;
    left: 4mm;
    font-size: 7pt;
    font-weight: 600;
    color: var(--mz-green);
    white-space: nowrap;
}

/* Główne opakowanie sekcji */
.siatka-procesu {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Rozciąga kolumny do równej wysokości */
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Pojedynczy krok - wymuszamy symetrię */
.krok {
    flex: 1 1 300px;
    /* Każdy krok zajmuje tyle samo miejsca */
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Środkuje elementy w osi pionowej */
    text-align: center;
    /* Środkuje tekst */
    background: #fff;
    /* Opcjonalnie: tło dla lepszej widoczności */
}

/* Numer kroku - zawsze na środku */
.krok-icon-circle {
    width: 44px;
    height: 44px;
    background: #2d5a27;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 20px auto;
    /* Auto na boki gwarantuje środek */
    font-size: 1rem;
}

/* Kontener na grafikę - kluczowy dla równego wyglądu */
.img-wrapper-mini {
    width: 100%;
    height: 180px;
    /* Stała wysokość wyrównuje start tekstów pod spodem */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.img-wrapper-mini img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Typografia */
.krok h3 {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: #1a1a1a;
    width: 100%;
}

.krok p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    max-width: 90%;
    /* Zapobiega rozlewaniu się tekstu do samych krawędzi */
}

/* Główne ustawienia sekcji */
.jak-to-dziala-system {
    background-color: #fcfdfc;
    /* Bardzo delikatny off-white dla odróżnienia */
    overflow: hidden;
}

.sub-line {
    width: 40px;
    height: 2px;
    background: #2d5a27;
    margin: 15px auto 25px;
}

/* Siatka i linia łącząca */
.siatka-procesu {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 0;
    position: relative;
}

/* Linia łącząca (widoczna tylko na desktopie) */
@media (min-width: 992px) {
    .siatka-procesu::before {
        content: '';
        position: absolute;
        top: 22px;
        /* Połowa wysokości kółka */
        left: 20%;
        right: 20%;
        height: 1px;
        border-top: 1px dashed #dceada;
        z-index: 1;
    }
}

/* Pojedynczy element kroku */
.krok-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Kółko z numerem */
.krok-icon-circle {
    width: 44px;
    height: 44px;
    background: #2d5a27;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 30px;
    box-shadow: 0 0 0 8px #fcfdfc;
    /* Tworzy przerwę w przerywanej linii */
}

/* Kontener na obrazek */
.img-wrapper-mini {
    width: 100%;
    height: 160px;
    margin-bottom: 30px;
    transition: transform 0.4s ease;
}

.img-wrapper-mini img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Hover efekt dla nowoczesności */
.krok-item:hover .img-wrapper-mini {
    transform: scale(1.05);
}

/* Treść */
.krok-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.krok-content p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    padding: 0 10px;
}

/* Responsywność */
@media (max-width: 991px) {
    .siatka-procesu {
        flex-direction: column;
        gap: 60px;
    }

    .img-wrapper-mini {
        height: auto;
    }
}

/* Stylizacja sekcji pobierania PDF */
.doc-preview-box:hover .pdf-mockup {
    transform: rotate(0deg) scale(1.02);
}

.btn-download-pdf:hover {
    background: #1e3d1a !important;
    box-shadow: 0 10px 20px rgba(45, 90, 39, 0.2);
}

/* Responsywność dla sekcji PDF */
@media (max-width: 768px) {
    .container-doc {
        flex-direction: column-reverse;
        /* Na mobile najpierw tekst, potem obrazek */
        text-align: center;
    }

    .doc-info-box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pdf-mockup {
        transform: rotate(0deg);
        /* Na mobile rezygnujemy z pochylenia dla czytelności */
    }
}

/* --- SEKCJA: JAK TO DZIAŁA - MAKSYMALNA WIDOCZNOŚĆ --- */
.jak-to-dziala-system {
    padding: 20px 0 !important;
    /* Minimalne marginesy sekcji góra/dół */
    background-color: #fcfdfc;
}

.sub-line {
    width: 40px;
    height: 2px;
    background: #2d5a27;
    margin: 10px auto 20px;
}

/* Nowa, czysta siatka bez konfliktów */
.siatka-procesu {
    display: flex !important;
    /* Wymuszamy flex zamiast grid */
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    /* Minimalny odstęp między kartami */
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    position: relative;
}

/* Usunięcie linii łączącej dla czystszego widoku przy dużych zdjęciach */
@media (min-width: 992px) {
    .siatka-procesu::before {
        display: none;
    }
}

.krok-item {
    flex: 1 1 350px;
    /* Szerokie karty */
    max-width: 420px;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 15px;
    /* Mniejszy padding wewnątrz karty, by zdjęcie było większe */
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.4s ease;
}

.krok-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--cien);
    border-color: var(--kolor-akcent);
}

/* --- POPRAWKA WYŚWIETLANIA OBRAZÓW (BEZ UCINANIA) --- */
.img-wrapper-mini {
    width: 100% !important;
    height: 400px !important;
    /* Stała wysokość sekcji */
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    background: #f9f9f9;
    /* Jasne tło dla zdjęć, które nie wypełniają całości */
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.img-wrapper-mini img {
    width: 100% !important;
    height: 100% !important;
    /* ZMIANA: contain zamiast cover sprawi, że zobaczysz CAŁE zdjęcie */
    object-fit: contain !important;
    display: block;
    transition: transform 0.6s ease;
    /* Opcjonalnie: dodaj lekki cień pod samym zdjęciem, jeśli tło jest białe */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05));
}

.krok-item:hover .img-wrapper-mini img {
    transform: scale(1.05);
}

/* Dodatkowa poprawka dla kart, by były równe */
.krok-item {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Treść zaczyna się od góry */
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #eee;
}

/* Stylizacja treści pod zdjęciem */
.krok-icon-circle {
    width: 36px;
    height: 36px;
    background: #2d5a27;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.krok-content {
    text-align: left;
    /* Tekst do lewej wygląda bardziej profesjonalnie przy dużych zdjęciach */
    padding: 0 10px 10px 10px;
}

.krok-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.krok-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

/* Responsywność */
@media (max-width: 768px) {
    .img-wrapper-mini {
        height: 300px !important;
        /* Nieco niższe na telefonach */
    }

    .krok-item {
        flex: 1 1 100%;
    }
}

/* --- STYLIZACJA ZALET SYSTEMU --- */
#zalety-systemu {
    background: #fff;
}

.info-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 0;
    /* Kwadratowy styl nawiązujący do logo */
    text-align: center;
    transition: all 0.4s ease;
    background: #fff;
}

.feature-card:hover {
    border-color: #2d5a27;
    background-color: #f9fbf8;
    transform: translateY(-5px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #f0f4ef;
    color: #2d5a27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-circle {
    background-color: #2d5a27;
    color: #fff;
}

.icon-circle svg {
    width: 28px;
    height: 28px;
}

.feature-card h4 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Responsywność przycisku */
@media (max-width: 768px) {
    .btn-primary-large {
        width: 100%;
        padding: 15px 20px;
    }
}

/* --- SEKCJA ZAUFANIA --- */
#zaufanie-liczby .krok-item {
    transition: all 0.3s ease;
    cursor: default;
}

#zaufanie-liczby .krok-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-5px);
    border-color: #4a6741 !important;
}

#zaufanie-liczby .krok-icon-circle {
    box-shadow: 0 0 20px rgba(74, 103, 65, 0.4);
    font-size: 1.1rem;
}

#zaufanie-liczby h3 {
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Responsywność dla ciemnej sekcji */
@media (max-width: 768px) {
    #zaufanie-liczby {
        padding: 60px 20px !important;
    }
}

/* --- LAYOUT DWUKOLUMNOWY DLA PODŁOŻA --- */
.podloze-grid {
    display: flex !important;
    align-items: center;
    /* Centruje tekst pionowo względem obrazu */
    justify-content: space-between;
    gap: 60px;
    /* Odstęp między kolumnami */
    max-width: 1200px;
    margin: 0 auto;
}

/* Kolumna lewa - Obraz */
.podloze-visual {
    flex: 1;
    /* Zajmuje połowę szerokości */
    position: relative;
}

.podloze-img-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
    border: 1px solid #eee;
}

.podloze-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Kolumna prawa - Tekst */
.podloze-text {
    flex: 1;
    /* Zajmuje drugą połowę szerokości */
    text-align: left;
    /* Wyrównanie do lewej dla czytelności w kolumnie */
}

.podloze-text h2 {
    text-align: left !important;
    /* Nadpisuje ogólne środkowanie h2 */
    margin-bottom: 20px;
}

.podloze-list {
    list-style: none;
    margin: 25px 0;
}

.podloze-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--kolor-glowny);
}

.podloze-list li span {
    color: var(--kolor-akcent);
    font-weight: 900;
}

/* Badge na zdjęciu */
.badge-receptura {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--kolor-akcent);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

/* RESPONSYWNOŚĆ (MOBILE) */
@media (max-width: 991px) {
    .podloze-grid {
        flex-direction: column;
        /* Na tabletach i telefonach jeden pod drugim */
        gap: 40px;
    }

    .podloze-text {
        text-align: center;
    }

    .podloze-text h2 {
        text-align: center !important;
    }

    .podloze-list {
        display: inline-block;
        text-align: left;
    }

    .podloze-visual {
        order: 2;
        /* Obrazek pod tekstem na mobile */
        width: 100%;
        max-width: 500px;
    }
}

/* --- STYLIZACJA SEKCJI ŻYWOPŁOTÓW --- */
#sekcja-zywoploty .podloze-list li {
    font-weight: 400;
    /* Nieco lżejszy tekst dla opisów gatunków */
    align-items: flex-start;
}

#sekcja-zywoploty .podloze-list li span {
    font-size: 1.5rem;
    line-height: 0.8;
}

/* Różne kolory dla liści w opisie (opcjonalnie dla bajeru) */
#sekcja-zywoploty .podloze-list li:nth-child(4) span {
    color: #a02b2b;
    /* Czerwień dla Głogownika */
}

@media (max-width: 991px) {
    #sekcja-zywoploty .podloze-grid {
        flex-direction: column !important;
        /* Na mobile tekst zawsze nad obrazkiem */
    }
}

/* --- SEKCJA INSPIRACJI --- */
.social-cta-box {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link-btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.social-link-btn.ig {
    background: #fff;
    color: #2d5a27;
    border: 1px solid #2d5a27;
}

.social-link-btn.fb {
    background: #2d5a27;
    color: #fff;
}

.social-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mozaika-inspiracji {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--cien);
}

.badge-inspiracja {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #2d5a27;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .social-cta-box {
        justify-content: center;
    }
}

/* --- POPRAWKA SEKJI NIESKOŃCZONE MOŻLIWOŚCI - NATURALNY ROZMIAR --- */
#nieskonczone-mozliwosci .podloze-grid {
    display: flex !important;
    align-items: center;
    /* Centruje tekst pionowo względem zdjęcia */
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.podloze-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mozaika-inspiracji {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--cien);
    width: 100%;
    /* Dopasuje się do szerokości kolumny */
    height: auto;
    /* Zachowuje naturalne proporcje zdjęcia */
}

.mozaika-inspiracji img {
    width: 100% !important;
    height: auto !important;
    /* Zdjęcie nie zostanie rozciągnięte */
    display: block;
    object-fit: contain;
    /* Gwarantuje, że całe zdjęcie będzie widoczne */
}

/* Responsywność */
@media (max-width: 900px) {
    #nieskonczone-mozliwosci .podloze-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .podloze-visual {
        order: 2;
    }
}

/* Sekcja Projektu Indywidualnego na Home */
#projekt-indywidualny-home {
    padding: 100px 0;
    background-color: #fcfdfc;
    border-top: 1px solid #f0f0f0;
}

.full-project-wrapper {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2d5a27;
    background: #eef5ee;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.project-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.6rem;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.project-title strong {
    color: #2d5a27;
}

.project-lead {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.project-features-minimal {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.feature-item i {
    color: #2d5a27;
    font-size: 1.1rem;
}

.btn-outline-green {
    display: inline-block;
    padding: 20px 45px;
    background: #fff;
    color: #2d5a27;
    border: 2px solid #2d5a27;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-green:hover {
    background: #2d5a27;
    color: #fff;
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.15);
    transform: translateY(-3px);
}

.project-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #999;
}

/* Responsywność */
@media (max-width: 768px) {
    .project-title {
        font-size: 1.8rem;
    }

    .project-features-minimal {
        gap: 15px;
    }

    .feature-item {
        
        justify-content: flex-start;
    }

    .btn-outline-green {
        width: 100%;
        padding: 18px 20px;
    }
}

/* Poprawka dla sekcji Potęga Kwadratu na urządzeniach mobilnych */
@media (max-width: 992px) {
    .anatomia-grid {
        display: flex !important;
        flex-direction: column !important;
        /* Zdjęcie nad tekstem */
        gap: 40px;
        align-items: center;
    }

    .container-anatomia {
        padding: 0 20px;
        /* Dodatkowy margines boczny */
    }

    .anatomia-visual {
        width: 100%;
        max-width: 400px;
        /* Ograniczenie wielkości grafiki na komórce */
        margin: 0 auto;
    }

    .anatomia-text {
        width: 100% !important;
        text-align: center;
        /* Centrowanie tytułów dla lepszej optyki */
    }

    /* Centrowanie elementów listy cech */
    .feature-item {
        text-align: left;
        /* Tekst opisu zostawiamy do lewej dla czytelności */
        max-width: 100%;
        margin-bottom: 25px;
    }

    .anatomia-text h2 {
        font-size: 2rem !important;
        /* Dopasowanie wielkości nagłówka */
    }
}

/* Specyficzna poprawka dla bardzo małych ekranów (poniżej 480px) */
@media (max-width: 480px) {
    .cube-frame {
        transform: scale(0.9);
        /* Delikatne zmniejszenie wizualizacji kostki */
    }

    .feature-icon {
        min-width: 40px;
        /* Mniejsze kółka z numerami, by nie zabierały miejsca */
        height: 40px;
        font-size: 0.9rem;
    }
}

/* --- POPRAWIONA SEKCJA METAMORFOZY --- */
.metamorfoza-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.metamorfoza-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    height: 100%;
}

.metamorfoza-img-container {
    position: relative;
    width: 100%;
    background: #f9f9f9;
}

.metamorfoza-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

.metamorfoza-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    color: #2d5a27;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.metamorfoza-body {
    padding: 25px;
    text-align: left;
}

.metamorfoza-step {
    font-size: 0.7rem;
    color: #2d5a27;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.metamorfoza-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.metamorfoza-body p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .metamorfoza-grid {
        grid-template-columns: 1fr;
    }
    .metamorfoza-card {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* --- SEKCJA AI VS MODUŁ --- */
#ai-vs-modul {
    background-color: #f9faf9;
    padding: 80px 0;
}

.ai-comparison-card {
    display: flex;
    flex-direction: column;
}

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

.comp-box {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.ai-fail {
    opacity: 0.7;
    filter: grayscale(0.5);
    border-left: 4px solid #ccc;
}

.modul-win {
    border-left: 4px solid #4a6741;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .comparison-row { grid-template-columns: 1fr; }
    .modul-win { transform: scale(1); order: -1; }
}

/* --- MINIMALISTYCZNY KALKULATOR MODUŁÓW --- */
.kalkulator-minimal {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.kalkulator-minimal .kalkulator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding-bottom: 20px;
}

/* Styl pola wpisywania */
.kalkulator-minimal input {
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 2.5rem;
    font-weight: 300;
    width: 100px;
    text-align: center;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.3s ease;
    background: transparent;
}

.kalkulator-minimal input:focus {
    border-bottom-color: #2d5a27;
}

.kalkulator-minimal .unit {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-top: 10px;
}

/* Pionowa linia dzieląca */
.kalkulator-minimal .divider {
    width: 1px;
    height: 60px;
    background: #eee;
}

/* Styl wyniku */
.kalkulator-minimal #liczba-modulow {
    font-size: 4rem;
    font-weight: 200;
    color: #2d5a27;
    line-height: 1;
}

.kalkulator-minimal .label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2d5a27;
    font-weight: 700;
    margin-top: 5px;
}

.kalkulator-minimal .calc-hint {
    font-size: 0.7rem;
    color: #ccc;
    margin-top: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .kalkulator-minimal .kalkulator-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .kalkulator-minimal .divider {
        width: 40px;
        height: 1px;
    }
    .kalkulator-minimal input {
        width: 100%;
    }
}
/* --- STYLIZACJA STRATEGII WYBORU --- */
.karta-strategii {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.karta-strategii:hover {
    border-color: #2d5a27;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.karta-strategii h4 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.karta-strategii .desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    min-height: 3em;
}

/* Wizualizacja mini modułów */
.wizualizacja-opcji {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
}

.modul-mini {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
    color: white;
    border-radius: 4px;
}

.type-a { background: #2d5a27; }
.type-b { background: #4a6741; opacity: 0.8; }
.type-c { background: #6b8e61; opacity: 0.6; }

.lista-zalet {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: auto;
}

.lista-zalet li {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.lista-zalet li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2d5a27;
    font-weight: bold;
}

@media (max-width: 900px) {
    .doc-grid {
        grid-template-columns: 1fr !important;
    }
}
.koncepcja-modulowa {
    padding: 80px 20px;
    background-color: #fcfcfc;
    font-family: 'Inter', sans-serif; /* Bardziej techniczny font */
}

.mz-container {
    max-width: 1000px;
    margin: 0 auto;
}

.mz-header {
    text-align: center;
    margin-bottom: 60px;
}

.mz-header h2 {
    font-size: 2rem;
    color: #1a3c34;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mz-line {
    width: 60px;
    height: 2px;
    background: #1a3c34;
    margin: 20px auto;
}

/* Wyjaśnienie możliwości */
.mz-explain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.explain-item {
    text-align: center;
}

.explain-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #1a3c34;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
    color: #1a3c34;
}

.explain-item h4 {
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1rem;
}

.explain-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Siatka symboli */
.mz-symbols-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.symbol-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px 10px;
    text-align: center;
    font-weight: bold;
    color: #1a3c34;
    transition: all 0.3s ease;
}

.symbol-card:hover {
    background: #1a3c34;
    color: #fff;
    border-color: #1a3c34;
}

.mz-technical-footer {
    margin-top: 60px;
    text-align: center;
    font-size: 0.95rem;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

@media (max-width: 768px) {
    .mz-explain-grid { grid-template-columns: 1fr; }
    .mz-symbols-grid { grid-template-columns: repeat(3, 1fr); }
}
.dlaczego-szesc {
    padding: 100px 20px;
    background-color: #1a3c34; /* Ciemnozielone tło dla kontrastu z białą sekcją powyżej */
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.mz-header-center {
    text-align: center;
    margin-bottom: 70px;
}

.mz-header-center h2 {
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mz-line-center {
    width: 50px;
    height: 1px;
    background: #fff;
    margin: 30px auto;
}

.mz-logic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.logic-box {
    text-align: center;
}

.logic-num {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.1); /* Subtelne, wielkie cyfry w tle */
    margin-bottom: -40px;
}

.logic-box h4 {
    position: relative;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logic-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e0;
}

.mz-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
}

.mz-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: #cbd5e0;
}

@media (max-width: 768px) {
    .mz-logic-grid { grid-template-columns: 1fr; gap: 40px; }
    .mz-header-center h2 { font-size: 1.8rem; }
}
.matematyka-wyboru {
    padding: 80px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #1a3c34;
}

.mz-container {
    max-width: 1100px;
    margin: 0 auto;
}

.mz-header-simple {
    text-align: center;
    margin-bottom: 50px;
}

.mz-header-simple h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mz-line-short {
    width: 40px;
    height: 3px;
    background: #1a3c34;
    margin: 15px auto;
}

.mz-calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.calc-card {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    border-bottom: 3px solid #eee;
    transition: all 0.3s ease;
}

.calc-card:hover {
    border-bottom-color: #1a3c34;
    transform: translateY(-5px);
}

.calc-icon {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
}

.calc-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

/* Wyróżnienie głównej liczby */
.highlight-gold .calc-icon {
    color: #c5a059; /* Złoty/Mosiężny kolor dla miliona */
}

.mz-config-examples {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    background: #f4f4f4;
    padding: 25px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .mz-calc-grid { grid-template-columns: 1fr; }
    .mz-header-simple h2 { font-size: 1.6rem; }
}
.matematyka-wyboru {
    padding: 80px 20px;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #1a3c34;
}

.mz-container {
    max-width: 1100px;
    margin: 0 auto;
}

.mz-header-simple {
    text-align: center;
    margin-bottom: 50px;
}

.mz-header-simple h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mz-line-short {
    width: 40px;
    height: 3px;
    background: #1a3c34;
    margin: 15px auto;
}

.mz-calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.calc-card {
    background: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
    border-radius: 4px;
    border-bottom: 3px solid #eee;
}

.calc-icon {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
}

.highlight-gold .calc-icon {
    color: #c5a059;
}

/* Stylizacja boxu z ciekawostką */
.mz-math-explanation {
    background: #1a3c34;
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.math-tag {
    background: #c5a059;
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.math-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: #cbd5e0;
}

.math-content strong {
    color: #fff;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .mz-calc-grid { grid-template-columns: 1fr; }
    .mz-header-simple h2 { font-size: 1.6rem; }
}

.hero-section {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-container-vertical {
    max-width: 1000px; /* Szerokość dopasowana do wizualizacji */
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Nagłówek nad obrazem */
.hero-content-top h1 {
    font-size: 2.8rem;
    color: #1a3c34;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content-top h1 span {
    font-weight: 300;
    color: #555;
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.hero-line-center {
    width: 60px;
    height: 3px;
    background: #1a3c34;
    margin: 0 auto 40px auto;
}

/* Ekspozycja obrazu */
.hero-main-visual {
    width: 100%;
    margin-bottom: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); /* Delikatny cień pod wizualizacją */
    border-radius: 4px;
    overflow: hidden;
}

.hero-main-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Tekst pod obrazem */
.hero-content-bottom p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Delikatna siatka w tle */
.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#1a3c34 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-content-top h1 { font-size: 2rem; }
    .hero-content-top h1 span { font-size: 1.4rem; }
}
/* --- STYLIZACJA KOSZYKA --- */
.cart-sidebar {
    position: fixed;
    top: 0; right: -100%; /* Domyślnie schowany */
    width: 400px; height: 100%;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 3000;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex; flex-direction: column;
}

.cart-sidebar.active { right: 0; }

.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 2500;
    display: none;
}

.cart-overlay.active { display: block; }

.cart-header {
    padding: 20px; border-bottom: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
}

.cart-header h2 { color: #1a3c34; margin: 0; font-size: 1.3rem; }

.close-cart { 
    background: none; border: none; font-size: 2rem; cursor: pointer; color: #888; 
}

.cart-items { flex-grow: 1; padding: 20px; overflow-y: auto; }

/* Rząd produktu w koszyku */
.cart-item-row {
    display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
    padding-bottom: 15px; border-bottom: 1px solid #f5f5f5;
}

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

.item-info { flex-grow: 1; }
.item-info strong { display: block; color: #1a3c34; font-size: 0.9rem; }
.item-info p { margin: 0; color: #c5a059; font-weight: bold; }

.btn-remove { background: none; border: none; color: #ff4d4d; cursor: pointer; font-size: 1.2rem; }

.cart-footer { padding: 20px; background: #f9f9f9; }

.cart-total { 
    display: flex; justify-content: space-between; 
    margin-bottom: 15px; font-weight: bold; font-size: 1.1rem; 
}

.btn-checkout {
    width: 100%; background: #1a3c34; color: #fff; border: none;
    padding: 15px; font-weight: bold; cursor: pointer; border-radius: 4px;
}

/* Pływający przycisk */
.cart-floating-btn {
    position: fixed; bottom: 20px; right: 20px;
    background: #1a3c34; color: #fff; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2000; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#cart-count-badge {
    position: absolute; top: -5px; right: -5px;
    background: #c5a059; color: #fff; width: 22px; height: 22px;
    border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center;
}

/* RESPONSYWNOŚĆ MOBILE */
@media (max-width: 480px) {
    .cart-sidebar { width: 100% !important; right: -100%; }
}
/* GŁÓWNY NAGŁÓWEK */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a3c34;
    letter-spacing: -1px;
}

/* LINKI NAWIGACJI */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #2d5a27;
}

/* KOSZYK W NAGŁÓWKU */
.header-cart {
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s;
}

.header-cart:hover {
    transform: scale(1.1);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    color: #1a3c34;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #c5a059; /* Złoty kolor z Twojego schematu */
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px;
    border: 2px solid #fff;
}

/* MOBILNE MENU (HAMBURGER) */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1a3c34;
    transition: 0.3s;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Ukrywamy standardowe menu na telefonach */
    }

    .menu-toggle {
        display: flex;
    }
}
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Animacja Hamburgera do X */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%; /* Zaraz pod headerem */
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        display: flex;
        max-height: 0; /* Ukryte */
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }

    .nav-links.nav-active {
        max-height: 400px; /* Rozwinięte */
        border-top: 1px solid #eee;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 20px;
        width: 100%;
        border-bottom: 1px solid #f9f9f9;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
}
/* SIDEBAR - FINALNA NAPRAWA WYGLĄDU */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px; /* Chowa się głębiej */
    width: 400px;
    max-width: 90%; 
    height: 100vh;
    background: #ffffff !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 10000;
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
}

.cart-sidebar.active {
    right: 0;
}

/* Nagłówek koszyka */
.cart-header {
    padding: 25px;
    background: #1a3c34;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 { margin: 0; font-size: 1.2rem; }

/* Lista produktów */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Stopka z formularzem */
.cart-footer {
    padding: 25px;
    background: #fcfcfc;
    border-top: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a3c34;
}

/* Formularz */
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.form-check {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Przycisk - Laptop */
.btn-order-now {
    width: 100%;
    background: #c5a059;
    color: white;
    border: none;
    padding: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-order-now:hover { background: #b08e48; transform: translateY(-2px); }
.btn-order-now:disabled { background: #ccc; cursor: not-allowed; }

/* Overlay */
#cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
}
#cart-overlay.active { display: block; }

@media (max-width: 480px) {
    .cart-sidebar { width: 100%; }
}
.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #1a3c34;
    color: white;
    border-radius: 50%;
    font-size: 40px;
    line-height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message h2 {
    color: #1a3c34;
    margin-bottom: 10px;
}

.success-message p {
    color: #555;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dwie kolumny obok siebie */
    gap: 10px;
}

.pay-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    height: 55px; /* Nieco wyższe dla lepszego UX */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background: #fff;
}

.pay-box img {
    max-width: 80%;
    max-height: 28px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.3s;
}

.payment-option input:checked + .pay-box {
    border-color: #1a3c34; /* Kolor Twojej zieleni */
    background: #f4f7f6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.payment-option input:checked + .pay-box img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Przycisk z kłódką */
.btn-order-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
/* SEKCIJA PŁATNOŚCI W KOSZYKU */
.payment-methods {
    margin: 20px 0;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.payment-methods p {
    font-size: 0.85rem;
    font-weight: bold;
    color: #1a3c34;
    margin-bottom: 10px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-option input { display: none; }

.pay-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.pay-box img {
    max-width: 80%;
    max-height: 28px;
    filter: grayscale(100%);
    opacity: 0.5;
}

.payment-option input:checked + .pay-box {
    border-color: #1a3c34;
    background: #f4f7f6;
}

.payment-option input:checked + .pay-box img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ANIMOWANY SPINNER */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* WIDOK SUKCESU */
.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    height: 100%;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #1a3c34;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-my-orders {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f7f6; /* Jasne tło, pasujące do zieleni */
    border: 1px solid #1a3c34;
    color: #1a3c34;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-my-orders:hover {
    background: #1a3c34;
    color: #fff;
    box-shadow: 0 4px 10px rgba(26, 60, 52, 0.2);
}

.btn-my-orders svg {
    flex-shrink: 0;
}

/* RESPONSYWNOŚĆ DLA TELEFONÓW */
@media (max-width: 600px) {
    .btn-my-orders {
        padding: 8px; /* Mniejszy padding na mobile */
        border-radius: 50%; /* Okrągły przycisk na mobile */
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .btn-my-orders span {
        display: none; /* Ukrywamy tekst "Moje Projekty" na małych ekranach */
    }
    
    .header-right {
        gap: 8px;
    }
}
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 6px 12px;
    background: #1a3c34;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 11px;
    border-radius: 4px;
    transition: 0.3s;
}

.download-link:hover {
    background: #c5a059;
    transform: translateY(-1px);
}

.download-link::before {
    content: "↓";
    font-weight: bold;
}

.main-header {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px 0;
        position: fixed;
        top: 0; left: 0; width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    }
    .header-container {
        max-width: 1200px; margin: 0 auto;
        display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
    }
    .logo-area { display: flex; align-items: center; gap: 12px; }
    .logo-m {
        background: #2d5a27; color: #fff; width: 40px; height: 40px;
        display: flex; align-items: center; justify-content: center;
        font-weight: 800; border-radius: 10px; font-size: 1.3rem;
    }
    .logo-text { font-family: 'Montserrat'; font-weight: 800; font-size: 1rem; line-height: 1.1; color: #1a1a1a; text-transform: uppercase; }
    .logo-text small { font-weight: 400; color: #2d5a27; font-size: 0.65rem; letter-spacing: 1px; display: block; }

    .nav-desktop { display: flex; align-items: center; gap: 30px; }
    .nav-desktop a { text-decoration: none; color: #444; font-weight: 600; font-size: 0.85rem; transition: 0.3s; }
    .nav-desktop a:hover { color: #2d5a27; }

    .header-actions { display: flex; align-items: center; gap: 15px; }
    
    .nav-btn-orders {
        background: #f0f4f0; color: #2d5a27; border: none;
        padding: 10px 18px; border-radius: 25px; font-weight: 700;
        font-size: 0.8rem; cursor: pointer; transition: 0.3s;
        display: flex; align-items: center; gap: 8px;
    }
    .nav-btn-orders:hover { background: #2d5a27; color: #fff; }

    .cart-trigger { position: relative; cursor: pointer; font-size: 1.3rem; color: #1a1a1a; padding: 5px; }
    .cart-badge {
        position: absolute; top: -5px; right: -8px;
        background: #e63946; color: #fff; font-size: 0.65rem;
        width: 18px; height: 18px; display: flex;
        align-items: center; justify-content: center;
        border-radius: 50%; font-weight: 700;
    }

    /* Style dla hamburgera (jeśli ich nie masz) */
    .menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 4px; }
    .bar { width: 25px; height: 3px; background-color: #333; transition: 0.3s; border-radius: 2px; }

    @media (max-width: 992px) {
        .nav-desktop, .hide-mobile { display: none; }
        .menu-toggle { display: flex; }
    }
/* DODATKOWE STYLE DLA WIDOCZNOŚCI IKON */
    .cart-trigger i {
        transition: transform 0.2s ease;
    }
    .cart-trigger:hover i {
        transform: scale(1.1);
        color: #2d5a27;
    }
    
    /* Upewnij się, że badge nie zasłania ikony całkowicie */
    .cart-badge {
        position: absolute;
        top: -8px;
        right: -10px;
        background: #e63946;
        color: #fff;
        font-size: 0.7rem;
        min-width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        border: 2px solid #fff;
    }

    @media (max-width: 992px) {
        .hide-mobile { display: none; }
        .nav-btn-orders { padding: 10px; border-radius: 50%; } /* na mobile robi się kółkiem z ikoną */
        .nav-btn-orders i { margin: 0; }
    }


/* Sidebar koszyka - musi być absolutnie ostry */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px; 
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff !important; /* Wymuszona biała farba */
    z-index: 999999; /* Ekstremalnie wysoki priorytet */
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    /* Usuwamy wszelkie możliwe filtry */
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    transform: translateZ(0); /* Sprzętowa akceleracja dla ostrości */
}

.cart-sidebar.active {
    right: 0;
}

/* Warstwa tła (overlay) - rezygnujemy z blur, jeśli Twój kontener go nie obsługuje poprawnie */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Zamiast blur, używamy ciemniejszego, solidnego koloru */
    background: rgba(0, 0, 0, 0.7); 
    z-index: 999998; 
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

/* --- Reszta stylizacji bez zmian --- */

.cart-header {
    padding: 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 { font-family: 'Montserrat', sans-serif; margin: 0; font-weight: 700; }

.btn-close-cart {
    background: #f5f5f5;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info h4 { margin: 0; font-size: 0.9rem; color: #333; }
.cart-item-info p { margin: 5px 0 0; font-weight: 700; color: #2d5a27; }

.remove-item {
    margin-left: auto;
    background: #fff;
    border: 1px solid #eee;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
}

.cart-footer {
    padding: 25px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-order-now {
    width: 100%;
    background: #2d5a27;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-order-now:hover { background: #1e3d1a; }

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.pay-box {
    border: 1px solid #eee;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pay-box img { max-width: 100%; max-height: 14px; filter: grayscale(1); opacity: 0.5; }

.empty-cart-msg { text-align: center; padding: 50px 20px; color: #999; }

/* Stylizacja opcji płatności */
.payment-option {
    cursor: pointer;
}

/* Ukrywamy standardowy radio button, ale chcemy efektu po zaznaczeniu */
.payment-option input[type="radio"]:checked + .pay-box {
    border-color: #2d5a27;
    background: #f0f7ef;
    opacity: 1;
}

.pay-box {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    transition: all 0.2s ease;
    height: 40px; /* Stała wysokość dla wyrównania */
}

.pay-box img {
    max-width: 100%;
    max-height: 20px; /* Zwiększyłem nieco wysokość ikon */
    object-fit: contain;
    /* Usuwamy grayscale, żeby logo było rozpoznawalne, albo dajemy delikatne */
    filter: grayscale(0.2); 
    opacity: 0.8;
}

.payment-option:hover .pay-box {
    border-color: #ccc;
    opacity: 1;
}
@media (max-width: 992px) {
    .nav-desktop {
        display: none; /* Ukryte domyślnie na mobile */
        position: fixed;
        top: 70px; /* Wysokość Twojego headera */
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* Ta klasa jest dodawana przez JS */
    .nav-desktop.active {
        display: flex;
    }

    /* Animacja hamburgera w X (opcjonalnie) */
    .menu-toggle.is-open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-open .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

section {
  padding: 80px 0;
}

h1, h2, h3 {
  margin-bottom: 20px;
}

.hero {
  background: #2f8f46;
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #ffffff;
  color: #2f8f46;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
}

.btn:hover {
  background: #e6e6e6;
}

.steps .step-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 250px;
  background: #f4f4f4;
  padding: 30px;
  border-radius: 8px;
}

.benefits {
  background: #f9f9f9;
}

.benefits ul {
  list-style: none;
  padding: 0;
}

.benefits li {
  margin-bottom: 10px;
}

.faq-item {
  margin-bottom: 30px;
}

.cta {
  background: #2f8f46;
  color: white;
  text-align: center;
}

.icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  color: #2f8f46;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.step {
  text-align: center;
}
.why-system {
  padding: 100px 0;
  background: #ffffff;
}

.why-system h2 {
  margin-bottom: 60px;
}

.why-item {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
  position: relative;
}

.why-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: -20px;
  width: 2px;
  background: #e5e5e5;
}

.why-item:last-child::before {
  display: none;
}

.dot {
  width: 20px;
  height: 20px;
  background: #2f8f46;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.content h3 {
  margin: 0 0 8px 0;
}
.why-simple {
  padding: 120px 0;
  background: #f7f7f7;
}

.simple-box {
  position: relative;
  padding: 30px 0;
  border-bottom: 1px solid #ddd;
}

.simple-box span {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 60px;
  font-weight: bold;
  color: #eaeaea;
  z-index: 0;
}

.simple-box p {
  position: relative;
  margin-left: 70px;
  font-size: 1.1rem;
}

.faq-modern {
  padding: 100px 0;
  background: #ffffff;
}

.faq-modern details {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
}

.faq-modern summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-modern summary::marker {
  display: none;
}

.faq-modern summary::after {
  content: "+";
  float: right;
  font-size: 20px;
}

.faq-modern details[open] summary::after {
  content: "–";
}

.faq-modern p {
  margin-top: 15px;
  color: #555;
}
/* Styl dla powiadomienia Toast */
.toast-success {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2d5a27;
    color: white;
    padding: 16px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-success.active {
    transform: translateY(0);
    opacity: 1;
}

/* Styl dla kontenera sukcesu w koszyku */
.cart-success-view {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}