:root {
  --header-green: #2C5F2D;
  --header-orange: #FF6835;
  --header-white: #FFFFFF;
  --header-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

#header .top-nav {
  display: none !important;
}

.floating-actions .cta-button {
    margin-top: 0;
}

#header {
  position: relative;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 1000;
  height: 0 !important;
  overflow: visible;
}

#header .container.navigation-wrapper {
  position: relative;
  max-width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  height: 0 !important;
  overflow: visible;
}

/* Zajištění že banner začíná opravdu nahoře */
body {
  padding-top: 0 !important;
}

#wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#header .site-name,
#header #navigation,
#header .menu-helper {
  display: none !important;
}

/* ========================================
   LOGO SKUTEČNĚ MIMO PLOVOUCÍ BAR
   ======================================== */

.site-logo-fixed {
  position: absolute;
  top: 20px;
  left: 40px;
  z-index: 1005 !important;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: auto;
}

.site-logo-fixed.loaded {
  opacity: 1 !important;
  visibility: visible !important;
}

.site-logo-fixed a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-fixed img {
  height: 104px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.site-logo-fixed a:hover img {
  transform: scale(1.05);
}

/* ========================================
   PLOVOUCÍ HLAVIČKA - POSUNUTA DOPRAVA
   ======================================== */

.floating-header {
  position: absolute;
  top: 20px;
  left: 70%;
  right: 40px;
  transform: translate(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-white);
  border-radius: 50px;
  padding: 14px 28px;
  box-shadow: var(--header-shadow);
  max-width: fit-content;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.4s ease, box-shadow 0.3s ease;
  z-index: 1001;
  width: 100%;
}

.floating-header.loaded {
  opacity: 1;
}

.floating-header:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   CATEGORY BANNER (NON-HOMEPAGE)
   ======================================== */

.category-banner-wrapper {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* Zajistíme že banner je součástí flow, ne fixed */
  display: block;
}

.non-homepage-header {
  top: -20.1rem;
}

.category-banner {
  position: relative;
  background: #1f421c;
  min-height: 21.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 40px;
  margin: 0;
  overflow: hidden;
}

.category-banner-title {
  color: var(--header-white);
  font-size: 48px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

/* Dekorativní oranžový element */
.category-banner-decoration {
  position: absolute;
  bottom: -50px;
  left: -30px;
  width: 180px;
  height: 180px;
  background: var(--header-orange);
  border-radius: 50%;
  z-index: 1;
  opacity: 0.9;
}

/* Úprava paddingu obsahu pod bannerem */
.has-category-banner .content-wrapper,
.has-category-banner .products-wrapper,
.has-category-banner .category-products {
  padding-top: 40px;
}

/* ========================================
   MENU S DROPDOWN
   ======================================== */

.floating-header .floating-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-header .floating-menu .menu-level-1 {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
  align-items: center;
}

.floating-header .floating-menu .menu-level-1 li {
  margin: 0;
  padding: 0;
  position: relative;
}

.floating-header .floating-menu .menu-level-1 > li > a {
  text-decoration: none;
  color: #1F421C;
  font-weight: 700;
  font-size: 15px;
  transition: color 0.2s ease;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-header .floating-menu .menu-level-1 > li > a::after {
  content: '';
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}

.floating-header .floating-menu .menu-level-1 > li > a:hover {
  color: var(--header-orange);
}

.floating-header .floating-menu .menu-level-1 > li > a:hover::after {
  width: 100%;
}

/* Dropdown šipka */
.floating-header .floating-menu .menu-level-1 .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('/user/documents/upload/assets/icons/arrow_down.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* Při hoveru rotace šipky */
.floating-header .floating-menu .menu-level-1 .has-dropdown:hover > a::after {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
  width: 12px;
  height: 12px;
  background-image: url('/user/documents/upload/assets/icons/arrow_down_orange.svg');
}

/* Dropdown menu - MAXIMÁLNÍ SPECIFICITA */
.floating-header .floating-menu .menu-level-1 .has-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--header-white);
  border-radius: 16px;
  box-shadow: var(--header-shadow);
  padding: 12px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1010 !important;
  list-style: none !important;
  margin: 0 !important;
  display: block !important;
}

.floating-header .floating-menu .menu-level-1 .has-dropdown:hover .dropdown-menu,
.floating-header .has-dropdown:hover .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  top: calc(100% + 10px) !important;
  display: block !important;
}

.floating-header .dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.floating-header .dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: #1F421C;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.floating-header .dropdown-menu a::after {
  display: none !important;
}

.floating-header .dropdown-menu a:hover {
  background: #F5F5F5;
  color: var(--header-orange);
  padding-left: 28px;
}

/* ========================================
   AKCE (CTA + KOŠÍK + SOCIAL)
   ======================================== */

.floating-header .floating-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.floating-header .cta-button {
  background: #E54F18;
  color: var(--header-white);
  padding: 11px 26px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(255, 104, 53, 0.3);
}

.floating-header .cta-button:hover {
  background: #d04513;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 104, 53, 0.4);
}

/* ========================================
   TLAČÍTKO KOŠÍKU
   ======================================== */

.floating-header .cart-button {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1F421C;
  color: var(--header-white);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(31, 66, 28, 0.2);
  height: 36px;
  line-height: 1;
}

.floating-header .cart-button:hover {
  background: var(--header-orange);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 104, 53, 0.3);
}

.floating-header .cart-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.floating-header .cart-button .cart-text {
  display: inline-block;
  line-height: 1;
}

/* ========================================
   SOCIÁLNÍ IKONY
   ======================================== */

.floating-header .social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.floating-header .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1F421C;
  color: var(--header-white);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s ease;
  position: relative;
}

.floating-header .social-icons a:hover {
  background: var(--header-orange);
  transform: scale(1.1);
}

.floating-header .social-icons svg,
.floating-header .social-icons i {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ========================================
   HAMBURGER MENU
   ======================================== */

.hamburger-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1003;
}

.hamburger-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #2B2B2B;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7.5px, 7.5px);
}

.hamburger-toggle.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* ========================================
   BANNER - BEZ PADDINGU, POUZE OVERLAY (HOMEPAGE)
   ======================================== */

body #homepage-slider,
body .homepage-slider,
body #homepage-wrapper > div:first-child,
body .main-banner,
body #bannercenter,
body .slider-wrapper {
  padding-top: 0 !important;
  position: relative;
  z-index: 1 !important;
}

body .banner-wrapper:first-of-type {
  padding-top: 0 !important;
  position: relative;
  z-index: 1 !important;
}

/* ========================================
   RESPONZIVITA
   ======================================== */

@media (max-width: 1400px) {
  .floating-header {
    left: 70%;
    max-width: fit-content;
    width: 100%;
  }
  
  .category-banner {
    min-height: 200px;
    padding: 130px 40px 40px;
  }
  
  .category-banner-title {
    font-size: 44px;
  }

  .non-homepage-header {
    top: -12.1rem;
  }
}

@media (max-width: 1200px) {
  .site-logo-fixed {
    left: 30px;
    top: 22px;
  }
  
  .site-logo-fixed img {
    height: 85px;
  }

 .type-product .non-homepage-header {
    top: -10rem !important;
  }


  .non-homepage-header {
    top: -11rem !important;
  }
  
  .floating-header {
    left: 60%;
    right: 30px;
    padding: 12px 28px;
    top: 22px;
  }
  
  .floating-header .floating-menu .menu-level-1 {
    gap: 24px;
  }
  
  .floating-header .floating-menu .menu-level-1 > li > a {
    font-size: 14px;
  }
  
  .category-banner {
    min-height: 180px;
    padding: 120px 30px 30px;
  }
  
  .category-banner-title {
    font-size: 40px;
  }
  
  .category-banner-decoration {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: -25px;
  }
  
  /* Košík responsive */
  .floating-header .cart-button {
    padding: 8px 14px;
    font-size: 12px;
    height: 34px;
  }
  
  .floating-header .cart-button svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 992px) {
  .site-logo-fixed {
    left: 25px;
    top: 20px;
  }
  
  .site-logo-fixed img {
    height: 70px;
  }
  
  .floating-header {
    left: 60%;
    right: 25px;
    padding: 12px 24px;
    gap: 20px;
  }
.type-category .non-homepage-header {
    top: -10rem !important;
  }

  .non-homepage-header {
    top: -9rem !important;
  }
  
  .floating-header .floating-menu .menu-level-1 {
    gap: 18px;
  }
  
  .floating-header .floating-menu .menu-level-1 > li > a {
    font-size: 13px;
  }
  
  .floating-header .cta-button {
    padding: 9px 20px;
    font-size: 13px;
  }
  
  .floating-header .cart-button {
    padding: 7px 12px;
    font-size: 12px;
    height: 32px;
  }
  
  .floating-header .cart-button svg {
    width: 14px;
    height: 14px;
  }
  
  .category-banner {
    min-height: 160px;
    padding: 110px 25px 30px;
  }
  
  .category-banner-title {
    font-size: 36px;
  }
  
  .category-banner-decoration {
    width: 130px;
    height: 130px;
    bottom: -35px;
    left: -20px;
  }
}
  
/* ========================================
   TABLET VERZE (700px - 900px)
   ======================================== */

@media (max-width: 900px) {
  .site-logo-fixed {
    left: 20px;
    top: 22px;
  }
  
  .site-logo-fixed img {
    height: 50px;
  }

.type-category .non-homepage-header {
    top: -9rem !important;
  }

 .type-product .non-homepage-header {
    top: -8rem !important;
  }

.non-homepage-header {
    top: -8rem !important;
  }


  .floating-header {
    left: 60%;
    right: 20px;
    padding: 10px 20px;
    gap: 15px;
  }
  
  .floating-header .floating-menu .menu-level-1 {
    gap: 14px;
  }
  
  .floating-header .floating-menu .menu-level-1 > li > a {
    font-size: 12px;
  }
  
  .floating-header .cta-button {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .floating-header .cart-button {
    padding: 7px 12px;
    font-size: 11px;
    gap: 5px;
    height: 30px;
  }
  
  .floating-header .cart-button svg {
    width: 14px;
    height: 14px;
  }
  
  .floating-header .social-icons a {
    width: 32px;
    height: 32px;
  }
  
  .floating-header .social-icons svg {
    width: 16px;
    height: 16px;
  }
  
  .category-banner {
    min-height: 140px;
    padding: 90px 20px 25px;
  }
  
  .category-banner-title {
    font-size: 32px;
  }
  
  .category-banner-decoration {
    width: 110px;
    height: 110px;
    bottom: -30px;
    left: -15px;
  }
}

@media (max-width: 767px) {
  .has-carousel .overall-wrapper {
    padding-top: 0px !important;
  }
  
  .overall-wrapper {
    padding-top: 0px !important;
  }

.floating-header {
left: 55%;
}

.type-category .non-homepage-header {
    top: -9rem !important;
  }

 .type-product .non-homepage-header {
    top: -8rem !important;
  }

  .non-homepage-header {
    top: -7.2rem !important;
  }
}

/* ========================================
   MOBILNÍ VERZE S HAMBURGEREM
   ======================================== */

@media (max-width: 700px) {
  /* Logo vlevo nahoře - FIXED, u samého vrchu */
  .site-logo-fixed {
    top: 10px;
    left: 20px;
    z-index: 1006 !important;
  }
  
  .site-logo-fixed img {
    height: 50px;
  }

.type-category .non-homepage-header {
    top: -7.8rem !important;
  }

 .type-product .non-homepage-header {
    top: -6.8rem !important;
  }


  
  /* Floating header vpravo nahoře - FIXED, u samého vrchu */
  .floating-header {
    top: 10px;
    right: 20px;
    left: auto !important;
    transform: none;
    width: auto;
    max-width: none;
    padding: 10px;
    border-radius: 25px;
    gap: 12px;
    z-index: 1005 !important;
  }
  
  .hamburger-toggle {
    display: flex;
  }
  
  /* Mobilní menu */
  .floating-header .floating-menu {
    position: fixed;
    top: 65px;
    left: 20px;
    right: 20px;
    background: var(--header-white);
    border-radius: 20px;
    box-shadow: var(--header-shadow);
    padding: 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 1004;
  }
  
  .floating-header .floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .floating-header .floating-menu .menu-level-1 {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: stretch;
  }
  
  .floating-header .floating-menu .menu-level-1 > li {
    width: 100%;
    border-bottom: 1px solid #EFEFEF;
  }
  
  .floating-header .floating-menu .menu-level-1 > li:last-child {
    border-bottom: none;
  }
  
  .floating-header .floating-menu .menu-level-1 > li > a {
    padding: 15px 10px;
    display: block;
    font-size: 15px;
  }
  
  .floating-header .floating-menu .menu-level-1 > li > a::after {
    display: none;
  }
  
  /* Dropdown v mobilním menu */
  .floating-header .has-dropdown > a::before {
    position: absolute;
    right: 10px;
    margin-left: 0;
  }
  
  .floating-header .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    background: #F9F9F9;
border-width: 0px;
    border-radius: 8px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-height: 0 !important;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: auto !important;
  }
  
  .floating-header .has-dropdown.active .dropdown-menu {
    max-height: 500px !important;
border-width: 1px;
    padding: 8px 0 !important;
    margin-top: 8px !important;
visibility: visible !important;

    margin-bottom: 8px !important;
  }
  
  .floating-header .dropdown-menu a {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .floating-header .floating-actions {
    gap: 8px;
  }
  
  .floating-header .cta-button {
    padding: 8px 14px;
    font-size: 11px;
  }
  
  /* Košík na mobilu - pouze ikona */
  .floating-header .cart-button {
    padding: 7px;
    min-width: 34px;
    height: 34px;
    justify-content: center;
  }
  
  .floating-header .cart-button svg {
    width: 18px;
    height: 18px;
  }
  
  .floating-header .cart-button .cart-text {
    display: none;
  }
  
  .floating-header .social-icons {
    gap: 6px;
  }
  
  .floating-header .social-icons a {
    width: 32px;
    height: 32px;
  }
  
  .floating-header .social-icons svg {
    width: 14px;
    height: 14px;
  }
  
  /* Category banner na mobilu */
  .category-banner {
    min-height: 120px;
    padding: 80px 20px 20px;
  }
  
  .category-banner-title {
    font-size: 28px;
  }
  
  .category-banner-decoration {
    width: 90px;
    height: 90px;
    bottom: -25px;
    left: -15px;
  }
}

@media (max-width: 480px) {
  .site-logo-fixed {
    top: 15px;
    left: 15px;
  }

.type-category .non-homepage-header {
    top: -6.5rem !important;
  }

.type-product .non-homepage-header {
    top: -5.8rem !important;
  }


  .non-homepage-header {
    top: -6rem !important;
  }
  
  .site-logo-fixed img {
    height: 45px;
  }
  
  .floating-header {
    top: 15px;
    right: 15px;
    padding: 8px;
  }
  
  .floating-header .floating-menu {
    top: 58px;
    left: 15px;
    right: 15px;
  }
  
  .hamburger-toggle span {
    width: 22px;
  }
  
  .floating-header .cta-button {
    padding: 7px 12px;
    font-size: 10px;
  }
  
  .floating-header .cart-button {
    padding: 6px;
    min-width: 32px;
    height: 32px;
  }
  
  .floating-header .cart-button svg {
    width: 16px;
    height: 16px;
  }
  
  /* Category banner na velmi malých mobilech */
  .category-banner {
    min-height: 100px;
    padding: 70px 15px 15px;
  }
  
  .category-banner-title {
    font-size: 24px;
  }

.icon-fb {
display: none !important;
 }
  .category-banner-decoration {
    width: 70px;
    height: 70px;
    bottom: -20px;
    left: -10px;
  }
}