.yarni-sticky-cart[hidden] { display: none !important; }
.yarni-sticky-cart {
  position: fixed;
  inset: auto 0 var(--yarni-sticky-keyboard, 0px);
  z-index: 101;
  background: #fff;
  border-top: 1px solid #dedede;
  box-shadow: 0 -3px 14px rgb(0 0 0 / 6%);
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
  color: #222;
  letter-spacing: 0;
}
.yarni-sticky-cart__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 132px 240px;
  align-items: center;
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
}
.yarni-sticky-cart .yarni-sticky-cart__product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.yarni-sticky-cart__image { width: 48px; height: 48px; object-fit: contain; flex: 0 0 48px; }
.yarni-sticky-cart__details { display: block; min-width: 0; }
.yarni-sticky-cart__name, .yarni-sticky-cart__variant {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1.35;
  font-size: 15px;
}
.yarni-sticky-cart__name { font-weight: 600; }
.yarni-sticky-cart__variant { font-size: 13px; color: #626262; }
.yarni-sticky-cart__variant[hidden] { display: none; }
.yarni-sticky-cart__price { font-size: 18px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.yarni-sticky-cart__quantity {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  height: 52px;
  border: 1px solid #222;
}
.yarni-sticky-cart .yarni-sticky-cart__quantity button,
.yarni-sticky-cart .yarni-sticky-cart__input {
  width: 100%;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #222;
  text-align: center;
  line-height: normal;
  font-family: inherit;
  letter-spacing: 0;
}
.yarni-sticky-cart .yarni-sticky-cart__quantity button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.yarni-sticky-cart .yarni-sticky-cart__input { font-size: 16px; }
.yarni-sticky-cart .yarni-sticky-cart__submit {
  width: 100%;
  height: 52px;
  padding: 0 12px;
  border: 1px solid #222;
  border-radius: 0;
  background: #222;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}
.yarni-sticky-cart .yarni-sticky-cart__submit:hover:not(:disabled) { background: #424242; }
.yarni-sticky-cart .yarni-sticky-cart__submit:disabled { background: #ededed; border-color: #dedede; color: #626262; cursor: default; }
.yarni-sticky-cart .yarni-sticky-cart__quantity button:disabled { color: #b0b0b0; cursor: default; }
.yarni-sticky-cart :focus-visible { outline: 2px solid #b83b65; outline-offset: 3px; }
body.yarni-has-sticky-cart { padding-bottom: var(--yarni-sticky-height, 80px); }
html.yarni-has-sticky-cart { scroll-padding-bottom: var(--yarni-sticky-height, 80px); }
body.yarni-has-sticky-cart .crisp-client [role="button"][data-maximized] { bottom: calc(var(--yarni-sticky-height, 80px) + 20px) !important; }
@media (max-width: 1023px) {
  .yarni-sticky-cart { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .yarni-sticky-cart__inner { grid-template-columns: minmax(0, 1fr) auto 124px 220px; gap: 14px; }
}
@media (max-width: 767px) {
  .yarni-sticky-cart { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .yarni-sticky-cart__inner { grid-template-columns: 128px minmax(0, 1fr); gap: 6px 10px; }
  .yarni-sticky-cart__product { grid-column: 1 / -1; grid-row: 1; padding-right: calc(var(--yarni-sticky-price-width, 95px) + 10px) !important; }
  .yarni-sticky-cart__image { display: none; }
  .yarni-sticky-cart__name { font-size: 13px; line-height: 24px; }
  .yarni-sticky-cart__variant { font-size: 13px; line-height: 24px; color: #222; }
  .yarni-sticky-cart.has-variant .yarni-sticky-cart__name { display: none; }
  .yarni-sticky-cart__price { grid-column: 2; grid-row: 1; justify-self: end; font-size: 15px; pointer-events: none; }
  .yarni-sticky-cart__quantity { height: 48px; grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .yarni-sticky-cart .yarni-sticky-cart__quantity button, .yarni-sticky-cart .yarni-sticky-cart__input { height: 46px; }
  .yarni-sticky-cart .yarni-sticky-cart__submit { height: 48px; font-size: 14px; padding: 0 6px; }
}
@media print { .yarni-sticky-cart { display: none !important; } body.yarni-has-sticky-cart { padding-bottom: 0; } }
