.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #f44336;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  line-height: 1;
}

.cart-button-wrapper {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-cart {
  position: fixed;
  bottom: 140px;
  right: 20px;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 8px;
}

.floating-cart .btn {
  background-color: #ff9800;
  color: #fff;
  padding: 10px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.floating-cart .btn:hover {
  transform: scale(1.05);
}

.product-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dotted #ccc;
  align-items: start;
}

.product-row img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.product-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.product-info .small {
  margin: 4px 0;
  color: #555;
  font-size: 14px;
  white-space: normal;
  word-break: break-word;
}

.product-info .price {
  font-weight: bold;
  color: #ff9800;
  margin: 6px 0;
  font-size: 16px;
}

#installBtn {
  background-color: #f5c542;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 8px 14px;
  cursor: pointer;
  transition: transform 0.2s;
}

#installBtn:hover {
  transform: scale(1.05);
}

#toastInstall {
  visibility: hidden;
  min-width: 220px;
  background-color: #f5c542;
  color: #000;
  text-align: center;
  border-radius: 8px;
  padding: 12px 16px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s, bottom 0.5s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#toastInstall.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}
