/* ── BuyVCC Crypto Checkout Popup ──────────────────────────────────────── */
:root {
  --bv-navy:    #0d0f1f;
  --bv-navy2:   #12152b;
  --bv-navy3:   #1a1e38;
  --bv-border:  #2a2f52;
  --bv-purple:  #7c3aed;
  --bv-purple2: #a855f7;
  --bv-grad:    linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --bv-text:    #e2e8f0;
  --bv-muted:   #94a3b8;
  --bv-green:   #10b981;
  --bv-red:     #ef4444;
  --bv-radius:  14px;
  --bv-transition: 0.22s ease;
}

/* Ensure live chat widget (3CX / WP Live Chat) always floats above the popup overlay */
call-us-selector { position: relative !important; z-index: 9999999 !important; }

/* ── Overlay ────────────────────────────────────────────────────────────── */
#buyvcc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
#buyvcc-overlay.active {
  display: flex;
}

/* ── Modal shell ────────────────────────────────────────────────────────── */
#buyvcc-modal {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: calc(100vh - 32px);
  background: var(--bv-navy);
  border: 1px solid var(--bv-border);
  border-radius: var(--bv-radius);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(124, 58, 237, 0.15);
  animation: bv-modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bv-modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Left column ────────────────────────────────────────────────────────── */
#buyvcc-left {
  flex: 0 0 58%;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: #10132a;
  scrollbar-width: thin;
  scrollbar-color: var(--bv-border) transparent;
}
#buyvcc-left::-webkit-scrollbar { width: 8px; }
#buyvcc-left::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.4); border-radius: 4px; }
#buyvcc-left::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.6); }

/* ── Left header ────────────────────────────────────────────────────────── */
.bv-left-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--bv-border);
  flex-shrink: 0;
}
.bv-left-header h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--bv-text);
  letter-spacing: -0.3px;
}

/* Breadcrumb */
.bv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--bv-muted);
}
.bv-breadcrumb .bv-bc-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bv-breadcrumb .bv-bc-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-border);
  color: var(--bv-muted);
}
.bv-breadcrumb .bv-bc-step.active .bv-bc-num {
  background: var(--bv-grad);
  color: #fff;
}
.bv-breadcrumb .bv-bc-step.active .bv-bc-label {
  color: var(--bv-purple2);
  font-weight: 600;
}
.bv-breadcrumb .bv-bc-dots {
  color: var(--bv-border);
  letter-spacing: 3px;
  font-size: 10px;
}

/* ── Left form body ─────────────────────────────────────────────────────── */
.bv-left-body {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.bv-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--bv-border);
}
.bv-section:last-child { border-bottom: none; }

.bv-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.bv-section-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bv-grad);
  color: #fff;
  flex-shrink: 0;
}
.bv-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--bv-text);
  letter-spacing: 0.1px;
}

/* ── Form fields ────────────────────────────────────────────────────────── */
.bv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bv-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--bv-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.bv-field input[type="email"],
.bv-field input[type="text"],
.bv-field select {
  width: 100%;
  background: #1a1e38 !important;
  border: 1px solid #2a2f52 !important;
  border-radius: 8px;
  color: #e2e8f0 !important;
  font-size: 14px;
  padding: 11px 14px;
  outline: none;
  transition: border-color var(--bv-transition), box-shadow var(--bv-transition);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.bv-field input:focus,
.bv-field select:focus {
  border-color: var(--bv-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.bv-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.bv-field-error {
  font-size: 12px;
  color: var(--bv-red);
  min-height: 16px;
}

/* ── Variation / amount cards ───────────────────────────────────────────── */
.bv-variation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bv-variation-card {
  border: 2px solid var(--bv-border);
  border-radius: 10px;
  padding: 14px 10px;
  cursor: pointer;
  background: #1a1e38;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: border-color var(--bv-transition), background var(--bv-transition), box-shadow var(--bv-transition);
}
.bv-variation-card:hover {
  border-color: var(--bv-purple);
  background: rgba(124, 58, 237, 0.07);
}
.bv-variation-card.selected {
  border-color: var(--bv-purple);
  background: rgba(124, 58, 237, 0.13);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.3);
}
.bv-var-amount {
  font-size: 13px;
  font-weight: 700;
  color: var(--bv-text);
}
.bv-var-price {
  font-size: 12px;
  color: var(--bv-muted);
}
.bv-variation-card.selected .bv-var-price {
  background: var(--bv-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

@media (max-width: 420px) {
  .bv-variation-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── Payment method cards ───────────────────────────────────────────────── */
.bv-method-cards {
  display: flex;
  gap: 12px;
}
.bv-method-card {
  flex: 1;
  border: 2px solid var(--bv-border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color var(--bv-transition), background var(--bv-transition);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bv-navy3);
  position: relative;
}
.bv-method-card:hover {
  border-color: var(--bv-purple);
  background: rgba(124, 58, 237, 0.06);
}
.bv-method-card.selected {
  border-color: var(--bv-purple);
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.3);
}
.bv-method-card input[type="radio"] {
  display: none;
}
.bv-method-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.bv-method-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bv-method-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--bv-text);
}
.bv-method-desc {
  font-size: 11px;
  color: var(--bv-muted);
}
.bv-method-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--bv-border);
  background: transparent;
  transition: all var(--bv-transition);
}
.bv-method-card.selected .bv-method-check {
  background: var(--bv-grad);
  border-color: transparent;
}

/* ── Payment details (section 3) ────────────────────────────────────────── */
.bv-payment-details {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bv-border);
  animation: bv-fade-in 0.22s ease forwards;
}
.bv-payment-details.visible { display: flex; }

/* Hint / loading / error message that always tells the user what's happening
   inside the payment-details box. Hidden via JS once the wallet is loaded. */
.bv-payment-hint {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #cbd5e1;
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
}
.bv-payment-hint.is-error {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.38);
  color: #fecaca;
}
.bv-payment-hint.is-loading {
  background: rgba(53, 98, 244, 0.08);
  border-color: rgba(53, 98, 244, 0.28);
  color: #c4d4fd;
}
.bv-payment-hint.is-loading::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  width: 12px; height: 12px;
  border: 2px solid rgba(195, 215, 253, 0.30);
  border-top-color: #c4d4fd;
  border-radius: 50%;
  animation: bv-spin 0.7s linear infinite;
}
@keyframes bv-spin {
  to { transform: rotate(360deg); }
}

@keyframes bv-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* QR + address row */
.bv-payment-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.bv-qr-box {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border: 1px solid var(--bv-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bv-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.bv-address-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bv-address-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--bv-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.bv-copy-row {
  display: flex;
  gap: 8px;
}
.bv-copy-row input {
  flex: 1;
  background: var(--bv-navy3);
  border: 1px solid var(--bv-border);
  border-radius: 8px;
  color: var(--bv-text);
  font-size: 12px;
  padding: 9px 12px;
  font-family: monospace;
  cursor: text;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: none;
}
.bv-copy-btn {
  flex-shrink: 0;
  background: var(--bv-navy3);
  border: 1px solid var(--bv-border);
  border-radius: 8px;
  color: var(--bv-text);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color var(--bv-transition), color var(--bv-transition);
  white-space: nowrap;
}
.bv-copy-btn:hover { border-color: var(--bv-purple); color: var(--bv-purple2); }
.bv-copy-btn svg { width: 14px; height: 14px; }

.bv-amount-box {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bv-amount-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--bv-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bv-amount-value {
  font-size: 15px;
  font-weight: 700;
  background: var(--bv-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Custom select dropdown ─────────────────────────────────────────────── */
.bv-custom-select {
  position: relative;
}
.bv-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1e38;
  border: 1px solid #2a2f52;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  padding: 11px 14px;
  cursor: pointer;
  transition: border-color var(--bv-transition), box-shadow var(--bv-transition);
  user-select: none;
  -webkit-user-select: none;
}
.bv-select-trigger:hover,
.bv-custom-select.open .bv-select-trigger {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.bv-select-arrow {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform var(--bv-transition);
}
.bv-custom-select.open .bv-select-arrow {
  transform: rotate(180deg);
}
.bv-select-options {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a1e38;
  border: 1px solid #2a2f52;
  border-radius: 8px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.bv-custom-select.open .bv-select-options {
  display: block;
}
.bv-select-option {
  padding: 11px 14px;
  font-size: 14px;
  color: #e2e8f0;
  cursor: pointer;
  transition: background var(--bv-transition);
}
.bv-select-option:hover {
  background: rgba(124, 58, 237, 0.12);
}
.bv-select-option.selected {
  background: rgba(124, 58, 237, 0.18);
  color: #a855f7;
  font-weight: 600;
}

/* Coupon feedback message */
.bv-coupon-msg {
  display: block;
  font-size: 12px;
  margin-top: 8px;
  min-height: 16px;
}

/* ── Coupon section ─────────────────────────────────────────────────────── */
.bv-coupon-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--bv-muted);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: color var(--bv-transition);
}
.bv-coupon-toggle:hover { color: var(--bv-purple2); }
.bv-coupon-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform var(--bv-transition);
}
.bv-coupon-toggle.open svg { transform: rotate(180deg); }
.bv-coupon-body {
  display: none;
  margin-top: 12px;
}
.bv-coupon-body.open { display: flex; gap: 8px; }
.bv-coupon-body input {
  flex: 1;
  background: var(--bv-navy3);
  border: 1px solid var(--bv-border);
  border-radius: 8px;
  color: var(--bv-text);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
}
.bv-coupon-body input:focus {
  border-color: var(--bv-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
.bv-coupon-apply {
  background: var(--bv-navy3);
  border: 1px solid var(--bv-border);
  border-radius: 8px;
  color: var(--bv-text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--bv-transition);
}
.bv-coupon-apply:hover { border-color: var(--bv-purple); }

/* ── Right column ───────────────────────────────────────────────────────── */
#buyvcc-right {
  flex: 0 0 42%;
  max-width: 42%;
  background: var(--bv-navy2);
  border-left: 1px solid var(--bv-border);
  display: flex;
  flex-direction: column;
  padding: 28px 28px 32px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bv-border) transparent;
  position: relative;
}
#buyvcc-right::-webkit-scrollbar { width: 8px; }
#buyvcc-right::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.4); border-radius: 4px; }
#buyvcc-right::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.6); }

/* Close button */
.bv-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bv-navy3);
  border: 1px solid var(--bv-border);
  color: var(--bv-muted);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--bv-transition), color var(--bv-transition);
  z-index: 10;
}
.bv-close:hover { background: rgba(239, 68, 68, 0.12); color: var(--bv-red); border-color: var(--bv-red); }

/* Product image */
.bv-product-image {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 10px;
}
.bv-product-image img {
  max-width: 160px;
  height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.45));
  display: inline-block;
}
.bv-product-placeholder {
  width: 140px;
  height: 90px;
  margin: 0 auto;
  background: var(--bv-grad);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* Order summary */
.bv-order-summary {
  background: var(--bv-navy3);
  border: 1px solid var(--bv-border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.bv-order-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--bv-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.bv-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.bv-order-row + .bv-order-row {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.bv-order-label {
  font-size: 13px;
  color: var(--bv-muted);
}
.bv-order-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--bv-text);
}
.bv-order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px solid var(--bv-border);
}
.bv-order-total-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--bv-text);
}
.bv-order-total-value {
  font-size: 18px;
  font-weight: 800;
  background: var(--bv-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* No hidden fees badge */
.bv-no-fees {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bv-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.bv-no-fees svg { width: 13px; height: 13px; }

/* Trust badges */
.bv-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.bv-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--bv-muted);
}
.bv-trust-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Status box (right column, shown after AJAX) */
.bv-status-box {
  display: none;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  flex-direction: column;
  gap: 8px;
}
.bv-status-box.visible { display: flex; }
.bv-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bv-status-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--bv-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bv-status-text {
  font-size: 13px;
  color: var(--bv-text);
  font-weight: 500;
}
.bv-timer {
  font-size: 20px;
  font-weight: 800;
  background: var(--bv-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

/* Spacer to push CTA to bottom */
.bv-right-spacer { flex: 1; }

/* Payment button — brand-aligned blue→magenta gradient */
.bv-pay-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, #3562F4 0%, #C339DA 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--bv-transition), transform var(--bv-transition), box-shadow var(--bv-transition);
  letter-spacing: 0.2px;
  box-shadow: 0 14px 32px rgba(53, 98, 244, 0.30),
              0 6px 14px rgba(195, 57, 218, 0.22);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.bv-pay-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.bv-pay-btn:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(53, 98, 244, 0.40),
              0 8px 18px rgba(195, 57, 218, 0.28);
}
.bv-pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.bv-pay-btn .bv-btn-text { display: flex; align-items: center; gap: 8px; }
.bv-pay-btn .bv-btn-spinner { display: none; }

/* Spinner */
.bv-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bv-spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes bv-spin {
  to { transform: rotate(360deg); }
}

/* Terms */
.bv-terms {
  font-size: 11px;
  color: var(--bv-muted);
  text-align: center;
  line-height: 1.5;
}
.bv-terms a { color: var(--bv-purple2); text-decoration: none; }
.bv-terms a:hover { text-decoration: underline; }

/* ── Success overlay ────────────────────────────────────────────────────── */
#buyvcc-success {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 20;
  background: var(--bv-navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  text-align: center;
  animation: bv-fade-in 0.3s ease forwards;
}
#buyvcc-success.visible { display: flex; }

.bv-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,185,129,0.2) 0%, rgba(16,185,129,0.05) 100%);
  border: 2px solid var(--bv-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.bv-success-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--bv-text);
  letter-spacing: -0.3px;
}
.bv-success-sub {
  font-size: 14px;
  color: var(--bv-muted);
  max-width: 320px;
}
.bv-view-order {
  margin-top: 8px;
  padding: 13px 32px;
  background: var(--bv-grad);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  transition: opacity var(--bv-transition), transform var(--bv-transition);
}
.bv-view-order:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

@keyframes bv-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Product page buy button ────────────────────────────────────────────── */
.buyvcc-buy-wrapper {
  margin: 16px 0 8px;
}
.buyvcc-buy-btn {
  display: block;
  width: 100%;
  padding: 15px 24px;
  background: var(--bv-grad);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.buyvcc-buy-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.buyvcc-buy-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.buyvcc-trust-row {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.buyvcc-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #94a3b8;
}
.buyvcc-trust-row svg {
  width: 13px;
  height: 13px;
  color: #7c3aed;
}

/* ── WooCommerce button suppression ─────────────────────────────────────── */
.single-product .cart,
.single-product .quantity,
.single-product .sbw-buy-now-btn {
  display: none !important;
}

/* ── Crypto amount display (ticker + chain badge) ───────────────────────── */
.bv-amt-num    { font-weight: 800; }
.bv-amt-ticker { font-weight: 800; color: var(--bv-purple2); }
.bv-amt-chain  {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--bv-muted);
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

/* ── Responsive: tablets and phones (width-based only) ──────────────────────
 * Desktop layout (2-column row) is preserved on all laptops, including small
 * 1366×650/720 displays. On those, both columns scroll internally — visible
 * 8px purple scrollbars show the user the column is scrollable.
 */
@media (max-width: 900px) {
  #buyvcc-overlay {
    padding: 0;
    align-items: flex-start;
    overflow-y: auto;
  }
  #buyvcc-modal {
    max-width: 100%;
    max-height: none;
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    border-radius: 0;
    overflow: visible;
  }
  #buyvcc-left,
  #buyvcc-right {
    flex: none;
    width: 100%;
    max-width: 100%;
    overflow-y: visible;
    max-height: none;
  }
  /* Right column flows AFTER left (form first, summary + pay button last) */
  #buyvcc-right {
    border-left: none;
    border-top: 1px solid var(--bv-border);
    padding: 22px 24px 28px;
  }
  .bv-product-image { aspect-ratio: 16/6; max-height: 120px; }
  .bv-trust { display: none; }
  .bv-right-spacer { display: none; }
}

/* ── Responsive: phone ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .bv-left-header { padding: 18px 18px 14px; }
  .bv-left-header h2 { font-size: 18px; margin-bottom: 10px; }
  .bv-breadcrumb { font-size: 11px; gap: 4px; }
  .bv-breadcrumb .bv-bc-label { display: none; }
  .bv-breadcrumb .bv-bc-dots { letter-spacing: 1px; }

  .bv-left-body { padding: 14px 18px 22px; }
  .bv-section { margin-bottom: 12px; padding: 14px; }
  .bv-section-header { gap: 10px; margin-bottom: 14px; }
  .bv-section-num { width: 24px; height: 24px; font-size: 12px; }
  .bv-section-title { font-size: 14px; }

  .bv-method-cards { grid-template-columns: 1fr; }

  .bv-variation-cards { grid-template-columns: 1fr 1fr !important; }

  /* Payment details box: stack address row vertically so the wallet
     and the Copy button both fit on the screen on mobile (long crypto
     addresses + a side-by-side button were overflowing the right edge). */
  .bv-copy-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .bv-copy-row input,
  .bv-copy-row #buyvcc-wallet-address {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 12px !important;
    word-break: break-all;
    text-overflow: clip !important;
    overflow: visible !important;
  }
  .bv-copy-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 12px !important;
  }

  .bv-qr-section { flex-direction: column; text-align: center; gap: 14px; }
  .bv-qr-img-wrap { margin: 0 auto; }

  #buyvcc-right { padding: 16px 18px 22px; }
  .bv-product-image { max-height: 90px; aspect-ratio: 16/4; }
  .bv-order-summary { padding: 12px; }
  .bv-pay-btn { font-size: 14px; padding: 13px; }
  .bv-terms { font-size: 11px; }

  /* Amount display: scale chain badge for small screens */
  .bv-amt-chain { display: inline-block; margin-top: 4px; margin-left: 0; }
}

/* ── Responsive: tiny phone ─────────────────────────────────────────────── */
@media (max-width: 380px) {
  .bv-variation-cards { grid-template-columns: 1fr !important; }
  .bv-left-header h2 { font-size: 16px; }
  .bv-section-title { font-size: 13px; }
}
