/* ── Toggle de acumulados en checkout ─────────────────────────────────────── */

.wa-checkout-option {
	margin: 16px 0 0;
	padding: 16px;
	background: linear-gradient(135deg, rgba(69,27,255,.03) 0%, rgba(204,64,255,.03) 100%);
	border: 1.5px solid rgba(124,58,237,.15);
	border-radius: 14px;
	transition: border-color .2s, background .2s;
}

.wa-checkout-toggle {
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	user-select: none;
}

.wa-toggle-track {
	width: 40px;
	height: 22px;
	background: #e5e7eb;
	border-radius: 20px;
	position: relative;
	transition: background .22s cubic-bezier(.34,1.56,.64,1);
	flex-shrink: 0;
}

.wa-toggle-thumb {
	width: 18px;
	height: 18px;
	background: #fff;
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 2px;
	transition: left .22s cubic-bezier(.34,1.56,.64,1);
	box-shadow: 0 1px 4px rgba(0,0,0,.18);
}

#wa_guardar_despues {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

#wa_guardar_despues:checked ~ .wa-toggle-track {
	background: linear-gradient(90deg, #451BFF, #CC40FF);
}

#wa_guardar_despues:checked ~ .wa-toggle-track .wa-toggle-thumb {
	left: 20px;
	box-shadow: 0 1px 6px rgba(124,58,237,.4);
}

.wa-toggle-label {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 13px;
	font-weight: 600;
	color: #1d1d1f;
	line-height: 1.4;
	font-family: 'Poppins', -apple-system, sans-serif;
}

.wa-toggle-label small {
	display: block;
	font-size: 11px;
	color: #6b7280;
	font-weight: 400;
	line-height: 1.4;
}

/* ── Panel de gestión ────────────────────────────────────────────────────── */
.wa-panel{font-family:'Poppins',-apple-system,sans-serif}
.wa-panel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.wa-panel-header h2{font-size:18px;font-weight:600;margin:0;color:#1d1d1f}
.wa-badge{background:#eff6ff;color:#2563eb;padding:4px 12px;border-radius:20px;font-size:11px;font-weight:700}
.wa-empty{text-align:center;padding:40px 20px}
.wa-empty-icon{font-size:40px;margin-bottom:12px}
.wa-empty p{color:#6b7280;margin-bottom:16px}
.wa-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:20px}
.wa-summary-item{background:#f9fafb;border:.5px solid rgba(0,0,0,.07);border-radius:10px;padding:14px;text-align:center}
.wa-summary-val{display:block;font-size:18px;font-weight:600;color:#1d1d1f}
.wa-summary-lbl{display:block;font-size:11px;color:#6b7280;margin-top:3px}
.wa-section{margin-bottom:20px}
.wa-section h3{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#9ca3af;margin:0 0 10px}
.wa-products{display:flex;flex-direction:column;gap:6px}
.wa-product-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:.5px solid rgba(0,0,0,.05)}
.wa-product-row:last-child{border-bottom:none}
.wa-product-img{width:40px;height:40px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#f3f4f6}
.wa-product-img img{width:100%;height:100%;object-fit:cover}
.wa-product-name{font-size:13px;font-weight:500;color:#1d1d1f}
.wa-product-meta{font-size:11px;color:#6b7280;margin-top:2px}
.wa-orders-list{display:flex;flex-direction:column;gap:4px}
.wa-order-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f9fafb;border-radius:8px;font-size:12px}
.wa-order-num{font-weight:700;color:#1d1d1f;margin-right:8px}
.wa-order-date{color:#9ca3af}
.wa-order-items{color:#6b7280}
.wa-order-total{font-weight:600;color:#1d1d1f}
.wa-cta{background:linear-gradient(90deg,rgba(69,27,255,.04),rgba(204,64,255,.04));border:.5px solid rgba(69,27,255,.1);border-radius:12px;padding:16px;text-align:center}
.wa-cta-desc{font-size:12px;color:#6b7280;margin:0 0 12px;line-height:1.5}
.wa-btn{display:inline-block;padding:10px 20px;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;border:none;font-family:inherit;transition:all .12s}
.wa-btn--primary{background:linear-gradient(90deg,#451BFF,#CC40FF);color:#fff}
.wa-btn--primary:hover{opacity:.9;color:#fff}
.wa-btn-cerrar{width:100%}
