/*
Theme Name: B3 BIO
Author: SiteOrigin
Author URI: https://siteorigin.com/
Theme URI: https://siteorigin.com/theme/vantage
Description: B3 BIO
Version: 1.0.0
Template: vantage
Text Domain: vantage
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* HEX*/
/* ————— SEKCJA HEX ————— */
.hex-section {
  background: linear-gradient(160deg, #d9f6f2 0%, #b6e6de 100%) !important;
  padding: 80px 0 !important;
  overflow: hidden !important;
}

/* ————— GRID ————— */
.hex-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 22px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* ————— POJEDYNCZY KAFEL ————— */
.hex {
  width: 160px !important;
  aspect-ratio: 1 / 1.155 !important;
  background: linear-gradient(180deg, #7edbd2 0%, #2fa598 100%) !important;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%) !important;
  transition: all 0.35s ease !important;
  text-align: center !important;
  color: #ffffff !important;
  position: relative !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.hex a {
  text-decoration: none !important;
  color: inherit !important;
  display: block !important;
  height: 100% !important;
  width: 100% !important;
}

.hex-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  padding: 18px !important;
  text-align: center !important;
}

/* ————— IKONY ————— */
.hex img {
  width: 52px !important;
  height: 52px !important;
  margin-bottom: 10px !important;
  filter: brightness(0) invert(1) !important;
  transition: transform 0.3s ease, filter 0.3s ease !important;
}

/* ————— TEKST ————— */
.hex p {
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* ————— EFEKT NAJAZDU ————— */
.hex:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 0 20px rgba(150, 255, 240, 0.8), 0 0 10px rgba(50, 180, 160, 0.5) !important;
  background: linear-gradient(180deg, #a9f0e7 0%, #33bfae 100%) !important;
  cursor: pointer !important;
}

.hex:hover img {
  transform: scale(1.1) !important;
  filter: brightness(1.3) !important;
}

/* ————— RESPONSYWNOŚĆ ————— */
@media (max-width: 1024px) {
  .hex {
    width: 140px !important;
  }
}

@media (max-width: 768px) {
  .hex {
    width: 120px !important;
  }
}

@media (max-width: 500px) {
  .hex {
    width: 100px !important;
  }
  .hex p {
    font-size: 0.7rem !important;
  }
}

/* HEX*/

/*SEARCH ICON*/

/*SEARCH ICON*/

#main{
	padding:0px;
}
.main-navigation a {
  font-weight: normal;
}
#masthead.masthead-logo-in-menu .main-navigation{
	box-shadow: 0px -20px 15px 10px;
}
 #masthead.masthead-logo-in-menu .main-navigation.sticky{
	background-color: #ffffff;
}
.main-navigation.sticky ul li a{
	color:#000;
}
.main-navigation.sticky ul li ul li a{
	color:#000;
}
.main-navigation ul ul ul a{
	width:300px;
}
.main-navigation li.menu-item-473 ul li a, .main-navigation li.menu-item-474 ul li a
{
	width:490px;
}
.main-navigation.sticky #search-icon #search-icon-icon, #search-icon #search-icon-icon{
	background-color: #fff0!important;
}
.main-navigation.sticky #search-icon #search-icon-icon .vantage-icon-search{
	color:#000;
}
#masthead.masthead-logo-in-menu .logo-in-menu-wrapper{
	padding: 5px 0;
}
#masthead.masthead-logo-in-menu .logo > img.logo-no-height-constrain{
	height:65px;
}
#masthead.masthead-logo-in-menu .sticky .logo > img.logo-no-height-constrain{
	 content:url("https://www.b3.bio/wp-content/uploads/2025/11/B3Bio-logo-white.jpg");
}
.main-navigation.sticky ul ul li,
.main-navigation.sticky ul ul li:hover > a,
.main-navigation.sticky ul ul li.focus > a {
  background: #fff!important;
  color: #000;
}
.main-navigation ul ul li,
.main-navigation ul ul li:hover > a,
.main-navigation ul ul li.focus > a {
  background: #000!important;
  color: #fff;
}

.main-navigation ul ul li a:hover,
.main-navigation.sticky ul ul li a:hover,
.main-navigation ul li:hover > a, .main-navigation ul li:focus > a, .main-navigation ul li:hover > a [class^="fa fa-"]{
	color: #007f82!important;
}
#content .so-panel{
	padding: 0px 5px 0px 5px;
}
.main-navigation ul ul{
	background-color:#fff0!important;
}
.main-navigation ul li:hover > a, .main-navigation ul li:focus > a, .main-navigation ul li:hover > a [class^="fa fa-"] {
    text-decoration: underline;
    text-underline-offset: 7px;
}
.main-navigation ul li:hover > a, .main-navigation ul li.focus > a, #search-icon #search-icon-icon:hover, #search-icon #search-icon-icon:focus, .site-header .shopping-cart-link .shopping-cart-count{
	background-color:#fff0!important;
}
.entry-content{
	color: #2b2b2b;
}
/*TABLE B3 BIO*/
/* Stylizacja tabeli produktowej B3.Bio */
.table-b3bio {
  width: 100%;
  border-collapse: collapse;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.table-b3bio th {
  background-color: #00bfa6; /* kolor akcentu */
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.table-b3bio th:last-child {
  border-right: none;
}

.table-b3bio td {
  border-bottom: 1px solid #e6e6e6;
  border-right: 1px solid #f2f2f2;
  padding: 14px 18px;
  vertical-align: top;
  background-color: #fff;
  transition: background-color 0.2s ease;
}

.table-b3bio td:last-child {
  border-right: none;
}

/* Zmienny kolor wierszy dla lepszej czytelności */
.table-b3bio tbody tr:nth-child(even) td {
  background-color: #f9f9f9;
}

/* Efekt hover */
.table-b3bio tbody tr:hover td {
  background-color: #e9f8f5;
}

/* Wyróżnienie nagłówków produktów */
.table-b3bio td:first-child b {
  color: #009f8f;
}

/* Dostosowanie dla mniejszych ekranów */
@media (max-width: 768px) {
  .table-b3bio,
  .table-b3bio thead,
  .table-b3bio tbody,
  .table-b3bio th,
  .table-b3bio td,
  .table-b3bio tr {
    display: block;
  }

  .table-b3bio thead tr {
    display: none;
  }

  .table-b3bio td {
    position: relative;
    padding-left: 45%;
    border: none;
    border-bottom: 1px solid #e6e6e6;
  }

  .table-b3bio td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    top: 12px;
    width: 40%;
    font-weight: 600;
    color: #009f8f;
    text-transform: uppercase;
  }
}

/*TABLE B3 BIO*/

body {
    background-color: #f8f9fb; /* lub #f7f7f7 */
}
.entry-content {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.home .entry-content {
    padding: 0px 30px 30px 30px;
}
.home .entry-content h2 {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
	margin-top:0px;
}
.home .entry-content .customH2 h2 {
    border:0px;
	justify-content: center;
}
/* Ikona w nagłówku */
.home .entry-content h2 img {
    width: 28px;
    height: auto;
    display: inline-block !important; /* nadpisujemy block */
    margin: 0 !important;             /* usuwamy auto margins WP */
    flex-shrink: 0;                   /* ikona nie zmniejszy się */
}

body, .entry-content p {
    color: #2c2c2c; /* lub #333 dla większego kontrastu */
    line-height: 1.7;
}
.entry-content h2 {
    font-size: 1.6em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 6px;
    margin-top: 40px;
    color: #004a61; /* elegancki, lekko morski akcent pasujący do logotypu B3.BIO */
}
.entry-content h3 {
    color: #006e80;
    margin-top: 30px;
}
.entry-content h2.sow-headline {
    border-bottom: 0px;
}
a {
    color: #007e8c;
}
a:hover {
    color: #009fb0;
    text-decoration: underline;
}

/* Upewnia się, że wszystkie obrazy w treści artykułów lub blokach wizualnych
   skalują się proporcjonalnie i nie wychodzą poza obszar */
.entry-content img,
.so-panel img,
.panel-widget-style img,
.wp-block-image img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* caption wrapper z klasycznego edytora / SiteOrigin */
.entry-content .wp-caption,
.so-panel .wp-caption,
.panel-grid-cell .wp-caption {
  width: auto !important;          /* kasuje width: 778px z atrybutu style */
  max-width: 100% !important;      /* nie wychodź poza kolumnę */
  box-sizing: border-box;          /* padding wliczony do szerokości */
}

/* sam obrazek wewnątrz caption */
.entry-content .wp-caption img,
.so-panel .wp-caption img,
.panel-grid-cell .wp-caption img {
  width: 100% !important;          /* rozciągnij do szerokości wrappera */
  height: auto !important;         /* zachowaj proporcje */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* na wszelki wypadek dla obrazów z align* poza caption */
.entry-content img.alignleft,
.entry-content img.alignright,
.entry-content img.aligncenter {
  max-width: 100%;
  height: auto !important;
}
/* --- Ramka i układ obrazków z podpisami --- */
.entry-content .wp-caption,
.so-panel .wp-caption,
.panel-grid-cell .wp-caption {
  width: auto !important;
  max-width: 768px !important;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  margin: 24px auto;
  text-align: center;
  padding: 12px;
}

/* --- Sam obrazek --- */
.entry-content .wp-caption img {
  width: 100% !important;
  height: auto !important;
  border-radius: 4px;
  display: block;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

/* --- Efekt hover: subtelne podświetlenie zamiast powiększenia --- */
.entry-content .wp-caption:hover {
  border-color: #bfc7d1;
  background: #fefefe;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.entry-content .wp-caption:hover img {
  opacity: 0.95;
  filter: brightness(1.03);
}

/* --- Podpis pod obrazkiem --- */
.entry-content .wp-caption-text {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: 0.2px;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.03);
  border-top: 1px solid #e9e9e9;
  padding-top: 6px;
}

/* --- Ujednolicenie marginesów dla obrazków wewnątrz tekstu --- */
.entry-content img.alignleft,
.entry-content img.alignright,
.entry-content img.aligncenter {
  max-width: 100%;
  height: auto !important;
}

/* === Sticky blok linków GenTegra === */
.product-links-block {
  background: linear-gradient(145deg, #0c1d2e, #132a44);
  border-radius: 10px;
  padding: 18px 15px;
  margin: 0 0 20px 30px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  z-index: 100;
}

/* styl linków */
.product-links-block a {
  display: block;
  background: linear-gradient(145deg, #0078d7, #005fa3);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.product-links-block h3.widget-title {
	color:#fff;
}

.product-links-block a:hover {
  background: linear-gradient(145deg, #0099ff, #0073cc);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 153, 255, 0.3);
}

/* układ przy mniejszych szerokościach — powrót do normalnego bloku */
@media (max-width: 992px) {
  .product-links-block {
    margin: 20px auto;
  }

  .product-links-block::before {
    text-align: left;
    padding-left: 5px;
  }

  .product-links-block a {
    margin-bottom: 8px;
  }
}
/* === STOPKA B3.Bio === */
#colophon{
	background: #0b1b2b;
}
.layout-full #colophon{
	padding:0px;
}
#footer-widgets {
  background: #0b1b2b; /* głęboki granat */
  color: #e5f0f4; /* jasny, lekko przydymiony tekst */
  padding: 60px 0 20px 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.8;
}

#footer-widgets a {
  color: #00b0a8; /* turkus marki */
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer-widgets a:hover {
  color: #66d9cf; /* jaśniejszy turkus */
}

/* --- Kontener i kolumny --- */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-column {
  flex: 1;
  min-width: 240px;
}

/* --- Nagłówki kolumn --- */
.footer-column h4 {
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}

/* --- Listy linków --- */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a::before {
  content: "›";
  color: #00b0a8;
  margin-right: 8px;
  font-weight: bold;
}

/* --- Dolna sekcja --- */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(229,240,244,0.7);
}

/* --- Sekcja "Theme attribution" --- */
#theme-attribution {
  text-align: center;
  background: #07121e;
  color: rgba(255,255,255,0.5);
  padding: 12px 0;
  font-size: 12px;
  display:none;
}

#theme-attribution a {
  color: #00b0a8;
  text-decoration: none;
}

#theme-attribution a:hover {
  color: #66d9cf;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-column h4 {
    border: none;
  }

  .footer-column ul li a::before {
    content: none;
  }
}
/*KOLORYSTYKA 2.0*/

/*KOLORYSTYKA 2.0*/


/*SEARCH PAGE*/
body.search #main {
padding:40px 0px;
}
body.search #main .page-title {
font-size:16pt;
}
body.search #main #vantage-grid-loop article h3 {
font-size:14pt;
}
body.search #main #vantage-grid-loop article .excerpt {
font-size:14pt;
}
body.search #main .grid-loop-columns-4.vantage-grid-loop article {
width:100%;
}

/*SEARCH PAGE*/

/* GRID: idealnie wyśrodkowane linie między kolumnami */
.home-icons-row .panel-grid-cell {
    position: relative;
}

/* Pionowa linia między kolumnami */
.home-icons-row .panel-grid-cell:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    right: -20px;
    width: 2px;
    background-color: #D0D0D0;
    opacity: 0.7;
	height:230px;
}

.home-icons-row .panel-grid-cell > * {
    text-align: center;
}
@media (max-width: 768px) {
    .home-icons-row .panel-grid-cell::after {
        display: none !important;
        content: none !important;
    }
}
/* Kontener formularza */
.b3-contact-form form {
    background: #f7fafc;            /* jasne tło, spójne z resztą strony */
    border: 1px solid #e1e7ee;
    border-radius: 6px;
    padding: 24px 32px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* Pojedyncze pola */
.b3-contact-form .sow-form-field {
    margin-bottom: 18px;
}

/* Etykiety */
.b3-contact-form .sow-form-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #007f8e;                 /* kolor akcentu – jak nagłówki na stronie */
}

/* Pola tekstowe + textarea */
.b3-contact-form .sow-text-field,
.b3-contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #ccd4dd;
    border-radius: 4px;
    background: #ffffff;
    font-size: 14px;
    color: #222;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Fokus na polach */
.b3-contact-form .sow-text-field:focus,
.b3-contact-form textarea:focus {
    outline: none;
    border-color: #007f8e;
    box-shadow: 0 0 0 2px rgba(0, 127, 142, 0.15);
    background-color: #ffffff;
}

/* Tekst w textarea */
.b3-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* Wrapper przycisku */
.b3-contact-form .sow-submit-wrapper {
    margin-top: 12px;
}

/* Przycisk „Wyślij” */
.b3-contact-form .sow-submit {
    display: inline-block;
    padding: 10px 28px;
    border: none;
    border-radius: 4px;
    background: #007f8e;            /* główny kolor akcentu */
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

/* Hover / focus na przycisku */
.b3-contact-form .sow-submit:hover,
.b3-contact-form .sow-submit:focus {
    background: #006675;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.24);
    transform: translateY(-1px);
}

/* Kliknięty przycisk */
.b3-contact-form .sow-submit:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
}

/* Ukrycie pola honeypot (na wszelki wypadek) */
.b3-contact-form input[name="sow-name"] {
    display: none !important;
    visibility: hidden !important;
}

/* Responsywność */
@media (max-width: 768px) {
    .b3-contact-form form {
        padding: 18px 16px;
    }

    .b3-contact-form .sow-submit {
        width: 100%;
        text-align: center;
    }
}
