.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1049;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  color:#000;
}
.cart-drawer .cart-header h5 {
  margin:10px;
}
.cart-item {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 1rem;
  gap:10px;
}
.cart-item img { 
  border:1px solid #ddd;
  padding:2px;
}
.cart-item p {
  margin: 0;
  font-size:0.8em;
}
.cart-drawer.open {
  right: 0;
}
.cart-drawer .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cart-header {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-body {
  padding: 1rem;
  overflow-y: auto;
}

.cart-footer {
  padding: 1rem;
  border-top: 1px solid #ddd;
}

.cart-footer .btn {
  width: 100%;
  background-color: #353c3e;
}

#btnAddToCart {
  background-color: #353c3e;
}
#btnAddToCart:hover {
  background-color: #2c3234;
  color:#fff;
}

.qty-selector { 
  margin-top:25px;
  position:relative;
  left:-15px;
}
.qty-selector input {
  width: 50px;
  text-align: center;
  font-size: 1em;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 0px;
}
.qty-selector button {
  background-color: #353c3e;
  color: #fff;
  border: solid 1px #353c3e;
  padding: 5px 10px;
  cursor: pointer;
}

.qty-selector strong { 
  display: block;
  margin-bottom: 0.5rem;
}

#quantity-selector-root {
  display: flex;
  gap:15px;
}

.btnTrash {
  color: #000;
  font-size: 15px !important;
  width: 25px;
  text-align: right;
  padding: 20px;  
}

.item-icon {
  width:70px;
  height:70px;
  border:1px solid #ddd;
  display:flex;
  align-items: center;
}

.item-total { 
  font-weight: bold;
  font-size: 0.9em;
  margin-top:10px;
  text-align: right;
}

.cart-drawer .cart-item img { flex:0.4; }
.cart-drawer .cart-item div { flex:1.2; }
.cart-drawer .cart-item button { flex:0.1; }

.item-icon i { font-size:30px; margin:auto;}

.checkout .cart-item {
  justify-content: space-between;
}
.checkout .cart-item img,
.checkout .cart-item .item-icon {
  flex:0.5;
}
.checkout .cart-item .item-details {
  flex:1;
}
.checkout .cart-item .item-total {
  flex:0.5;
}
.checkout .cart-item { border-bottom:solid 1px #ddd; padding-bottom:10px; margin-bottom:10px;}
.checkout .cart-item:last-child { border:none; margin-bottom:0; padding-bottom:0;}