body{
  margin: 0;
  padding: 0;
  margin-top: 4vh;
}

.back-btn{
  border: none;
  font-size: 2.8vh;
  margin-left: 7vw;
  background-color: #fff;
  font-family: "ADLaM Display", system-ui, sans-serif;
  letter-spacing: 2px;
  color: #1d4375;
  
}

.cart-p {
  font-size: 3vh;
  font-family: "Alice", serif;
  width: 70vw;
  padding: 0 15vw ;
  margin-top: 5vh;
  text-align: center;
}

#cart-p2 {
  font-size: 3vh;
  font-family: "Alice", serif;
  
}

#cart-a {
  text-decoration: none;
  font-size: 2.5vh;
  background-color: #192f49;
  color: #fff;
  padding: 1vh 2.5vh;
  border-radius: 10px;
  display: inline-block;
  font-family: "Alice", serif;
  margin-top: 4vh;
  background: linear-gradient(135deg, #192f49, #2c4d75);
  
}

#cart-a2 {
  text-decoration: none;
  font-size: 2.5vh;
  background-color: #192f49;
  color: #fff;
  font-family: "Alice", serif;
  padding: 1vh 2.5vh;
  border-radius: 10px;
  display: inline-block;
  margin-top: 4vh;
  background: linear-gradient(135deg, #192f49, #2c4d75);
  
}

#btn-container2{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 10vw;
}

#cart-img {
  width: 60vw;
  margin-left: 20vw;
}

#cart-a3 {
  text-decoration: none;
  font-size: 2.5vh;
  background-color: #192f49;
  color: #fff;
  padding: 1vh 2.5vh;
  border-radius: 10px;
  display: inline-block;
  font-family: "Alice", serif;
  margin-top: 3vh;
  background: linear-gradient(135deg, #192f49, #2c4d75);
  margin-left: 32vw;
}

 /* with item  */

.cart-count{
  font-size: 2.2vh;
  padding-left: 7vw;
  font-family: "Inika", serif;
  letter-spacing: 1px;
  margin-top: 4px;
  border-bottom: 1px solid #40404096;
  width: 88vw;
  margin-left: 2.5vw;
  padding-bottom: 5px;
}

#cart-card-section{
  margin-top: 1vh;
   padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  
}

#cart-card {
  width: 95vw;
  border: 0.3px solid rgba(0, 0, 0, 0.225);
  border-radius: 14px;
  position: relative;
  display: flex;
  gap:2vw;
  
}

.cart-card-image{
   flex: 0 0 36vw;             /* fixed width column */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #f6f6f6;
  width: 25vw;
  border-bottom-left-radius: 14px;
  border-top-left-radius: 14px;
  gap: 3vh;
}

#cardImg{
   width: 34vw;
  height: auto;
  object-fit: contain;
}



#cart-anchor{
  position:absolute ;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
}

.cart-card-discount {
  display: flex;
  gap: 20px;
  margin-top: 5px;
}

.cart-card-data {
  flex: 1;                    /* take remaining space */
  display: flex;
  flex-direction: column;     /* stack children vertically */
  justify-content: space-evenly;
  gap:0.7vh;   
  
             
}
.cart-card-name {
  color: #323a40;
  font-size: 5vw;
  font-family: 'Arsenal', sans-serif;
  font-weight: bold;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  overflow: hidden;
  line-clamp: 2;
  text-overflow: ellipsis;
  line-height: 1.2em;
  max-height: 2.4em;
  word-break: break-word;
  margin-top: 8px;
}

.cart-mobile-condition {
  font-size: 3.5vw;
  color: #3a3a3a;
  font-family: "Alice", serif;
}

.cart-mobile-discount {
  text-align: center;
  font-size: 4.5vw;
  color: #d32f2f;
  font-weight: bold;
  font-family: "Alice", serif;
}

.cart-mobile-mrp {
  text-decoration: line-through;
  color: #454545ca;
  font-size: 4.5vw;
  font-family: "Alice", serif;
  letter-spacing: 1px;
}

.cart-final-price {
  color: #192f49;
  letter-spacing: 2px;
  font-family: "Alice", serif;
  font-size: 6.0vw;
  font-weight: bold;
  
}

.cart-card-delivery {
  font-family: "Alice", serif;
  font-size: 2vh;
  display: flex;
}



.cart-remove {
  display: inline-block;
  margin-bottom: 1.5vh;
  font-size: 2vh;
  color: #fff;
  text-decoration: none;
  font-family: "Alice", serif;
  width: 40vw;
  margin-top: 5px;
  height: 2.3vh;
  padding: 0.5vh;
  z-index: 25;
  margin-left: 5vw;
  text-align: center;
  background: linear-gradient(135deg, #d32f2f, #f57c00);
  border-radius: 14px;
  letter-spacing: 1px;
  position: relative;
  z-index: 59;
}

/* Rating stars */
.cart-mobile-rating {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
}

.cart-star-wrapper {
  position: relative;
  display: inline-block;
  font-size: 1.3vh;
  line-height: 1;
}

.cart-stars-empty {
  color: #ddd;
  display: block;
  white-space: nowrap;
}

.cart-stars-filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  color: #f5c518;
  pointer-events: none;
}

.cart-stars-empty i,
.cart-stars-filled i {
  margin-right: 2px;
  font-size: inherit;
}

.cart-rating-number {
  font-size: 1.6vh;
  color: #192f49c5;
  margin-left: 5px;
  font-family: "Alice", serif;
}

.cart-qty{
  
  position: relative;
  bottom: 20px;
  background-color: #f6f6f6;
  border-bottom-left-radius: 14px;
}

.qty-minus{
  width: 20px;
  height: 20px;
  border-radius: 5px;
  margin-right: 15px;
  background-color: #323a40;
  color: #f5f7f8;
  font-weight: 700;
  font-size: 14px;
 

}

.qty-plus{
width: 20px;
  height: 20px;
  border-radius: 5px;
  margin-left: 15px;
  background-color: #323a40;
  color: #f5f7f8;
  font-weight: 700;
  font-size: 14px;
}

.qty-count{
  color: #323a40;
  font-size: 17px;
}

#login-image{
width: 70vw;
margin-left: 15vw;
}

#cart-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f5f7f9;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: row;   /* ✅ row layout */
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 70;
  height: 7vh;
}

.cart-summary-left {
  flex: 1;
  padding: 1vh 2vw;
  font-family: "Alice", serif;
  text-align: center;
}

.cart-summary-left .cart-total {
  font-size: 2.9vh;
  font-weight: bold;
  color: #192f49;
}

.cart-summary-left .cart-mrp {
  font-size: 2.2vh;
  color: #555;
  text-decoration: line-through;
}

.cart-summary-right {
  flex: 1;
  padding: 1vh 2vw;
  display: flex;
  justify-content: flex-end;
}

.cart-summary-right button {
  width: 100%;
  padding: 1.2vh;
  font-size: 2vh;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #192f49, #2c4d75);
  color: #fff;
  font-family: "Alice", serif;
  cursor: pointer;
}

#cart-address-bar {
  display: flex;
  align-items: center;
  margin-left:3vw ;
  padding-top: 1vh;
  background: linear-gradient(135deg, #f2e8dc, #e8dbc9, #d6bfa3);
  padding-bottom: 1vh;
  width: 88vw;
  padding-left: 3vw;
  padding-right: 3vw;
  margin-top: 2vh;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  gap: 1rem;
}

.cart-address-icon {
  font-size: 3vh;
  color: #3E2723;
}

.cart-address-details {
  flex: 1;
  font-size: 0.95rem;
  color: #3E2723;
  line-height: 1.4;
}

.cart-address-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "Alice", serif;
}

.cart-address-line {
  font-size: 0.9rem;
  color: #555;
  font-family: "Alice", serif;
}

.cart-address-action {
  display: flex;
  align-items: center;
}

.change-address-btn {
  background: #3E2723;
  border: 1px solid #3E2723;
  padding: 0.4rem 0.8rem;
  font-family: "Alice", serif;
  border-radius: 24px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  letter-spacing: 1px;
}

.price-summary {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2vw;
  margin: 20px 0;
  width: 91vw;
  margin-left: 2.5vw;
}

.price-summary h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  font-family: "Alice", serif;
  letter-spacing: 1px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 16px;
  color: #444;
  font-family: "Alice", serif;
}

.price-row.total {
  font-weight: 700;
  font-size: 18px;
  font-family: "Alice", serif;
  letter-spacing: 1px;
  color: #111;
}

.price-summary hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 12px 0;
  font-family: "Alice", serif;
}

#green{
  color: #2c6c1c;
}