:root {
  --kk-primary-color: var(--kk-eco-color-primary);
  --kk-primary-color-75: var(--kk-eco-color-primary-75);
  --kk-primary-dark-color: #006b22;
  --kk-img-bg-color: #fff;
}


.kk-eco .rh-content-wrap {
  padding-top: 40px;
}

.product .top-grid {
  display: flex;
  gap: 48px;
  margin-top: 24px;
}


.re_wooinner_title_compact .woo-price-area,
.kk-eco .flowhidden.rh-float-panel,
.woocommerce-variation-price,
.gg_woo_bt-wrap .subtitle,
.gg_woo_bt-wrap .prices,
.gg_woo_bt-wrap .float-panel-woo-button,
.icns-box-row,
.product .buy-t,
.kk-eco .rh-float-panel.floating,
.summary .ratingi .trustedShopsWidget.trustedShopsProductWidget {
	display: none !important;
}
@media (max-width: 756px) {
  .kk-eco .icns-box-row {
    display: none !important;
  }
}

.magazyn p {
  margin: 0;
}
.stock-status.brak {
  color: var(--kk-eco-color-error);
}


.kk-product-summary__heading,
.gg_woo_bt-wrap h2 {
	margin: 0 0 16px;
	font-family: var(--kk-eco-font-primary);
	font-size: 24px;
	font-weight: 600;
	line-height: 115%;
	letter-spacing: var(--kk-eco-font-spacing-text);
	color: var(--kk-eco-color-text);
}


.kk-eco .woo_default_full_width .woo-image-part {
  width: 45%;
}
.kk-eco .woo_default_full_width div.summary {
  width: 55%;
  overflow: hidden;
}

.kk-gallery {
  display: flex;
	flex-direction: column;
  gap: 16px;
  width: 100%;
  float: left;
}

.kk-gallery-thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  min-height: 0;
  max-height: 100%;
  padding-left: 4px;
}

/* scrollbars */
.kk-gallery-thumbs,
.gridGG {
  scrollbar-width: thin;
  scrollbar-color: var(--kk-primary-color) transparent;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}
.kk-gallery-thumbs::-webkit-scrollbar,
.gridGG::-webkit-scrollbar {
  width: 6px;
}
.kk-gallery-thumbs::-webkit-scrollbar-track,
.gridGG::-webkit-scrollbar-track {
  background: transparent;
}
.kk-gallery-thumbs::-webkit-scrollbar-thumb,
.gridGG::-webkit-scrollbar-thumb  {
  background-color: var(--kk-primary-color);
  border-radius: 999px;
}
.kk-gallery-thumbs::-webkit-scrollbar-thumb:hover,
.gridGG::-webkit-scrollbar-thumb:hover  {
  background-color: var(--kk-primary-color);
}
.kk-gallery-thumbs::-webkit-scrollbar-button,
.gridGG::-webkit-scrollbar-button  {
  display: none;
  width: 0;
  height: 0;
}

.kk-thumb {
  background: var(--kk-img-bg-color);
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all .15s ease;
  flex: 0 0 96px;
	aspect-ratio: 1;
  height: auto;
  flex-shrink: 0;
}
.kk-thumb:hover, .kk-thumb.is-hover {
  background: none;
  border: 2px solid  #2e3b4c;
}
.kk-thumb.is-active {
  background: var(--kk-primary-color)18;
  border: 2px solid var(--kk-primary-color);
  cursor: default;
}
.kk-thumb img {
  width: 100%;
  display: block;
  transition: scale .15s ease;
}
.kk-thumb:not(.is-active):hover img {
  scale: 1.1;
}


.kk-gallery-main {
  background: var(--kk-img-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.kk-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}


.kk-gallery-fullscreen {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  padding: 0;
  background: rgb(255, 255, 255);
  transition: all .1s ease;
}
.kk-gallery-fullscreen:active,
.kk-gallery-fullscreen:focus {
  background: rgb(255, 255, 255);
}
.kk-gallery-fullscreen:active {
  transform: scale(0.975);
}
.kk-gallery-fullscreen:hover {
  background: var(--kk-eco-color-primary-light-bg);
}
.kk-gallery-fullscreen svg {
  width: 20px;
  overflow: visible;
  transform-box: fill-box;
  transform-origin: center;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.kk-gallery-fullscreen svg .arrow {
  transition: transform .1s cubic-bezier(.4,0,.2,1);
}
/* hover */
.kk-gallery-fullscreen:hover svg .arrow-a {
  transform: translate(-20px, -20px);
}
.kk-gallery-fullscreen:hover svg .arrow-b {
  transform: translate(20px, 20px);
}

.kk-main-image {
  transition: opacity .15s ease;
}

.kk-main-image.is-switching {
  opacity: .5;
}

/* zoom tylko na desktop */
@media (min-width: 768px) {
  .kk-gallery-main {
    overflow: hidden; /* ważne: ukrywa "wyjeżdżanie" powiększonego obrazu poza kadr */
  }

  img.kk-main-image {
    cursor: zoom-in;
    transform-origin: 50% 50%;
    transition: opacity .15s ease, transform .12s ease;
    will-change: transform, transform-origin;
    user-select: none;
    -webkit-user-drag: none;
  }

  img.kk-main-image.is-zoomed {
    cursor: zoom-out;
    transform: scale(2.4); /* zmień jeśli chcesz większy/mniejszy zoom */
  }
}



/* Fullscreen modal (desktop only logic w JS, ale CSS też zabezpiecz) */
.kk-fs { position: fixed; inset: 0; z-index: 999999; display: none; }
.kk-fs.is-open { display: block; }

/* .kk-fs__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); } */

.kk-fs__panel{
  position: absolute;
  inset: 0;
  background: #fff;
  overflow: hidden;
  display:flex;
  flex-direction:column;
}

.kk-fs__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  color: var(--kk-eco-color-primary);
  background: var(--kk-eco-color-primary-light-bg);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: all .1s ease;
}
.kk-fs__close:active,
.kk-fs__close:focus {
  background: var(--kk-eco-color-primary);
  color: var(--kk-eco-color-white);
}
.kk-fs__close:active {
  transform: scale(0.975);
}
.kk-fs__close:hover {
  background: var(--kk-primary-color);
  color: white;
}


.kk-fs__counter {
  width: 100%;
  padding: 16px 20px;
  font-weight: 600;
  text-align: center;
}

.kk-fs__flex {
  display: flex;
  flex: 1;
  min-height: 0; 
  padding: 0 0 32px 16px;
}      



.kk-fs__stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--kk-img-bg-color);
  max-height: calc(100vh - 62px - 32px);
  aspect-ratio: 1;
  width: 100%;
}
.kk-fs__img {
  max-width: 100%; 
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kk-fs__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: var(--kk-primary-color-75);
  cursor: pointer;
  transition: all .1s ease;
}
.kk-fs__nav svg {
  width: 20px;
  transition: all .1s ease;
}
.kk-fs__nav:hover svg {
  width: 24px;
}
.kk-fs__nav:active,
.kk-fs__nav:focus {
  background: var(--kk-primary-color-75);
}
.kk-fs__nav:hover {
  background: var(--kk-primary-color);
}
.kk-fs__prev{
  left: 20px;
  transform: translateY(-50%);
}
.kk-fs__next{
  right: 20px;
  transform: translateY(-50%);
}
.kk-fs__nav:active {
  transform: translateY(-50%) scale(0.975);
}


.kk-fs__thumbs{
  padding: 0 16px;
  overflow-y: auto !important;
  border-left: 1px solid --kk-eco-color-border;
  display: flex;
  flex-wrap: wrap;
  border-radius: 8px;
  gap: 12px;
  align-content: start;
  min-height: 0;
  max-width: 236px;
  height: inherit;
  grid-auto-rows: max-content;
}

.kk-fs__t {
  width: 100%;
  max-width: 96px;
  overflow: hidden;
  background: var(--kk-img-bg-color);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: all .15s ease;
}
.kk-fs__t.is-active {
  background: var(--kk-primary-color)18;
  border-color: var(--kk-primary-color);
  cursor: default;
}
.kk-fs__t img {
  width: 100%;
  height: 100%;
  display: block;
  transition: scale .15s ease;
  object-fit: cover;
}
.kk-fs__t:not(.is-active):hover {
  background: none;
  border-color: var(--kk-eco-color-text);
}
.kk-fs__t:not(.is-active):hover img {
  scale: 1.1;
}



/* Summary */

.re_wooinner_info.mb30 {
  margin-bottom: 0 !important;
}
.re_wooinner_title_compact {
  padding-bottom: 24px;
}

.kk-eco-header__single-product-title {
  margin-bottom: 4px;
}
@media(max-width: 450px) {
  .kk-eco-header__single-product-title {
    font-size: 24px;
  }
}

.kk-eco .re_wooinner_title_compact.flowhidden .ratingi {
  margin: 0;
}
.woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kk-product-rating__average {
  font-family: var(--kk-eco-font-primary);
  color: var(--kk-eco-color-text-muted);
  font-weight: 300;
  letter-spacing: var(--kk-eco-font-spacing-heading);
  margin-top: -2px;
  font-size: 14px;
}
.woocommerce-product-rating .kk-product-rating__reviews {
  display: none;
}

.kk-product-out-of-stock .woocommerce-product-details__short-description {
  margin-bottom: 48px;
}
.woocommerce-product-details__short-description > p {
  margin: 0 !important;
}

.kk-product-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  margin-bottom: 0 !important;
}
.kk-product-benefits__item {
  display: flex;
  align-items: start;
  gap: 8px;
  line-height: 115%;
}
.kk-product-benefits__icon {
  flex-shrink: 0;
}
.kk-product-benefits__icon svg {
  color: var(--kk-eco-color-primary);
  font-size: 16px;
}



/* Product variations */

.kk-eco-product .kk-product-variations {
	padding-top: 48px;
}

.kk-eco-product .kk-product-variations__tiles {
	display: flex;
	gap: 8px;
  width: 100%;
  overflow-x: auto;
}

.kk-eco-product .kk-variation-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 120px;
	margin: 0;
	padding: 16px 20px;
	border: 2px solid var(--kk-eco-color-border);
	border-radius: 8px;
	background: var(--kk-eco-color-white);
	color: var(--kk-eco-color-text);
  letter-spacing: var(--kk-eco-font-spacing-text);
  font-family: var(--kk-eco-font-secondary);
	text-align: center;
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		background-color 0.15s ease,
		box-shadow 0.15s ease,
		transform 0.15s ease;
}

.kk-eco-product .kk-variation-tile:hover {
	border-color: var(--kk-eco-color-primary);
	background: var(--kk-eco-color-primary-light-bg);
}

.kk-eco-product .kk-variation-tile:active {
	transform: scale(0.985);
}

.kk-eco-product .kk-variation-tile:focus-visible {
	outline: 2px solid var(--kk-eco-color-primary);
	outline-offset: 2px;
}

.kk-eco-product .kk-variation-tile.is-selected {
	border-color: var(--kk-eco-color-primary);
	background: var(--kk-eco-color-primary-light-bg);
}

.kk-eco-product .kk-variation-tile:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.kk-eco-product .kk-variation-tile__name,
.kk-eco-product .kk-variation-tile__price {
	font-size: 16px;
	font-weight: 600;
	line-height: 115%;
}
.kk-eco-product .kk-variation-tile__price {
	margin-top: 20px;
}

.kk-eco-product .kk-variation-tile__coverage,
.kk-eco-product .kk-variation-tile__unit-price {
	margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 115%;
	color: var(--kk-eco-color-text-muted);
}

.kk-eco-product .kk-variation-tile__price .woocommerce-Price-amount {
	font-weight: inherit;
}

.kk-eco-product .kk-variation-tile__unavailable {
	margin-top: 4px;
	font-size: 10px;
	color: var(--kk-eco-color-text-muted);
}

.kk-eco-product .kk-product-variations__native {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.kk-eco-product form.variations_form {
	margin-top: 0;
}

.kk-eco-product .single_variation_wrap {
	margin-top: 0;
}


/* Bought Toghether */
.gg_woo_bt-wrap {
  margin-top: 48px;
}
.gridGG {
  flex-wrap: nowrap !important;
  width: 100%;
  gap: 16px !important;
  overflow-x: auto;
}
.kk-eco .gg_woo_bt-products .gg_woo_bt-product {
  width: 200px !important;
  flex: unset !important;
  flex-shrink: 0 !important;
  min-width: 200px !important;
  max-width: 90%;
}

.gg_woo_bt-choose.checkCustom {
  z-index: 1;
}
.kk-eco .gg_woo_bt-thumb {
  padding: 0 !important;
  background: none !important;
}

.gg_woo_bt-thumb {
  height: unset !important;
}
.gg_woo_bt-product .checkmark {
  right: 0;
  left: unset;
  width: 28px;
  height: 28px;
  color: var(--kk-eco-color-primary);
  background-color: var(--kk-eco-color-white);
  border: 2px solid var(--kk-eco-color-primary);
}
.gg_woo_bt-product .custom-checkbox .checkmark::after {
  left: 8px;
  top: 4px;
  width: 8px;
  height: 14px;
  border-color: currentColor;
  opacity: 0;
  transform: opacity .3s ease;
}
.gg_woo_bt-product .custom-checkbox:hover .checkmark::after {
  opacity: 1;
}
.custom-checkbox input:checked ~ .checkmark {
  color: var(--kk-eco-color-accent);
  background-color: var(--kk-eco-color-primary) !important;
}
.custom-checkbox input:checked ~ .checkmark::after {
  opacity: 1;
}

.kk-eco .gg_woo_bt-title a {
	font-size: 12px !important;
  height: 54px;
	-webkit-line-clamp: 3;
}

.gg_woo_bt-price-ori {
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
}

.gg_woo_bt-product .desc {
  display: none;
}



/* Add to cart section */

.kk-product-purchase {
  margin-top: 48px;
  margin-bottom: 24px;
}
.kk-product-purchase__summary {
  display: flex;
  justify-content: space-between;
}
.kk-product-purchase__delivery-content {
  font-size: 12px;
  font-family: var(--kk-eco-font-primary);
  line-height: 125%;
  letter-spacing: var(--kk-eco-font-spacing-text-alternative);
  text-align: right;
  margin-bottom: 12px;
}
.kk-product-purchase__price {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 6px;
}
.kk-product-purchase__price .amount {
  font-size: 24px;
  font-family: var(--kk-eco-font-secondary);
  line-height: 115%;
  font-weight: 700;
  letter-spacing: var(--kk-eco-font-spacing-text);
}
.kk-product-purchase__price del .amount {
  font-size: 16px;
  text-decoration: line-through;
	opacity: .3;
}
.kk-product-purchase__price .price del {
	opacity: 1;
  color: var(--kk-eco-color-text);
  font-size: 115%;
}
.kk-product-purchase__price del,
.kk-product-purchase__price ins {  
  line-height: 115%;
}

.kk-product-purchase__actions {
  display: flex;
  gap: 16px;
}
.kk-product-quantity {
  grid-template-columns: 40px 56px 40px;
  height: 48px;
}
#kk-single-product--add-to-cart {
  min-width: max-content;
  width: 100%;
  max-width: unset;
}


/* Grass effect after click */
#kk-single-product--add-to-cart > span {
  position: relative;
  z-index: 3;
}
#kk-single-product--add-to-cart.is-grass-animating,
#kk-single-product--add-to-cart.is-grass-animating:hover,
#kk-single-product--add-to-cart.is-grass-animating:focus,
#kk-single-product--add-to-cart.is-grass-animating:active {
	background: var(--kk-eco-color-primary-dark) !important;
	border-color: var(--kk-eco-color-primary-dark) !important;
	letter-spacing: .1em !important;
}
.eco-grass {
  position: absolute;
  left: 0;
  top: -16px;
  width: 100%;
  height: calc(20px + 100%);
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
.eco-grass path {
  fill: #006b22;
  transform-box: fill-box;
  transform-origin: bottom center;
  transform: scaleY(0);
  transition: transform 0.48s cubic-bezier(.18, .9, .22, 1.1);
  transition-delay: var(--grow-delay, 0s);
}
.eco-grass.is-visible path {
  transform: scaleY(1);
}
.eco-grass.is-hiding path {
  transform: scaleY(0);
  transition-duration: 0.36s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  transition-delay: var(--hide-delay, 0s);
}

.eco-clover {
  opacity: 0;
  pointer-events: none;
}
.eco-clover-inner {
  transform-box: fill-box;
  transform-origin: bottom center;
  transform: scale(0);
  transition:
    transform 0.26s cubic-bezier(.18, .9, .22, 1.1),
    opacity 0.26s ease;
}
.eco-grass.is-visible .eco-clover {
  opacity: 1;
  transition: opacity 0.26s ease .25s;
}
.eco-grass.is-visible .eco-clover-inner {
  transform: scale(1);
  transition-delay: .25s;
}
.eco-grass.is-hiding .eco-clover {
  opacity: 0;
  transition: opacity 0.26s ease 0s;
}
.eco-grass.is-hiding .eco-clover-inner {
  transform: scale(0);
  transition-duration: 0.26s;
}





/* Info etc under Add to cart btn */

.kk-eco.single-product .re_wooinner_cta_wrapper.mb15 {
  margin-bottom: 8px !important;
}

.summary .button_action .def_btn {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  height: fit-content;
  width: fit-content !important;
}

.summary .heart_thumb_wrap .flowhidden.cell_wishlist {
  width: 30px;
  height: 30px;
  display: flex;
  overflow: visible !important;
}
.summary .heartplus {
  width: 30px;
  height: 30px;
  margin: 0 !important;
  position: relative;
  font-family: var(--kk-eco-font-primary);
  font-size: 16px !important;
  font-weight: 400;
  color: var(--kk-eco-color-text) !important;
}
.summary .heartplus::before {  
  transition: all .2s ease;
}

.summary .heart_thumb_wrap .heartplus:not(.loading):before,
.summary .heart_thumb_wrap .heartplus.alreadywish:hover:before {
  content: '' !important;
  background: url('../img/single-product-wishlist.svg');
  background-size: contain;
  background-position: center;
  width: 30px;
  height: 30px;
}

.summary .heart_thumb_wrap .heartplus:not(.loading):after {
  content: 'Dodaj do schowka';
  top: 50%;
  transform: translate(100%, -50%);
  right: -8px;
  position: absolute;
  width: max-content;
  transition: color .2s ease;
}
.summary .heart_thumb_wrap .heartplus:not(.loading):hover:after {
  color: var(--kk-eco-color-primary);
}
.summary .heart_thumb_wrap .heartplus.loading:after {
  content: '';
}
.summary .heart_thumb_wrap .heartplus.alreadywish:not(.loading):after {
  content: 'W schowku';
}

.summary .heart_thumb_wrap .heartplus.loading:before {
  background: unset !important;
}

.summary .heart_thumb_wrap .heartplus.alreadywish:not(.loading):before,
.summary .heart_thumb_wrap .heartplus:not(.alreadywish):hover:before {
  content: '' !important;
  background: url('../img/single-product-wishlist-added.svg');
  background-size: contain;
  background-position: center;
  width: 30px;
  height: 30px;
}

.kk-single-product--under-cart-values {
  margin-bottom: 32px !important;
}
.kk-single-product--under-cart-values .elementor-shortcode {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kk-single-product--under-cart-values__value {
  display: flex;
  gap: 8px;
  align-items: center;
}
.kk-single-product--under-cart-values__value p {
  margin: 0;
  font-family: var(--kk-eco-font-primary);
}

.elementor-toggle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product #rozwijana .elementor-toggle-item {
	width: 100%;
	margin: 0;
	border: 2px solid var(--kk-eco-color-primary);
	border-radius: 8px;
	background: transparent;
	overflow: hidden;
}
.product #rozwijana .elementor-toggle-item .elementor-toggle-title {
	font-size: 16px;
	font-weight: var(--kk-eco-font-weight-regular);
	line-height: 125%;
	letter-spacing: var(--kk-eco-font-spacing-text-alternative);
	color: var(--kk-eco-color-text);
}
.product #rozwijana .elementor-toggle-icon.elementor-toggle-icon svg {
  fill: var(--kk-eco-color-text);
}



/* Tabs */

.woocommerce-tabs {
  margin-top: calc(160px - 25px) !important;
}

.kk-tabs-ul-wrapper {
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: -8px;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE i stary Edge */
}
.kk-tabs-ul-wrapper::-webkit-scrollbar {
	display: none; /* Chrome, Edge, Safari */
}

.woocommerce-tabs .tabs {
  display: flex;
  align-items: center;
  margin: 0;
  flex-wrap: nowrap;
  width: max-content;
}
.woocommerce-tabs .tabs li:not(.active) a {
  cursor: pointer;
}
.woocommerce-tabs .tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--kk-eco-font-primary) !important;
  font-size: 18px;
  color: var(--kk-eco-color-text);
  border-radius: 4px;
  position: relative;  
  flex-shrink: 0;
  transition: background-color .2s ease;
}
.woocommerce-tabs .tabs li:not(#tab-title-additional_information, #tab-title-reviews) a {
  border-radius: 4px 4px 0 0;
}
.woocommerce-tabs .tabs li.active {
  border: none !important;
}
.woocommerce-tabs .tabs li.active a {
  background-color: var(--kk-eco-color-primary-dark) !important;
}
.woocommerce-tabs .tabs li.active:not(#tab-title-additional_information, #tab-title-reviews) a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  transform: translateY(100%);
  background-color: var(--kk-eco-color-primary-dark);
}
.woocommerce-tabs .tabs li.active a {
  color: var(--kk-eco-color-white) !important;
  cursor: default;
}
.woocommerce-tabs .tabs li:not(.active) a:hover {
  background-color: var(--kk-eco-color-primary-light-bg);
}

.woocommerce-Tabs-panel h2 {
	font-family: var(--kk-eco-font-primary);
	letter-spacing: var(--kk-eco-font-spacing-heading);
	font-size: 32px;
	margin: 0 0 32px;
	line-height: 125%;
}
.woocommerce-Tabs-panel p {
  line-height: 150%;
}
@media(max-width: 767px) {
	.woocommerce-Tabs-panel h2 {
		font-size: 28px;
    margin-bottom: 24px;
	}
	.woocommerce-Tabs-panel p {
		font-size: 14px;
    margin-bottom: 16px;
	}
}

.woocommerce-Tabs-panel .line-green {
  background-color: var(--kk-eco-color-primary-dark);
  color: var(--kk-eco-color-white);
  display: flex;
  border-radius: 8px 8px 0 0;
}
.woocommerce-Tabs-panel .line-grey,
.line-seo {
  background-color: var(--kk-eco-color-background-dark-light);
  color: var(--kk-eco-color-text);
  display: flex;
  border-radius: 0 0 8px 8px;
}
.line-seo,
.woocommerce-Tabs-panel .line-green:not(.line-1) {
  border-radius: 8px;
}
.woocommerce-Tabs-panel .line-green h2 {
  color: var(--kk-eco-color-white);
}
.woocommerce-Tabs-panel .line-green .editor,
.woocommerce-Tabs-panel .line-grey .img,
.line-seo .editorseo {
  width: 50%;
  padding: 48px 24px 48px 48px;
}
.woocommerce-Tabs-panel .line-green .img,
.woocommerce-Tabs-panel .line-grey .editor,
.line-seo .seotxt {
  width: 50%;
  padding: 48px 48px 48px 24px;
  position: relative;
}
.woocommerce-Tabs-panel .line-green .img img,
.woocommerce-Tabs-panel .line-grey .img img,
.line-seo .editorseo .imgseo {
  width: 100%;
  height: auto;
  position: sticky;
  top: calc(48px + 64px);
  border-radius: 4px;
  overflow: hidden;
}
.line-seo .editorseo .imgseo img {
  border-radius: 0;
  width: 100%;
}
.admin-bar .woocommerce-Tabs-panel .line-green .img img,
.admin-bar .woocommerce-Tabs-panel .line-grey .img img,
.admin-bar .line-seo .editorseo .imgseo {
  top: calc(48px + 64px + 32px);
}
.line-seo .seotxt {
  max-height: unset;
}

#tab-additional_information .rh-woo-section-title {
  display: none !important;
}
#tab-additional_information table.woocommerce-group-attributes-public {
  max-width: 900px;
  width: calc(100vw - 40px);
  margin: 16px auto 0;
}

.seo {
  margin-top: 96px;
}



/* Related products */

.kk-eco-related-products {
  margin-top: 96px;
}
.kk-eco-related-products__title {
  margin-bottom: 16px;
}
.kk-eco-related-products__subtitle {
  font-family: var(--kk-eco-font-primary);
  line-height: 150%;
  letter-spacing: var(--kk-eco-font-spacing-text);
}



@media(max-width: 900px) {
  .product .top-grid {
    flex-direction: column;
    gap: 32px;
  }
  .kk-eco .woo_default_full_width .woo-image-part,
  .kk-eco .woo_default_full_width div.summary {
    width: 100%;
  }

  .kk-gallery-main img {
    max-height: 420px;
  }
  .kk-thumb {
    flex: 0 0 80px;
  }
}

/* mobile */
@media (max-width: 767px){
  .summary .heartplus,
  .kk-single-product--under-cart-values__value,
  .product #rozwijana .elementor-toggle-item .elementor-toggle-title,
  .woocommerce-product-details__short-description {
    font-size: 14px !important;
  }


  /* Summary */

  .re_wooinner_title_compact {
    padding-bottom: 16px;
  }

  .kk-product-purchase__price {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
  
  .kk-product-purchase__summary {
    margin-bottom: 4px;
  }
  .kk-product-purchase__price .amount {
    font-size: 20px;
  }
  .kk-product-purchase__price del .amount {
    font-size: 13px;
  }
  .kk-product-purchase__actions {
    gap: 8px;
  }
  .kk-product-quantity {
    grid-template-columns: 32px 48px 32px;
  }
  #kk-single-product--add-to-cart {
    padding: 12px 12px;
  }


  .kk-product-benefits__icon svg {
    width: 15px;
    height: 14px;
  }

  .kk-product-summary__heading, .gg_woo_bt-wrap h2 {
    margin: 0 0 12px;
    font-size: 20px;
  }

  .kk-eco-product .kk-variation-tile__name, .kk-eco-product .kk-variation-tile__price {
    font-size: 14px;
  }
  .kk-eco-product .kk-variation-tile__coverage, .kk-eco-product .kk-variation-tile__unit-price {
    font-size: 10px;
  } 

  #rozwijana .elementor-tab-title {
    padding: 16px;
  }


  /* .kk-fs, */
  .kk-gallery-fullscreen,
  .kk-fs__thumbs {
    display:none !important;
  }
  .kk-fs__flex {
    padding: 0 0px 80px 0px;
  }

  .kk-fs__nav {
    top: 100%;
    width: calc(50% - 24px);
    background: var(--kk-primary-color);
  }
  .kk-fs__nav:active {
    transform: translateY(16px) scale(0.975);
  }
  .kk-fs__prev {
    left: 20px;
    transform: translateY(16px);
  }
  .kk-fs__next {
    right: 20px;
    transform: translateY(16px);
  }
  .kk-fs__nav:hover svg {
    width: 20px;
  }


  .kk-eco-product .kk-variation-tile {
    min-width: 96px;
    padding: 12px;
  }



  /* Tabs */

  .woocommerce-tabs {
    width: 100vw;
    margin-left: -20px;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
    margin-left: 0px !important;
  }
  .woocommerce-tabs .tabs li a,
  .kk-eco.woocommerce div.product .woocommerce-tabs ul.tabs li a,
  .kk-eco.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    padding: 8px 20px;
    font-size: 14px !important;
    font-family: var(--kk-eco-font-primary) !important;
  }
  .kk-eco.woocommerce div.product .woocommerce-tabs ul.tabs li.active a:hover {
    color: var(--kk-eco-color-white) !important;
  }
  .kk-eco.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin-bottom: 0px !important;
  }

  .woocommerce-Tabs-panel .line-green,
  .line-seo {
    flex-direction: column;
  } 
  .woocommerce-Tabs-panel .line-grey {
    flex-direction: column-reverse;
  }
  .line-seo, .woocommerce-Tabs-panel .line-green:not(.line-1),
  .woocommerce-Tabs-panel .line-green .img img,
  .woocommerce-Tabs-panel .line-grey .img img, .line-seo .editorseo .imgseo,
  .woocommerce-Tabs-panel .line-grey,
  .woocommerce-Tabs-panel .line-green,
  .line-seo {
    border-radius: 0px !important;
  }

  .woocommerce-Tabs-panel .line-green .editor,
  .woocommerce-Tabs-panel .line-grey .editor,
  .line-seo .seotxt {
    width: 100%;
    padding: 32px 20px 32px 20px;
  }
  .woocommerce-Tabs-panel .line-grey .img,
  .line-seo .editorseo,
  .woocommerce-Tabs-panel .line-green .img {
    width: 100%;
    padding: 0;
  }
  .woocommerce-Tabs-panel .line-green .editor,
  .woocommerce-Tabs-panel .line-grey .img,
  .line-seo .editorseo {
    padding-bottom: 0;
  }

  .editor1, .editor3, .editor4 {
    order: 0 !important;
  }

}

@media (max-width: 450px) {
  .kk-gallery-main {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}


@media only screen and (max-width: 479px) {
  .kk-eco .woo-image-part {
    margin: 0 !important;
  }
}





/* BACK IN STOCK NOTIFICATION PLUGIN STYLING */
.cwginstock-panel-primary {
  font-family: var(--kk-eco-font-secondary);
  border-color: var(--kk-eco-color-primary) !important;
  border-width: 4px !important;
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  margin-top: 24px !important;
  margin-bottom: 48px !important;
  padding: 16px 0 16px 16px;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.cwginstock-subscribe-form .panel-primary > .panel-heading {
  background-color: transparent;
  border: none !important;
  border-radius: 0 !important;
  padding: 0;
}
.cwginstock-subscribe-form .panel-primary > .panel-heading h4 {
  color: var(--kk-eco-color-text) !important;
  font-family: var(--kk-eco-font-primary);
  letter-spacing: var(--kk-eco-font-spacing-heading);
  text-align: left !important;
  font-size: 24px;
}
.cwginstock-subscribe-form .panel-body {
  padding: 16px 0px 0px;
}
.cwginstock-panel-body .row {
  margin: 0;
}
.cwginstock-subscribe-form .panel-body .col-md-12 {
  padding: 0;
}
.cwginstock-panel-body .form-group {
  margin: 0;
}
.cwginstock-subscribe-form .panel-body input {
  text-align: left !important;
}
.cwg_iagree_checkbox a {
  color: var(--kk-eco-font-primary);
}
.cwg_iagree_checkbox a:hover {
  color: var(--kk-eco-font-primary-dark);
}
.cwgstock_button {
  width: 100%;
  margin-top: 16px;
}

@media(max-width: 767px) {
  .cwginstock-panel-primary {
    padding: 12px 0 12px 12px;
  }
  .cwginstock-subscribe-form .panel-primary > .panel-heading h4 {
    font-size: 20px;
  }
  .cwginstock-subscribe-form .panel-body {
    font-size: 14px;
  }
}