/********************************************************
			Codezeel Custom Styles
********************************************************/
.cz-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  -ms-touch-action: pan-y;
}

.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-wrapper-outer {
  overflow: hidden;
  position: relative;
  float: left;
  width: 100%;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item {
  float: left;
}
.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}
.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}
.owl-carousel .owl-item:hover a img {
  border-color: blue;
}
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  /* fix */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  text-align: center;
}

/* mouse grab icon */
.grabbing {
  cursor: url("../img/codezeel/grabbing.png") 8 8, move;
}
 
.customNavigation {
	position: absolute;
	z-index: 959;
	width: 100%;
	top: 30%;
	direction: ltr !important;
	opacity: 0;
	left: 0;
  right: auto;
  -webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}
.special-products:hover .customNavigation,
.homeblog-latest:hover .customNavigation,
.brands:hover .customNavigation
  {
	opacity: 1;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.customNavigation a {
	font-size: 0;
	position: absolute;
	font-weight: 300;
	height: 35px;
	width: 35px;
	line-height: 33px;
	padding: 0;
	color: #000000;
	cursor: pointer;
	overflow: hidden;
	-webkit-transition: all 0.5s ease;
	-webkit-transition-delay: 0s;
	-moz-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
	border: 0;
	z-index: 9;
	background-color: #000;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	mask-position: center;
	-webkit-mask-position: center;
	-webkit-mask-size: 30px;
	mask-size: 30px;
}

.customNavigation a:hover{
	border-color: #262626;
}
.customNavigation a:hover:before{ color: #262626; }

.customNavigation a.prev {
	-webkit-mask-image: url(../img/codezeel/prev-arrow.svg);
	mask-image: url(../img/codezeel/prev-arrow.svg);
}
.customNavigation a.prev:hover, .customNavigation a.next:hover {
	background-color: #f58500;
}
.customNavigation a.prev {
	left: -20px;
}
.customNavigation a.next {
	-webkit-mask-image: url(../img/codezeel/next-arrow.svg);
	mask-image: url(../img/codezeel/next-arrow.svg);
}
.customNavigation a.next {
	right: -20px;
}
.customNavigation a.prev:hover, .customNavigation a.next:hover {
	background-color: #f58500;
}

@media (max-width: 1300px) {
	.customNavigation a.prev {
		left: 0px;
	}
	.customNavigation a.next {
		right: 0px;
	}
}
@media (max-width: 991px) {
	.brands .customNavigation a.prev {
		left: -10px;
	}
	.brands .customNavigation a.next {
		right: -10px;
	}
}

@media (max-width: 767px) {
  .customNavigation a.prev {
    left: 10px;
  }
	.customNavigation a.next {
		right: 10px;
	}
	#main .images-container .js-qv-mask {}
}

#czleftbanner img,
#czrightbanner img{
	max-width: 100%;
	margin-bottom: 10px;
}	
.top_button {
	bottom: 90px;
	cursor: pointer;
	display: none;
	height: 43px;
	padding: 0px 12px;
	position: fixed;
	right: 20px;
	text-align: center;
	width: 43px;
	z-index: 99;
	font-size: 0px;
	background: #f58500;
	-webkit-animation-name: hvr-icon-bob-float, hvr-icon-bob;
	animation-name: hvr-icon-bob-float, hvr-icon-bob;
	-webkit-animation-duration: .3s, 1.5s;
	animation-duration: .3s, 1.5s;
	-webkit-animation-delay: 0s, .3s;
	animation-delay: 0s, .3s;
	-webkit-animation-timing-function: ease-out, ease-in-out;
	animation-timing-function: ease-out, ease-in-out;
	-webkit-animation-iteration-count: 1, infinite;
	animation-iteration-count: 1, infinite;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-direction: normal, alternate;
	animation-direction: normal, alternate;
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
}
.top_button::before {
	color: #fff;
	content: "\f102";
	font-family: "FontAwesome";
	font-size: 27px;
	line-height: 43px;
	font-weight: 300;
}
.top_button::after {
	border: 2px solid #f58500;
	bottom: -5px;
	height: 53px;
	opacity: 1;
	right: -5px;
	content: "";
	position: absolute;
	width: 53px;
	animation: blink 2s steps(5, start) infinite;
	-webkit-animation: blink 1s steps(5, start) infinite;
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
}
.top_button:hover:after {
  animation: unset;
  -webkit-animation:unset;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink {
  to {
    visibility: hidden;
  }
}

/* Icon Bob */
@-webkit-keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
@keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
@-webkit-keyframes hvr-icon-bob-float {
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}
@keyframes hvr-icon-bob-float {
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}




/* Flexslider */

#index .spinner {
    min-height: 610px;
    background: url(../img/codezeel/loading.gif) no-repeat center center #f5f5f5;
    width: 100%;
}
@media (max-width: 1399px) {
	#index .spinner {min-height: 480px;}
}
@media (max-width: 1199px) {
	#index .spinner {min-height: 380px;}
}
@media (max-width: 991px) {
	#index .spinner {min-height: 320px;}
}
@media (max-width: 767px) {
	#index .spinner {min-height: 250px;}
}
@media (max-width: 479x) {
	#index .spinner {min-height: 180px;}
}
.qtyprogress,
.qtyprogress *,
.qtyleft,
.progress,
.progress-bar,
.product-last-items,
.product-counter {
  display: none !important;
}

.service-third:hover .service-icon {
  transform: translateY(-5px);
}

.icon4 {
  background-image: url('/themes/Upet/assets/img/codezeel/service_icon4.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  transition: transform 0.3s ease;
  display: block;
}

/* Efekt hover */
.icon4:hover {
  transform: translateY(-4px);
}

/* Dropdown do wyboru smaków i wag */
.variant-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.variant-selector .dropdown {
  display: flex;
  flex-direction: column;
}

.variant-selector .dropbtn {
  background-color: #f5f5f5;
  color: #333;
  padding: 10px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  width: fit-content;
  margin-bottom: 10px;
}

.variant-selector .dropbtn:hover {
  background-color: #e2e2e2;
}

.variant-selector .dropdown-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-selector .dropdown-content a {
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #222;
  font-size: 15px;
  transition: all 0.2s ease;
}

.variant-selector .dropdown-content a:hover {
  background: #f58500;
  color: #fff;
  border-color: #f58500;
}

.dropbtn.no-click {
  pointer-events: none;
}

.dropdown-label {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #444;
}

.current-weight {
  display: inline-block;
  font-weight: 500;
  color: #999;
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: default;
  margin: 3px;
}

.current-flavour {
  display: inline-block;
  font-weight: 500;
  color: #999;
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: default;
  margin: 3px;
}

/* ===== Blok premium ===== */
.promo-premium-block{
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 28px;
  line-height: 1.7;
  background: linear-gradient(135deg, #2b2b2b 0%, #1f1f1f 100%);
  color: #f5f5f5;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.6);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.promo-premium-block h2{
  margin: 0 0 22px 0;
  font-size: 2rem;
  font-weight: 800;
  color: #ff8000;
  text-align: center;
  letter-spacing: .5px;
}
.promo-premium-block strong{ font-weight: 700; }
.promo-premium-block .accent{ color:#ff9800; }
.promo-premium-block .accent-2{ color:#ffa726; }
.promo-premium-block .accent-3{ color:#ffb74d; }

/* Wyróżnienia SEO – poprawiona wielkość i kontrast */
.promo-premium-block .tag{
  color:#ffe4a3;           /* jaśniejszy odcień (kontrast) */
  font-weight:800;
  font-size: 1em;          /* dokładnie taki sam jak tekst główny */
}

/* Grid cech */
.promo-premium-block .feature-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 26px 0;
}
.promo-premium-block .feature{
  display:flex;
  align-items:flex-start;
  gap:10px;
  background: #3a2e24;
  color:#fff;
  border-radius: 14px;
  padding: 16px 18px;
  position: relative;
  border-left: 8px solid transparent;
}
.promo-premium-block .feature:before{
  content:"✔";
  font-weight:900;
  margin-right: 6px;
  line-height: 1;
}
.promo-premium-block .feature .feature-title{
  display:block;
  font-weight:800;
  color:#ffe4a3;
  margin-bottom:2px;
}
.promo-premium-block .feature .feature-text{ opacity:.95; }

/* Kolory pasków i checków */
.promo-premium-block .feature.f1{ border-color:#ff6f00; }
.promo-premium-block .feature.f1:before{ color:#2bdc8a; }
.promo-premium-block .feature.f2{ border-color:#ff9800; }
.promo-premium-block .feature.f2:before{ color:#ffb74d; }
.promo-premium-block .feature.f3{ border-color:#ffa726; }
.promo-premium-block .feature.f3:before{ color:#ffa726; }

/* Podsumowanie */
.promo-premium-block .summary{
  text-align: center;
  font-size: 1.1rem;
  margin: 2px 0 20px;
  word-wrap: break-word;      /* pozwala łamać długie słowa */
  overflow-wrap: break-word;  /* nowszy standard */
}
.promo-premium-block .summary .tag{
  white-space: normal;        /* wymusza zawijanie tagu */
}

/* Sam czarny box */
.premium-box{
  background: #1c1c1c;
  border-radius: 16px;
  padding: 40px 28px 60px; /* dół 60px żeby zrobić miejsce na przyciski */
  max-width: 1100px;
  margin: 40px auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  text-align: center;
}

/* Kontener przycisków */
.cta-multi{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap: 20px 28px;
  margin-top: 32px;       /* ODSTĘP od tekstu powyżej */
}

/* Przyciski */
.cta-multi .cta{
  display:inline-block;
  padding: 14px 28px;
  min-width: 220px;
  border-radius: 28px;
  background: linear-gradient(90deg, #ff6f00, #ff9800);
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  text-align:center;
  white-space:nowrap;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .3s ease;
}

/* Hover efekt */
.cta-multi .cta:hover{
  background: linear-gradient(90deg,#ff9800,#ffcc80);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.3);
}
/* Tytuł produktu – H1 obok zdjęcia */
.page-product .product-main-title{
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px 0;
  position: static;
  transform: none;
}

/* ============================================================
   FIX MENU: dropdown ma się pojawiać POD pozycją menu (np. "Zestawy")
   ============================================================ */

#_desktop_top_menu .top-menu > li{
  position: relative;
}

#_desktop_top_menu .top-menu > li > .dropdown-menu,
#_desktop_top_menu .top-menu > li > ul,
#_desktop_top_menu .top-menu .sub-menu{
  top: 100% !important;
  left: 0;
  margin-top: 8px !important; /* możesz zmienić na 0 jeśli chcesz bez przerwy */
  transform: none !important;
}

/* Jeśli warstwy nachodzą – link ma być "nad" dropdownem */
#_desktop_top_menu .top-menu > li > a{
  position: relative;
  z-index: 2;
}
#_desktop_top_menu .top-menu > li > .dropdown-menu,
#_desktop_top_menu .top-menu > li > ul,
#_desktop_top_menu .top-menu .sub-menu{
  z-index: 1;
}
/* ============================================================
   HOME FIX: baner/slider na stronie głównej blokuje dropdown menu
   ============================================================ */

/* Header i menu zawsze nad sliderem */
#header,
#header .header-top,
#header .header-nav,
#_desktop_top_menu {
  position: relative;
  z-index: 9999 !important;
}

/* Sam dropdown jeszcze wyżej */
#_desktop_top_menu .dropdown-menu,
#_desktop_top_menu .sub-menu,
#_desktop_top_menu .top-menu > li > ul {
  z-index: 10000 !important;
}

/* Upewnij się, że nic nie ucina dropdownu */
#header,
#header .header-top,
#header .header-nav,
#_desktop_top_menu,
#_desktop_top_menu .top-menu {
  overflow: visible !important;
}

/* Slider/baner na stronie głównej niżej warstwowo */
#index #wrapper,
#index #content-wrapper,
#index #main,
#index .homeslider,
#index .slider,
#index .carousel,
#index .swiper,
#index .owl-carousel,
#index .home-slider {
  position: relative;
  z-index: 1 !important;
}
/* ============================================================
   FIX KONTO: dropdown "Wyloguj się" NAD menu kategorii
   (żeby dało się kliknąć w "Wyloguj się" i żeby menu nie nachodziło)
   ============================================================ */

/* Kontener ikon konta */
#_desktop_user_info,
.user-info,
.header-nav .user-info{
  position: relative;
  z-index: 20000 !important;
}

/* Dropdown konta (lista: Kornel Ligner / Wyloguj się itd.) */
#_desktop_user_info .dropdown-menu,
.user-info .dropdown-menu,
.header-nav .user-info .dropdown-menu{
  position: absolute;
  z-index: 20001 !important;
}
