/* "Přidáno do košíku – Zobrazit košík" bar (MOBIL-RYCHLE-UPRAVY K1, 22. 11. 2026); loaded only when the store has it on.
   At the top of the screen, so it never covers the cookie bar, the WhatsApp/chat bubbles or a sticky add-to-cart bar
   at the bottom. Phone: full width under the status bar; computer: top right. */
.et-cart-toast {
  position: fixed;
  top: 12px; /* fallback for browsers without env() */
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 20px;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 12px 8px 12px 16px;
  border-radius: 8px;
  background: #2b3035;
  color: #fff;
  font: 600 15px/1.35 "Open Sans", Arial, sans-serif;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.et-cart-toast.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s ease, transform .2s ease;
}

.et-cart-toast__text::before {
  content: "\2713";
  margin-right: 8px;
  color: #7ed99a;
}

.et-cart-toast__link,
.et-cart-toast__link:visited {
  flex: none;
  margin-left: auto;
  padding: 10px 14px;
  border-radius: 6px;
  background: #a51a17;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.et-cart-toast__link:hover,
.et-cart-toast__link:focus-visible {
  background: #8a1512;
  color: #fff;
  text-decoration: none;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.et-cart-toast__close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .et-cart-toast {
    left: 10px;
    right: 10px;
    max-width: none;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .et-cart-toast,
  .et-cart-toast.is-open {
    transition: none;
    transform: none;
  }
}

@media print {
  .et-cart-toast {
    display: none !important;
  }
}
