.falling-price {
  border: 2px solid rgba(40, 167, 69, 0.4);
  background-color: #f8fcf9;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.2);
}
.auction {
  border: 2px solid rgba(108, 117, 125, 0.4);
  background-color: #f6f6f6;
  box-shadow: 0 0 5px rgba(108, 117, 125, 0.2);
}
.buy-now {
  border: 2px solid rgba(13, 202, 240, 0.4);
  background-color: #f0fbfd;
  box-shadow: 0 0 5px rgba(13, 202, 240, 0.2);
}

body {
  background-color: #f5f7fa;
  font-family: Arial, sans-serif;
}
.navbar {
  background-color: #003366;
}
.navbar-brand img {
  height: 50px;
}
.nav-link, .navbar-text {
  color: white;
}
.nav-link:hover, .navbar-text a:hover {
  text-decoration: underline;
}
.hero {
  background-color: #ffffff;
  padding: 30px 20px;
  text-align: center;
}
.hero h1 {
  color: #003366;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
}
.hero p {
  color: #333;
}
.hero .btn-primary {
  background-color: #28a745;
  border: none;
}
.product-card {
  border-radius: 8px;
  padding: 16px;
  background: white;
}
.product-card h5 {
  color: #003366;
}
.product-card .price {
  color: #28a745;
  font-weight: bold;
}
.product-card .original-price {
  text-decoration: line-through;
  color: #999;
}
.sale-badge {
  background-color: #e74c3c;
  color: white;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
}
.form-group {
  margin-bottom: 5px;
}
.error-message {
  color: red;
  font-size: 0.8em;
  margin-top: 4px;
}

.image-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.image-dots .dot {
  font-size: 1.25rem;
  user-select: none;
}
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.icon-actions i.fa-undo {
  color: #17a2b8; /* Bootstrap info blue */
}
body.checkout-page .nav-item {
	display: none;
}
.cart-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #198754;
  color: white;
  padding: 14px 16px;
  border-radius: 50%;
  z-index: 1050;
  font-size: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.cart-float-btn .badge {
  font-size: 12px;
  padding: 4px 6px;
}

.image-label.static-label {
	width: 300px; /* Match image container width */
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 6px 12px;
	font-size: 0.85rem;
	font-weight: 500;
	text-align: center;
	border-radius: 4px;
}

/* Force Bootstrap tab buttons to always have dark text and visible border */
.nav-tabs .nav-link {
  color: #000 !important;           /* dark text for inactive tabs */
  border: 1px solid #dee2e6 !important; /* light gray border */
  background-color: #f8f9fa !important; /* light background */
}

.nav-tabs .nav-link.active {
  color: #000 !important;
  background-color: #fff !important;
  border-color: #dee2e6 #dee2e6 #fff !important; /* keep active tab connected to content */
}

.listing-type-icon {
  position: absolute;
  top: 8px;
  left: 10px;        /* still upper-left */
  z-index: 3;
  color: #6c757d;    /* Bootstrap “text-muted” gray, same as your other icons */
  font-size: 16px;   /* match .fa-heart etc. */
  background: none;  /* remove background circle */
  padding: 0;        /* no extra padding */
}
.listing-type-icon.muted {
  color: #adb5bd;    /* slightly lighter if ended */
}
