/* ===================================
    Sanichem – tokeny i nadpisania Crafto (baza: demo-consulting)
    Kolory z logo Sanichem:
      primary  #0274dc  (główny niebieski logo; biały tekst 4,63:1 – AA)
      akcent   #69bbff  (jasny niebieski logo; tylko na ciemnym tle lub jako dekor)
      akcent 2 #6cdcff  (turkus logo; dekor)
      ciemny   #0b2540  (ten sam odcień 209°, przyciemniony; tekst i stopka, 15,5:1)
====================================== */
@font-face {
    font-family: 'Kumbh Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/kumbh-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Kumbh Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/kumbh-latin.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;
}
:root {
    --base-color: #0274dc;
    --base-color-dark: #0262bb;      /* hover, tekst na tłach przyciemnionych (5,9:1 na #f4f8fc) */
    --sanichem-accent: #69bbff;
    --sanichem-accent-2: #6cdcff;
    --dark-gray: #0b2540;
    --medium-gray: #4f6070;          /* tekst podstawowy: 6,1:1 na #f4f8fc */
    --extra-medium-gray: #dde6ef;
    --light-medium-gray: #e8eef5;
    --very-light-gray: #f4f8fc;
    --footer-text: #b8c7d6;          /* 9,0:1 na #0b2540 */
    --primary-font: 'Kumbh Sans', sans-serif;
    --alt-font: 'Kumbh Sans', sans-serif;
}
/* reset – jak w demo-consulting */
body {
    font-size: 17px;
    line-height: 30px;
    color: var(--medium-gray);
    background-color: #fff;
    overflow-x: hidden;
}
a { color: var(--base-color-dark); }
a:hover { color: var(--dark-gray); }
h1 { line-height: 1.1; }
.text-base-color-dark { color: var(--base-color-dark); }
.bg-dark-gray { background-color: var(--dark-gray); }

/* dostępność */
.skip-link {
    position: absolute; left: 10px; top: -60px; z-index: 10000;
    background: var(--dark-gray); color: #fff; padding: 10px 18px; border-radius: 6px;
}
.skip-link:focus { top: 10px; color: #fff; }
a:focus-visible, button:focus-visible, .btn:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--sanichem-accent);
    outline-offset: 2px;
}
.placeholder-todo {
    background: #fff4c2;
    color: #5c4300;
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 500;
    white-space: normal;
}
footer .placeholder-todo { background: #3b3416; color: #ffe58a; }

/* przyciski: hover primary = przyciemnienie, bez zmiany barwy */
.btn.btn-base-color { background-color: var(--base-color); color: #fff; border-color: var(--base-color); }
.btn.btn-base-color:hover, .btn.btn-base-color:active,
.btn.btn-box-shadow.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:active {
    background-color: var(--base-color-dark); border-color: var(--base-color-dark); color: #fff;
}
.btn.btn-white { color: var(--dark-gray); }
.btn.btn-white:hover { background-color: var(--very-light-gray); color: var(--dark-gray); }
.btn.btn-transparent-dark-gray { border-color: var(--dark-gray); color: var(--dark-gray); }
.btn.btn-transparent-dark-gray:hover { background-color: var(--dark-gray); color: #fff; }
.btn.btn-link.text-base-color { color: var(--base-color-dark) !important; }

/* header */
header .navbar-brand img { max-height: 44px; width: auto; }
header .navbar { min-height: 80px; }
.navbar .navbar-nav .nav-link { font-weight: 500; font-size: 17px; letter-spacing: .2px; color: var(--dark-gray); }
.navbar .navbar-nav .nav-item.active > .nav-link,
.navbar .navbar-nav .nav-link:hover { color: var(--base-color-dark); }
.navbar .navbar-nav .dropdown .dropdown-menu a { font-size: 16px; line-height: 28px; }
.navbar .navbar-nav .simple-dropdown .dropdown-menu { border-radius: 6px; }
.navbar .navbar-nav .simple-dropdown .dropdown-menu li a { padding: 9px 0 11px; border-bottom: 1px solid var(--light-medium-gray); }
.navbar .navbar-nav .simple-dropdown .dropdown-menu li:first-child a { padding-top: 0; }
.navbar .navbar-nav .simple-dropdown .dropdown-menu li:last-child a { border: 0; padding-bottom: 0; }
.navbar .navbar-nav .dropdown .dropdown-toggle { font-size: 12px; }
.header-phone {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--base-color); color: #fff; font-size: 18px; margin-left: 12px;
}
.header-phone:hover, .header-phone:focus { background: var(--base-color-dark); color: #fff; }
.header-top-bar .placeholder-todo { font-size: 13px; }

/* hero */
.hero-section { padding-top: 45px; padding-bottom: 45px; background: linear-gradient(180deg, var(--very-light-gray) 0%, #fff 100%); }
.hero-section h1 { font-size: 56px; }
.hero-hook { font-size: 22px; line-height: 32px; }
.hero-lead { font-size: 17px; line-height: 29px; max-width: 590px; }
.hero-image { padding: 0 0 18px 18px; }
.hero-image::before {
    content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%;
    border-radius: 6px; background: linear-gradient(135deg, var(--sanichem-accent-2), var(--sanichem-accent)); z-index: 0;
}
.hero-image img { position: relative; z-index: 1; max-height: 400px; object-fit: cover; }

/* pasek logotypów – skala szarości → kolor na hover */
.brand-strip .brand-strip-title { letter-spacing: 1px; font-size: 13px; line-height: 20px; }
.btn { text-transform: none; letter-spacing: 0; }
.brand-strip-row .client-box { padding: 18px 10px; }
.brand-strip-row .brand-logo-link { display: flex; align-items: center; justify-content: center; height: 56px; min-height: 44px; }
.brand-strip-row .brand-logo {
    height: 40px; width: auto; max-width: 130px; object-fit: contain;
    filter: grayscale(1); opacity: .8; transition: filter .3s ease, opacity .3s ease;
}
.brand-strip-row .brand-logo[src$="lamix.png"] { height: 50px; }
.brand-strip-row .brand-logo[src$="lakma.png"] { height: 26px; }
.brand-strip-row .brand-logo[src$="eco-shine.svg"] { height: 30px; }
.brand-strip-row .brand-logo[src$="papernet.png"] { height: 46px; }
.brand-strip-row .brand-logo[src$="diversey.svg"] { height: 34px; }
.brand-strip-row .brand-logo-link:hover .brand-logo,
.brand-strip-row .brand-logo-link:focus-visible .brand-logo { filter: none; opacity: 1; }
.clients-style-06:hover .client-box { opacity: 1; }

/* kafle branż */
.industry-icon { width: 64px; height: 64px; background: rgba(2, 116, 220, .1); color: var(--base-color); font-size: 28px; }
.industry-card ul li { line-height: 26px; margin-bottom: 6px; }
.industry-card { transition: transform .3s ease, box-shadow .3s ease; }
.industry-card:hover { transform: translateY(-4px); }

/* karty producentów */
.brand-card { color: var(--medium-gray); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.brand-card:hover, .brand-card:focus-visible { border-color: var(--base-color) !important; box-shadow: 0 15px 35px rgba(11, 37, 64, .08); transform: translateY(-4px); color: var(--medium-gray); }
.brand-card-logo { height: 64px; }
.brand-card-logo img { max-height: 56px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.brand-card-logo img[src$="lakma.png"] { max-height: 34px; }
.brand-hero-logo { min-height: 200px; }
.brand-hero-logo img { max-height: 110px; max-width: 320px; width: auto; height: auto; }

/* CTA */
.cta-band { background: linear-gradient(110deg, var(--dark-gray) 0%, #0d3a66 100%); }
.cta-band h2 { font-size: 34px; line-height: 44px; }

/* podstrony */
.page-title-light { background: linear-gradient(180deg, var(--very-light-gray) 0%, #fff 100%); }
.page-title-light h1 { font-size: 52px; }
.breadcrumb-nav ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.breadcrumb-nav li + li::before { content: "/"; margin: 0 8px; color: var(--medium-gray); }
.breadcrumb-nav a { color: var(--base-color-dark); }
.side-links li { border-bottom: 1px solid var(--extra-medium-gray); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; color: var(--dark-gray); font-weight: 500; }
.side-links a:hover { color: var(--base-color-dark); }

/* formularz – contact-form-style-03 */
.contact-form-style-03 .form-control, .contact-form-style-03 .form-select { color: var(--dark-gray); font-size: 16px; padding-top: 10px; padding-bottom: 10px; min-height: 48px; }
.contact-form-style-03 .form-select { border: 0; border-bottom: 1px solid var(--extra-medium-gray); border-radius: 0; background-position: right 5px center; box-shadow: none; }
.contact-form-style-03 input:focus, .contact-form-style-03 select:focus, .contact-form-style-03 textarea:focus,
.contact-form-style-03 .form-control:focus, .contact-form-style-03 .form-select:focus { border-bottom: 2px solid var(--base-color); box-shadow: none; }
.contact-form-style-03 .was-validated .form-control:invalid, .contact-form-style-03 .form-control.is-invalid,
.contact-form-style-03 .form-select.is-invalid { border-bottom-color: #c62828; }
.contact-form-style-03 .invalid-feedback { color: #b71c1c; font-size: 14px; }
.contact-form-style-03 .form-group .form-icon { color: var(--medium-gray); }
.form-check-input { width: 20px; height: 20px; margin-top: 3px; }
.form-check-input:checked { background-color: var(--base-color); border-color: var(--base-color); }
.form-check-label { padding-left: 8px; }
.form-success { background: #e8f5e9; color: #1b5e20; border-radius: 6px; padding: 15px 20px; }

/* stopka */
footer.footer-dark { color: var(--footer-text); }
footer.footer-dark p, footer.footer-dark a, footer.footer-dark li { color: var(--footer-text); }
footer.footer-dark a:hover { color: var(--sanichem-accent); }
footer .footer-logo img { max-height: 40px; width: auto; }
footer ul { padding: 0; list-style: none; }
footer ul li { margin-bottom: 6px; }
footer .footer-contact li { display: flex; align-items: baseline; }

/* responsywność */
@media (max-width: 1199px) {
    .hero-section h1 { font-size: 50px; }
    .brand-strip-row .client-box { padding: 12px 6px; }
}
@media (max-width: 991px) {
    header .navbar { min-height: 64px; }
    header .navbar-brand img { max-height: 38px; }
    .hero-section { padding-top: 35px; padding-bottom: 40px; }
    .hero-image img { max-height: none; }
    .navbar .navbar-nav .simple-dropdown .dropdown-menu { margin-top: 15px; }
    .cta-band h2 { font-size: 28px; line-height: 38px; }
}
@media (max-width: 767px) {
    body { font-size: 16px; line-height: 28px; }
    .hero-section h1, .page-title-light h1 { font-size: 38px; }
    .hero-hook { font-size: 19px; line-height: 28px; }
    .brand-strip-row .brand-logo { height: 32px; max-width: 100px; }
    .brand-strip-row .brand-logo[src$="lamix.png"] { height: 42px; }
    .brand-strip-row .brand-logo[src$="lakma.png"] { height: 22px; }
}
@media (max-width: 575px) {
    .hero-section .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* poprawki po testach */
header .navbar.header-light .navbar-nav .nav-item.active > .nav-link { color: var(--base-color-dark); opacity: 1; }
.contact-form-style-03 input.form-check-input {
    border: 1px solid var(--medium-gray); border-radius: 4px; background-color: #fff; padding: 0; min-height: 0;
}
.contact-form-style-03 input.form-check-input:checked { background-color: var(--base-color); border-color: var(--base-color); }
.contact-form-style-03 input.form-check-input.is-invalid { border-color: #c62828; }
.contact-form-style-03 .form-check-input.is-invalid ~ .invalid-feedback { display: block; }
.navbar .navbar-nav .dropdown .dropdown-menu a { color: var(--dark-gray); }
.navbar .navbar-nav .dropdown .dropdown-menu a:hover { color: var(--base-color-dark); }

/* ===== zdjęcia z sanichem.pl ===== */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(90deg, rgba(11, 37, 64, .94) 0%, rgba(11, 37, 64, .86) 45%, rgba(11, 37, 64, .35) 80%, rgba(11, 37, 64, .15) 100%);
}
.hero-photo .hero-bg { object-position: 70% 40%; }
.hero-photo .hero-row { min-height: 520px; padding: 50px 0; }
.hero-photo h1 { font-size: 58px; }
.hero-photo .hero-hook { color: var(--sanichem-accent); font-size: 22px; line-height: 32px; }   /* 7,5:1 na ciemnym */
.hero-photo .hero-lead { font-size: 17px; line-height: 29px; max-width: 600px; opacity: .92; }
.btn.btn-transparent-white { border-color: #fff; color: #fff; background: transparent; }
.btn.btn-transparent-white:hover { background: #fff; color: var(--dark-gray); }

.page-title-photo { padding-top: 70px !important; padding-bottom: 70px !important; }
.page-title-photo .hero-overlay { background: linear-gradient(90deg, rgba(11, 37, 64, .93) 0%, rgba(11, 37, 64, .8) 55%, rgba(11, 37, 64, .45) 100%); }
.page-title-photo h1 { font-size: 52px; }
.page-title-photo p, .page-title-photo .breadcrumb-nav li { color: #e3ecf5; }
.page-title-photo .breadcrumb-nav a { color: var(--sanichem-accent); }
.page-title-photo .breadcrumb-nav li + li::before { color: #b8c7d6; }

.cta-band { background: var(--dark-gray); }
.cta-band .hero-bg { object-position: center 60%; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 37, 64, .95) 0%, rgba(11, 37, 64, .85) 60%, rgba(2, 98, 187, .75) 100%); }

/* kafle branż ze zdjęciem */
.industry-photo img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.industry-card:hover .industry-photo img { transform: scale(1.04); }
.industry-photo { overflow: visible; }
.industry-photo .industry-icon {
    position: absolute; left: 30px; bottom: -28px; width: 56px; height: 56px; font-size: 24px;
    background: var(--base-color); color: #fff; box-shadow: 0 6px 18px rgba(2, 116, 220, .35); z-index: 2;
}
.industry-card { overflow: hidden; }
.industry-card .industry-photo { overflow: hidden; }
.industry-card .industry-photo .industry-icon { bottom: 16px; }

/* kompozycja dwóch zdjęć */
.about-images { padding-bottom: 60px; }
.about-img-main { width: 78%; }
.about-img-main img { aspect-ratio: 4 / 5; object-fit: cover; }
.about-img-small { position: absolute; right: 0; bottom: 0; width: 50%; border: 8px solid #fff; box-shadow: 0 20px 40px rgba(11, 37, 64, .15); }
.about-img-small img { aspect-ratio: 1 / 1; object-fit: cover; }
.about-images::before {
    content: ""; position: absolute; left: -18px; top: -18px; width: 120px; height: 120px; border-radius: 6px; z-index: -1;
    background: linear-gradient(135deg, var(--sanichem-accent-2), var(--sanichem-accent));
}

@media (max-width: 1199px) { .hero-photo h1 { font-size: 50px; } }
@media (max-width: 991px) {
    .hero-overlay { background: linear-gradient(180deg, rgba(11, 37, 64, .9) 0%, rgba(11, 37, 64, .88) 100%); }
    .hero-photo .hero-row { min-height: 0; padding: 45px 0 50px; }
}
@media (max-width: 767px) {
    .hero-photo h1, .page-title-photo h1 { font-size: 38px; }
    .hero-photo .hero-hook { font-size: 19px; line-height: 28px; }
    .page-title-photo { padding-top: 45px !important; padding-bottom: 45px !important; }
}
@media (max-width: 575px) { .hero-photo .btn { width: 100%; } }
.page-title-photo + section.pt-0 { padding-top: 70px !important; }
@media (max-width: 767px) { .page-title-photo + section.pt-0 { padding-top: 45px !important; } }

/* ---------- zdjęcia produktów i linie produktów (podstrony producentów i branż) ---------- */
.product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.product-line { box-shadow: 0 2px 14px rgba(11, 37, 64, .06); }
.product-line h3 { display: flex; align-items: flex-start; }
.product-line h3 i { margin-top: 2px; }
.brand-fit-card { box-shadow: 0 2px 14px rgba(11, 37, 64, .06); transition: box-shadow .2s, transform .2s; color: var(--medium-gray); }
.brand-fit-card:hover { box-shadow: 0 10px 30px rgba(11, 37, 64, .12); transform: translateY(-3px); color: var(--medium-gray); }
.brand-fit-card .brand-card-logo img { max-height: 40px; width: auto; }
.industry-chips { list-style: none; display: grid; gap: 12px; }
.industry-chips li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.industry-chips a { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 50px; background: #fff; border: 1px solid var(--extra-medium-gray, #dde4ec); color: var(--base-color-dark); font-weight: 600; white-space: nowrap; }
.industry-chips a:hover { background: var(--base-color); border-color: var(--base-color); color: #fff; }

/* ---------- podstrona producenta (hero, wybrane rozwiązania, certyfikaty, linki) ---------- */
.brand-hero { background: linear-gradient(180deg, #F4F8FC 0%, #fff 100%); }
.brand-hero .brand-hero-logo img { height: 64px; width: auto; max-width: 240px; object-fit: contain; }
.brand-hero .brand-hero-logo img.brand-logo-lamix { height: 96px; }
.brand-hero .brand-hero-logo img.brand-logo-lakma { height: 48px; }
.brand-card-logo img.brand-logo-lamix, .brand-fit-card .brand-card-logo img.brand-logo-lamix { max-height: 56px; height: 56px; }
.product-photo.packshot img, .product-photo img[src*="-pack-"] { object-fit: contain; background: #fff; }
.flagship-card { transition: box-shadow .2s, transform .2s; }
.flagship-card:hover { box-shadow: 0 10px 30px rgba(11, 37, 64, .10); }
.cert-item h3 { line-height: 1.3; }
.brand-ext-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.brand-card .product-photo img { transition: transform .4s ease; }
.brand-card:hover .product-photo img { transform: scale(1.03); }
@media (max-width: 767px) {
    .brand-hero .brand-hero-logo img { height: 48px; }
    .brand-hero .brand-hero-logo img.brand-logo-lamix { height: 72px; }
    .brand-links .btn { width: 100%; }
}

/* ---------- podstrona branży ---------- */
.industry-hero { min-height: 520px; display: flex; align-items: center; }
.industry-hero .btn-white { color: var(--dark-gray); }
.area-tile { box-shadow: 0 2px 14px rgba(11, 37, 64, .06); transition: box-shadow .2s, transform .2s; }
.area-tile:hover { box-shadow: 0 10px 30px rgba(11, 37, 64, .12); transform: translateY(-3px); }
.area-icon { width: 60px; height: 60px; background: rgba(2, 116, 220, .08); color: var(--base-color); font-size: 26px; }
.concern-list { list-style: none; }
.concern-icon { width: 40px; height: 40px; background: var(--base-color); color: #fff; font-size: 18px; }
.process-steps .process-step-style-01 .progress-step-separator { top: 40px; left: calc(50% + 50px); width: calc(100% - 100px) !important; }
@media (max-width: 991px) {
    .industry-hero { min-height: 0; }
    .process-steps .progress-step-separator { display: none; }
}
@media (max-width: 575px) {
    .process-steps .process-step-style-01 { display: flex; text-align: left !important; gap: 20px; }
    .process-steps .process-step-icon-box { margin-bottom: 0 !important; flex-shrink: 0; }
    .process-steps .process-step-icon { width: 56px !important; height: 56px !important; }
    .process-steps p { width: 100% !important; }
    .industry-hero .btn { width: 100%; justify-content: center; }
}

/* ---------- podstrona producenta: karty branż i pozostali producenci ---------- */
.brand-industry { color: var(--medium-gray); transition: box-shadow .2s, transform .2s; }
.brand-industry:hover { color: var(--medium-gray); transform: translateY(-3px); }
.brand-mini { transition: box-shadow .2s, transform .2s; }
.brand-mini:hover { box-shadow: 0 10px 30px rgba(11, 37, 64, .12); transform: translateY(-3px); }
.brand-mini-logo img { max-height: 32px; max-width: 110px; width: auto; height: auto; }
.brand-mini-logo img.brand-logo-lamix { max-height: 40px; }
.brand-hero .btn-transparent-dark-gray { border: 1px solid var(--dark-gray); color: var(--dark-gray); }
.brand-hero .btn-transparent-dark-gray:hover { background: var(--dark-gray); color: #fff; }

/* =========================================================
   KATALOG PRODUKTÓW (catalog.mjs + js/katalog.js)
   ========================================================= */
/* nagłówek: ikony wyszukiwarki i listy zapytania */
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--dark-gray); font-size: 19px; }
.header-icon:hover, .header-icon.active { background: var(--very-light-gray); color: var(--base-color-dark); }
.inquiry-badge { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--base-color); color: #fff; font-size: 11px; line-height: 19px; font-weight: 700; text-align: center; }

/* mega menu „Produkty” */
.navbar .navbar-nav .mega-products .submenu-content { padding: 30px 0 20px; border-radius: 0 0 6px 6px; box-shadow: 0 25px 40px rgba(11, 37, 64, .1); }
.navbar .navbar-nav .mega-products .submenu-content .container { display: block; }
.mega-grid { row-gap: 18px; }
.mega-col .mega-title { display: flex; align-items: center; font-weight: 600; color: var(--dark-gray); font-size: 16px; line-height: 24px; margin-bottom: 4px; }
.mega-col .mega-title i { color: var(--base-color); font-size: 17px; }
.mega-col .mega-title:hover { color: var(--base-color-dark); }
.navbar .navbar-nav .mega-products .mega-sub { list-style: none; padding: 0 0 0 27px; margin: 0; display: block; width: auto; }
.navbar .navbar-nav .mega-products .mega-sub li a { font-size: 14px; line-height: 24px; padding: 1px 0; color: var(--medium-gray); border: 0; }
.navbar .navbar-nav .mega-products .mega-sub li a:hover { color: var(--base-color-dark); }
.mega-foot { border-top: 1px solid var(--extra-medium-gray); margin-top: 20px; padding-top: 15px; font-size: 15px; }
@media (min-width: 992px) {
    .navbar .navbar-nav .mega-products { position: static; }
    .navbar .navbar-nav .mega-products .submenu-content { left: 0; right: 0; width: 100%; }
}
@media (max-width: 991px) {
    .navbar .navbar-nav .mega-products .submenu-content { padding: 10px 0; box-shadow: none; }
    .mega-grid { row-gap: 10px; }
    .navbar .navbar-nav .mega-products .mega-sub { display: none; }
    .mega-foot { margin-top: 10px; }
}

/* pasek logotypów – marquee */
.brand-strip-head { padding-left: max(15px, calc((100vw - 1320px) / 2 + 12px)); padding-right: 30px; flex-shrink: 0; }
.brand-strip-title a:hover { color: var(--base-color-dark); }
.brand-marquee { width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-inner { width: max-content; animation: sanichem-marquee 45s linear infinite; }
.brand-marquee:hover .marquee-inner, .brand-marquee:focus-within .marquee-inner { animation-play-state: paused; }
.marquee-track { flex-shrink: 0; }
.marquee-item { padding: 18px 28px; }
.marquee-item .brand-logo-link { display: flex; align-items: center; justify-content: center; height: 56px; min-width: 44px; }
.marquee-item .brand-logo { height: 38px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee-item .brand-logo-link:hover .brand-logo, .marquee-item .brand-logo-link:focus-visible .brand-logo { filter: none; opacity: 1; }
.marquee-item .brand-logo-text { font-weight: 700; color: var(--medium-gray); font-size: 18px; white-space: nowrap; }
@keyframes sanichem-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee-inner { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
    .marquee-track[aria-hidden="true"] { display: none !important; }
    .brand-marquee { -webkit-mask-image: none; mask-image: none; }
}
.brand-logo-text { font-weight: 700; color: var(--dark-gray); }

/* wyszukiwarka */
.catalog-search { position: relative; display: flex; }
.catalog-search .form-control { height: 52px; padding: 0 60px 0 20px; border: 1px solid var(--extra-medium-gray); border-radius: 6px; font-size: 16px; color: var(--dark-gray); background: #fff; }
.catalog-search .form-control:focus { border-color: var(--base-color); box-shadow: 0 0 0 3px rgba(2, 116, 220, .15); }
.catalog-search .btn { position: absolute; right: 4px; top: 4px; bottom: 4px; width: 46px; padding: 0; border-radius: 5px; font-size: 18px; }
.catalog-search-big .form-control { height: 60px; font-size: 17px; }
.search-suggest { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 50; background: #fff; border: 1px solid var(--extra-medium-gray); border-radius: 6px; box-shadow: 0 15px 35px rgba(11, 37, 64, .12); overflow: hidden; }
.search-suggest a { display: flex; flex-direction: column; padding: 10px 16px; line-height: 22px; color: var(--medium-gray); border-bottom: 1px solid var(--light-medium-gray); }
.search-suggest a:hover, .search-suggest a:focus { background: var(--very-light-gray); }
.search-suggest .search-suggest-all { font-weight: 600; color: var(--base-color-dark); border: 0; }
.search-suggest-empty { padding: 12px 16px; font-size: 15px; }

/* kafle kategorii */
.category-icon { width: 58px; height: 58px; background: rgba(2, 116, 220, .08); color: var(--base-color); font-size: 25px; }
.category-icon-sm { width: 44px; height: 44px; font-size: 20px; }
.category-tile, .home-cat, .sub-tile, .guide-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.category-tile:hover, .home-cat:hover, .sub-tile:hover, .guide-card:hover { border-color: var(--base-color) !important; box-shadow: 0 10px 30px rgba(11, 37, 64, .08); transform: translateY(-2px); }
.category-sub-links { list-style: none; font-size: 15px; line-height: 26px; }
.category-sub-links a { color: var(--medium-gray); }
.category-sub-links a:hover { color: var(--base-color-dark); }
.home-cat { background: #fff; color: var(--dark-gray); }
.tag-link { display: inline-block; padding: 4px 14px; border-radius: 20px; background: rgba(2, 116, 220, .08); color: var(--base-color-dark); font-size: 14px; line-height: 24px; font-weight: 500; }
.tag-link:hover { background: var(--base-color); color: #fff; }
.catalog-bullets { list-style: none; }

/* filtry */
.catalog-filters { position: sticky; top: 110px; }
.filter-group { border: 0; padding: 0; }
.filter-opt { font-size: 15px; line-height: 22px; padding: 6px 0; cursor: pointer; color: var(--dark-gray); }
.filter-opt .form-check-input { width: 18px; height: 18px; flex-shrink: 0; border-color: #9aaabb; }
.filter-opt .form-check-input:checked { background-color: var(--base-color); border-color: var(--base-color); }
.filter-count { color: var(--medium-gray); background: var(--very-light-gray); border-radius: 10px; padding: 0 8px; }
@media (max-width: 991px) { .catalog-filters { position: static; } }

/* karta produktu na liście */
.product-card { transition: border-color .2s, box-shadow .2s; }
.product-card:hover { border-color: var(--base-color) !important; box-shadow: 0 10px 30px rgba(11, 37, 64, .08); }
.product-card-img { aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid var(--light-medium-gray); }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.product-noimg { aspect-ratio: 1 / 1; width: 100%; background: var(--very-light-gray); color: #9aaabb; gap: 6px; }
.product-noimg i { font-size: 34px; }
.product-brand { color: var(--base-color-dark); letter-spacing: .8px; }
.product-title a:hover { color: var(--base-color-dark) !important; }
.product-sku { color: var(--medium-gray); }
.price-ask { font-size: 14px; font-weight: 600; color: var(--dark-gray); }
.price-net { font-size: 22px; font-weight: 700; color: var(--dark-gray); }
.product-card .btn { padding-left: 12px; padding-right: 12px; font-size: 14px; width: 100%; justify-content: center; }
.badge-demo { position: absolute; top: 10px; left: 10px; background: #f1f3f5; color: #4a5560; border: 1px solid #d5dbe0; font-size: 12px; font-weight: 700; line-height: 20px; padding: 0 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }
.badge-demo-inline { background: #f1f3f5; color: #4a5560; padding: 1px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; }

/* karta produktu */
.product-gallery { aspect-ratio: 1 / 1; background: #fff; }
.product-gallery img { width: 100%; height: 100%; object-fit: contain; padding: 5%; }
.product-thumb { width: 74px; height: 74px; padding: 0; border: 1px solid var(--extra-medium-gray); border-radius: 6px; background: #fff; overflow: hidden; }
.product-thumb.active, .product-thumb:hover { border-color: var(--base-color); }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-brand-logo { height: 40px; max-width: 170px; width: auto; object-fit: contain; object-position: left center; }
.qty-input { width: 84px; height: 46px; text-align: center; border-radius: 6px; border-color: var(--extra-medium-gray); }
.product-attrs th { width: 45%; font-weight: 600; color: var(--dark-gray); background: var(--very-light-gray); }
.product-attrs th, .product-attrs td { padding: 10px 14px; border-color: var(--extra-medium-gray); vertical-align: top; }
.side-links .py-12px { padding: 12px 0; }

/* lista zapytania */
.inquiry-list { list-style: none; border: 1px solid var(--extra-medium-gray); border-radius: 6px; }
.inquiry-item { padding: 16px 20px; border-bottom: 1px solid var(--extra-medium-gray); }
.inquiry-item:last-child { border-bottom: 0; }
.inquiry-item img, .inquiry-noimg { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--light-medium-gray); border-radius: 6px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #9aaabb; }
.inquiry-item .qty-input { width: 74px; }
.inquiry-item .js-remove { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.inquiry-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 2000; background: var(--dark-gray); color: #fff; padding: 14px 22px; border-radius: 6px; font-size: 15px; line-height: 22px; max-width: calc(100% - 32px); box-shadow: 0 15px 35px rgba(0, 0, 0, .25); transition: transform .3s ease; }
.inquiry-toast.show { transform: translate(-50%, 0); }
.inquiry-toast a { color: var(--sanichem-accent); font-weight: 600; margin-left: 6px; }
@media (max-width: 575px) {
    .inquiry-item { flex-wrap: wrap; }
    .inquiry-item > div { flex-basis: calc(100% - 90px); }
}

/* proces na stronach branż */
.process-num { width: 44px; height: 44px; background: var(--base-color); color: #fff; font-size: 18px; }
.guide-article h2 { line-height: 1.25; }
.product-h1 { font-size: 34px; line-height: 42px; letter-spacing: -.5px; }
@media (max-width: 767px) { .product-h1 { font-size: 26px; line-height: 34px; } }
.fs-21 { font-size: 21px; }
.navbar .navbar-nav .mega-products .submenu-content { background: #fff; z-index: 1000; border-top: 1px solid var(--extra-medium-gray); }

/* Kafle kategorii – zdjęcia produktów: jedno duże + dwa mniejsze */
.category-shots { display: grid !important; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; height: 190px; background: #e4e4e4; border-bottom: 1px solid #e4e4e4; }
.category-shot { background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0; }
.category-shot:first-child { grid-row: 1 / 3; }
.category-shots .category-shot:only-child { grid-column: 1 / 3; }
.category-shot img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .35s; }
.category-shot:first-child img { padding: 16px; }
.category-tile:hover .category-shot img { transform: scale(1.06); }
.category-tile .category-icon { margin-top: -54px; position: relative; background: #fff; box-shadow: 0 4px 14px rgba(11, 37, 64, .12); }

/* Producent – źródła pod nazwą */
.brand-hero-links { gap: 4px 22px; }
.brand-hero-links a { font-weight: 600; }

/* ===== Hero – jasna karuzela (zdjęcia z assets/hero) ===== */
.hero-light { background: #f4f8fc; }
.hero-light .hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-light .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-light .hero-slide.is-active { opacity: 1; }
.hero-light .hero-slide .hero-bg { object-position: 75% 25%; transform-origin: 75% 25%; transform: scale(1); transition: transform 7s ease-out; }
.hero-light .hero-slide.is-active .hero-bg { transform: scale(1.04); }
.hero-light .hero-overlay { background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 32%, rgba(255, 255, 255, .45) 52%, rgba(255, 255, 255, 0) 68%); }
.hero-light .hero-row { min-height: clamp(600px, 44vw, 820px); padding: 60px 0 110px; }
.hero-light h1 { color: var(--dark-gray); }
.hero-light .hero-hook { color: var(--base-color-dark); }
.hero-light .hero-lead { color: #3d4a57; opacity: 1; }
.hero-light .btn-white { background: #fff; color: var(--dark-gray); border: 1px solid #e4e4e4; }
.hero-light .btn-white:hover { border-color: var(--base-color); color: var(--base-color); }
.hero-nav { position: absolute; left: 15px; right: 15px; bottom: 32px; gap: 20px; justify-content: space-between; z-index: 2; }
.hero-captions { position: relative; min-height: 46px; flex: 0 1 auto; }
.hero-caption { position: absolute; left: 0; top: 0; white-space: nowrap; display: inline-flex; align-items: center; padding: 11px 20px; border-radius: 50px; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 24px rgba(11, 37, 64, .12); color: var(--dark-gray); font-weight: 600; font-size: 15px; opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; backdrop-filter: blur(6px); }
.hero-caption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--base-color); margin-right: 10px; }
.hero-caption.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-caption:hover { color: var(--base-color); }
.hero-dots { gap: 8px; align-items: center; margin-left: auto; padding: 8px 10px; border-radius: 50px; background: rgba(255, 255, 255, .85); box-shadow: 0 6px 24px rgba(11, 37, 64, .1); }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px; background: #c5d3e0; transition: width .4s ease, background .4s ease; cursor: pointer; }
.hero-dot.is-active { width: 30px; background: var(--base-color); }
.hero-pause { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--dark-gray); font-size: 18px; line-height: 1; cursor: pointer; }
.hero-pause:hover, .hero-dot:hover { color: var(--base-color); }
.hero-dot:focus-visible, .hero-pause:focus-visible, .hero-caption:focus-visible { outline: 2px solid var(--base-color); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .hero-light .hero-slide, .hero-light .hero-slide .hero-bg, .hero-caption { transition: none; }
    .hero-light .hero-slide.is-active .hero-bg { transform: scale(1); }
}
@media (max-width: 991px) {
    .hero-light .hero-slides { position: relative; inset: auto; aspect-ratio: 16 / 10; }
    .hero-light .hero-slide .hero-bg { object-position: 85% 50%; }
    .hero-light .hero-overlay { top: auto; height: 60px; bottom: auto; display: none; }
    .hero-light .hero-row { min-height: 0; padding: 30px 0 20px; }
    .hero-nav { position: static; padding-bottom: 35px; flex-wrap: wrap; }
    .hero-light h1 { font-size: 38px; }
}
@media (max-width: 575px) {
    .hero-light .hero-slides { aspect-ratio: 4 / 3; }
    .hero-caption { font-size: 14px; padding: 10px 16px; }
}

/* Nagłówek podstrony – jasny wariant ze zdjęciem z assets/hero */
.page-title-photo-light { background: #f4f8fc; padding-top: 80px !important; padding-bottom: 80px !important; }
.page-title-photo-light .hero-bg { object-position: 85% 35%; }
.page-title-photo-light .hero-overlay { background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 40%, rgba(255, 255, 255, .35) 65%, rgba(255, 255, 255, 0) 80%); }
.page-title-photo-light p, .page-title-photo-light .breadcrumb-nav li { color: #3d4a57; }
.page-title-photo-light .breadcrumb-nav a { color: var(--base-color-dark); }
.page-title-photo-light .breadcrumb-nav li + li::before { color: var(--medium-gray); }
@media (max-width: 991px) {
    .page-title-photo-light .hero-overlay { background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .85) 70%, rgba(255, 255, 255, .6) 100%); }
}
.cta-overlay { background: linear-gradient(100deg, rgba(11, 37, 64, .92) 0%, rgba(2, 98, 187, .82) 60%, rgba(2, 116, 220, .6) 100%); }

/* ---------- łamanie słów (mobile) ----------
   Crafto ustawia na body word-break: break-word – w kartach i układach flex/grid
   przeglądarka liczy szerokość minimalną „po literze” i dzieli słowa w środku.
   Słowa przenosimy w całości; dzielimy tylko ciąg dłuższy niż cała linia (np. adres e-mail). */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, .btn { word-break: normal; overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 575px) {
    h1, .h1 { font-size: 32px; line-height: 38px; }
    .hero-section h1, .page-title-light h1, .hero-photo h1, .page-title-photo h1, .hero-light h1 { font-size: 32px; line-height: 38px; }
    h2, .h2 { font-size: 28px; line-height: 34px; }
    h3, .h3 { font-size: 24px; line-height: 30px; }
    .cta-band h2 { font-size: 24px; line-height: 32px; }
    .product-h1 { font-size: 24px; line-height: 31px; }
}
@media (max-width: 390px) {
    h1, .h1, .hero-section h1, .page-title-light h1, .hero-photo h1, .page-title-photo h1, .hero-light h1 { font-size: 28px; line-height: 34px; }
    h2, .h2 { font-size: 25px; line-height: 31px; }
}

/* ===== Treść z /content (Markdown → .md-content) i FAQ ===== */
.md-section { padding-top: 70px; padding-bottom: 70px; }
@media (max-width: 767px) { .md-section { padding-top: 50px; padding-bottom: 50px; } }
.md-lead p { margin-bottom: 15px; }
.md-lead p:last-child { margin-bottom: 0; }
.md-lead a, .md-content a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-title-lead p { color: inherit; }
.hero-md-lead p, .hero-md-lead a { color: #fff; }
.hero-md-lead a:hover { color: var(--sanichem-accent); }
.md-content { font-size: 17px; line-height: 30px; }
.md-content > :first-child { margin-top: 0 !important; }
.md-content h2 { font-family: var(--alt-font); font-weight: 600; color: var(--dark-gray); font-size: 30px; line-height: 38px; letter-spacing: -.5px; margin: 45px 0 15px; }
.md-content h3 { font-family: var(--alt-font); font-weight: 600; color: var(--dark-gray); font-size: 21px; line-height: 30px; margin: 30px 0 10px; }
.md-content h4 { font-family: var(--alt-font); font-weight: 600; color: var(--dark-gray); font-size: 18px; line-height: 28px; margin: 25px 0 8px; }
.md-content p { margin-bottom: 18px; }
.md-content ul, .md-content ol { margin: 0 0 22px; padding-left: 0; }
.md-content ul { list-style: none; }
.md-content ul > li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.md-content ul > li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--base-color); }
.md-content ol { padding-left: 24px; }
.md-content ol > li { margin-bottom: 10px; padding-left: 4px; }
.md-content ol > li::marker { color: var(--base-color); font-weight: 600; }
.md-content li > ul, .md-content li > ol { margin: 10px 0 0; }
.md-content strong { color: var(--dark-gray); font-weight: 600; }
.md-content blockquote { margin: 25px 0; padding: 20px 25px; background: var(--very-light-gray); border-left: 4px solid var(--base-color); border-radius: 0 6px 6px 0; color: var(--dark-gray); }
.md-content blockquote p:last-child { margin-bottom: 0; }
.md-content hr { margin: 35px 0; border-color: var(--extra-medium-gray); opacity: 1; }
.md-content img { max-width: 100%; height: auto; border-radius: 6px; }
.md-content code { color: var(--dark-gray); background: var(--very-light-gray); padding: 1px 5px; border-radius: 3px; font-size: .92em; }
.md-content-sub h2 { font-size: 24px; line-height: 32px; margin-top: 30px; }
.guide-article .md-content { font-size: 18px; line-height: 32px; }
.guide-article .md-content h2 { margin-top: 40px; }
/* tabele: przewijanie poziome w kontenerze, strona bez poziomego scrolla */
.md-table { margin: 10px 0 25px; border: 1px solid var(--extra-medium-gray); border-radius: 6px; -webkit-overflow-scrolling: touch; }
.md-table .table { margin: 0; font-size: 15px; line-height: 22px; min-width: 520px; color: var(--medium-gray); }
.md-table .table th { background: var(--very-light-gray); color: var(--dark-gray); font-weight: 600; white-space: nowrap; }
.md-table .table th, .md-table .table td { padding: 12px 15px; border-color: var(--extra-medium-gray); vertical-align: top; }
.md-table .table tr:last-child td { border-bottom: 0; }
@media (max-width: 575px) {
    .md-content h2 { font-size: 25px; line-height: 32px; margin-top: 35px; }
    .md-content h3 { font-size: 19px; line-height: 27px; }
}
/* FAQ – akordeon na <details> (bez JS) */
.faq-list { border-top: 1px solid var(--extra-medium-gray); }
.faq-item { border-bottom: 1px solid var(--extra-medium-gray); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-q { color: var(--base-color-dark); }
.faq-item summary:focus-visible { outline: 3px solid var(--sanichem-accent); outline-offset: 2px; }
.faq-icon { flex-shrink: 0; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--very-light-gray); color: var(--base-color-dark); transition: transform .25s ease; }
.bg-very-light-gray .faq-icon { background: #fff; }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 47px 22px 0; font-size: 17px; line-height: 30px; }
@media (max-width: 575px) { .faq-a { padding-right: 0; } .faq-q { font-size: 17px !important; line-height: 26px !important; } }
@media (prefers-reduced-motion: reduce) { .faq-icon { transition: none; } }

/* ---------- wąskie telefony: nagłówek w jednym rzędzie, kafle kategorii bez wychodzenia słów ---------- */
@media (max-width: 575px) {
    .home-cat { flex-direction: column; align-items: flex-start !important; padding: 16px !important; }
    .home-cat .category-icon { margin: 0 0 10px 0 !important; }
    .home-cat > span:last-child { font-size: 15px; line-height: 21px; }
    .md-lead { margin-bottom: 30px; }
}
@media (max-width: 420px) {
    header .navbar-brand img { max-height: 30px; }
    header .navbar .container { padding-left: 12px; padding-right: 12px; }
    .header-icon { width: 36px; height: 36px; font-size: 17px; }
    .header-phone { width: 38px; height: 38px; margin-left: 4px; font-size: 16px; }
}
@media (max-width: 991px) {
    header .navbar > .container { flex-wrap: nowrap; }
    header .navbar > .container > .col-auto { flex-shrink: 0; }
    header .navbar > .container > .col-auto.me-auto { flex-shrink: 1; min-width: 0; }
}

/* strony prawne */
.legal-content h2 { font-size: 24px; line-height: 32px; margin: 35px 0 12px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content ol ul { margin-top: 6px; }

/* baner zgody na cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1050; max-width: 1100px; margin: 0 auto; background: #fff; color: var(--dark-gray); border: 1px solid var(--extra-medium-gray); border-radius: 8px; box-shadow: 0 10px 40px rgba(16, 32, 56, .18); }
.cookie-banner-inner { display: flex; align-items: center; gap: 24px; padding: 20px 24px; }
.cookie-banner-text { flex: 1 1 auto; font-size: 15px; line-height: 24px; }
.cookie-banner-text p { margin: 0; }
.cookie-banner-title { font-weight: 700; font-size: 16px; margin-bottom: 4px !important; }
.cookie-banner-text a { color: var(--base-color); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn { border: 1px solid var(--base-color); white-space: nowrap; }
.cookie-btn-accept, .cookie-btn-accept:hover, .cookie-btn-accept:focus { background: var(--base-color); color: #fff; }
/* odmowa tak samo widoczna jak zgoda (bez „dark patterns”) */
.cookie-btn-deny, .cookie-btn-deny:hover, .cookie-btn-deny:focus { background: var(--base-color); color: #fff; }
.cookie-btn:hover { background: var(--base-color-dark); border-color: var(--base-color-dark); color: #fff; }
.cookie-btn:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 2px; }
.footer-link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-link-btn:hover { text-decoration: underline; }
@media (max-width: 767px) {
    .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
    .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
    .cookie-banner-text { font-size: 14px; line-height: 22px; }
    .cookie-banner-actions { flex-direction: column-reverse; }
    .cookie-btn { width: 100%; }
}
