

/* MING LIFE cream / champagne transactional-page palette */
:root {
  --ml-tx-green:#0c6b4d;
  --ml-tx-green-dark:#07513b;
  --ml-tx-ink:#26352f;
  --ml-tx-muted:#756f64;
  --ml-tx-border:#e8dfcf;
  --ml-tx-canvas:#fbf7ee;
  --ml-tx-surface:#fffdf8;
  --ml-tx-gold:#c7a45a;
  --ml-tx-gold-soft:#f3e7c9;
  --ml-tx-shadow:0 12px 30px rgba(91,70,37,.08);
}

body {
  color:var(--ml-tx-ink);
  background:
    radial-gradient(circle at 92% 8%,rgba(199,164,90,.08),transparent 24%),
    var(--ml-tx-canvas) !important;
}

body .breadcrumb {
  padding:9px 13px;
  border:1px solid var(--ml-tx-border);
  border-radius:12px;
  background:rgba(255,253,248,.86);
}

body .breadcrumb-item,
body .breadcrumb-item.active,
body .text-muted,
body .form-text {
  color:var(--ml-tx-muted) !important;
}

body .breadcrumb-item a,
body a.text-primary {
  color:var(--ml-tx-green-dark) !important;
}

body .page-title,
body h1,
body h2,
body h3,
body h4,
body h5,
body .card-title,
body .summary-title,
body .order-summary-title {
  color:var(--ml-tx-ink);
}

body .card,
body .cart-summary,
body .order-summary,
body .order-success-container,
body .order-details-card,
body .payment-instructions,
body .shipping-details,
body .selected-variant-info .card {
  border:1px solid var(--ml-tx-border) !important;
  border-radius:16px !important;
  background:var(--ml-tx-surface) !important;
  box-shadow:var(--ml-tx-shadow) !important;
}

body .card-header {
  color:var(--ml-tx-ink);
  border-bottom:1px solid var(--ml-tx-border) !important;
  background:#f8f3e8 !important;
}

body .card-header.bg-success {
  color:#fff !important;
  background:var(--ml-tx-green) !important;
}

body .form-control,
body .form-select,
body .input-group-text {
  color:var(--ml-tx-ink) !important;
  border-color:var(--ml-tx-border) !important;
  background:var(--ml-tx-surface) !important;
}

body .form-control:focus,
body .form-select:focus {
  border-color:var(--ml-tx-gold) !important;
  box-shadow:0 0 0 .2rem rgba(199,164,90,.14) !important;
}

body .form-check-input:checked {
  border-color:var(--ml-tx-green) !important;
  background-color:var(--ml-tx-green) !important;
}

body .btn-primary {
  color:#fff !important;
  border-color:var(--ml-tx-green) !important;
  background:var(--ml-tx-green) !important;
}

body .btn-primary:hover,
body .btn-primary:focus-visible {
  border-color:var(--ml-tx-green-dark) !important;
  background:var(--ml-tx-green-dark) !important;
}

body .btn-outline-primary,
body .btn-outline-secondary,
body .btn-outline-dark {
  color:var(--ml-tx-green-dark) !important;
  border-color:#d8bd7d !important;
  background:var(--ml-tx-surface) !important;
}

body .btn-outline-primary:hover,
body .btn-outline-secondary:hover,
body .btn-outline-dark:hover {
  color:var(--ml-tx-green-dark) !important;
  border-color:var(--ml-tx-gold) !important;
  background:var(--ml-tx-gold-soft) !important;
}

body .text-primary,
body .cart-item-price,
body .cart-item-total,
body .cart-summary-total .cart-summary-value,
body .order-item-price,
body .fw-bold.text-primary {
  color:var(--ml-tx-green) !important;
}

body .cart-item,
body .order-item,
body .summary-item,
body .order-summary-row,
body .review-item {
  border-color:var(--ml-tx-border) !important;
}

body .cart-item-image,
body .order-item-image,
body .product-image,
body .thumbnail-image {
  border-color:var(--ml-tx-border) !important;
  background:var(--ml-tx-surface) !important;
}

body .shipping-address,
body .payment-method,
body .payment-details,
body .login-prompt,
body .secure-checkout,
body .order-info,
body .order-summary,
body .selected-variant-details > .border {
  border-color:var(--ml-tx-border) !important;
  background:#f8f3e8 !important;
}

body .payment-method:hover,
body .payment-method.active {
  border-color:var(--ml-tx-gold) !important;
  background:var(--ml-tx-gold-soft) !important;
}

body .table {
  --bs-table-bg:transparent;
  --bs-table-color:var(--ml-tx-ink);
  --bs-table-border-color:var(--ml-tx-border);
}

body .table > :not(caption) > * > * {
  border-color:var(--ml-tx-border) !important;
}

body .table thead th {
  color:var(--ml-tx-green-dark);
  background:#f8f3e8 !important;
}

body .pagination .page-link {
  color:var(--ml-tx-green-dark) !important;
  border-color:var(--ml-tx-border) !important;
  background:var(--ml-tx-surface) !important;
}

body .pagination .page-item.active .page-link {
  color:#fff !important;
  border-color:var(--ml-tx-green) !important;
  background:var(--ml-tx-green) !important;
}

body .modal-content {
  border:1px solid var(--ml-tx-border);
  background:var(--ml-tx-surface);
}

body .modal-header,
body .modal-footer {
  border-color:var(--ml-tx-border);
}

/* Cart + order success */
body .empty-cart-icon,
body .order-success-icon {
  color:var(--ml-tx-green) !important;
}

body .order-success-header {
  color:var(--ml-tx-ink);
}

body .order-success-actions {
  border-top-color:var(--ml-tx-border);
}

/* Returns */
body #returns-page .card-header,
body #returns-page .bg-white {
  background:var(--ml-tx-surface) !important;
}

body #returns-page .btn-warning {
  border-color:#d9bc76;
}

/* Legacy product page */
body .product-page {
  color:var(--ml-tx-ink);
}

body .product-page .product-image,
body .product-page .product-info,
body .product-page .nav-tabs,
body .product-page .tab-content {
  border-color:var(--ml-tx-border) !important;
}

body .product-page .product-title {
  color:var(--ml-tx-ink);
}

body .product-page .product-brand,
body .product-page .product-short-description {
  color:var(--ml-tx-muted) !important;
}

body .product-page .nav-tabs .nav-link {
  color:#5c625b;
}

body .product-page .nav-tabs .nav-link.active {
  color:var(--ml-tx-green-dark) !important;
  border-color:var(--ml-tx-border) var(--ml-tx-border) var(--ml-tx-surface) !important;
  background:var(--ml-tx-surface) !important;
  box-shadow:inset 0 3px 0 var(--ml-tx-gold);
}

/* Payment summary / wallet-use panels */
body .alert-info {
  color:#4f564f;
  border-color:#ddc99d;
  background:#f5efe3;
}

body .alert-success {
  border-color:rgba(12,107,77,.22);
}

body .bg-light {
  background:#f8f3e8 !important;
}

@media (max-width:767.98px) {
  body .card,
  body .cart-summary,
  body .order-summary,
  body .order-success-container {
    border-radius:14px !important;
  }

  body .container.mt-4,
  body .container.py-4 {
    padding-left:12px;
    padding-right:12px;
  }
}
