/* cart-cta-section css starts here */
.cart-cta-section {
  background-image: url(/staticfiles/images/cart-cta-section-background.webp);
}
.cart-cta-section .cta-section-content h2 {
  font-weight: 800;
  font-size: 3rem;
  line-height: 3.3rem;
  color: #ffdd6e;
}
.cart-cta-section .cta-section-content p {
  color: #ffffff;
}
/* cart-cta-section css ends here */

/* cart-section css starts here*/
.cart-section {
  padding: 6rem 0;
  background: #ffffff;
}

/* cart empty state */
.empty-cart-cta-section {
  background-image: url(/staticfiles/images/empty-cart-cta-section-background.webp);
}

.empty-cart-cta-section .cta-section-content h2 {
  font-weight: 800;
  font-size: 3rem;
  line-height: 3.3rem;
  color: #86dbdc;
}
.heading-cart-section h2 {
  font-weight: 600;
  font-size: 1.645rem;
  line-height: 2.1931rem;
  letter-spacing: 0.0275rem;
  color: #0d0c0d;
  margin-bottom: 1.1rem;
}
.empty-cart-cta-section .cta-section-content p {
  color: white;
}
.cart-empty-state {
  margin: 0 auto;
  padding: 4.125rem;
  text-align: center;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 2rem;
}
.cart-empty-icon {
  margin-bottom: 1.5rem;
}
.cart-empty-icon img {
  width: 84px;
  height: 84px;
}
.cart-empty-state .cart-empty-title {
  font-size: 1.25rem;
  color: #0d0c0d;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.5rem;
  letter-spacing: 0.0063rem;
  margin-bottom: 0.5rem;
}
.cart-empty-state .cart-empty-text {
  font-size: 1rem;
  line-height: 1.4;
  color: #9c939d;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.cart-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #fe5c6b;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 2.4375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cart-empty-btn:hover {
  background: #e54d5c;
  color: #fff;
}
.cart-empty-btn img {
  width: 1.25rem;
  height: 1.25rem;
  filter: brightness(0) invert(1);
}

/* cart item forms (no extra layout) */
.cart-item .qty-form,
.cart-item .remove-form {
  display: inline;
}
.cart-item .qty-box {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cart-item .item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.625rem;
}
.item-image-placeholder {
  width: 60px;
  height: 60px;
  background: #e8e8e8;
  border-radius: 0.625rem;
}
.cart-item .item-details h5 a {
  color: inherit;
  text-decoration: none;
}
.cart-item .item-details h5 a:hover {
  color: #fe5c6b;
}
.cart-item .qty-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cart-main {
  display: flex;
  gap: 2rem;
}
.cart-card {
  width: 63%;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid #d8d8d8;
  border-radius: 2rem;
  padding: 1.5rem;
}
.cart-store {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.store-icon img {
  width: 30px;
  height: 30px;
}
.store-icon {
  border-radius: 50%;
  background: #fef5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.store-info-location {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  align-items: center;
}
.store-info h4 {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5rem;
  letter-spacing: 0.0063rem;
  color: #0d0c0d;
}
.store-info p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.375rem;
  color: #fe5c6b;
}
.store-info img {
  height: 18px;
  width: 18px;
}
.delivery-badge {
  border: 1px solid #86dbdc;
  padding: 0.75rem 1rem;
  border-radius: 2.4375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #faf8f9;
  cursor: pointer;
}
.delivery-badge p {
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: -0.0125rem;
  color: #111111;
}
.delivery-badge img {
  height: 1rem;
  width: 1rem;
}
.cart-item {
  margin-bottom: 1.5rem;
  border: 1px solid #d8d8d8;
  border-radius: 2rem;
  padding: 1.5rem;
}
.cart-item-specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.cart-item p {
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #686069;
}
.item-info {
  display: flex;
  gap: 1rem;
  align-items: center;
  width: 60%;
}
.item-image {
  width: 60px;
  height: 60px;
  background: #f3f3f3;
  border-radius: 0.625rem;
}
.item-details h5 {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.item-price {
  margin-top: 0.5rem;
  font-family: "Open Sans", sans-serif;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.old-price {
  text-decoration: line-through;
  color: #9c939d;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.new-price {
  color: #fe5c6b;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.item-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 33%;
}
.item-actions span {
  font-family: "Open Sans", sans-serif;
}
.qty-box {
  display: flex;
  align-items: center;
  border-radius: 1.3331rem;
  padding: 0.325rem;
  gap: 0.55rem;
  background-color: #f8f7f8;
}
.qty-btn {
  border-radius: 50%;
  border: none;
  background: white;
  cursor: pointer;
  padding: 0.625rem;
  height: 2.1875rem;
  width: 2.1875rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-box img {
  width: 1.0625rem;
  height: 1.0625rem;
}
.qty-btn.quantity-add-btn {
  background-color: #86dbdc;
  color: white;
}
.remove-div{
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.remove-btn {
  background: none;
  border: none;
  color: #fe5c6b;
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  line-height: 1rem;
}
.item-total {
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  font-size: 1.125rem;
  line-height: 1.5rem;
  color: #0d0c0d;
}
.summary-card {
  border-radius: 2rem;
  padding: 2rem;
  background: #fff;
  box-shadow: 0px 4px 40px 0px #0000000a;
}
.summary-card-main {
  width: 35%;
}
.summary-card h4 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5rem;
}
.summary-divider {
  width: 100%;
  height: 1px;
  background: #efefef;
  margin: 1.2rem 0;
}
.summary-row span {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.375rem;
  color: #3e3b3f;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.summary-row.summary-total span {
  font-weight: 600;
  margin-top: 1rem;
  color: #0d0c0d;
}
.summary-row.summary-total .subtotal-price {
  color: #3e3b3f;
  font-weight: 400;
}
.checkout-btn a {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 2.4375rem;
  font-size: 1rem;
  border: none;
  background: #fe5c6b;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: "Open Sans", sans-serif;
}
.checkout-btn .checkout-btn-img {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.checkout-btn img {
  height: 24px;
  width: 24px;
}
.free-delivery-box {
  margin-bottom: 1.5rem;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: #f2f2f2;
  border-radius: 0.625rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.progress-fill {
  display: block;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, #42e3d6, #66e6c9);
  border-radius: 0.625rem;
}
.free-text {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #0d0c0d;
  text-align: center;
  font-family: "Open Sans", sans-serif;
}

.product-cta-section {
  margin: unset;
}
/* cart-section css ends here*/

@media (max-width: 768px) {
  .cart-main {
    flex-direction: column;
  }
  .summary-card-main,
  .cart-card {
    width: 100%;
  }
  .summary-card {
    width: unset;
  }
  .delivery-badge {
    padding: 0.65rem 0.7rem;
    gap: 0.35rem;
  }
  .item-actions {
    flex-direction: column;
    gap: 1.8rem;
  }
  .remove-div {
    display: flex;
    gap: 0.4rem;
    flex-direction: column;
  }
  .item-details h5,
  .new-price,
  .old-price {
    font-size: 1rem;
  }
  .checkout-btn a {
    display: inline-flex;
  }
}
