.produkt {
	padding: 40px 0;
}

.page-container .container {
}

.produkt .container .flex-container {
	width: 100%;
	align-items: center;
	gap: 45px;
}

.produkt .container .flex-container .half {
	position: relative;
	width: 60%;
}

.produkt .container .flex-container .half + .half {
	position: relative;
	width: 40%;
}

.produkt .container .flex-container .half .inside {
	max-width: 480px;
}

.produkt .container .flex-container .half .inside ul.sekcje {
	list-style: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
}

.produkt .container .flex-container .half .inside ul.sekcje>li {
	border-bottom: 1px solid #363844;
}

.produkt .container .flex-container .half .inside ul.sekcje a {
	display: flex;
	padding: 15px 12px;
	align-items: center;
	justify-content: space-between;
}

.produkt .container .flex-container .half .inside ul.sekcje a span {
	color: #363844;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 140%; /* 22.4px */
	letter-spacing: -0.48px;
}

.produkt .container .flex-container .half .inside ul.sekcje a svg {
	width: 10px;
	height: 10px;
	aspect-ratio: 1/1;
}

.produkt .container .flex-container .half .inside ul.sekcje a svg + svg {
	display: none;
}

.produkt .container .flex-container .half .inside ul.sekcje a.open svg {
	display: none;
}

.produkt .container .flex-container .half .inside ul.sekcje a.open svg + svg {
	display: block;
}

.produkt .container .flex-container .half .inside .buttons {
	display: flex;
	gap: 20px;
	margin-top: 40px;
}

.produkt .container .flex-container .half .inside .buttons a {
	color: var(--KTI-GREY, #363844);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%; /* 19.2px */
	text-transform: uppercase;
	padding: 16px 36px;
	border-radius: 30px;
	border: 1px solid var(--KTI-GREY, #363844);
}

.produkt .container .flex-container .half .inside .buttons a:not(.disabled):hover {
	background: #363844;
	color: #fff;
}

.produkt .container .flex-container .half .inside .buttons a.disabled {
	color: var(--KTI-LIGHT-GREY, #D7D7D7);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%; /* 19.2px */
	text-transform: uppercase;
	border-radius: 30px;
	padding: 16px 36px;
	border: 1px solid var(--KTI-LIGHT-GREY, #D7D7D7);
}

.produkt .container .flex-container .half .inside h2 {
	color: var(--Grey-1, rgba(18, 18, 18, 0.94));
	font-family: Inter;
	font-size: 45px;
	font-style: normal;
	font-weight: 400;
	line-height: 95%; /* 42.75px */
	letter-spacing: -1.35px;
	margin: 0 auto;
}

.produkt .container .flex-container .half .inside div.desc {
	color: var(--KTI-GREY, #363844);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 115%; /* 18.4px */
	letter-spacing: -0.32px;
	margin: 24px auto;
}

.produkt .container .flex-container .half .inside div.desc * {
		color: var(--KTI-GREY, #363844);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 115%; /* 18.4px */
	letter-spacing: -0.32px;
}

.produkt .container .flex-container .half .inside div.desc strong,
.produkt .container .flex-container .half .inside div.desc b {
	font-weight: 600;
}

.produkt .flickity-wrapper-final {
    display: flex;
    flex-direction: row-reverse; /* Miniatury po lewej */
    gap: 15px;
}

/* Główny slider Flickity */
.produkt .main-carousel {
    width: calc(100% - 115px);
}

.produkt .main-carousel .carousel-cell {
    width: 100%;
}

.produkt .main-carousel .carousel-cell img {
    width: 100%;
    max-width: 672px;
    height: auto;
    aspect-ratio: 1/1;
    background: #fff;
    object-fit: cover;
}

/* Styl dla naszej własnej, pionowej nawigacji */
.produkt .thumbnail-nav {
    width: 100px
    overflow-y: auto;
}

.produkt .thumbnail-nav__item {
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
    border: none !important;
    border-radius: 0;
    opacity: 0.4;
    background: #fff;
    transition: all 0.3s ease;
}

.produkt .thumbnail-nav__item:hover {
    opacity: 1;
}

/* Styl dla aktywnej, wybranej miniatury */
.produkt .thumbnail-nav__item.is-active {
    opacity: 1;
}

.produkt .thumbnail-nav__item img {
    width: 100px;
    background: #fff;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.produkt .side {
	display: none;
	position: fixed;
	background: rgba(0, 0, 0, 0.01);
	backdrop-filter: blur(5px);
	z-index: 99999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: 300m;
}

.produkt .side.open {
	opacity: 1;
}

.produkt .side .in {
	width: 100%;
	max-width: 680px;
	height: 100dvh;
	padding: 60px 96px 100px 96px;
	position: absolute;
	background: #FAFAFA;
	top: 0;
	right: -100%;
	transition: 300ms;
}

.produkt .side .in.open {
	right: 0;
}

.produkt .side .in .close {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
}

.produkt .side .in .close span {
	color: var(--KTI-GREY, #363844);
	font-family: Inter;
	font-size: 48px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%; /* 48px */
	letter-spacing: -0.96px;
}

.produkt .side .in .close svg {
	width: 30px;
	height: 30px;
}

.produkt .side .in .content {
	height: calc(100% - 65px);
    overflow-y: auto;
    -ms-overflow-style: none;  /* IE and Edge */
  	scrollbar-width: none; 
}

.produkt .side .in .content::-webkit-scrollbar {
  display: none;
}

.produkt .side .in .content .sekcja + .sekcja {

}

.produkt .side .in .content p.title {
	margin: 0;
	color: #363844;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 140%; /* 22.4px */
	letter-spacing: -0.48px;
	padding: 15px 12px;
	border-bottom: 1px solid #363844;
}

.produkt .side .in .content div.desc {
	margin: 0;
	color: var(--KTI-GREY, #363844);
	padding: 15px 12px;
	leading-trim: both;
	text-edge: cap;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 140%; /* 22.4px */
	letter-spacing: -0.48px;
}

.produkt .side .in .content div.desc * {
	color: var(--KTI-GREY, #363844);
	leading-trim: both;
	text-edge: cap;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 140%; /* 22.4px */
	letter-spacing: -0.48px;
}

.produkt .side .in .content div.descc a {
	color: var(--KTI-GREY, #363844);
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 10px;
	padding: 15px 12px;
	leading-trim: both;
	text-edge: cap;
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 140%; /* 22.4px */
	letter-spacing: -0.48px;
	border-bottom: 0.5px solid var(--KTI-GREY, #363844);
}

.produkt .side .in .content div.desc a span {
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 140%; /* 22.4px */
	letter-spacing: -0.48px;
	border-bottom: 0.5px solid var(--KTI-GREY, #363844);
}

.produkt .side .in .content div.descc {
	margin: 0;
}

.produkt .side.zamow .in .content .sekcja + .sekcja {
	margin-top: 40px;
}

.produkt .side .in .content div.desc span {
	color: var(--gray-gray-200, #B9B9B9);
	font-family: Inter;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 130%; /* 18.2px */
}

.produkt .side .in .content a.btn {
	margin: 40px auto;
	display: inline-block;
	border-radius: 30px;
	padding: 16px 36px;
	border: 1px solid var(--KTI-GREY, #363844);
	color: var(--KTI-GREY, #363844);
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%; /* 19.2px */
	text-transform: uppercase;
	transition: 300ms;
}

.produkt .side .in .content a.btn:hover {
	background: #363844;
	color: #fff;
}

  .produkt .container .flex-container .half .inside ul.sekcje a + div {
  	display: none;
  	 padding: 0 12px 15px 12px;
    color: var(--KTI-GREY, #363844);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 115%;
    letter-spacing: -0.32px;
  }

   .produkt .container .flex-container .half .inside ul.sekcje a + div * {
    color: var(--KTI-GREY, #363844);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 115%;
    letter-spacing: -0.32px;
   }

/* =========================
   MOBILE FIRST OVERRIDES
   ========================= */

/* Ogólne: zwężamy padding, poprawiamy tła/kontenery */
@media (max-width: 768px) {
	.page-container .breadcrumbs {
		padding-top: 105px;
	}
  .produkt {
    padding: 0;
  }

  /* Layout: kolumny -> jedna pod drugą */
  .produkt .container .flex-container {
    flex-direction: column;
    gap: 24px;
  }

  .produkt .container .flex-container .half,
  .produkt .container .flex-container .half + .half {
    width: 100%;
  }

  .produkt .container .flex-container .half .inside {
    max-width: 100%;
    padding: 0;
  }

  /* Nagłówek i opis mniejsze */
  .produkt .container .flex-container .half .inside h2 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.8px;
    text-wrap: balance;
  }

  .produkt .container .flex-container .half .inside p.desc {
    font-size: 15px;
    line-height: 1.4;
    margin: 16px 0 20px;
  }

  /* Listy sekcji – większe hitboxy */
  .produkt .container .flex-container .half .inside ul.sekcje a {
    padding: 14px 8px;
  }
  .produkt .container .flex-container .half .inside ul.sekcje a span {
    font-size: 15px;
  }

  /* Przyciski: pełna szerokość, jedna pod drugim */
  .produkt .container .flex-container .half .inside .buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  .produkt .container .flex-container .half .inside .buttons a {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    font-size: 15px;
  }

  /* ---------- GALERIA / FLICKITY ---------- */

  /* Wrapper: miniatury pod głównym slajdem (kolumna) */
  .produkt .flickity-wrapper-final {
    flex-direction: column; /* zamiast row-reverse */
    gap: 10px;
    padding: 0;
  }

  /* Główny slider na pełną szerokość */
  .produkt .main-carousel {
    width: 100%;
  }
  .produkt .main-carousel .carousel-cell img {
    max-width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
  }

  /* Miniatury: poziomy scroll, sticky wysokości niepotrzebne */
  .produkt #thumbnail-nav.thumbnail-nav {
    width: 100%;
    overflow-y: visible;
    overflow-x: auto;
    display: flex;
    gap: 10px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .produkt .thumbnail-nav__item {
    flex: 0 0 auto;
    width: 72px;
    border-width: 2px;
    border-radius: 6px;
    opacity: 0.4;
  }

  .produkt .thumbnail-nav__item img {
    width: 72px;
    aspect-ratio: 1/1;
    background: none;
  }

  .produkt .thumbnail-nav__item.is-active {
    opacity: 1;
    border-color: #363844;
  }

  /* ---------- PANEL BO CZNE (side) ---------- */

  .produkt .side {
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    z-index: 99999;
    inset: 0;
    opacity: 0;
    transition: 300ms;
  }
  .produkt .side.open { opacity: 1; }

  .produkt .side .in {
    max-width: 100%;
    width: 100%;
    height: 100dvh;
    right: -100%;
    top: 0;
    padding: 20px 16px 28px;
    border-radius: 16px 16px 0 0;
    background: #FAFAFA;
    transition: 300ms;
  }
  .produkt .side .in.open {
    right: 0;
  }

  .produkt .side .in .close {
    margin-bottom: 16px;
  }
  .produkt .side .in .close span {
    font-size: 28px;
    letter-spacing: -0.6px;
  }
  .produkt .side .in .close svg {
    width: 26px;
    height: 26px;
  }

  .produkt .side .in .content {
    height: calc(100% - 48px);
    padding-bottom: 12px;
  }

  .produkt .side .in .content p.title {
    font-size: 15px;
    padding: 12px 4px;
  }
  .produkt .side .in .content p.desc,
  .produkt .side .in .content p.descc a {
    font-size: 15px;
    line-height: 1.45;
    padding: 12px 4px;
  }

  .produkt .side .in .content a.btn {
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px 0 0;
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* Jeszcze ciaśniej – telefony ~480px */
@media (max-width: 480px) {
  .produkt {
    padding: 0;
  }

  .produkt .container .flex-container {
    gap: 20px;
  }

  .produkt .container .flex-container .half .inside h2 {
    font-size: 28px;
    letter-spacing: -0.6px;
  }

  .produkt .container .flex-container .half .inside p.desc {
    font-size: 14px;
    margin: 12px 0 16px;
  }

  .produkt .thumbnail-nav__item,
  .produkt .thumbnail-nav__item img {
    width: 64px;
  }

  .produkt .side .in {
    padding: 18px 14px 24px;
  }

  .produkt .side .in .close span {
    font-size: 24px;
  }
}

/* =========================
   DROBNE POPRAWKI BAZOWE
   ========================= */

/* brakujący średnik & literówka transition */
.produkt .thumbnail-nav { width: 100px; overflow-y: auto; }
.produkt .side { transition: 300ms; }
