/* Cart Navbar Button */
.cart-toggle-btn {
  background: transparent;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  transition: background 0.3s ease;
  position: relative;
}

.cart-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cart-icon-wrapper {
  position: relative;
  font-size: 1.2rem;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
}

.cart-price-wrapper {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Cart Popup Widget */
.cart-widget {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 1050;
}

.cart-info-content {
  background: white;
  width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.cart-info-header {
  background: linear-gradient(135deg, #7D3131 0%, #a04141 100%);
  color: white;
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-info-header h5 {
  font-family: "Fjalla One", serif;
  font-size: 18px;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cart-info-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
}

.cart-info-close:hover {
  transform: rotate(90deg);
}

.cart-info-body {
  padding: 15px;
  max-height: 350px;
  overflow-y: auto;
  font-family: "Caveat Brush", serif;
  font-size: 1.1rem;
}

#cartEmptyState h6 {
  font-family: "Fjalla One", serif;
  font-size: 1.3rem;
}

.cart-info-footer {
  padding: 15px;
  background: #f8f9fa;
  border-top: 1px solid rgba(0,0,0,0.05);
}

#checkoutBtn {
  background-color: #7D3131;
  border-color: #7D3131;
  font-family: "Fjalla One", serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}
#checkoutBtn:hover {
  background-color: #a04141;
  border-color: #a04141;
  color: white;
}

/* Add/Remove Buttons in Dishes */
.dish-quantity-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 5px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.cart-dropdown-controls {
  position: relative !important;
  bottom: auto !important;
  right: auto !important;
  box-shadow: none !important;
  background: white;
  border: 1px solid #dee2e6;
  margin: 0;
  transform: scale(0.9);
}

.dish-quantity-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: #7D3131;
  color: white;
  transition: transform 0.2s ease, background-color 0.2s ease;
  font-weight: bold;
}

.dish-quantity-controls button:hover:not([disabled]) {
  background-color: #a04141;
  transform: scale(1.1);
}

.dish-quantity-controls button[disabled] {
  background-color: #cccccc;
  cursor: not-allowed;
  transform: none;
}

.quantity-counter {
  font-weight: bold;
  min-width: 20px;
  text-align: center;
  color: #1A1A1A;
}

.btn-maroon {
    background-color: #7D3131;
    color: white;
    border: 1px solid #7D3131;
    font-family: "Fjalla One", serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-maroon:hover {
    background-color: #a04141;
    border-color: #a04141;
    color: white;
}
.btn-outline-maroon {
    background-color: transparent;
    color: #7D3131;
    border: 1px solid #7D3131;
    font-family: "Fjalla One", serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-outline-maroon:hover {
    background-color: #7D3131;
    color: white;
}
