/* Styles extracted from views/cart.ejs */

.cart-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-item-price {
  color: #0071f8;
  font-weight: bold;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.cart-item-quantity button {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  width: 30px;
  height: 30px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-item-quantity input {
  width: 50px;
  height: 30px;
  text-align: center;
  border: 1px solid #dee2e6;
  margin: 0 5px;
}

.cart-item-remove {
  color: #dc3545;
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
}

.cart-summary {
  margin-top: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 10px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-summary-label {
  font-weight: 500;
}

.cart-summary-value {
  font-weight: 600;
}

.cart-total {
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dee2e6;
}

.cart-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.language-selector {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.language-flag {
  width: 24px;
  height: 16px;
  margin-right: 5px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.language-flag:hover, .language-flag.active {
  opacity: 1;
}

.empty-cart {
  text-align: center;
  padding: 40px 0;
}

.empty-cart i {
  font-size: 60px;
  color: #dee2e6;
  margin-bottom: 20px;
}

.btn-continue-shopping {
  margin-top: 20px;
}

/* Styles for dropdown menu (extracted from bottom of cart.ejs) */
.dropdown-menu.show {
  display: block !important;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: .5rem 0;
  margin: .125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .25rem;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: .25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:hover, .dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.btn.active {
  background-color: #0071f8;
  color: white;
}

/* Style for the main container div (extracted inline style) */
#cart-main-container {
  margin-top: 60px;
  margin-bottom: 60px;
} 