/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
@media (min-width: 576px) {
.header-top .sub-title {
	position: absolute;
	bottom: 14px;
	left: 35px;
}
}
.header-nav.hide-bar {
	transition: 1s;
}
.baner1 {
    position: relative;
    width: 1920px;
    height: 100vh; /* lub dowolna wysokość */
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.tekstslider {
	font-size: 49px !important;
	font-weight: 700 !important;
	color: #fff;
	line-height: 1.55;
	text-shadow: 1px 2px 5px black !important;
}
#onasstart h2 {
	font-size: 40px;
	font-weight: 700;
}
#onasstart {
	background-color: #fff;
	clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%);
}
.koszykstrefa {
		background-color: #fff;
		padding:20px;
	clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%);
}
#realizacje {
	background-color: #fff;
	clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%);	
	padding: 25px;
}
.tekstonas {
	padding: 25px;
}
.tekstonas p {
	line-height: 1.2rem;
	color: #666;
	font-size: 15px;
}
.startmenu {
	display:none;
}
@media (min-width: 956px) {
.kolumny ul {
	    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    column-count: 2;
}
.navbar-nav .nav-item {
	/* float: left; */
	display: inline-block;
}
  .leo-megamenu .navbar-nav > li {
    text-align: center !important; }
}
.leo-megamenu .dropdown-menu li:nth-child(odd) {
  
}
#subcategories {
	display: none;
}
#index .thumbnail-container .product-price-and-shipping .regular-price {
	
}
#index .thumbnail-container .product-price-and-shipping .price {

}
#product .productcats li:first-child {
    display: none;
}
#product .product-add-to-cart.js-product-add-to-cart {
	padding: 30px 0 0;
}
#product #product-availability {
	display: none;
}
#category-description li {
	list-style-position: inside;
	line-height: 20px;
	color: black;
}
#category .card {
  position: relative;
  display: block;
  margin-bottom: 0.75rem;
  background-color: transparent !important;
  border-radius: 0.25rem;
  border: none !important }
.category-additional-description p {
	color: var(--theme-color-secondary);
	margin-bottom: 1.25rem;
	line-height: 1.25rem;
	font-size: 0.875rem;
}
#realizacje .image-item {
	min-height: 245px;
}
#realizacje .sub-title-widget {
	margin-bottom: 20px;
}
#realizacje .show_more {
	background: transparent !important;
	border: none !important;
}
#opisrealizacje {
	margin: 20px 0;
	color: #666;
}
#opisrealizacje a {
	text-decoration: underline;
}
.zaletyplacezabaw {
	margin: 20px 0;
}
.zaletyplacezabaw ul {
	margin-top: 10px;
	columns: 2;
    list-style-type: none; /* Ukrywa standardową kropkę */
}
.zaletyplacezabaw ul li {
		letter-spacing: 0.5px;
	margin: 5px 0;
    background-image: url('https://starmax.eu/lista.png');
    background-repeat: no-repeat;
background-position: 5px 0px;
  padding-left: 24px;
}
#send_aap_button {
	text-transform: inherit;
}
#send_aap_button {
	text-transform: inherit;
	background: #f5f5f5;
	color: black;
	border: 1px solid #ddd;
}
#product #description p {
	color:  #444;
	margin-bottom: 1.25rem;
	line-height: 1.25rem;
	font-size: 1.0rem;
}

#product #description .section.full .text-overlay {
  color: white;
}

#product #description .section.full .text-overlay p,
#product #description .section.full .text-overlay h1,
#product #description .section.full .text-overlay h2,
#product #description .section.full .text-overlay h3,
#product #description .section.full .text-overlay h4,
#product #description .section.full .text-overlay h5 {
  color: white;
  text-shadow: 0 4px 14px rgba(0,0,0,0.6);
}

#product .product-description p {
	color: #444;
}


#accordion .far {
	background: var(--theme-color-default);
	padding: 12px;
	border-radius: 5px;
	color: white;
	font-weight: 300;
	font-size: 15px;
	margin-right: 5px;
}
.product-attachments li {
	display: flex;
	padding: 0 !important;
	margin: 8px 0;
	align-items: center;
	gap: 16px;
	float: none !important;
}
#attachments li {
	float: left;
	padding: 35px;
	list-style: none;
	text-align: center;
}
#attachments img {
	margin-bottom: 15px;
}
.product-attachments li a img {
	width: 50px;
	height: 50px;
	min-width: 50px;
	object-fit: scale-down;
}
.product-attachments li a {
	font-size: 15px;
	line-height: 22px;
	color: #000;
}
.product-attachments .h5 {
	margin-bottom: 20px;
}
.data-sheet .value {
	color: #111;
}
#product .product-quantities {
	display: none;
}
.product-manufacturer p {
	margin-bottom: 10px;
}
#manufacturer #search_filters {
	display: none;
}
#send_aap_button i {
	margin-right: 4px;
}
#product .blockreassurance_product {
	margin-top:0px;
}
@media (min-width: 956px) {
.nav.navbar-nav.megamenu.horizontal {
  display: flex; /* Ustawiamy Flexbox */
  justify-content: center; /* Wyśrodkowanie w poziomie */
  padding: 0; /* Usuń marginesy i paddingi */
  margin: 0;
  list-style: none; /* Usuń stylowanie listy */
}
.hiddenmenu {
display:none !important;
}
}
@media (max-width: 956px) {
.nav.navbar-nav.megamenu.horizontal {
  display: block; /* Ustawiamy Flexbox */
  padding: 0; /* Usuń marginesy i paddingi */
  margin: 0;
  list-style: none; /* Usuń stylowanie listy */
}
.nav-tabs {
  display: block !important;
}
#index .tekstslider {
  font-size: 29px !important;
}
}
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease-in-out; /* Animacja płynnego wchodzenia i wychodzenia */
}

.header-hidden {
  transform: translateY(-100%); /* Ukryj menu */
}

.header-visible {
  transform: translateY(0); /* Pokaż menu */
}
#header .start {
	display: none !important;
}
#left-column, #content-wrapper {
	margin-top: 30px;
}
#index, #content-wrapper {
	margin-top: 35px;
}
#wrapper {
	margin-top: 67px;
}
.nav-tabs {
  display: flex; /* Ustaw flexbox */
  justify-content: center; /* Wyśrodkuj w poziomie */
  align-items: center; /* Opcjonalnie, wyrównaj w pionie */
  margin: 0; /* Usuń marginesy */
  padding: 0; /* Usuń padding */
  list-style: none; /* Usuń punkty listy */
  margin-bottom: 25px;
}

.nav-tabs .nav-item {
  margin: 0 10px; /* Odstępy między zakładkami */
}
#opisstart {
    text-align: center;
    
    padding: 20px;
    background-color: #fff;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%);
    
    border-radius: 12px;
    margin:0 auto;
    margin-top: 50px;
}

.blog-container .blog-title,
.blog-container .blog-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal !important;
  line-height: 1.3em;
  max-height: 4em;
}

#wpisydol .latest-blogs .blog-title {
margin: 10px 10px 10px 10px;
  padding-bottom: 10px;
}

#opisstart .top-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

#opisstart h1 {
    font-size: 34px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

#opisstart .bottom-text {
    font-size: 24px;
    line-height: 1.6;
    color: #fff;
}
.widget-links {
	margin-bottom: 20px;
}
.tabs .nav-tabs .nav-item {
	margin: 0px 3px 10px 0;
	background: #fff !important;
	padding: 8px 5px !important;
}
.kontaktdol a {
	display: block;
	margin: 10px 0;
	color: black !important;
}
#ikonydodaj li {
	line-height: 25px;
	color: black;
	margin-bottom: 15px;
}
#ikonydodaj ul {
	columns: 2;
	margin-top: 30px;
	margin-bottom: 15px;
}
#ikonydodaj span {
	color: var(--theme-color-default);
	font-weight: 600;

}
.whatsp::after {
	content: url("https://starmax.eu/img/cms/whatsup.png");
	margin-left: 5px;
}
.kategorie::before {
  content: "test";
  position: absolute;
  left: -30px;
  top: 11px;
}
.kategorie a {
color:white !important;
}
.tax-shipping-delivery-label {
	margin-top: 10px;
}

/* Wyrównanie tekstu w sekcjach "row" i "row reverse" do lewej na desktopie */
@media (min-width: 769px) {
  .section.row .text,
  .section.row.reverse .text {
    text-align: left;
  }
}
/* Kontener obrazu jako punkt odniesienia */
.section.full .image{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Tekst na obrazie */
.section.full  .text-overlay  {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 900px;
  z-index: 2;
}


/* Styl H1 na obrazie */
.section.full  .text-overlay  h1, 
.section.full  .text-overlay  h2, 
.section.full  .text-overlay  h3, 
.section.full  .text-overlay  h4, 
.section.full  .text-overlay  h5, 
.section.full  .text-overlay  p {

  margin: 0;
  color: white;
  text-shadow: 0 4px 14px rgba(0,0,0,0.6);
  margin-bottom: 15px;
}



/* Wypunktowanie w sekcjach full */
.section.full .text ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5em auto;
  text-align: left;
  max-width: 1400px;
  line-height: 1.7;
}

.section.full .text ul li {
  padding-left: 22px;
  margin-bottom: 0.8em;
}

/* Desktop - 2 kolumny */
@media (min-width: 1000px) {
  .section.full .text ul {
    column-count: 2;
    column-gap: 60px;
  }
}


/* --- SEKCJA WPISGORA (desktop i mobilne) --- */
#wpisgora {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%);
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.wpisgora-text-section {
  width: 50%;
  padding: 60px 60px 60px 60px; /* Można ewentualnie zmniejszyć do 40px */ /* górny | prawy | dolny | lewy */
  background-color: #005096;
  color: #fff;
  box-sizing: border-box;
}

.wpisgora-text-section h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.wpisgora-text-section p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #fff;
}

.wpisgora-text-section .wpisgora-button-link {
  display: inline-block;
  background-color: #8bc34a;
  color: #fff;
  padding: 10px 20px; /* górny | prawy | dolny | lewy */
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 10px;
}

.wpisgora-text-section .wpisgora-button-link:hover {
  background-color: #7cb342;
}

.wpisgora-image-section {
  width: 50%;
  margin: 0 !important;
  padding: 0 !important;
  background: none;
  display: flex;
  box-sizing: border-box;
}

.wpisgora-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

/* Mobile */
@media (max-width: 768px) {
  #wpisgora {
    flex-direction: column;
  }

  .wpisgora-text-section,
  .wpisgora-image-section {
    width: 100% !important;
    padding: 0px 0px;
    text-align: center;
  }

  .wpisgora-image-section {
    height: auto;
  }

  .wpisgora-image-section img {
    width: 100%;
    height: auto;
    border-radius: 0 0 10px 10px;
    object-fit: cover;
  }
}
img,
.img-responsive,
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}


/* Stylizacja artykułu w sekcje */
.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 20px 20px;
  background-color: #fff;
  opacity:0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.tab-pane:not(#description) .section {
  opacity: 1;
  transform: none;
}

 /* Wysokość sekcji do % wysokości ekranu */
.section.row,
.section.row.reverse, 
.section.full{

  align-items: center;
}


.section.visible {
  opacity:1;
  transform: translateY(0);
}

.section.full {
  background-color: #f7f7f7;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.section.full .text {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
   padding-left: 10px;
   padding-right: 10px;
}

.section.full .text img {
  display: block;
  margin: 0px auto;
  transform: scale(1.05);
}

.section.reverse {
  flex-direction: row-reverse;
}

.section .text {
  flex: 1 1 50%;
  padding: 30px 40px 30px 40px;
  box-sizing: border-box;
  font-size: 1.0rem;
  line-height: 1.7;
 
}

.section .image {
  border-radius: 12px !important;
  overflow: hidden;
  flex: 1 1 50%;
  box-sizing: border-box;


}

.section .image img,
.section .image video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 12px

}

.section .image:hover img, 
.section .image:hover video {
  transform: scale(1.05);
}

/* Responsywność */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    text-align: center;
  }

  .section.reverse {
    flex-direction: column;
  }

  .section .text,
  .section .image {
    flex: 1 1 100%;
    padding: 15px;
  }
}


/* Główna treść artykułu CMS */
.page-cms .page-content {
  font-size: 16px;
  line-height: 1.8;
  color: #111; /* czarny tekst dla lepszej czytelności */
  padding: 10px 15px 0px 15px; /* górny | prawy | dolny | lewy */
}

/* Nagłówki w artykułach */
.page-cms .page-content h1,
.page-cms .page-content h2,
.page-cms .page-content h3 {
  color: #000;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}
/* Powiększone nagłówki tylko w artykułach CMS Rozmiar */
.page-cms .page-content h1 {
  font-size: 36px;
}

.page-cms .page-content h2 {
  font-size: 32px;
}

.page-cms .page-content h3 {
  font-size: 28px;
}

/* Akapity */
.page-cms .page-content p {
  margin-bottom: 1.2em;
}

/* Obrazy wewnątrz treści */
.page-cms .page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Stylizacja list w artykułach CMS */
.page-cms .page-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5em;
}

.page-cms .page-content ul li {
  list-style: none;
  padding-left: 24px;
  margin-bottom: 0.5em;
  line-height: 1.6;

  background: url('/img/cms/categoryListBg.svg')
              left 0.45em no-repeat;
  background-size: 12px;
}

/* --- Nagłówki wyrównane i powiększone --- */
.heading-breadcrumb,
#js-product-list-header,
.h1 {
    font-weight: 600 !important;
    font-size: 45px !important;
    text-align: center !important;
}

/* --- Kropki w listach wypunkowaniu w produktach --- */
.product-description ul {
  list-style: none !important;
  padding-left: 0 !important;
}

.product-description ul li {
  list-style: none !important;
  position: relative;
  padding-left: 28px;
}

.product-description ul li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0.55em;

  width: 8px;
  height: 8px;

  background: url('/img/cms/categoryListBg.svg') no-repeat center;
  background-size: contain;
}

/* --- Kropki w listach wypunkowaniu w zakładkach --- */
.tab-content ul {
  list-style: none;
  padding-left: 0rem;
}

.tab-content ul li {
  position: relative;
  margin-bottom: 0.4rem;
}

.tab-content ul li::before {
    content: "";
    position: absolute;

    left: 0;
    top: 0.35em;

    width: 12px;
    height: 12px;

    background: url('/img/cms/categoryListBg.svg') no-repeat center;
    background-size: contain;
}

/* --- Skalowanie video z YT w produkcie --- */
.video-cover {
  position: relative;
  width: 100%;
  height: 420px;           /* ← tu regulujesz wysokość */
  overflow: hidden;
  border-radius: 12px;
}

.video-cover iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 12px;
}

.video-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.footer-phone span {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    font-weight: 400;
    display: block; }



.social-icons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
}

.social-icons a {
  display: inline-flex !important;
  width: auto !important;
}


.social-icons img {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icons a:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}


/* ===== GRID - tabelka w street workout ===== */


.galleryList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;

  max-width: 1250px;
  margin: 0 auto;
  padding: 10px 0;
}

/* ===== GRID ITEM (KARTA) ===== */
.galleryList .box {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px;
  border-radius: 12px;

  background: #ffffff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);

  transition: all 0.25s ease;
}

/* ===== GRID HOVER ===== */
.galleryList .box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ===== GRID SZACHOWNICA (2 kolumny) ===== */
.galleryList .box:nth-child(4n+2),
.galleryList .box:nth-child(4n+3) {
  background: #f5f5f5;
}

/* ===== GRID OBRAZEK (KÓŁKO) ===== */
.galleryList .box .boxFoto {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;

  flex-shrink: 0;

  background: #f0f0f0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ===== GRID IMG ===== */
.galleryList .box .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== GRID TEKST ===== */
.galleryList .box p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #222;
}

/* ===== GRID MOBILE ===== */
@media (max-width: 600px) {
  .galleryList {
    grid-template-columns: 1fr;
  }
}

/* ===== GRID TITLE ===== */
.sw-title {
  max-width: 1250px;
  margin: 40px auto 20px auto;

  font-size: 26px;
  font-weight: 600;
  color: #111;

  padding-left: 10px;
  border-left: 4px solid var(--theme-color-default);; /* możesz zmienić kolor */
}
.starmax-contact-page {
  max-width: 1370px;
  margin: 0 auto;
  padding: 36px 15px 70px;
  font-family: inherit;
  color: #222;
}

.starmax-contact-page * {
  font-family: inherit;
}

.starmax-contact-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 28px;
}

.starmax-contact-label {
  margin-bottom: 10px;
  color: var(--theme-color-default);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.starmax-contact-intro h1 {
  margin: 0 0 12px;
  color: #111;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
}

.starmax-contact-intro p,
.starmax-section-title p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.starmax-contact-top-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 620px;
  margin-left: auto;
}

.starmax-contact-top-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  color: #222;
  text-decoration: none;
  transition: all 0.22s ease;
}

.starmax-contact-top-card:hover {
  border-color: rgba(115, 187, 0, 0.35);
  box-shadow: 0 12px 28px rgba(115, 187, 0, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.starmax-contact-top-icon,
.starmax-contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  background: rgba(115, 187, 0, 0.10);
  border: 1px solid rgba(115, 187, 0, 0.22);
  border-radius: 50%;
  color: var(--theme-color-default);
  line-height: 1;
}

.starmax-contact-info-icon {
  flex-basis: 46px;
  width: 46px;
  height: 46px;
}

/* Font Awesome 6 Pro - poprawne renderowanie ikon */
.starmax-contact-top-icon::before,
.starmax-contact-info-icon::before {
  display: block;
  font-family: "Font Awesome 6 Pro" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: 21px;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.starmax-contact-info-icon::before {
  font-size: 18px;
}

/* Ikony górne */
.starmax-icon-phone::before {
  content: "\f095";
}

.starmax-icon-mail::before {
  content: "\f0e0";
}

/* Ikony dane firmy */
.starmax-icon-location::before {
  content: "\f3c5";
}

.starmax-icon-invoice::before {
  content: "\f570";
}

.starmax-icon-headset::before {
  content: "\f590";
}

.starmax-contact-top-content {
  display: block;
  min-width: 0;
}

.starmax-contact-top-content span {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.starmax-contact-top-content strong {
  display: block;
  color: var(--theme-color-default);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
  word-break: break-word;
}

.starmax-contact-main-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 22px;
  margin-bottom: 22px;
}

.starmax-contact-box {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.035);
}

.starmax-contact-company,
.starmax-contact-map,
.starmax-sales-section,
.starmax-form-section,
.starmax-online-section {
  padding: 28px 30px;
}

.starmax-contact-box h2,
.starmax-section-title h2 {
  margin: 0 0 20px;
  color: #111;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.starmax-section-title {
  margin-bottom: 22px;
}

.starmax-section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.starmax-section-title h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--theme-color-default);
}

.starmax-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.starmax-contact-info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 8px;
}

.starmax-contact-info-item strong {
  display: block;
  margin-bottom: 4px;
  color: #111;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.starmax-contact-info-item p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.starmax-contact-info-item a,
.starmax-sales-content a {
  color: var(--theme-color-default);
  font-weight: 800;
  text-decoration: none;
}

.starmax-contact-info-item a:hover,
.starmax-sales-content a:hover {
  color: var(--theme-color-secondary);
  text-decoration: underline;
}

.starmax-map-frame {
  height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f4;
}

.starmax-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.starmax-sales-section {
  margin-bottom: 22px;
}

.starmax-sales-section .starmax-section-title {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 26px;
  align-items: end;
}

.starmax-sales-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.starmax-sales-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 18px 22px;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 10px;
  text-align: center;
  transition: all 0.22s ease;
}

.starmax-sales-card:hover {
  border-color: rgba(115, 187, 0, 0.35);
  box-shadow: 0 10px 24px rgba(115, 187, 0, 0.12);
  transform: translateY(-2px);
}

.starmax-sales-avatar {
  width: 92px;
  height: 92px;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(115, 187, 0, 0.10);
  border: 1px solid rgba(115, 187, 0, 0.22);
}

.starmax-sales-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.starmax-sales-content {
  width: 100%;
}

.starmax-sales-content h3 {
  margin: 0 0 5px;
  color: #111;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}

.starmax-sales-content p {
  margin: 0 0 12px;
  color: #777;
  font-size: 13px;
  line-height: 1.4;
}

.starmax-sales-content a {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.starmax-contact-bottom-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 22px;
}

.starmax-contact-form-wrapper {
  margin-top: 8px;
}

.starmax-contact-form-wrapper .contact-form {
  margin-bottom: 0;
}

.starmax-online-section {
  background: linear-gradient(135deg, #ffffff 0%, rgba(115, 187, 0, 0.08) 100%);
}

.starmax-online-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.starmax-online-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 58px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(115, 187, 0, 0.18);
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  transition: all 0.22s ease;
}

.starmax-online-links a:hover {
  background: rgba(115, 187, 0, 0.08);
  border-color: var(--theme-color-default);
  color: var(--theme-color-default);
  text-decoration: none;
  transform: translateY(-1px);
}

.starmax-online-links a img {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.starmax-online-links a span {
  display: block;
}

.starmax-online-link-facebook {
  grid-column: 1 / -1;
  justify-content: center !important;
  min-height: 64px;
  background: #fff !important;
}

.starmax-online-link-facebook span {
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .starmax-contact-intro,
  .starmax-contact-main-grid,
  .starmax-contact-bottom-grid {
    grid-template-columns: 1fr;
  }

  .starmax-contact-top-cards {
    max-width: none;
    margin-left: 0;
  }

  .starmax-sales-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .starmax-sales-section .starmax-section-title {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .starmax-contact-page {
    padding: 24px 12px 50px;
  }

  .starmax-contact-intro h1 {
    font-size: 30px;
  }

  .starmax-contact-top-cards,
  .starmax-sales-grid,
  .starmax-online-links {
    grid-template-columns: 1fr;
  }

  .starmax-online-link-facebook {
    grid-column: auto;
  }

  .starmax-contact-company,
  .starmax-contact-map,
  .starmax-sales-section,
  .starmax-form-section,
  .starmax-online-section {
    padding: 22px 18px;
  }

  .starmax-contact-top-card {
    min-height: 82px;
    padding: 16px;
  }

  .starmax-contact-info-item {
    align-items: flex-start;
    padding: 16px;
  }

  .starmax-map-frame {
    height: 300px;
  }

  .starmax-sales-avatar {
    width: 82px;
    height: 82px;
  }
}
/* =========================================================
   STARMAX - KARTA PRODUKTU - FINAL CSS
   ========================================================= */

/* ------------------------------
   Główna kategoria nad nazwą produktu
------------------------------ */

.starmax-product-main-category {
  margin: 0 0 10px;
}

.starmax-product-main-category a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-color-default);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.starmax-product-main-category a::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--theme-color-default);
  border-radius: 3px;
  box-sizing: border-box;
}

.starmax-product-main-category a:hover {
  color: #3d8f00;
  text-decoration: none;
}

.starmax-product-main-category a:hover::before {
  border-color: #3d8f00;
}


/* ------------------------------
   Ramka: Kod produktu + kategoria
------------------------------ */

.starmax-product-meta-box {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 22px 0;
  padding: 18px 24px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  color: #333;
}

.starmax-product-meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.starmax-product-meta-icon img {
  display: block;
  max-width: 42px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.starmax-product-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.4;
}

.starmax-product-meta-label {
  color: #555;
  font-weight: 400;
}

.starmax-product-meta-item strong {
  color: #111;
  font-weight: 700;
}

.starmax-product-category a {
  color: var(--theme-color-default);
  font-weight: 600;
  text-decoration: none;
}

.starmax-product-category a:hover {
  color: #3d8f00;
  text-decoration: underline;
}

.starmax-product-meta-divider {
  width: 1px;
  height: 34px;
  background: #d7d7d7;
  flex: 0 0 auto;
}


/* ------------------------------
   Wszystkie kategorie jako chipy
------------------------------ */

.starmax-product-categories-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: -8px 0 22px;
  padding: 0;
}

.starmax-product-categories-label {
  flex: 0 0 auto;
  padding-top: 5px;
  color: #555;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.starmax-product-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.starmax-product-categories-list li {
  margin: 0;
  padding: 0;
}

.starmax-product-categories-list a {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  background: #f5f9f1;
  border: 1px solid #d9ebca;
  border-radius: 20px;
  color: var(--theme-color-default);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  text-decoration: none;
}

.starmax-product-categories-list a:hover {
  background: var(--theme-color-default);
  border-color: var(--theme-color-default);
  color: #fff;
  text-decoration: none;
}

.starmax-product-category-main a {
  background: var(--theme-color-default);
  border-color: var(--theme-color-default);
  color: #fff;
}

.starmax-product-category-main a:hover {
  background: #3d8f00;
  border-color: #3d8f00;
  color: #fff;
}


/* ------------------------------
   Dwie ramki z cechami
------------------------------ */

.starmax-product-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 24px 0;
}

.starmax-product-feature-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 24px 24px 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.starmax-product-feature-card-title {
  margin-bottom: 20px;
  color: #222;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.starmax-product-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.starmax-product-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.starmax-product-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  margin-top: 1px;
  border: 2px solid var(--theme-color-default);
  border-radius: 50%;
  color: var(--theme-color-default);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.starmax-product-feature-content {
  min-width: 0;
}

.starmax-product-feature-name {
  color: #222;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.starmax-product-feature-value {
  margin-top: 3px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}


/* ------------------------------
   Kontakt handlowca / doradcy na produkcie
------------------------------ */

.starmax-product-contact-box {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 24px 0 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.starmax-product-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

.starmax-product-contact-icon img {
  display: block;
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.starmax-product-contact-content {
  min-width: 0;
  flex: 1;
}

.starmax-product-contact-title {
  margin-bottom: 5px;
  color: #222;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.starmax-product-contact-text {
  margin-bottom: 12px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.starmax-product-contact-details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.starmax-product-contact-link {
  color: var(--theme-color-default);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-decoration: none;
}

.starmax-product-contact-link:hover {
  color: #3d8f00;
  text-decoration: underline;
}

.starmax-product-contact-separator {
  display: block;
  width: 1px;
  height: 18px;
  background: #d7d7d7;
}


/* ------------------------------
   Taby produktu - nowy wygląd
------------------------------ */

.product-tabs.tabs {
  margin: 38px 0 0;
}

.product-tabs.tabs > .nav-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
}

.product-tabs.tabs > .nav-tabs > .nav-item {
  margin: 0 !important;
  padding: 0 !important;
}

.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  background: #fff !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
  color: #666 !important;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.22s ease;
  overflow: hidden;
}

.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link:before {
  display: none !important;
  content: none !important;
}

.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link:after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: transparent;
  border-radius: 3px 3px 0 0;
}

.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0 !important;
  background: var(--theme-color-default);
  border: 1px solid var(--theme-color-default);
  border-radius: 7px;
  color: #fff !important;
  font-size: 18px;
  line-height: 1;
}

/* Font Awesome 6 Pro - poprawka ikon */
.product-tabs.tabs .nav-tabs .nav-link i.fas {
  font-family: "Font Awesome 6 Pro" !important;
  font-weight: 900 !important;
}

.product-tabs.tabs .nav-tabs .nav-link i.far {
  font-family: "Font Awesome 6 Pro" !important;
  font-weight: 400 !important;
}

.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link:hover,
.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link:focus {
  border-color: rgba(115, 187, 0, 0.35) !important;
  color: #222 !important;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link.active,
.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link.active:hover,
.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link.active:focus {
  background: #fff !important;
  border-color: var(--theme-color-default) !important;
  color: #111 !important;
  box-shadow: 0 10px 26px rgba(115, 187, 0, 0.13);
  transform: none;
}

.product-tabs.tabs > .nav-tabs > .nav-item > .nav-link.active:after {
  background: var(--theme-color-default);
}

/* Panel treści pod tabami */
.product-tabs.tabs > .tab-content {
  padding: 42px 48px;
  background: #fff;
  border: 0 !important;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
}

.product-tabs.tabs .product-description {
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

.product-tabs.tabs .product-description h1 {
  margin: 0 0 22px;
  color: #111;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
}

.product-tabs.tabs .product-description h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
}


/* ------------------------------
   Responsywność
------------------------------ */

@media (max-width: 1199px) {
  .product-tabs.tabs > .nav-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .starmax-product-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .starmax-product-feature-card {
    padding: 20px 18px;
  }
}

@media (max-width: 767px) {
  .starmax-product-meta-box {
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 16px;
  }

  .starmax-product-meta-divider {
    display: none;
  }

  .starmax-product-meta-item {
    width: 100%;
    font-size: 14px;
  }

  .starmax-product-categories-box {
    flex-direction: column;
    gap: 8px;
    margin: -4px 0 18px;
  }

  .starmax-product-categories-label {
    padding-top: 0;
  }

  .starmax-product-contact-box {
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }

  .starmax-product-contact-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
  }

  .starmax-product-contact-icon img {
    max-width: 48px;
    max-height: 48px;
  }

  .starmax-product-contact-title {
    font-size: 15px;
  }

  .starmax-product-contact-text {
    font-size: 13px;
  }

  .starmax-product-contact-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .starmax-product-contact-separator {
    display: none;
  }

  .product-tabs.tabs {
    margin-top: 28px;
  }

  .product-tabs.tabs > .nav-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .product-tabs.tabs > .nav-tabs > .nav-item > .nav-link {
    min-height: 60px;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 9px !important;
  }

  .product-tabs.tabs > .nav-tabs > .nav-item > .nav-link i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .product-tabs.tabs > .tab-content {
    padding: 28px 18px;
    border-radius: 10px;
  }

  .product-tabs.tabs .product-description h1 {
    font-size: 25px;
  }

  .product-tabs.tabs .product-description h2 {
    font-size: 22px;
  }
}