@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@600&display=swap');


body {
  font-family: "SN Pro", sans-serif;
  font-optical-sizing: auto;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}


.cart-section {
  padding: 40px 0 60px;
  background: #f4f4f445;
  min-height: 60vh;
}

.cart-empty {
  text-align: center;
  padding: 80px 0;
  color: #888;
}

.cart-empty i {
  font-size: 4rem;
  color: #ccc;
  display: block;
  margin-bottom: 16px;
}

.cart-empty h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
}

.cart-empty p {
  font-size: 0.95rem;
}

.cart-empty a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.cart-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
}

.btn-clear-cart {
  background: #f6dede;
  border: none;
  color: #c30e0e;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s, color 0.18s;
  font-weight: bold;
}

.ser-cart-img {
  border-radius: 8px;
}

.btn-clear-cart:hover {
  background: #e74c3c;
  color: #fff;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.cart-item-img {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f5;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.cart-item-cat {
  font-size: 0.82rem;
  color: #888;
  margin: 0 0 6px;
}

.cart-item-save {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #00A412;
  padding: 2px 8px;
  border-radius: 20px;
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 90px;
}

.cart-price-now {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'DM Sans', sans-serif;
}

.cart-price-was {
  font-size: 0.82rem;
  color: #aaa;
  text-decoration: line-through;
}

.btn-remove-item {
  background: #e51313;
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  font-size: 1.0rem;
  font-weight: bolder;
}

.btn-remove-item:hover {
  border-color: #e74c3c;
  color: #e74c3c;
  background: #fff0ef;
}

.cart-summary {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 24px 24px 20px;
  margin-top: 28px;
  max-width: 420px;
  margin-left: auto;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #555;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-total-row {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  border-bottom: none;
  margin-bottom: 18px;
}

.btn-book-cart {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--primary, #1a56db), #6297ee);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.25);
  transition: opacity 0.18s;
  margin-bottom: 10px;
}

.btn-book-cart:hover {
  opacity: 0.9;
}

.btn-add-more {
  width: 100%;
  padding: 10px;
  background: transparent;
  color: var(--primary, #1a56db);
  border: 1px solid var(--primary, #1a56db);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.btn-add-more:hover {
  background: var(--primary, #1a56db);
  color: #fff;
}

/* In-cart state for service page buttons */
.btn-cart.in-cart {
  background: linear-gradient(135deg, #1D9E75, #00b894) !important;
  cursor: default;
  pointer-events: none;
}

/* Cart badge in navbar */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 20px;
  padding: 0 4px;
  margin-left: 4px;
  line-height: 1;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cart-item-price {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .cart-summary {
    max-width: 100%;
  }
}

/* ── Remove Confirmation Modal ── */
.remove-modal-content {
  border: none;
  border-radius: 20px;
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.remove-modal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe0de, #ffc8c5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.remove-modal-icon i {
  font-size: 1.8rem;
  color: #e74c3c;
}

.remove-modal-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.remove-modal-msg {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.remove-modal-msg strong {
  color: #1a1a1a;
  font-weight: 600;
}

.remove-modal-actions {
  display: flex;
  gap: 10px;
}

.btn-rm-cancel {
  flex: 1;
  padding: 11px 0;
  background: #f4f4f4;
  color: #555;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s;
}

.btn-rm-cancel:hover {
  background: #e8e8e8;
}

.btn-rm-confirm {
  flex: 1;
  padding: 11px 0;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
  transition: opacity 0.18s;
}

.btn-rm-confirm:hover {
  opacity: 0.88;
}

#cta-section {
  display: none;
}


@media (max-width: 767px) {
  .cart-item-name {
    margin: 0;
    line-height: 15px;
  }
}

