<style>
/* ================= KONTAKT ================= */

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* odstęp tylko między elementami kontaktowymi (desktop) */
.contact-item + .contact-item {
  margin-left: 18px;
}

/* odstęp między tekstem a pierwszym linkiem */
.contact > .contact-item:first-of-type {
  margin-left: 12px;
}

.contact-item {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

/* stabilniejsza wersja niż gap (lepsza na mobile) */
.contact-item::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 6px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  flex-shrink: 0; /* zapobiega znikaniu ikon */
}

.contact-item.phone::before {
  background-image: url("https://files.nanga.pl/strony-informacyjne-zdjecia/b2b/phone.webp");
}

.contact-item.mail::before {
  background-image: url("https://files.nanga.pl/strony-informacyjne-zdjecia/b2b/mail.webp");
}

/* ================= MOBILE FIX ================= */

@media (max-width: 600px) {

  .contact {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .contact-item + .contact-item {
    margin-left: 0; /* usuwa ściskanie */
  }

  .contact > .contact-item:first-of-type {
    margin-left: 0;
  }

}

.b2b-bar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #dcdcdc;
}
/* to jest banerek b2b na głównej */
.b2b-bar__link {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: #2f6f5f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Desktop hover */
.b2b-bar__link:hover {
  background: #123c32;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* MOBILE FIX – mocniejszy i widoczny */
@media (max-width: 768px) {

  .b2b-bar {
    width: 100%;        /* usuwa problem 100vw na mobile */
    margin-left: 0;
  }

  .b2b-bar__link {
    background: linear-gradient(135deg, #1f5c4d, #0e3b33);
    box-shadow: 0 8px 22px rgba(0,0,0,0.30);
    border-radius: 12px;
    margin: 12px 16px;  /* odsuwa od krawędzi ekranu */
  }

  .b2b-bar__link:active {
    transform: scale(0.97);
  }
}

/* to jest do strony b2b wyroznienie paragrafów na wieksze */
.cta_b2b {
    font-size: 1.6em;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    align-self: center;
}

.cta_b2b a {
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid #359a6b;
    transition: all 0.25s ease;
}

.cta_b2b a:hover {
    color: #2f6f5f;
    border-bottom-color: #2f6f5f;
}

/* wycentrowanie sekcji kontaktowej */
.contact {
    justify-content: center;  /* centruje elementy flex */
    text-align: center;       /* centruje tekst */
}

/* ----------------- BANER B2B ----------------- */
.b2b-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2em auto;
    overflow: hidden;
    border-radius: 12px;
}

.b2b-banner__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Baner na podstronie B2B – tylko zdjęcie */
.b2b-banner {
    position: relative;
    width: 100%;
    max-width: 1200px; /* ograniczenie szerokości na dużych ekranach */
    margin: 2em auto;
    overflow: hidden;
    border-radius: 12px;
}

.b2b-banner__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.ramka_recepturka {
    display: flex;
    background-color: #efece3;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    border-radius: 25px;
    align-items: center;
}
.ramka_lewa {
    width: 525px;
    padding: 20px;
}
.ramka_prawa {
    justify-content: center;
    border-radius: 15px;
    padding: 15px;
    display: block;
    margin: auto;
}
.ramka_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #dae3e0;
    padding: 20px;
    border-radius: 15px;
    margin: 2em auto;
    max-width: 800px;
    box-sizing: border-box;
}
.ramka_info h3,
.ramka_info p {
    margin: 0;
}
.ramka_info h3 {
    color: #3e5d4e;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1.4;
    margin-bottom: 0.8em;
}
.ramka_info p + p {
    margin-top: 0.8em;
}
@media (max-width: 600px) {
    .ramka_info {
        margin: 1em;
        padding: 15px;
    }
}
/* ---------------- Ramka autorka ---------------- */
.ramka_autorka {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #f4f7f0;
    border-radius: 25px;
    padding: 15px;
    gap: 15px;
    justify-content: flex-start;
    max-width: 800px;
    margin: 1em auto;
    box-sizing: border-box;
}

.autorka_zdjecie img {
    width: 80px;           /* rozmiar zdjęcia */
    height: 80px;
    border-radius: 50%;    /* okrągłe zdjęcie */
    object-fit: cover;
}

.autorka_info {
    flex: 1;               /* zajmuje resztę miejsca */
}

.autorka_info h3 {
    margin: 0 0 0.5em 0;
    font-size: 1.2em;
    color: #3e5d4e;
}

.autorka_info p {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

/* ---------------- RESPONSYWNOŚĆ Ramka autorka ---------------- */
@media (max-width: 600px) {
    .ramka_autorka {
        flex-direction: column;
        text-align: center;
    }

    .autorka_zdjecie img {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .autorka_info h3 {
        font-size: 1.1em;
    }

    .autorka_info p {
        font-size: 0.95em;
    }
}
.autorka_social {
    margin-top: 0.8em;
    display: flex;
    gap: 10px;      /* odstęp między ikonami */
    flex-wrap: wrap; /* w razie małego ekranu ikony przejdą do nowego wiersza */
}

.autorka_social a img {
    width: 24px;   /* małe ikonki */
    height: 24px;
    display: block;
    transition: transform 0.2s ease;
}

.autorka_social a:hover img {
    transform: scale(1.2); /* lekki efekt powiększenia przy hover */
}

/* RESPONSYWNOŚĆ social autorka*/
@media (max-width: 600px) {
    .autorka_social {
        justify-content: center; /* wyśrodkowanie na mobile */
        margin-top: 1em;
    }
}
.pionowy {
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    max-height: 560px;
    object-fit: cover;
    padding-top: 1em;
    padding-bottom: 1em;
}
.poziomy {
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    max-height: 560px;
    object-fit: cover;
    padding-top: 2em;
    padding-bottom: 2em;
}
.h2 {
    color: #3e5d4e;
    font-weight: 700;
    font-size: 1.5em;
    margin: 1em 0.5em 1em 0;
}
.h3 {
    color: #3e5d4e;
    font-weight: 700;
    font-size: 1.2em;
    margin: 1.2em 0.5em 1.2em 0;
    line-height: 1.4;
}
@media (max-width: 600px) {
    .h3 {
        font-size: 1.1em;
        line-height: 1.5;
        margin-top: 1.5em;
        margin-bottom: 3em;
        display: block;
    }
}
a {
    color: #359a6b;
}
.kropka {
    list-style-type: disc;
    list-style-position: inside;
    display: block;
    padding-left: 0;
    margin: 0;
    line-height: 2;
    color: #000;
}
.kropka li::marker {
    color: #359a6b;
}
.lao {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    margin: 0;
    color: #000;
}
.lao li::marker {
    color: #359a6b;
}
.lao li {
    margin-bottom: 0.8em;
}
@media (max-width: 600px) {
    .lao {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
.ramka_spis_prosta {
    background-color: #e5e0ba;
    padding: 15px;
    border-radius: 12px;
    margin: 1em 0;
    max-width: 450px;
}
.ramka_spis_prosta ul {
    list-style: disc inside;
    padding-left: 0;
    margin: 0;
    line-height: 1.5;
    color: #000;
}
.ramka_spis_prosta ul li::marker {
    color: #359a6b;
}
.ramka_spis_prosta ul ul {
    list-style: circle inside;
    margin-left: 1.5em;
    font-size: 0.95em;
    line-height: 1.4;
}
.ramka_spis_prosta ul ul li::marker {
    color: #359a6b;
}
.ramka_spis_prosta li {
    margin: 0.5em 0;
}
.ramka_spis_prosta a {
    color: #000;
    text-decoration: none;
}
.ramka_spis_prosta h3 {
    margin-top: 0.5em;
    margin-right: 0.5em;
    margin-bottom: 1em;
    margin-left: 1em;
}
.ramka_spis_prosta a:hover {
    text-decoration: underline;
}

/* ------------------ TABELA ------------------ */
.adapt-table {
    width: 100%;
    border-collapse: collapse;
}
.adapt-table th,
.adapt-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e2e2e2;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}
.adapt-table th {
    background: #fafafa;
    border-bottom: 2px solid #ddd;
    font-weight: bold;
}
.adapt-table,
.adapt-table tr,
.adapt-table td {
    min-width: 0 !important;
}
@media (max-width: 700px) {
    .adapt-table thead {
        display: none;
    }
    .adapt-table tr {
        display: block;
        margin-bottom: 20px;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
    }
    .adapt-table td {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .adapt-table td:last-child {
        border-bottom: none;
    }
    .adapt-table td:before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
        display: block;
        margin-bottom: 6px;
    }
}
@media (min-width: 701px) {
    .adapt-table td {
        padding: 14px 12px;
    }
}

/* ------------------ GALERIA PRODUKTOWA W GRID ------------------ */
.produkty_ramka {
    background-color: #d6f2d6;
    padding: 15px;
    border-radius: 15px;
    max-width: 900px;
    margin: 2em auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.produkty_napis {
    font-size: 1.4em;
    font-weight: 700;
    color: #3e5d4e;
    margin-bottom: 15px;
    text-align: center;
}
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    justify-items: center;
}
.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f0fff0;
    padding: 10px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.product-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid #A5D6A7;
    transition: transform 0.3s ease;
}
.product-item img:hover {
    transform: scale(1.05);
}
.product-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: #3e5d4e;
    font-weight: 600;
}

/* RESPONSYWNOŚĆ GRID */
@media (max-width: 1024px) {
    .product-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE: pokazujemy tylko pierwszy produkt */
@media (max-width: 480px) {
    .product-gallery {
        display: block !important; 
    }
    .product-gallery .product-item {
        display: none !important; /* ukryj wszystkie produkty */
    }
    .product-gallery .product-item:first-child {
        display: block !important; /* pokaż pierwszy produkt */
        width: 100% !important;
        margin: 0 auto !important;
    }
}

</style>