/* WhatsApp multi-product cart */

.navbar-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #7a1228;
  color: #fff !important;
  text-decoration: none !important;
  margin-right: 10px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.navbar-cart-btn:hover {
  background: #5e0e1f;
  color: #fff !important;
  transform: translateY(-1px);
}

.navbar-cart-btn i {
  font-size: 18px;
  line-height: 1;
}

.navbar-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  /* Logo peacock gold */
  background: linear-gradient(145deg, #e8d5a3 0%, #c9a06a 45%, #b8860b 100%);
  color: #4a1224;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 18px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(74, 18, 36, 0.35);
}

.vaibhogam-cart-toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(12px);
  background: #7a1228;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.vaibhogam-cart-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cart-page-section {
  padding: 50px 0 90px;
}

.cart-page-title {
  font-size: 32px;
  color: #7a1228;
  margin-bottom: 8px;
}

.cart-page-sub {
  color: #666;
  margin-bottom: 28px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 2px dashed #d7c3c8;
  border-radius: 20px;
}

.cart-empty i {
  font-size: 54px;
  color: #7a1228;
  margin-bottom: 12px;
}

.cart-table-wrap {
  background: #fff;
  border: 5px solid #7a1228;
  border-radius: 20px;
  overflow: hidden;
}

.cart-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

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

.cart-table th {
  background: #f8f1f3;
  color: #7a1228;
  font-weight: 700;
  font-size: 14px;
}

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

.cart-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: #f6f1ee;
}

.cart-product-name {
  font-weight: 700;
  color: #222;
  margin: 0 0 4px;
}

.cart-product-meta {
  font-size: 13px;
  color: #777;
  margin: 0;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7c3c8;
  border-radius: 10px;
  overflow: hidden;
}

.cart-qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: #f8f1f3;
  color: #7a1228;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cart-qty input {
  width: 52px;
  height: 34px;
  border: 0;
  text-align: center;
  font-weight: 600;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #a53040;
  font-size: 18px;
  cursor: pointer;
}

.cart-summary {
  margin-top: 20px;
  background: #fff;
  border-radius: 20px;
  border: 5px solid #7a1228;
  padding: 22px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: #444;
}

.cart-summary-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 18px;
  color: #7a1228;
}

.cart-line-total {
  color: #7a1228;
  font-size: 16px;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn-cart-wa {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
}

.btn-cart-wa:hover {
  background: #1ebe57 !important;
  color: #fff !important;
}

.product-cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.product-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.product-qty-wrap label {
  font-weight: 600;
  color: #444;
  margin: 0;
}

.product-qty-wrap input {
  width: 90px;
  height: 44px;
  border: 1px solid #d7c3c8;
  border-radius: 10px;
  padding: 0 12px;
  font-weight: 600;
}

.btn-add-cart {
  background: #7a1228;
  color: #fff !important;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-add-cart:hover {
  background: #5e0e1f;
  color: #fff !important;
}

.product-card .btn-add-cart-card {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  border-radius: 12px;
  background: #fff;
  color: #7a1228 !important;
  border: 2px solid #7a1228;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
}

.product-card .btn-add-cart-card:hover {
  background: #7a1228;
  color: #fff !important;
}

@media (max-width: 767px) {
  .cart-table thead {
    display: none;
  }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table tr {
    padding: 14px;
    border-bottom: 1px solid #eee;
  }
  .cart-table td {
    padding: 8px 0;
    border: 0;
  }
  .cart-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    color: #7a1228;
    font-weight: 700;
    margin-bottom: 4px;
  }
}
