/* ================================
   MODERN CLEAN CART TABLE (STYLE C)
================================ */
.cart-wrapper {
  padding: 0;
}

.cart-table-container {
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.pdetail-rule.cart-table-container ul {
  list-style: square;
  margin-bottom: 0;
}

/* Modern Table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table thead th {
  background: #f3f6fb;
  padding: 2px;
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.cart-table tbody td {
  padding: 2px;
  vertical-align: middle;
  border-bottom: 1px solid #eaeaea;
  font-size: 15px;
}

/* Product thumbnail */
.cart-thumb img {
  width: 70px;
  max-width: 80px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

/* Quantity dropdown */
.cartQtyDropdown {
  border: 1px solid #ccc;
  padding: 6px;
  border-radius: 6px;
  width: 70px;
}

/* Delete icon */
.delete-btn {
  background: #ffe5e5;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  color: #c00;
  cursor: pointer;
}

.delete-btn:hover {
  background: #ffcdcd;
}

/* Summary box */
.summary-box {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.summary-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-row span:last-child {
  font-weight: 500;
}

.total-row {
  border-top: 1px solid #eee;
  margin-top: 15px;
  padding-top: 10px;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.checkout-btn {
  width: 100%;
  margin-top: 18px;
  padding: 12px;
  background: #007bff;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  color: #fff !important;
}

.back-link {
  margin-top: 15px;
  display: inline-block;
  text-decoration: underline;
  color: #007bff;
}

/* Full page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-content {
  text-align: center;
  font-size: 0.95rem;
  color: #374151;
}

/* Spinner */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #e14337;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto 12px;
}

.apply-btn {
  color: blue;
  cursor: pointer;
  font-weight: 600;
}

.remove-btn {
  color: red;
  cursor: pointer;
  font-weight: 600;
}

.old-postage-price {
  text-decoration: line-through;
  color: red;
  margin-right: 10px;
}

/* ================================
MODERN CLEAN CART TABLE (STYLE C)
================================ */

  /* two-up cards */
  .two-up{display:grid;grid-template-columns:0.7fr 1fr;gap:22px;}
  .panel{padding:20px 22px;}
  .panel-title{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:#222;margin-bottom:16px;}
  .panel-title svg{width:18px;height:18px;color:#1db64c;}

  /* points */
  .points-row1{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:14px;}
  .points-avail b{color:#1db64c;}
  .points-rate{color:#8a8a8a;font-size:13px;}
  .points-controls{display:flex;gap:10px;align-items:stretch;}
  .num-input{
    width:74px;border:1px solid #d4d4d4;border-radius:8px;height:40px;
    padding:0 10px;font-size:15px;color:#333;
  }
  .cart-wrapper .btn{border:none;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600;height:40px;padding:0 18px;}
  .cart-wrapper .btn-green{background:#1db64c;color:#fff;}
  .cart-wrapper .btn-red{background:red ;color:#fff;}
  .cart-wrapper .btn-green:hover{background:#159a3f;}
   .cart-wrapper .btn-red:hover{background:#FFFFFF; border:1px solid red; color:red; }
  .cart-wrapper .btn-ghost{background:#fff;border:1px solid #1db64c;color:#1db64c;}
  .points-note{color:#9a9a9a;font-size:12.5px;margin-top:12px;}

  /* coupon */
  .coupon-row{display:flex;gap:10px;margin-bottom:14px;}
  .coupon-row input{
    flex:1;height:40px;border:1px solid #d4d4d4;border-radius:8px;
    padding:0 14px;font-size:14px;color:#333;
  }
  .coupon-row input::placeholder{color:#a8a8a8;}
  .avail-toggle{color:#0072fd;font-weight:600;font-size:14px;margin-bottom:12px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;}
  .coupon-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
  .coupon-opt{
    border:1px solid #e7e7e7;border-radius:10px;padding:12px;cursor:pointer;
  }
  .coupon-head{display:flex;align-items:center;gap:8px;margin-bottom:6px;}
  .coupon-head input{accent-color:#1db64c;}
  .coupon-code{font-weight:700;font-size:13.5px;color:#222;}
  .coupon-badge{
    background:#dcfce7;color:#16a34a;font-size:11px;font-weight:700;
    padding:3px 8px;border-radius:20px;margin-left:auto;white-space:nowrap;
  }
  .coupon-desc{font-size:12.5px;color:#555;}
  .coupon-min{font-size:12px;color:#9a9a9a;margin-top:2px;}