/* PureCheckout styles */
.pc-wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1f2937; }
.pc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@media (max-width: 820px) { .pc-grid { grid-template-columns: 1fr; } }

.pc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.pc-card h2 { margin: 0 0 6px; font-size: 22px; font-weight: 600; }
.pc-card h3 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.pc-card h4 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.pc-muted { color: #6b7280; font-size: 14px; margin: 0 0 16px; }
.pc-hello { color: #374151; font-size: 13px; margin: 0 0 12px; }

/* Progress */
.pc-progress { display: flex; gap: 8px; margin-bottom: 20px; }
.pc-step-dot { flex: 1; text-align: center; padding: 10px 4px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; color: #9ca3af; cursor: default; font-size: 12px; }
.pc-step-dot span { display: inline-block; width: 22px; height: 22px; line-height: 22px; border-radius: 50%; background: #e5e7eb; color: #6b7280; font-weight: 600; margin-right: 6px; }
.pc-step-dot small { display: block; margin-top: 4px; font-size: 11px; }
.pc-step-dot.active { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }
.pc-step-dot.active span { background: #fff; color: #1e3a8a; }
.pc-step-dot.done { background: #dbeafe; color: #1e3a8a; border-color: #93c5fd; }

/* Steps */
.pc-step { display: none; }
.pc-step.pc-active { display: block; }

/* Inputs */
.pc-field { margin-bottom: 12px; }
.pc-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; color: #374151; }
.pc-field input, .pc-field select { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; background: #fff; box-sizing: border-box; }
.pc-field input:focus, .pc-field select:focus { outline: none; border-color: #1e3a8a; box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.15); }
.pc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-row.pc-row-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .pc-row { grid-template-columns: 1fr; } }

/* Payment + shipping radio cards */
.pc-pay-option, .pc-ship-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: all 0.15s; }
.pc-pay-option:hover, .pc-ship-option:hover { border-color: #1e3a8a; background: #f8fafc; }
.pc-pay-option input, .pc-ship-option input { margin: 0; }
.pc-pay-option strong, .pc-ship-option strong { display: block; font-size: 15px; }
.pc-pay-option small, .pc-ship-option small { display: block; color: #6b7280; font-size: 12px; }
.pc-pay-option div, .pc-ship-option div { flex: 1; }
.pc-ship-price { font-weight: 600; }
.pc-pay-option.selected, .pc-ship-option.selected { border-color: #1e3a8a; background: #eff6ff; }

/* Buttons */
.pc-btn { display: inline-block; width: 100%; padding: 12px 16px; border: none; border-radius: 8px; background: #1e3a8a; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 12px; transition: background 0.15s; }
.pc-btn:hover { background: #1e40af; }
.pc-btn.pc-secondary { background: #f3f4f6; color: #374151; }
.pc-btn.pc-secondary:hover { background: #e5e7eb; }
.pc-btn-row { display: flex; gap: 10px; margin-top: 16px; }
.pc-btn-row .pc-btn { margin-top: 0; }
.pc-terms { display: block; margin-top: 16px; font-size: 14px; color: #374151; }
.pc-terms input { margin-right: 6px; }

/* Summary */
.pc-line-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.pc-line-item small { display: block; color: #6b7280; font-size: 12px; }
.pc-row-summary { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #374151; }
.pc-row-summary.pc-total { font-size: 17px; font-weight: 700; color: #111827; padding-top: 10px; border-top: 1px solid #e5e7eb; margin-top: 6px; }

.pc-trust ul { list-style: none; padding: 0; margin: 0; }
.pc-trust li { padding: 8px 0; font-size: 14px; border-top: 1px solid #f3f4f6; }
.pc-trust li:first-child { border-top: none; }
.pc-trust small { color: #6b7280; font-size: 12px; }

/* Review */
#pc-review { background: #f9fafb; border-radius: 8px; padding: 14px; font-size: 14px; margin-bottom: 8px; }
#pc-review div { padding: 4px 0; }
#pc-review .pc-rev-label { color: #6b7280; font-weight: 500; }

/* Confirmation */
.pc-confirmation { text-align: center; }
.pc-code-box { background: #1e3a8a; color: #fff; padding: 24px; border-radius: 12px; margin: 20px 0; }
.pc-code-box .pc-code-label { font-size: 13px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; }
.pc-code-box .pc-code-value { font-size: 36px; font-weight: 700; letter-spacing: 3px; margin: 8px 0; }
.pc-pay-instructions { background: #fef3c7; border-left: 4px solid #f59e0b; padding: 14px; border-radius: 6px; text-align: left; margin: 16px 0; font-size: 14px; line-height: 1.6; }
.pc-pay-instructions strong { color: #92400e; }
.pc-success-icon { font-size: 48px; color: #10b981; margin-bottom: 8px; }

/* WP login form override */
.pc-card #loginform input[type="text"], .pc-card #loginform input[type="password"] { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; box-sizing: border-box; }
.pc-card #loginform label { font-size: 13px; font-weight: 500; }
.pc-card #loginform .button-primary { background: #1e3a8a; border: none; padding: 10px 16px; border-radius: 8px; cursor: pointer; color: #fff; font-weight: 600; }

.pc-error { background: #fee2e2; color: #991b1b; padding: 10px 14px; border-radius: 8px; margin-top: 10px; font-size: 14px; }
