body {
  font-family: 'Assistant', sans-serif;
}

.cart-page {
  display: flex;
  gap: 40px;
  padding: 10px 60px;
  background: #f5f5f6;
  margin-top: 10px;
  align-items: flex-start;
}

.cart-left {
  flex: 2;
   display: flex;
  flex-direction: column;
}

.cart-right {
  flex: 1;
  position: sticky;
  top: 100px;
}

/* ITEM */
.cart-item {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid #eaeaec;
  transition: 0.2s;
  align-items: center;
}

.cart-item:first-child {
  min-height: 180px; /* adjust visually */
}

.cart-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


.cart-img img {
  width: 110px;
  border-radius: 6px;
}

.cart-item-header {
  background: #fff;
  padding: 14px 16px;
  border: 1px solid #eaeaec;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 600;
}

.cart-title {
  font-size: 15px;
  font-weight: 600;
  color: #282c3f;
}

.cart-meta {
  font-size: 13px;
  color: #535766;
  margin: 6px 0;
}

.cart-price {
  margin-top: 6px;
  font-size: 15px;
}

.cart-price strong {
  font-weight: 700;
}

.cart-price .mrp {
  text-decoration: line-through;
  color: #94969f;
  margin-left: 8px;
}

.cart-price .off {
  color: #ff905a;
  margin-left: 8px;
  font-weight: 600;
}

.cart-actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-actions button {
  border: none;
  background: none;
  color: #94969f;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
}

.cart-actions .divider {
  width: 1px;
  height: 14px;
  background: #d4d5d9;
}

.cart-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cart-img {
  cursor: pointer;
}

.coupon-box {
  background: #fff;
  border: 1px solid #eaeaec;
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 16px;
 
}

.coupon-box .title {
  font-weight: 600;
  font-size: 14px;
}

.coupon-box button {
  float: right;
  border: 1px solid #ff3f6c;
  color: #ff3f6c;
  background: #fff;
  padding: 6px 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
}

.donation {
  background: #fff;
  border: 1px solid #eaeaec;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.donation-btns button {
  border: 1px solid #d4d5d9;
  background: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  margin-right: 8px;
  cursor: pointer;
}

.donation-btns button:hover {
  border-color: #ff3f6c;
  color: #ff3f6c;
}



.price-box {
  background: #fff;
  border: 1px solid #eaeaec;
  padding: 20px;
  border-radius: 8px;
}

.price-box h4 {
  font-size: 14px;
  color: #535766;
  margin-bottom: 10px;
}

.price-box .row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}

.price-box .green {
  color: #03a685;
}

.price-box .total {
  font-weight: 700;
  font-size: 16px;
}

.place-order {
  width: 100%;
  padding: 14px;
  background: #ff3f6c;
  color: white;
  border: none;
  margin-top: 15px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.place-order:hover {
  background: #e7335c;
}

.cart-wrapper {
  text-decoration: none;
  color: inherit;
}

.out-stock {
  color: red;
  font-size: 13px;
  margin-top: 5px;
}

.cart-item:hover {
  transform: translateY(-2px);
}

select {
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid #d4d5d9;
}

.cart-content {
  display: flex;
  gap: 16px;
  flex: 1;
}
.cart-check {
  margin-left: auto; /* 🔥 force right alignment */
}

.item-check {
  margin-left: 10px;
  transform: scale(1.2);
  accent-color: #ff3f6c;
  cursor: pointer;
}

.cart-section {
  margin-bottom: 20px;
}

.section-header {
  padding: 12px 16px;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
}

/* 🔥 TRIAL STYLE */
.section-header.trial {
  background: #fff3e0;
  color: #ff9800;
  border: 1px solid #ffe0b2;
}

/* 🔥 BUY STYLE */
.section-header.buy {
  background: #e8f5e9;
  color: #03a685;
  border: 1px solid #c8e6c9;
}

.trial-note {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.address-box {
  background: #fff7f7;
  border: 1px solid #ffd6de;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 16px;
  min-height: 90px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.addr-line {
  font-size: 14px;
  color: #282c3f;
  font-weight: 600;
}

.addr-sub {
  font-size: 13px;
  color: #535766;
  margin-top: 6px;
}

.address-box button {
  margin-top: 12px;
  align-self: flex-end;
  border: 1px solid #ff3f6c;
  color: #ff3f6c;
  background: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.trial-box select {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #fff;
  width: 420px;
  padding: 20px;
  border-radius: 12px;
}

.modal-header {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.address-list {
  margin-top: 10px;
}

.address-item {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid #eaeaec;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.address-item input {
  accent-color: #ff3f6c;
  margin-top: 5px;
}
.address-item:hover {
  border-color: #ff3f6c;
  background: #fff5f7;
}



.address-item strong {
  font-size: 14px;
}

.add-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.add-form input {
  padding: 10px;
  border: 1px solid #d4d5d9;
  border-radius: 6px;
  font-size: 14px;
}

.add-form input:focus {
  border-color: #ff3f6c;
  outline: none;
}

.add-form .full {
  grid-column: span 2;
}


.save-btn:hover {
  background: #e7335c;
}

.add-new-btn {
  width: 100%;
  padding: 10px;
  border: 1px dashed #ff3f6c;
  color: #ff3f6c;
  background: #fff;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 480px) {
  .cart-page {
   display: flex;
  gap: 30px;
  padding: 20px 20px;
  }
}

/* CARD */
.address-card {
  display: flex;
  gap: 12px;
  border: 1px solid #eaeaec;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fff;
  transition: 0.2s;
}

.address-card:hover {
  border-color: #ff3f6c;
  background: #fff7f9;
}

.address-card input {
  margin-top: 6px;
  accent-color: #ff3f6c;
}

/* TOP ROW */
.addr-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.name {
  font-weight: 700;
  font-size: 14px;
}

/*.default-tag {
  font-size: 12px;
  color: #999;
  margin-left: 6px;
}*/

/* ADDRESS TYPE BADGE */
.addr-type {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #03a685;
  color: #03a685;
  font-weight: 600;
}

/* TEXT */
.addr-text {
  font-size: 13px;
  color: #535766;
  margin-top: 6px;
  line-height: 1.4;
}

.addr-mobile {
  font-size: 13px;
  margin-top: 6px;
}

/* ACTION BUTTONS */
.addr-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.deliver-btn {
  background: #ff3f6c;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.deliver-btn.light {
  background: #fff;
  color: #282c3f;
  border: 1px solid #ccc;
}

.edit-btn {
  border: 1px solid #ccc;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.delete-btn {
  border: 1px solid #ccc;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* ADD BUTTON */
.add-address-btn {
  width: 100%;
  padding: 12px;
  border: 2px dashed #ff3f6c;
  background: #fff;
  color: #ff3f6c;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 10px;
  cursor: pointer;
}

.addr-type-select {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.type-btn {
  padding: 6px 12px;
  border: 1px solid #d4d5d9;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
}

.type-btn.active {
  border-color: #ff3f6c;
  color: #ff3f6c;
  font-weight: 600;
}

.modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.cancel-btn {
  flex: 1;
  padding: 14px;
  background: #fff;
  border: 1px solid #d4d5d9;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.cancel-btn:hover {
  background: #f5f5f6;
}

.save-btn {
  flex: 2;
  padding: 14px;
  background: #ff3f6c;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.save-btn:hover {
  background: #e7335c;
}

.cart-section {
  margin-bottom: 20px;
}

.cart-section h3 {
  font-size: 15px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 6px;
}

.cart-section p {
  font-size: 12px;
  margin: 5px 12px 10px;
  color: #666;
}

/* COLORS */
.cart-section.trial h3 {
  background: #fff3e0;
  color: #ff9800;
}

.cart-section.rent h3 {
  background: #e3f2fd;
  color: #1976d2;
}

.cart-section.buy h3 {
  background: #e8f5e9;
  color: #388e3c;
}

.rent-note {
  display: block;
  font-size: 12px;
  color: #535766;
  margin-top: 4px;
}

.deposit-line {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 12px;            /* 🔽 smaller text */
  color: #03a685;             /* 🟢 green */
  margin-top: 6px;

  font-weight: 500;
}

.deposit-line span {
  font-weight: 600;
}

.store-box {
  background: #fff;
  border: 1px solid #eaeaec;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.store-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.store-item input[type="radio"] {
  margin-top: 5px;
  accent-color: #ff3f6c;
}

.store-info {
  font-size: 13px;
  color: #282c3f;
}

.store-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.store-name {
  font-weight: 600;
}

.store-address {
  color: #535766;
  line-height: 1.4;
  margin-top: 2px;
}


/* ===== FORCE FIX CHECKOUT STEPS ===== */

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px auto 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}

/* REMOVE ANY OLD DASHES */
.checkout-steps .divider,
.checkout-steps span {
  display: none !important;
}

/* CLEAN LINE */
.checkout-steps .step-line {
  width: 140px;
  height: 1px;
  border-top: 1px dashed #c2c2c2;
}

/* TEXT */
.checkout-steps a {
  text-decoration: none;
  color: #7e818c;
}

.checkout-steps a.active {
  color: #20bd99;
  border-bottom: 2px solid #20bd99;
  padding-bottom: 3px;
}

.checkout-steps-wrapper {
  margin-top: 90px;   /* just below header */
  margin-bottom: 5px; /* tight spacing */
}

.checkout-steps-wrapper {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .cart-page {
    flex-direction: column;
    gap: 15px;
  }

  .cart-left,
  .cart-right {
    width: 100%;
  }

.cart-item {
    gap: 12px;
    position: relative;
    border-radius: 12px;
    display: flex;
    flex-direction: row;   /* 🔥 horizontal layout */
    align-items: flex-start;
  }

  .cart-img {
      width: 90px;
    min-width: 90px;
  }

  .cart-img img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
  }

  .cart-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .cart-check {
    position: absolute;
    top: 10px;
    right: 10px;
  }

.cart-meta {
      margin: 0;
    font-size: 12px;
    line-height: 1.2;
  }

  /* QTY */
  .cart-meta select {
    margin-top: 4px;
    padding: 4px;
  }

  .cart-price {
    margin: 2px 0;
    font-size: 14px;
  }

.cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
  }

  .cart-actions button {
    font-size: 11px;
    padding: 6px 2px;
  }

 .divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: #ccc;
    align-self: center;
  }

.cart-right {
    position: static;
    bottom: 0;
    background: #fff;
    padding-bottom: 10px;
  }

  .price-box {
    border-radius: 12px;
    margin-bottom: 80px
  }

  .place-order {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    padding: 16px;
    font-size: 16px;
    z-index: 1000;
     background: #03a685;
  color: #fff;
  font-weight: 600;
  }

 .coupon-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
   }

  .address-box,
  .trial-box {
    padding: 12px;
  }

  .coupon-box button {
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
  }

 .cart-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
.cart-title {
     margin: 0;
    font-size: 14px;
    line-height: 1.2;
}

}


.processing-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.processing-box {
  background: #fff;
  padding: 25px 35px;
  border-radius: 10px;
  text-align: center;
}

.loader {
  border: 4px solid #eee;
  border-top: 4px solid #ff3f6c;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-modal-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  animation: popIn 0.25s ease;
}

.modal-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.modal-text {
  font-size: 15px;
  margin-bottom: 15px;
  color: #333;
}

.custom-modal-box button {
  background: #ff3f6c;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.fixed-slot-box{
  margin-top: 10px;
  padding: 12px;
  background: #f3f3f3;
  border-radius: 8px;
  font-weight: 600;
  color: #333;
  text-align: center;
  border: 1px solid #ddd;
}