/*--------------------------------------------------------------
# Sticker-Shop
--------------------------------------------------------------*/
.st-intro {
  max-width: 760px;
  color: #555;
}

/* Handy: 1 pro Reihe, Tablet: 2, Laptop: 3, große Bildschirme: 4 */
.st-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 576px) {
  .st-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .st-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .st-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.st-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .06);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: .25s;
  animation: shop-fade .4s ease;
}

.st-card:hover,
.st-card:focus-visible {
  border-color: #ff0000;
  transform: translateY(-3px);
  outline: none;
}

.st-card-img {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.st-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.st-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px 4px;
  font-size: 14px;
  color: #555;
}

.st-card-body span {
  white-space: nowrap;
}

.st-card-body strong {
  font-family: "Poppins", sans-serif;
  color: #151515;
}

.st-card-cta {
  padding: 4px 14px 12px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ff0000;
}

.st-status {
  text-align: center;
  color: #888;
  font-size: 14px;
  padding: 20px 0 0;
}

#st-sentinel {
  height: 1px;
}

/* Dialog */
.st-modal-img {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  aspect-ratio: 1 / 1;
}

.st-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

#st-modal label,
#st-cart label {
  font-size: 14px;
  font-weight: 600;
}

#st-cart .form-check-label,
.st-delivery label {
  font-weight: 400;
}

.st-qty {
  display: flex;
  max-width: 180px;
}

.st-qty input {
  text-align: center;
  border-radius: 0;
}

.st-qty-btn {
  width: 42px;
  border: 1px solid #ced4da;
  background: #f6f6f6;
  font-size: 18px;
  cursor: pointer;
}

.st-qty-btn:first-child {
  border-radius: 4px 0 0 4px;
}

.st-qty-btn:last-child {
  border-radius: 0 4px 4px 0;
}

.st-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px;
  background: #f6f6f6;
  border-radius: 6px;
  color: #555;
}

.st-price strong {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  color: #151515;
}

/* Warenkorb */
.st-cart-btn {
  position: fixed;
  right: 15px;
  bottom: 65px;
  z-index: 996; /* unter Header und Dialogen */
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 24px;
  padding: 10px 16px;
  background: #ff0000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
  cursor: pointer;
}

.st-cart-btn[hidden] {
  display: none;
}

.st-cart-btn i {
  font-size: 22px;
}

.st-cart-btn.bump {
  animation: st-bump .4s ease;
}

@keyframes st-bump {
  50% { transform: scale(1.15); }
}

.st-line {
  display: grid;
  grid-template-columns: 56px 1fr 70px 80px 32px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.st-line img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 4px;
}

.st-line-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.st-line-info small {
  color: #777;
}

.st-line-qty {
  padding: 4px 6px;
  text-align: center;
}

.st-line-sum {
  text-align: right;
  font-size: 14px;
}

.st-line-del {
  border: 0;
  background: none;
  color: #c00;
  font-size: 18px;
  cursor: pointer;
}

.st-empty {
  color: #777;
}

.st-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0 4px;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
}

.st-total strong {
  font-size: 22px;
}

.st-hint {
  font-size: 13px;
  color: #777;
}

.st-form-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin: 20px 0 12px;
}

.st-delivery {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.st-delivery label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.st-done {
  text-align: center;
  padding: 20px 0;
}

.st-done i {
  font-size: 64px;
  color: #18a54a;
}

@media (max-width: 575px) {
  .st-line {
    grid-template-columns: 48px 1fr 60px 28px;
    grid-template-areas: "img info qty del" "img info sum del";
  }

  .st-line img { grid-area: img; width: 48px; height: 48px; }
  .st-line-info { grid-area: info; }
  .st-line-qty { grid-area: qty; }
  .st-line-sum { grid-area: sum; }
  .st-line-del { grid-area: del; }
}
