
  .cart-container {
    max-width: 1000px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
  }

  .cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
  }

  .cart-table th {
    text-align: left;
    padding: 14px 12px;
    background: #1b1b4e;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px 8px 0 0;
  }

  .cart-table td {
    padding: 16px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
  }

  .cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
  }

  .cart-item-title {
    font-weight: 600;
    color: #1b1b4e;
  }

  /* Quantity Control */
  .qty-control {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
  }

  .qty-btn {
    background: #1b1b4e;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .qty-btn:hover {
    background: #35357d;
  }

  .qty-input {
    width: 45px;
    text-align: center;
    font-size: 15px;
    border: none;
    outline: none;
  }

  /* Buttons */
  .cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }

  .cart-btn {
    background: #fff;
    border: 2px solid #1b1b4e;
    color: #1b1b4e;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .cart-btn:hover {
    background: #1b1b4e;
    color: #fff;
  }

  .update-btn {
    background: #1b1b4e;
    color: #fff;
  }

  .update-btn:hover {
    background: #35357d;
  }

  /* Coupon + Total Section */
  .cart-bottom {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
  }

  .coupon-box, .cart-total {
    flex: 1;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
  }

  .coupon-box input {
    width: 70%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
  }

  .coupon-box button {
    background: #1b1b4e;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .coupon-box button:hover {
    background: #35357d;
  }

  .cart-total h3 {
    margin-top: 0;
    color: #1b1b4e;
    font-size: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
  }

  .cart-total p {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    margin: 8px 0;
  }

  .checkout-btn {
    background: #1b1b4e;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
  }

  .checkout-btn:hover {
    background: #35357d;
  }

  /* Trash Button */
  .remove-btn {
    background: none;
    border: none;
    color: #e63946;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .remove-btn:hover {
    transform: scale(1.2);
  }


  /* ==============RESPONSIVE CODE FOR MOBILE================  */
/* ==============RESPONSIVE CODE FOR MOBILE================  */
/* ==============RESPONSIVE CODE FOR MOBILE================  */


/* ================================
   TABLET (≤ 768px)
================================ */
@media (max-width: 768px) {

  .cart-container {
    padding: 20px;
  }

  .cart-table th {
    font-size: 14px;
    padding: 12px 10px;
  }

  .cart-table td {
    padding: 12px 10px;
  }

  .cart-item img {
    width: 55px;
    height: 55px;
  }

  .qty-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .qty-input {
    width: 40px;
    font-size: 14px;
  }

  .cart-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cart-btn,
  .update-btn {
    width: 100%;
    text-align: center;
  }
}


/* ================================
   MOBILE (≤ 480px)
================================ */
@media (max-width: 480px) {

  .cart-container {
    padding: 16px;
    border-radius: 10px;
  }

  .cart-table thead {
    display: none; /* Hide table headers for mobile */
  }

  .cart-table tr {
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid #eee;
    padding-bottom: 14px;
    margin-bottom: 14px;
  }

  .cart-item {
    gap: 10px;
    align-items: flex-start;
  }

  .cart-item-title {
    font-size: 14px;
  }

  .qty-control {
    margin-top: 6px;
  }

  td:nth-child(3),
  td:nth-child(4),
  td:nth-child(5) {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 6px 0;
    font-size: 14px;
  }

  .cart-actions {
    flex-direction: column;
    gap: 12px;
  }

  .cart-btn,
  .update-btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  .cart-bottom {
    flex-direction: column;
    gap: 18px;
  }

  .coupon-box input {
    width: 100%;
    margin-bottom: 10px;
  }

  .coupon-box button {
    width: 100%;
    margin-left: 0;
  }

  .checkout-btn {
    width: 100%;
    font-size: 15px;
    padding: 12px;
  }
}


/* ================================
   VERY SMALL DEVICES (≤ 360px)
================================ */
@media (max-width: 360px) {

  .cart-item-title {
    font-size: 13px;
  }

  .qty-btn {
    width: 28px;
    height: 28px;
  }

  .qty-input {
    width: 34px;
    font-size: 13px;
  }

  .checkout-btn {
    font-size: 14px;
    padding: 10px;
  }
}
