/* Cart Notification Styles */
.cart-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  animation: slideIn 0.3s ease-out;
}

.cart-notification-content {
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-weight: 500;
}

.cart-notification.success .cart-notification-content {
  background-color: #4caf50;
  color: white;
}

.cart-notification.error .cart-notification-content {
  background-color: #f44336;
  color: white;
}

/* Cart Count Styles */
.cart-count,
.cart-count-bubble {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 12px;
  line-height: 1;
  border-radius: 10px;
  background-color: #ff0000;
  color: white;
  position: absolute;
  top: -8px;
  right: -8px;
  font-weight: bold;
}

.cart-count span,
.cart-count-bubble span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Add to Cart Button Styles */
.add-to-cart-btn {
  background: #ffffff;
  color: #000000;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .add-to-cart-btn {
    padding: 12px 12px !important;
    font-size: 15px !important;
  }
}

@media screen and (max-width: 767.98px) {
  .modal .add-to-cart-btn {
    flex: 1;
    padding: 10px !important;
    font-size: 14px !important;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: #ffffff;
    color: #000000;
  }
}

/* Cart Animation */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
