/* Shop-Extras: Karten-Bewertungssterne und schwebender Kontakt-Button */

/* --- Bewertungssterne auf Produktkarten --- */

.shop-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 6px;
  line-height: 1;
}

.shop-card__stars {
  display: inline-flex;
  gap: 1px;
  font-size: 14px;
  color: #efe8d8;
}

.shop-card__stars .is-full {
  color: #d4b853;
}

.shop-card__rating-count {
  font-size: 12px;
  color: #575756;
}

/* --- Schwebender Kontakt-Button (FAB) --- */

.contact-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-fab__button {
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #d4b853;
  color: #fffdf8;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(87, 87, 86, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-fab__button:hover,
.contact-fab__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(87, 87, 86, 0.34);
}

.contact-fab__button:focus-visible {
  outline: 2px solid #575756;
  outline-offset: 2px;
}

.contact-fab__panel {
  background: #ffffff;
  border: 1px solid #efe8d8;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(87, 87, 86, 0.18);
  padding: 8px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
}

.contact-fab__panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #575756;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

.contact-fab__panel a:hover,
.contact-fab__panel a:focus-visible {
  background: #fffdf8;
  color: #d4b853;
}

.contact-fab__panel a i {
  font-size: 20px;
  color: #d4b853;
}

@media (max-width: 640px) {
  .contact-fab {
    right: 14px;
    bottom: 14px;
  }

  .contact-fab__button {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}

/* --- Filterleiste über dem Produktgrid --- */

.shop-filterbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 14px 0 12px;
  padding: 10px 14px;
  background: #fffdf8;
  border: 1px solid #efe8d8;
  border-radius: 12px;
}

.shop-filterbar__field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #575756;
}

.shop-filterbar__field input {
  width: 84px;
  padding: 6px 8px;
  border: 1px solid #efe8d8;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  color: #575756;
}

.shop-filterbar__field input:focus-visible {
  outline: 2px solid #d4b853;
  outline-offset: 1px;
  border-color: #d4b853;
}

.shop-filterbar__check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: #575756;
  cursor: pointer;
}

.shop-filterbar__check input {
  accent-color: #d4b853;
  width: 16px;
  height: 16px;
}

.shop-filterbar button[type="submit"] {
  padding: 7px 18px;
  font-size: 14px;
}

.shop-filterbar__count {
  margin-left: auto;
  font-size: 13px;
  color: #575756;
  white-space: nowrap;
}

/* --- Aktive Filter-Chips --- */

.shop-filterchips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.shop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid #efe8d8;
  border-radius: 999px;
  background: #fffdf8;
  color: #575756;
  font-size: 13px;
  text-decoration: none;
  line-height: 1.3;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.shop-chip span[aria-hidden] {
  color: #d4b853;
  font-weight: 700;
}

.shop-chip:hover,
.shop-chip:focus-visible {
  border-color: #d4b853;
  color: #d4b853;
}

.shop-chip--reset {
  background: transparent;
  border-style: dashed;
}

@media (max-width: 640px) {
  .shop-filterbar {
    padding: 10px 12px;
    gap: 10px 12px;
  }

  .shop-filterbar__count {
    margin-left: 0;
    width: 100%;
  }
}
