/* ===== General Layout ===== */
body {
  margin: 0;
  padding: 0;
  margin-top: 4vh;
  margin-bottom: 7vh;
  font-family: "Alice", serif;
}



/* ===== Empty State ===== */
.empty-state {
  text-align: center;
}

#btn-container{
  margin-bottom: 4vh;
}

#shop-now{
  margin-bottom: 4vh;
}

.empty-state h2 {
  color: #192f49;
  font-size: 3vh;
  font-family: "ADLaM Display", system-ui, sans-serif;
  letter-spacing: 1px;
}

.empty-state img {
  width: 80vw;
  margin: 3vh 0 5vh;
}

.empty-state div {
  display: flex;
  justify-content: center;
  gap: 7vw;
}

.empty-state a {
  padding: 1vh 3vw;
  background: linear-gradient(135deg, #192f49, #2c4d75);
  color: #fff;
  border-radius: 18px;
  text-decoration: none;
  font-family: "Alice", serif;
}

/* ===== Orders List ===== */
.orders-list h1 {
  text-align: center;
  color: #192f49;
  font-size: 3vh;
  font-family: "ADLaM Display", system-ui, sans-serif;
  letter-spacing: 1px;
  margin-bottom: 2vh;
}

/* ===== Parent Order Card ===== */
.order-card {
  width: 86vw;
  margin-left: 3vw;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fff;
  padding: 1vh 4vw;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.order-id {
  color: #1a2d4d;
  font-size: 0.9rem;
  margin-bottom: 1vh;
}

/* ===== Product Card inside order ===== */
.cart-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 90vw;
}

.cart-card-inner {
  display: flex;
  gap: 1rem;
  background: #f5f7f8;
  border-radius: 14px;
  padding: 0.8rem;
  position: relative;
  border-bottom-right-radius: 0px;
  border-top-right-radius: 0px;
}

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

.cart-card-image img {
  width: 28vw;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.cart-card-data {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

/* ===== Text Styles (same as store.css) ===== */
.cart-card-name {
  color: #323a40;
  font-size: 2.1vh;
  font-family: 'Arsenal', sans-serif;
  font-weight: bold;
  line-height: 1.2em;
  -webkit-line-clamp: 2;
  line-clamp: 2; 
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}

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

.cart-mobile-rating {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
}

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

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

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

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

/* ===== Price + Discount ===== */
.cart-final-price {
  color: #192f49;
  font-family: "Alice", serif;
  font-size: 6.0vw;
  font-weight: bold;
  margin-top: 4px;
}

.price-discount {
  display: flex;
  gap: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.mobileMRP {
  text-decoration: line-through;
  color: #454545ca;
  font-size: 4.5vw;
  font-family: "Alice", serif;
}

.mobileDiscount {
  font-size: 4.5vw;
  color: #d32f2f;
  font-weight: bold;
  font-family: "Alice", serif;
}

/* ===== Delivery ===== */
.cart-card-delivery {
  font-family: "Alice", serif;
  font-size: 2vh;
  color: #0e192a;
}

/* ===== Status + Actions ===== */
.order-status {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #111;
  margin-right: auto;
}

.status-label {
  text-transform: capitalize;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 12px;
  margin-left: 6px;
}

.status-label.pending { background: #fff3cd; color: #856404; }
.status-label.shipped { background: #cce5ff; color: #004085; }
.status-label.delivered { background: #d4edda; color: #155724; }
.status-label.cancelled { background: #f8d7da; color: #721c24; }

.order-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.track-btn {
    background: linear-gradient(135deg, #BABAF7, #A59CF7);
  color: #4B2E67;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-family: "Alice", serif;
  text-decoration: none;
  font-weight: 500;

  /* keep text on one line */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* layout + polish */
  max-width: 95%;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 80;
  transition: all 0.2s ease;
  margin-bottom: 1vh;
}

.cancel-btn {
  background: linear-gradient(135deg, #de2424, #d75f5f);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

#button{
  display: flex;
  
}