/* ========== CZCIONKA MONTSERRAT (lokalnie, licencja SIL OFL – public/fonts/montserrat/OFL.txt) ========== */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat/montserrat-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/montserrat/montserrat-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat/montserrat-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/montserrat/montserrat-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat/montserrat-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/montserrat/montserrat-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ========== ZMIENNE I RESET ========== */
:root {
    --green: #4b8026;
    --green-dark: #3e6e1f;
    --olive: #6b8e23;
    --olive-dark: #55711b;
    --gold: #6f7d1c; /* cena „od …” – przyciemnione dla kontrastu (WCAG) */
    --text: #333;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #f4f4f4;
}

#top, #oferta, #kalkulator, #opinie, #kontakt { scroll-margin-top: 100px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }

/* ========== NAGŁÓWEK ========== */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img { max-height: 50px; width: auto; display: block; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.main-nav a:hover { color: var(--green-dark); }

/* Lista rozwijana „Oferta” z kategoriami. */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    background: none; border: 0; padding: 0; cursor: pointer;
    font: inherit; font-weight: 600; font-size: 1rem; color: var(--text);
    display: inline-flex; align-items: center; gap: 6px;
}
.nav-dropdown-toggle:hover { color: var(--green-dark); }
.nav-caret { font-size: 0.8em; transition: transform 0.2s; }
.main-nav .nav-submenu {
    list-style: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 8px;
    display: none;
    z-index: 1001;
}
/* Mostek, żeby lista nie znikała, gdy kursor przechodzi z „Oferta” na listę. */
.nav-submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-submenu a { display: block; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.nav-submenu a:hover { background: #f3f6ea; }
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu { display: block; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

.btn-contact {
    background-color: var(--green);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.btn-contact:hover { background-color: var(--green-dark); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .main-nav.active { display: block; }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Na telefonie kategorie są zawsze rozwinięte pod „Oferta”. */
    .nav-dropdown { text-align: center; }
    .nav-dropdown-toggle { pointer-events: none; }
    .nav-caret { display: none; }
    .main-nav .nav-submenu {
        display: flex; position: static; transform: none; align-items: center;
        box-shadow: none; padding: 10px 0 0; min-width: 0; gap: 4px;
    }
    .nav-submenu::before { display: none; }
    .nav-submenu a { font-weight: 500; color: #555; padding: 6px 14px; }
}

/* ========== HERO ========== */
.hero-section {
    /* Telefon: wycinek zdjęcia z samą altaną (WebP). Komputer (media query niżej) dostaje panoramę w pełnej jakości. */
    background-image: url('../images/altana-tlo-szerokie-mobile.webp');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Komputer: sekcja zajmuje wysokość ekranu pod menu i jest w całości wypełniona panoramicznym zdjęciem (ok. 2,36:1).
   Na typowych monitorach zdjęcie mieści się prawie bez przycinania; na węższych ekranach (laptopy, tablety)
   ucina się tylko trawnik z lewej strony – altana jest przy prawej krawędzi i zostaje cała. */
@media (min-width: 769px) {
    .hero-section {
        background-image: url('../images/altana-tlo-szerokie.jpg');
        background-color: #2b2b2b;
        background-position: right center;
        min-height: 0;
        height: calc(100vh - 80px);  /* 80px = wysokość menu */
        height: calc(100svh - 80px);
        min-height: 560px;           /* żeby ramka z tekstem zawsze się zmieściła */
    }
}

.hero-overlay-box {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 20px;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-overlay-box h1 { font-size: 2.2rem; color: #1a1a1a; margin-bottom: 15px; line-height: 1.2; }
.hero-overlay-box p { font-size: 1.1rem; color: #555; margin-bottom: 25px; }

.features-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.features-list li { font-weight: 600; color: #2c3e50; }

.cta-button {
    display: inline-block;
    background-color: var(--olive-dark); /* ciemniejsza oliwka – biały tekst czytelny (kontrast 5.6:1) */
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover { background-color: #46601a; }

/* ========== NAGŁÓWKI SEKCJI ========== */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #111;
    margin: 60px 0 30px;
    font-weight: 700;
}

/* ========== PRODUKTY ========== */
.products-section { max-width: 1200px; margin: 60px auto; padding: 0 20px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12); }

.product-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; } /* 3:2 = proporcja kadrowania w panelu */

.product-info {
    padding: 25px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title { font-size: 1.6rem; color: #222; margin: 0 0 15px; }

.product-title .subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    margin-top: 5px;
}

.product-price { margin-bottom: 8px; }
.old-price { text-decoration: line-through; color: #999; font-size: 1.1rem; margin-right: 10px; }
.new-price { color: var(--gold); font-size: 1.4rem; font-weight: 700; }
.price-note { font-size: 0.75rem; color: #666; margin-bottom: 20px; }

.btn-offer {
    display: inline-block;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    margin-top: auto;
}

.btn-offer:hover { color: var(--green); }

/* ========== KALKULATOR ========== */
.calculator-section { padding: 60px 20px; max-width: 1100px; margin: 0 auto; }
.calculator-section h2 { text-align: center; margin-bottom: 40px; font-size: 2rem; color: #1a1a1a; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }

.calc-main {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.calc-step { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.calc-step:last-child { margin-bottom: 0; }
.calc-step legend { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; color: #1a1a1a; }
.calc-step legend small { font-weight: 400; color: #666; font-size: 0.85rem; }
.calc-step-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--olive); color: #fff; font-size: 0.9rem;
}

.calc-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.calc-options { display: flex; flex-direction: column; gap: 10px; }

/* Karta wyboru (rozmiar = radio, dodatek = checkbox). Całość jest klikalna. */
.calc-choice {
    position: relative;
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 2px solid #ece6df;
    border-radius: 12px;
    background: #faf7f3;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.calc-choice:hover { border-color: #cfc3b5; }
.calc-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-choice:has(input:focus-visible) { outline: 3px solid var(--olive); outline-offset: 2px; }
.calc-choice:has(input:checked) { border-color: var(--olive); background: #f3f6ea; box-shadow: 0 2px 10px rgba(107, 142, 35, 0.15); }

.calc-choice-mark {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border: 2px solid #b9ad9f; background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
}
.calc-choice--radio .calc-choice-mark { border-radius: 50%; }
.calc-choice--checkbox .calc-choice-mark { border-radius: 6px; }
.calc-choice:has(input:checked) .calc-choice-mark { border-color: var(--olive); background: var(--olive); }
.calc-choice--checkbox:has(input:checked) .calc-choice-mark::after { content: '✓'; color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.calc-choice--radio:has(input:checked) .calc-choice-mark::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.calc-choice-name { font-weight: 600; color: #222; line-height: 1.3; }
.calc-choice-price { margin-left: auto; white-space: nowrap; color: #555; font-weight: 600; }
.calc-choice--radio { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: start; align-content: start; }
.calc-choice--radio .calc-choice-mark { grid-row: 1; margin-top: 1px; }
.calc-choice--radio .calc-choice-price { grid-column: 2; margin-left: 0; color: var(--olive-dark); }

/* Podsumowanie – na komputerze „przykleja się” przy przewijaniu. */
.calc-summary {
    position: sticky; top: 100px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--olive);
}
.calc-summary h3 { font-size: 1.1rem; margin-bottom: 14px; }
.calc-lines { list-style: none; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px dashed #ddd; }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 0.92rem; color: #555; }
.calc-lines li span:last-child { white-space: nowrap; }
.calc-lines .calc-line-base { color: #222; font-weight: 600; }
.calc-total-row { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.calc-total-row span { font-weight: 600; color: #666; font-size: 0.9rem; }
.calc-total-row strong { font-size: 1.6rem; color: var(--olive-dark); white-space: nowrap; border-radius: 6px; }
.calc-total-row strong.is-updated { animation: calc-total-flash 0.5s ease-out; }
@keyframes calc-total-flash { from { background: #eef3dd; } to { background: transparent; } }
.calc-note { font-size: 0.82rem; color: #666; line-height: 1.5; margin-bottom: 18px; }
.calc-cta { display: block; text-align: center; }

/* Dużo rozmiarów (> 6): mniejsze karty, więcej w rzędzie. */
.calc-sizes--many { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.calc-sizes--many .calc-choice { padding: 10px 12px; column-gap: 8px; row-gap: 4px; grid-template-columns: 18px minmax(0, 1fr); }
.calc-sizes--many .calc-choice-mark { width: 18px; height: 18px; }
.calc-sizes--many .calc-choice-name { font-size: 0.9rem; }
.calc-sizes--many .calc-choice-price { font-size: 0.85rem; }

@media (max-width: 900px) {
    .calc { grid-template-columns: 1fr; }
    .calc-summary { position: static; }
}
@media (max-width: 520px) {
    .calc-main { padding: 20px 16px; }
    .calc-sizes { grid-template-columns: 1fr; }
    .calc-sizes--many { grid-template-columns: 1fr 1fr; }
    .calc-choice { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .calc-total-row strong.is-updated { animation: none; }
}

/* ========== OPINIE ========== */
.reviews-section { max-width: 1200px; margin: 0 auto; padding: 20px; }

.reviews-container { display: flex; gap: 40px; align-items: center; }

.google-rating { text-align: center; min-width: 200px; }
.google-rating h3 { font-size: 1.2rem; margin-bottom: 5px; }
.google-rating .stars { color: #fbbc05; font-size: 1.8rem; letter-spacing: 2px; }
.google-rating p { font-size: 0.9rem; color: #555; margin-bottom: 10px; }
.google-logo { width: 80px; }

.reviews-grid { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; min-width: 0; max-width: 100%; scroll-snap-type: x proximity; }

.review-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    min-width: 300px;
    flex: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 { font-size: 0.95rem; color: #222; }
.author-info span { font-size: 0.8rem; color: #666; }
.g-icon { width: 16px; margin-left: auto; }
.review-card .stars { color: #fbbc05; font-size: 1rem; margin-bottom: 10px; }
.review-card p { font-size: 0.9rem; color: #444; line-height: 1.5; }

@media (max-width: 768px) {
    .reviews-container { flex-direction: column; align-items: stretch; gap: 20px; }
    .reviews-grid { width: 100%; }
    .review-card { min-width: 260px; flex: 0 0 85%; scroll-snap-align: start; }
}

/* ========== FAQ ========== */
.faq-section { max-width: 800px; margin: 0 auto 40px; padding: 20px; }

.faq-item { background: #fcfcfc; border-bottom: 1px solid #eee; margin-bottom: 5px; border-radius: 4px; }
.faq-item:first-of-type { border-top: 1px solid #eee; }

.faq-item summary {
    padding: 18px 50px 18px 20px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #222;
    cursor: pointer;
    list-style: none;
    position: relative;
}

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

.faq-item summary::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -0.6em;
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.3s;
}

.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-content { padding: 0 20px 20px; color: #555; font-size: 0.95rem; line-height: 1.6; }

/* ========== KONTAKT ========== */
.contact-section { max-width: 700px; margin: 0 auto 80px; padding: 20px; }

.contact-box {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.contact-box p { color: #555; margin-bottom: 20px; }
.contact-list { list-style: none; margin-bottom: 25px; }
.contact-list li { margin-bottom: 6px; }
.contact-list a { color: var(--green); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ========== POPUP ========== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active { opacity: 1; visibility: visible; }

.popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.popup-overlay.active .popup-content { transform: translateY(0); }

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.popup-close:hover { color: #222; }

.popup-content h3 { font-size: 1.6rem; color: #222; margin-bottom: 10px; line-height: 1.3; }
.popup-lead { font-weight: 700; color: var(--green); margin-bottom: 15px; font-size: 1.1rem; }
.popup-text { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }

.btn-popup {
    display: inline-block;
    background-color: var(--green);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-popup:hover { background-color: var(--green-dark); }

/* ========== STRONY DYNAMICZNE ========== */
.site-footer { text-align: center; padding: 30px 20px; background: #fff; color: #555; font-size: 0.9rem; }
.site-footer a { color: var(--green); text-decoration: none; }
.more-link { text-align: center; margin-top: 25px; }
.more-link a { color: var(--green); font-weight: 600; text-decoration: none; }
.empty-note { text-align: center; color: #666; padding: 40px 0; }
.category-desc { text-align: center; max-width: 700px; margin: 0 auto 10px; color: #555; }
.card-desc { font-size: 0.9rem; color: #666; margin-bottom: 15px; }

.product-page { max-width: 1200px; margin: 30px auto 0; padding: 0 20px; }
.breadcrumbs { font-size: 0.85rem; color: #666; margin-bottom: 20px; }
.breadcrumbs a { color: var(--green-dark); text-decoration: none; }
.product-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
/* min-width: 0 pozwala kolumnom siatki zwęzić się do szerokości ekranu (bez tego długi tekst rozpycha stronę). */
.product-layout > * { min-width: 0; }
/* Bardzo długie słowa bez spacji (np. „test1234test1234…”) łamią się zamiast wychodzić poza ekran. */
.product-details h1, .product-description, .product-info { overflow-wrap: anywhere; }
/* Ramka 3:2 (jak większość zdjęć) i „contain” – całe zdjęcie zawsze widoczne, inne proporcje dostają jasne tło po bokach. */
.gallery-main { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; display: block; border-radius: 16px; background: #e9ece4; }
.gallery-open { position: relative; display: block; width: 100%; padding: 0; border: none; background: none; border-radius: 16px; cursor: zoom-in; }
.gallery-open:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }
.gallery-zoom-hint {
    position: absolute; right: 12px; bottom: 12px;
    padding: 6px 12px; border-radius: 20px;
    background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 0.85rem; font-weight: 600;
    pointer-events: none;
}
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; line-height: 0; }
.gallery-thumb img { width: 90px; height: 70px; object-fit: cover; border-radius: 8px; }
.gallery-thumb:hover, .gallery-thumb[aria-current="true"] { border-color: var(--olive); }
.gallery-thumb:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }

/* ===== Powiększenie zdjęć (lightbox) ===== */
.lightbox {
    width: 100vw; height: 100dvh; max-width: none; max-height: none;
    margin: 0; padding: 0; border: none;
    background: rgba(10, 12, 8, 0.94);
    overflow: hidden;
}
.lightbox::backdrop { background: transparent; } /* tło daje sam <dialog> – jego kolor się animuje (product.js) */
html:has(.lightbox[open]) { overflow: hidden; } /* bez przewijania strony pod spodem */
.lightbox-img {
    position: absolute; inset: 0; margin: auto;
    width: 100%; height: 100%; /* zawsze na cały ekran – małe i duże wersje zdjęcia mają ten sam rozmiar */
    object-fit: contain;
    touch-action: pinch-zoom; /* przesuwanie palcem w bok = zmiana zdjęcia, dwa palce = przybliżenie */
    user-select: none;
    will-change: transform, opacity;
}
.lightbox-close, .lightbox-nav {
    position: absolute; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0;
    border: none; border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); color: #fff;
    font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 2.6rem; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-counter {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    padding: 4px 12px; border-radius: 20px;
    background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 0.9rem;
}
.product-details h1 { font-size: 2rem; color: #111; margin-bottom: 15px; line-height: 1.2; }
.product-details .subtitle { display: block; font-size: 1rem; color: #666; font-weight: 400; }
.product-description { color: #555; }


.contact-product { background: #f0f0f0; border-radius: 8px; padding: 10px; }

@media (max-width: 860px) {
    .product-layout { grid-template-columns: 1fr; }
}

/* Blok ceny na stronie produktu jest wyrównany do lewej (na kartach jest wyśrodkowany). */
.product-details .product-price { margin: 10px 0 4px; }
.product-details .price-note { margin-bottom: 18px; }


/* ===== Formularz zapytań i polityka prywatności ===== */
.inquiry-form { margin-top: 25px; text-align: left; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; color: #333; }
.form-row input, .form-row textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px;
    font: inherit; background: #fff;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.form-row .has-error { border-color: #c0392b; }
.form-row .req { color: #c0392b; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 0.85rem; color: #555; }
.form-consent input { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; }
.form-consent a { color: var(--green); }
.form-errors { background: #fdecea; border: 1px solid #f5c6c0; color: #8a1f11; border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; }
.form-errors ul { margin: 6px 0 0 18px; }
.form-success { background: #e8f5e9; border: 1px solid #b7dfba; color: #1b5e20; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.form-success p { margin: 6px 0 0; color: inherit; }
button.btn-popup { border: 0; cursor: pointer; font: inherit; }

.policy-section { max-width: 800px; margin: 0 auto 80px; padding: 20px; }
.policy { background: #fff; border-radius: 12px; padding: 30px; line-height: 1.7; color: #333; }
.policy h2 { margin: 28px 0 10px; font-size: 1.2rem; }
.policy h3 { margin: 18px 0 8px; font-size: 1.05rem; }
.policy ul { margin: 8px 0 12px 22px; }
.policy a { color: var(--green); }
.policy-updated { color: #666; font-size: 0.9rem; margin-bottom: 10px; }


/* ===== Opinie z Google ===== */
.reviews-more { color: var(--green); font-weight: 600; }
.author-info h4 a { color: inherit; text-decoration: none; }
.author-info h4 a:hover { text-decoration: underline; }

.price-vat { font-size: 0.85rem; color: #666; margin: 0 0 14px; }

.reviews-container--rating-only { justify-content: center; }
.reviews-container--rating-only .google-rating { padding: 10px 0 30px; }

/* ===== Paleta kolorów (partials/colors.blade.php) ===== */
.colors-section { max-width: 1000px; margin: 0 auto 60px; padding: 0 20px; text-align: center; }
.colors-intro { color: #555; margin-bottom: 25px; }
.colors-group-title { font-size: 1.15rem; margin: 30px 0 15px; color: #333; }
.colors-group-title:first-of-type { margin-top: 10px; }
.colors-group-note { font-size: 0.85rem; color: #666; margin: -8px 0 15px; }
.colors-group-note a { color: var(--green); }
.colors-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
}
.color-swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.color-swatch img {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.color-swatch span { font-weight: 600; color: #333; }
.colors-note { margin-top: 20px; font-size: 0.85rem; color: #666; }

/* ===== Animacje (przy przewijaniu sterowane z public/js/site.js) ===== */
/* Tylko opacity, transform i filter – nic nie przesuwa układu strony (brak „skakania”, CLS). */

/* Akcent pod nagłówkami sekcji (widoczny zawsze; przy animacji rozwija się od środka). */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--olive);
    border-radius: 3px;
}

/* Domyślnie: przenikanie z lekkiego rozmycia do ostrości. */
.reveal { opacity: 0; filter: blur(8px); }
.reveal.is-revealed {
    opacity: 1;
    filter: none;
    transition: opacity 0.7s ease-out, filter 0.7s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
}

/* Nagłówki: tekst się przenika, kreska rozwija się od środka. */
.reveal.reveal--title { filter: none; }
.reveal--title::after { transform: scaleX(0); }
.reveal--title.is-revealed::after {
    transform: scaleX(1);
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}

/* Karty: karta się przenika, zdjęcie w środku lekko się oddala (karta ma overflow: hidden). */
.reveal.reveal--card { filter: none; }
.reveal--card .product-img { transform: scale(1.08); }
.reveal.reveal--card.is-revealed { transition: opacity 0.6s ease-out; transition-delay: var(--reveal-delay, 0ms); }
.reveal--card.is-revealed .product-img {
    transform: scale(1);
    transition: transform 0.9s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
}

/* Link „Zobacz wszystko ➔”: strzałka dosuwa się do tekstu. */
.more-arrow { display: inline-block; }
.reveal.reveal--more { filter: none; }
.reveal--more .more-arrow { transform: translateX(-14px); opacity: 0; }
.reveal--more.is-revealed .more-arrow {
    transform: none;
    opacity: 1;
    transition: transform 0.45s ease-out 0.25s, opacity 0.45s ease-out 0.25s;
}

/* FAQ: pytania wsuwają się lekko z lewej, szybko. */
.reveal.reveal--slide { filter: none; transform: translateX(-16px); }
.reveal.reveal--slide.is-revealed {
    transform: none;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
}

/* Opinie: wyraźniejszy wjazd od dołu, a gwiazdki oceny „wskakują” na końcu. */
.reveal.reveal--rise { filter: none; transform: translateY(40px); }
.reveal.reveal--rise.is-revealed {
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal--rise.is-revealed .google-rating .stars {
    animation: stars-pop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 0.3s both;
}
@keyframes stars-pop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Przycisk „Zapytaj o wycenę”: jeden błysk światła przez przycisk. */
.cta-button.cta-shine { position: relative; overflow: hidden; }
.cta-button.cta-shine::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: cta-shine 0.9s ease-in-out 0.4s both;
    pointer-events: none;
}
@keyframes cta-shine { to { transform: translateX(100%); } }

/* Hero na stronie głównej: przy wejściu punkty i przycisk pojawiają się po kolei (H1 i tło bez animacji). */
.hero-overlay-box .features-list li,
.hero-overlay-box .cta-button { animation: hero-in 0.5s ease-out both; }
.hero-overlay-box .features-list li:nth-child(1) { animation-delay: 0.2s; }
.hero-overlay-box .features-list li:nth-child(2) { animation-delay: 0.35s; }
.hero-overlay-box .features-list li:nth-child(3) { animation-delay: 0.5s; }
.hero-overlay-box .cta-button { animation-delay: 0.65s; }
@keyframes hero-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal--card .product-img, .reveal--more .more-arrow { opacity: 1; filter: none; transform: none; transition: none; }
    .reveal--title::after { transform: none; }
    .reveal--rise .google-rating .stars,
    .cta-button.cta-shine::after,
    .hero-overlay-box .features-list li,
    .hero-overlay-box .cta-button { animation: none; }
}

/* ========== BANER COOKIES (Google Analytics) ========== */
/* Pasek na dole ekranu + przyciemnione tło. Dopóki widać okno, reszta strony jest zablokowana (inert w analytics.js).
   Okno jest „position: fixed”, więc nie przesuwa strony (bez wpływu na CLS). */
.cookie-consent[hidden] { display: none; }
.cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1002; /* nad nagłówkiem (1000/1001), pod popupem (9999) */
    background: rgba(0, 0, 0, 0.45);
}
.cookie-consent--passive .cookie-backdrop { display: none; } /* strona polityki prywatności – bez blokady */
html.cookie-locked { overflow: hidden; } /* bez przewijania strony pod oknem */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 1003;
    width: calc(100% - 32px);
    max-width: 760px;
    display: flex;
    align-items: center;
    gap: 16px 24px;
    padding: 16px 52px 16px 20px; /* miejsce na × po prawej */
    background: #fff;
    color: var(--text);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    line-height: 1.5;
}
.cookie-banner:focus { outline: none; } /* fokus startowy na oknie – bez ramki */
.cookie-banner-text { flex: 1; }
.cookie-banner-text a { color: var(--green-dark); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Zamknięcie (×) = brak zgody. */
.cookie-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 6px;
    font-size: 1.6rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
}
.cookie-close:hover { color: #222; }
.cookie-close:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 0; }

/* Oba przyciski wyglądają TAK SAMO – bez wyróżniania „Akceptuję” (wymóg UODO/EDPB). */
.cookie-btn {
    min-width: 120px;
    min-height: 44px; /* wygodny cel dotyku na telefonie */
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    background-color: var(--green);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.cookie-btn:hover { background-color: var(--green-dark); }
.cookie-btn:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }

/* „Ustawienia cookies” w stopce – przycisk wyglądający jak link. */
.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--green);
    font: inherit;
    cursor: pointer;
}
.footer-link-btn:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; bottom: 8px; width: calc(100% - 16px); padding: 14px 16px; }
    .cookie-banner-text { padding-right: 32px; } /* × nie nachodzi na tekst */
    .cookie-banner-actions .cookie-btn { flex: 1; min-width: 0; }
}

/* ========== NAGŁÓWEK: FACEBOOK + TRYB JASNY/CIEMNY ========== */
.main-nav { margin-left: auto; } /* menu przy prawej krawędzi, tuż przed ikonami */
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: 18px; }
.header-icon {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 6px; /* wygodny cel dotyku */
    border: none; border-radius: 50%; background: none;
    color: var(--text); text-decoration: none; cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}
.header-icon:hover { background-color: rgba(0, 0, 0, 0.06); }
.header-icon:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }
.header-icon img { width: 24px; height: 24px; display: block; }
.header-facebook-text { font-weight: 600; font-size: 0.95rem; }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: block; }
html[data-theme="dark"] .theme-icon--moon { display: none; }

@media (max-width: 768px) {
    .header-actions { margin-left: auto; gap: 2px; }
    .header-container { position: relative; }
}

/* ========== TRYB CIEMNY ==========
   Włączany atrybutem data-theme="dark" na <html> (skrypt w <head> + przycisk w nagłówku).
   Zmieniamy tylko kolory: tła, tekst, ramki. Zielone przyciski zostają (biały tekst na zielonym ma dobry kontrast),
   a zielone LINKI dostają jaśniejszy odcień, czytelny na ciemnym tle. */
html[data-theme="dark"] {
    color-scheme: dark;
    --text: #dfe2d8;
    --dark-bg: #121410;
    --dark-surface: #1c1f19;
    --dark-surface-2: #252920;
    --dark-border: #363c2e;
    --dark-strong: #f2f3ee;
    --dark-muted: #b1b6a7;
    --dark-link: #9fcf6c;
    --dark-price: #c9d56f;
}
html[data-theme="dark"] body { background-color: var(--dark-bg); }

/* Powierzchnie (karty, panele, nagłówek, stopka) */
html[data-theme="dark"] .main-header,
html[data-theme="dark"] .main-nav .nav-submenu,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .calc-main,
html[data-theme="dark"] .calc-summary,
html[data-theme="dark"] .contact-box,
html[data-theme="dark"] .popup-content,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .policy,
html[data-theme="dark"] .cookie-banner { background: var(--dark-surface); color: var(--text); }
html[data-theme="dark"] .product-card { border-color: var(--dark-border); }
html[data-theme="dark"] .main-header { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .calc-main,
html[data-theme="dark"] .calc-summary,
html[data-theme="dark"] .contact-box { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35); }
@media (max-width: 768px) {
    html[data-theme="dark"] .main-nav { background-color: var(--dark-surface); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); }
    html[data-theme="dark"] .nav-submenu a { color: var(--dark-muted); }
}
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .contact-product { background: var(--dark-surface-2); }
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .faq-item:first-of-type,
html[data-theme="dark"] .calc-lines { border-color: var(--dark-border); }
html[data-theme="dark"] .nav-submenu a:hover { background: var(--dark-surface-2); }
html[data-theme="dark"] .header-icon:hover { background-color: rgba(255, 255, 255, 0.08); }

/* Logo jest czarne na przezroczystym tle – w trybie ciemnym odwracamy je na białe. */
html[data-theme="dark"] .logo img { filter: invert(1); }

/* Nagłówki i mocny tekst */
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .product-title,
html[data-theme="dark"] .calculator-section h2,
html[data-theme="dark"] .calc-step legend,
html[data-theme="dark"] .calc-choice-name,
html[data-theme="dark"] .calc-lines .calc-line-base,
html[data-theme="dark"] .author-info h4,
html[data-theme="dark"] .faq-item summary,
html[data-theme="dark"] .popup-content h3,
html[data-theme="dark"] .popup-close:hover,
html[data-theme="dark"] .product-details h1,
html[data-theme="dark"] .form-row label,
html[data-theme="dark"] .colors-group-title,
html[data-theme="dark"] .color-swatch span,
html[data-theme="dark"] .cookie-close:hover { color: var(--dark-strong); }

/* Tekst drugoplanowy */
html[data-theme="dark"] .nav-submenu a,
html[data-theme="dark"] .product-title .subtitle,
html[data-theme="dark"] .old-price,
html[data-theme="dark"] .price-note,
html[data-theme="dark"] .btn-offer,
html[data-theme="dark"] .calc-step legend small,
html[data-theme="dark"] .calc-choice-price,
html[data-theme="dark"] .calc-lines li,
html[data-theme="dark"] .calc-total-row span,
html[data-theme="dark"] .calc-note,
html[data-theme="dark"] .google-rating p,
html[data-theme="dark"] .author-info span,
html[data-theme="dark"] .review-card p,
html[data-theme="dark"] .faq-item summary::after,
html[data-theme="dark"] .faq-content,
html[data-theme="dark"] .contact-box p,
html[data-theme="dark"] .popup-close,
html[data-theme="dark"] .popup-text,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .empty-note,
html[data-theme="dark"] .category-desc,
html[data-theme="dark"] .card-desc,
html[data-theme="dark"] .breadcrumbs,
html[data-theme="dark"] .product-details .subtitle,
html[data-theme="dark"] .product-description,
html[data-theme="dark"] .form-consent,
html[data-theme="dark"] .policy-updated,
html[data-theme="dark"] .price-vat,
html[data-theme="dark"] .colors-intro,
html[data-theme="dark"] .colors-group-note,
html[data-theme="dark"] .colors-note,
html[data-theme="dark"] .cookie-close { color: var(--dark-muted); }

/* Zielone linki – jaśniejszy odcień na ciemnym tle */
html[data-theme="dark"] .main-nav a:hover,
html[data-theme="dark"] .nav-dropdown-toggle:hover,
html[data-theme="dark"] .btn-offer:hover,
html[data-theme="dark"] .contact-list a,
html[data-theme="dark"] .popup-lead,
html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .more-link a,
html[data-theme="dark"] .breadcrumbs a,
html[data-theme="dark"] .form-consent a,
html[data-theme="dark"] .policy a,
html[data-theme="dark"] .reviews-more,
html[data-theme="dark"] .colors-group-note a,
html[data-theme="dark"] .cookie-banner-text a,
html[data-theme="dark"] .footer-link-btn { color: var(--dark-link); }
html[data-theme="dark"] .btn-contact { color: #fff !important; } /* przycisk „Kontakt” zostaje biały na zielonym */

/* Ceny */
html[data-theme="dark"] .new-price,
html[data-theme="dark"] .calc-total-row strong,
html[data-theme="dark"] .calc-choice--radio .calc-choice-price { color: var(--dark-price); }

/* Hero – półprzezroczysta ciemna karta na zdjęciu */
html[data-theme="dark"] .hero-overlay-box { background-color: rgba(18, 20, 16, 0.84); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
html[data-theme="dark"] .hero-overlay-box h1 { color: var(--dark-strong); }
html[data-theme="dark"] .hero-overlay-box p,
html[data-theme="dark"] .features-list li,
html[data-theme="dark"] .hero-overlay-box .features-list li { color: var(--text); }

/* Kalkulator – karty wyboru */
html[data-theme="dark"] .calc-choice { background: var(--dark-surface-2); border-color: var(--dark-border); }
html[data-theme="dark"] .calc-choice:hover { border-color: #55604a; }
html[data-theme="dark"] .calc-choice:has(input:checked) { background: #2c3622; }
html[data-theme="dark"] .calc-choice-mark { background: var(--dark-bg); border-color: #6d7562; }
html[data-theme="dark"] .calc-choice--radio:has(input:checked) .calc-choice-mark::after { background: #fff; }

/* Formularz */
html[data-theme="dark"] .form-row input,
html[data-theme="dark"] .form-row textarea { background: var(--dark-bg); border-color: #4a5240; color: var(--dark-strong); }
html[data-theme="dark"] .form-errors { background: #3a1d19; border-color: #6e2f27; color: #f3c2ba; }
html[data-theme="dark"] .form-success { background: #1d3320; border-color: #2f5a34; color: #bfe6c2; }

/* Galeria – tło ramki zdjęcia */
html[data-theme="dark"] .gallery-main { background: var(--dark-surface-2); }

/* Okno cookies */
html[data-theme="dark"] .cookie-backdrop { background: rgba(0, 0, 0, 0.6); }

/* ========== STRONA „NIE ZNALEZIONO” (404) – resources/views/errors/404.blade.php ========== */
.error-page { max-width: 720px; margin: 0 auto; padding: 60px 20px 80px; text-align: center; }
.error-page-lead { margin: 0 0 24px; }
.error-page-links { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
.error-page-links a, .error-page-contact a { color: var(--olive-dark); font-weight: 600; }
.error-page-contact { margin-top: 24px; font-size: 0.95rem; }
html[data-theme="dark"] .error-page-links a,
html[data-theme="dark"] .error-page-contact a { color: var(--dark-link); }

/* Przycisk „Zapytaj o wycenę” na stronie produktu bez kalkulatora (brak rozmiarów w panelu). */
.product-quote { margin: 4px 0 18px; }
