.cart-table-section .cart-box {
  border-radius: 10px;
  box-shadow: 0px 0px 6px #00000029;
  border-radius: 8px;
}

.cart-table-section .cart-box .clear {
  font-size: 14px;
  color: #777;
  cursor: pointer;
}

.cart-table-section .cart-box .table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 20px;
  color: #09558f;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
}

.cart-table-section .cart-box .table-head span:first-child {
  text-align: start;
  margin-left: 35px;
}

.cart-table-section .cart-box .border-wraper {
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
  padding: 10px 20px;
}

.cart-table-section .cart-box .table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 10px 0;
  text-align: center;
}

.cart-table-section .cart-box .table-row .product {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
}

.cart-table-section .img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  aspect-ratio: 1/1;
  background: #f3f3f3;
}

.cart-table-section .cart-box .table-row .product .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-table-section .cart-box .table-row .product .name {
  font-size: 15px;
  color: #000000;
  font-weight: 600;
  width: 80%;
  margin: 0 0 5px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-table-section .cart-box .table-row .product .size {
  font-size: 12px;
  color: #000000;
  margin: 0;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-table-section .remove {
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 50%;
  border: 1px solid #6e6e6e;
  color: #6e6e6e;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.cart-table-section .cart-box .table-row .price span {
  text-decoration: line-through;
  font-size: 12px;
  color: #808080;
}

.cart-table-section .cart-box .table-row .qty-wrapper {
  display: flex;
  justify-content: center;
}

.cart-table-section .cart-box .table-row .subtotal {
  color: #000000;
  font-size: 15px;
  font-weight: 600;
}

.cart-table-section .cart-box .coupon {
  display: flex;
  gap: 10px;
  padding: 20px;
}

.cart-table-section .cart-box .coupon .form-control {
  height: 40px;
  border-radius: 4px;
  font-size: 14px;
  color: #6e6e6e;
  background: #f5f5f5;
  border: 1px solid #c4c4c4;
  box-shadow: none;
  transition: all 0.2s ease;
}

.cart-table-section .cart-box .coupon .form-control:focus {
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.15);
}

.cart-table-section .cart-box .coupon button {
  background: #a3c526;
  border: none;
  color: #fff;
  padding: 8px 18px;
  white-space: nowrap;
  border-radius: 20px;
  margin: 0;
}

.cart-table-section .cart-box .Green_round_btn:hover {
  background: #a3c526 !important;
}

.cart-table-section .bottom-btn {
  margin-top: 30px;
}

@media (min-width: 0px) and (max-width: 1199px) {
  .cart-table-section .cart-box .table-row .product .name {
    width: 100%;
    font-size: 14px;
  }

  .cart-table-section .cart-box .table-row .product {
    gap: 10px;
  }

  .cart-table-section .cart-box .border-wraper {
    padding: 10px 15px;
  }

  .cart-table-section .cart-box .table-head {
    padding: 15px;
    font-size: 17px;
  }

  .cart-table-section .cart-box .coupon {
    padding: 15px;
  }
}

@media (min-width: 0px) and (max-width: 991.98px) {
  .cart-table-section {
    margin-bottom: 20px;
  }

  .cart-table-section .bottom-btn {
    display: none;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .cart-table-section .cart-box .coupon button {
    padding: 6px 18px;
  }

  .cart-table-section .cart-box .coupon .form-control {
    height: 35px;
  }
}

/*----------------------mobile view--------------------*/
.cart-table-section .mobile-cart-box {
  display: none;
}

/* MOBILE VIEW */
@media (min-width: 0px) and (max-width: 767px) {
  .cart-table-section .desktop-view {
    display: none;
  }

  .cart-table-section .mobile-cart-box {
    display: block;
  }

  .cart-table-section .mobile-card {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
  }

  .cart-table-section .mobile-card:first-child {
    border-top: 1px solid #eee;
  }

  .cart-table-section .mobile-card .top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .cart-table-section .mobile-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .cart-table-section .mobile-card .details {
    flex: 1;
  }

  .cart-table-section .mobile-card .details .name {
    font-size: 15px;
    margin: 0 0 4px;
    font-weight: 600;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cart-table-section .mobile-card .details .size {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cart-table-section .mobile-card .price {
    font-size: 15px;
    font-weight: 600;
  }

  .cart-table-section .mobile-card .price span {
    text-decoration: line-through;
    font-size: 12px;
    color: #888;
  }

  .cart-table-section .mobile-card .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }

  .cart-table-section .mobile-card .qty {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cart-table-section .mobile-card .subtotal {
    font-weight: 600;
    font-size: 17px;
  }

  .cart-table-section .qty-common .qty {
    padding: 2px 7px;
    gap: 3px;
    font-size: 14px;
  }

  .cart-table-section .qty-common .qty button {
    font-size: 13px;
  }

  .cart-table-section .img-wrapper {
    width: 90px;
    height: 90px;
  }

  .cart-table-section .wrapper-div {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 20px;
  }
}

@media (min-width: 0px) and (max-width: 575.98px) {
  .cart-table-section .mobile-card .details .name {
    font-size: 14px;
  }

  .cart-table-section .qty-common .qty {
    padding: 1px 4px;
    gap: 2px;
    font-size: 13px;
  }

  .cart-table-section .mobile-card .details .size {
    font-size: 12px;
  }

  .cart-table-section .mobile-card .subtotal {
    font-size: 15px;
  }
}