/* Modern header cart. Loaded after the legacy Customizer rules. */
.header-cart-link {
  position: relative;
  display: inline-flex !important;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.header-wrapper .header-nav .cart-item .header-cart-link {
  min-width: 166px;
  min-height: 48px;
  flex-direction: row-reverse;
  gap: 12px;
  padding: 8px 18px !important;
  border: 1px solid #C7DFE7 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(16, 26, 34, .06) !important;
  color: #101A22 !important;
  text-transform: none !important;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.header-wrapper .header-nav .cart-item .header-cart-link *,
.header-wrapper .header-nav .cart-item .header-cart-title .cart-price {
  color: inherit !important;
}

.header-wrapper .header-nav .cart-item .header-cart-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0 !important;
  line-height: 1 !important;
}

.header-wrapper .header-nav .cart-item .header-cart-title::before {
  content: "Košík ·";
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.header-wrapper .header-nav .cart-item .header-cart-title .cart-price {
  display: inline-block;
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.15 !important;
  white-space: nowrap;
}

.header-wrapper .header-cart-link i.icon-shopping-cart {
  position: static;
  display: inline-block !important;
  width: 21px;
  height: 23px;
  flex: 0 0 21px;
  font-size: 0 !important;
  line-height: 1 !important;
}

.header-wrapper .header-cart-link i.icon-shopping-cart::before {
  display: block !important;
  width: 100%;
  height: 100%;
  background-color: currentcolor;
  content: "" !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath fill='%23000' d='M7.2 7V5.2C7.2 2.33 9.35 0 12 0s4.8 2.33 4.8 5.2V7H21l1.25 19H1.75L3 7h4.2Zm2 0h5.6V5.2C14.8 3.43 13.55 2 12 2S9.2 3.43 9.2 5.2V7Zm-4.34 2L3.88 24h16.24l-.98-15H4.86Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath fill='%23000' d='M7.2 7V5.2C7.2 2.33 9.35 0 12 0s4.8 2.33 4.8 5.2V7H21l1.25 19H1.75L3 7h4.2Zm2 0h5.6V5.2C14.8 3.43 13.55 2 12 2S9.2 3.43 9.2 5.2V7Zm-4.34 2L3.88 24h16.24l-.98-15H4.86Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-wrapper .header-cart-link i.icon-shopping-cart::after {
  position: absolute !important;
  top: -9px !important;
  right: -9px !important;
  display: flex !important;
  width: 23px !important;
  height: 23px !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: #D8431F !important;
  box-shadow: none !important;
  color: #fff !important;
  content: attr(data-icon-label) !important;
  font-family: Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.header-wrapper .mobile-nav .cart-item {
  margin-left: 7px;
}

.header-wrapper .mobile-nav .cart-item .header-cart-link,
.header-wrapper .mobile-nav .cart-item a.header-cart-link.button.round.is-small {
  width: 42px !important;
  height: 42px !important;
  min-height: 42px;
  padding: 0 !important;
  border: 1px solid #101A22 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #101A22 !important;
}

.header-wrapper .mobile-nav .cart-item .header-cart-link i.icon-shopping-cart {
  position: relative;
  width: 20px;
  height: 22px;
  flex-basis: 20px;
  color: #101A22 !important;
}

.header-wrapper .mobile-nav .header-cart-link i.icon-shopping-cart::after {
  top: -8px !important;
  right: -10px !important;
  width: 18px !important;
  height: 18px !important;
  border-width: 2px !important;
  font-size: 10px !important;
}

@media (hover: hover) and (pointer: fine) {
  .header-wrapper .header-nav .cart-item .header-cart-link:hover,
  .header-wrapper .mobile-nav .cart-item .header-cart-link:hover {
    border-color: #B9CDD4 !important;
    background: #F8FBFC !important;
    color: #101A22 !important;
  }

  .header-wrapper .mobile-nav .cart-item .header-cart-link:hover i.icon-shopping-cart {
    color: #101A22 !important;
  }
}

.header-wrapper .header-cart-link:focus-visible {
  outline: 3px solid rgba(16, 26, 34, .22);
  outline-offset: 3px;
}

.header-wrapper .vm-direct-cart-item > .nav-dropdown,
.header-wrapper .vm-direct-cart-item > .ux-mini-cart,
.header-wrapper .vm-direct-cart-item > .widget_shopping_cart {
  display: none !important;
}

@media (max-width: 360px) {
  .header-wrapper .mobile-nav .cart-item .header-cart-link,
  .header-wrapper .mobile-nav .cart-item a.header-cart-link.button.round.is-small {
    width: 39px !important;
    height: 39px !important;
    min-height: 39px;
  }
}
