/* Footer – na všetkých stránkach*/
footer#footer {
    background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
    color: black !important;
}
#footer {
        background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
}

#footer ul a, #footer h4, #footer .copyright, .copyright a.js-cookies-settings, #signature a,header .navigation-in > ul > li > a, .menu-helper>span, .menu-helper, .lupa, .btn.cart-count::before, a.btn.cart-count::before, .btn.cart-count .cart-price, .top-navigation-bar a:not(.btn-back-to-shop), .dropdown button, .top-navigation-bar .toggle-window  {
    color: black !important;
}
.navigation-buttons > a[data-target="cart"] i, .cart-count i {
color: #fff !important;
    background: #000 !important;
} 
/* .cart-count[aria-expanded="true"] .cart-price{
    color: #fff !important;
} */

.cart-window-visible .btn.cart-count::before {
    color: #000 !important;
}
#footer ul .facebook a, #footer ul .instagram a {
    color: white !important;
}
#footer ul .facebook a:hover, #footer ul .instagram a:hover {
    color: #f7cbaa !important;
}
.menu-helper:hover>span, .menu-helper:hover {
    color: #fff !important;
}
#header .navigation-in li .active b{
    font-weight: 600 !important;
}

/*skladom detail produktu*/

.custom-availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  color: #020202;
  padding: 10px;
  font-size: 14px;
}

.top {
  background: #0080001a; /* svetlá zelená */
  padding: 5px 10px;
  border-radius: 5px;
  width: fit-content;
}


.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #218838;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  margin-top: -2px;
  margin-right: 5px;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 204, 102, 0.4);
  animation: pulse 1.5s infinite;
}

.cart-count:focus-visible, .cart-count:focus{
border:0px !important;
outline:none !important;
box-shadow: none !important;
}
#dkLabNoteDetailWrapper{
margin: 5px 0px 15px 0px;
}

#carousel::after{
content: unset !important;
}

body{
background-color: #f9f9f9 !important;
}

.description-inner .extended-description .detail-parameters tr:first-child {
    display: none;
}

.dkLabNoteCartMessage{
		/* border-radius:24px;
    margin-bottom: 15px;
		margin-top:0px !important;
    width: fit-content;
    padding: 10px 20px !important; */
    display:none !important;
}

/* Desktop – homepage */
@media screen and (min-width: 1200px) {
  body.type-index #header
  /* body.type-index #navigation { */{
        background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
  }
}

@media screen and (max-width: 1199px) {
  #header {
    background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%) !important;
  }
}

/* Mobil a tablet*/
@media screen and (max-width: 1199px) {
  .navigation-in > ul > li > a,
  body.type-index #navigation {
        background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
  }
}

@media screen and (max-width: 767px) {
    .top-navigation-bar {
            background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
    }
        .navigation-window-visible .navigation-in > ul > li.ext.exp > ul, .navigation-window-visible .menu-helper>ul>li.ext.exp>ul {
            background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
    }
        .navigation-in ul li.ext.exp > a{
      background-color:#fadfcb ;
}
    .navigation-in > ul li a {
      color: black !important;
    }

    .dkLabNoteCartMessage{
gap: 12px;
margin-top: 15px !important;


}

.cart-window-visible .navigation-buttons > a[data-target="cart"] i {
    background-color: #000000 !important;
    color: #ffffff !important;
}
   .empty-cart-boxes ul li a{
    padding-left: 65px !important;
    text-wrap: balance;
    }
   .in-kosik .btn-conversion:not(.btn){
    line-height:50px !important;
    }
}

@media (min-width: 768px) {
    body:not(.type-index) #header, .type-index.no-carousel #header, .type-index.multiple-columns-body #header {
            background: linear-gradient(to top, #fadfcb 0%, #fbefe6 100%);
    }
    /*arrows*/
    #navigation .menu-level-1 .submenu-arrow, .navigation-in > ul > li:not(.exp) > a.active::after{
        display: none;
    }
       .cart-window-visible .cart-count {
        background-color: transparent !important;
    }

}
.submenu-arrow::after{
  color: #000 !important;
}

.next-step-back{
    display: none !important;
}

/* === mobilní patička (jako HU) – NEMAZAT blok s menu výše === */
@media (max-width: 767px) {
  html body #footer {
    padding-top: 1rem !important;
  }
  html body #footer .custom-footer {
    gap: 12px !important;
    padding-top: 8px !important;
  }
  html body footer#footer .custom-footer > .footer-contact {
    margin-top: 8px !important;
  }
  html body #footer .banner,
  html body #footer .custom-footer > [class*="custom-footer__banner"] > .banner {
    min-height: 0 !important;
  }
  html body #footer .ft-logo-img {
    height: 37px !important;
  }

  html body #footer .pageElement__heading::after {
    display: none !important;
    content: none !important;
  }
  html body #footer .pageElement__heading,
  html body #footer .ft-col-heading {
    margin-bottom: 0.5rem !important;
  }

  html body footer#footer .custom-footer .banner-wrapper > span > ul {
    align-items: stretch !important;
    width: 100% !important;
  }
  html body footer#footer .custom-footer .banner-wrapper > span > ul li {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    width: 100% !important;
  }
  html body footer#footer .custom-footer .banner-wrapper > span > ul a {
    grid-column: 2 !important;
    display: inline-flex !important;
    position: relative !important;
    width: auto !important;
    justify-content: flex-start !important;
  }
  html body footer#footer .custom-footer .banner-wrapper > span > ul a::before {
    position: absolute !important;
    display: block !important;
    right: calc(100% + 10px) !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }

  html body footer#footer .banner:has(.contact-box) {
    overflow: visible !important;
  }

  html body footer#footer .contact-box ul {
    gap: 0 !important;
    width: 100% !important;
  }
  html body footer#footer .contact-box ul > li {
    margin-bottom: 0 !important;
  }
  html body footer#footer .contact-box ul > li:has(span.mail) {
    margin-top: 6px !important;
  }
  html body footer#footer .contact-box ul > li:has(span.facebook) {
    margin-top: 16px !important;
  }
  html body footer#footer .ft-rating {
    margin-top: 8px !important;
  }

  html body footer#footer .contact-box li:has(span.mail),
  html body footer#footer .contact-box li:has(span.tel) {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    width: 100% !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: unset !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
  }
  html body footer#footer .contact-box li span.mail,
  html body footer#footer .contact-box li span.tel {
    grid-column: 2 !important;
    width: auto !important;
    flex: none !important;
    display: block !important;
    overflow: visible !important;
  }
  html body footer#footer .contact-box li span.mail a,
  html body footer#footer .contact-box li span.tel a {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    width: auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  html body footer#footer .contact-box li span.tel a {
    white-space: nowrap !important;
  }

  html body footer#footer .contact-box li span.mail a::before,
  html body footer#footer .contact-box li span.tel a::before {
    content: "" !important;
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    position: absolute !important;
    right: calc(100% + 8px) !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 22px 22px !important;
  }

  html body footer#footer .contact-box li span.tel a::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'><g transform='translate(3 3) scale(0.75)'><path stroke='%23C9A66B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/></g></svg>") !important;
  }
  html body footer#footer .contact-box li span.tel a:hover::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'><g transform='translate(3 3) scale(0.75)'><path stroke='%230F0F0F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'/></g></svg>") !important;
  }

  html body #footer .contact-box li span.facebook a,
  html body #footer .contact-box li span.instagram a {
    width: 56px !important;
    height: 56px !important;
  }
  html body #footer .contact-box li span.facebook a::after,
  html body #footer .contact-box li span.instagram a::after {
    width: 24px !important;
    height: 24px !important;
  }

  html body #header {
  background: transparent !important;
}
}

/* CZ mobil – search pod hlavní navbar (pod černým pruhem) */
@media (max-width: 767px) {
  body.search-window-visible #header .search-form,
  body.search-visible #header .search-form,
  body.search-window-visible #header #formSearchForm,
  body.search-visible #header #formSearchForm {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--hu-mobile-nav-top, 52px) !important;
    width: 100% !important;
    z-index: 10035 !important;
  }
}

/* Mobile information strip: reserve geometry before DOMContentLoaded. */
@media (max-width: 767px) {
  html { --hu-mobile-bar-top: 0px; --hu-mobile-msg-gap: 0px; --hu-mobile-nav-top: calc(var(--hu-mobile-bar-top) + 52px); }
  html:has(body > .site-msg.information:not([hidden]):not([data-ahome-msg-empty]):not([style*="display: none"]):not([style*="display:none"]) .text:not(:empty)),
  html:has(.overall-wrapper > .site-msg.information:not([hidden]):not([data-ahome-msg-empty]):not([style*="display: none"]):not([style*="display:none"]) .text:not(:empty)) {
    --hu-mobile-bar-top: 34px;
    --hu-mobile-msg-gap: 30px;
  }
  body > .site-msg.information:not(.ready):not([hidden]),
  .overall-wrapper > .site-msg.information:not(.ready):not([hidden]) { display: block; }
  body > .site-msg.information:not(.ready) .text,
  .overall-wrapper > .site-msg.information:not(.ready) .text { text-align: center; }
  body > .site-msg.information[hidden],
  .overall-wrapper > .site-msg.information[hidden],
  body > .site-msg.information[data-ahome-msg-empty],
  .overall-wrapper > .site-msg.information[data-ahome-msg-empty] { display: none !important; }
  html body .top-navigation-bar,
  html body #header .cart-count { top: var(--hu-mobile-bar-top) !important; }
  html body #header {
    margin-top: var(--hu-mobile-bar-top) !important;
    margin-bottom: var(--hu-mobile-msg-gap) !important;
  }
  html body #navigation { top: var(--hu-mobile-nav-top) !important; }
}

/* AHOME first render pilot v1: unchanged rules */
/* Production CZ pilot: native content only; bootstrap owns the root class. */
@media (max-width: 767px) {
  html.ahome-first-render-v1 body.type-product #content.content:not(.ready) {
    opacity: 1 !important;
    visibility: hidden;
  }
  html.ahome-first-render-v1 body.type-product #content.content:not(.ready) .p-detail-inner > .p-detail-inner-header,
  html.ahome-first-render-v1 body.type-product #content.content:not(.ready) .p-main-image {
    visibility: visible;
  }
  html.ahome-first-render-v1 body.type-product #content.content:not(.ready) .p-main-image {
    pointer-events: none;
  }
  html.ahome-first-render-v1 body.type-product #content.content:not(.ready) .p-detail-inner > .p-detail-inner-header > h1 {
    display: block;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 24px;
  }
  html.ahome-first-render-v1 body.type-product #content.content:not(.ready) .product-top > .col-xs-12 > .p-detail-info {
    display: none;
  }
}
