/* Envíos Fácil — selector en mapa. Mobile-first; hereda tipografía y colores del tema. */
.efz-picker {
	--efz-accent: #2271b1;
	--efz-ok: #1e7e34;
	--efz-warn: #9a5b00;
	--efz-border: color-mix(in srgb, currentColor 20%, transparent);
	--efz-muted: color-mix(in srgb, currentColor 65%, transparent);
	box-sizing: border-box;
	width: 100%;
	margin: 1em 0;
	padding: 12px;
	border: 1px solid var(--efz-border);
	border-radius: 8px;
	position: relative;
}
.efz-picker *, .efz-picker *::before, .efz-picker *::after { box-sizing: border-box; }
.efz-picker.is-busy { opacity: .75; }
.efz-head { margin-bottom: 8px; }
.efz-title { font-size: 1.05em; }

.efz-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.efz-input { flex: 1 1 100%; min-width: 0; min-height: 44px; padding: 8px 10px; font-size: 16px; /* evita el zoom de iOS */ }
.efz-btn { flex: 1 1 auto; min-height: 44px; padding: 8px 12px; cursor: pointer; }
@media (min-width: 600px) {
	.efz-input { flex-basis: 0; }
	.efz-btn { flex: 0 0 auto; }
}

.efz-results { list-style: none; margin: 4px 0 0; padding: 0; max-height: 220px; overflow-y: auto; }
.efz-results:empty { display: none; }
.efz-result, .efz-empty { padding: 10px; border-bottom: 1px solid var(--efz-border); cursor: pointer; line-height: 1.3; }
.efz-result:hover, .efz-result:focus { background: rgba(34, 113, 177, .08); outline: none; }
.efz-empty { cursor: default; color: var(--efz-muted); }

.efz-map { width: 100%; height: 260px; margin-top: 8px; border-radius: 6px; z-index: 0; }
@media (min-width: 768px) { .efz-map { height: 320px; } }
.efz-hint { margin: 6px 0 0; font-size: .85em; color: var(--efz-muted); }
.efz-hint:empty { display: none; }

.efz-status { margin-top: 10px; }
.efz-status:empty { display: none; }
.efz-status.is-ok { color: var(--efz-ok); }
.efz-status.is-warn { color: var(--efz-warn); }
.efz-status.is-loading { color: var(--efz-muted); }
.efz-zone { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.efz-cost { margin-top: 2px; }
.efz-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; flex: 0 0 auto; }
.efz-muted { color: var(--efz-muted); font-size: .9em; }

.efz-slots:empty { display: none; }
.efz-day, .efz-slot { color: inherit; font: inherit; }
.efz-slots { margin-top: 12px; }
.efz-subtitle { display: block; margin-bottom: 6px; }
.efz-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.efz-day { flex: 0 0 auto; min-height: 40px; padding: 6px 12px; border: 1px solid var(--efz-border); border-radius: 20px; background: transparent; cursor: pointer; white-space: nowrap; }
.efz-day.is-active { border-color: var(--efz-accent); background: var(--efz-accent); color: #fff; }
.efz-day.is-off { opacity: .5; }
.efz-slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; margin-top: 8px; }
.efz-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px; border: 1px solid var(--efz-border); border-radius: 6px; background: transparent; cursor: pointer; }
.efz-slot small { font-size: .75em; opacity: .8; }
.efz-slot.is-selected { border-color: var(--efz-accent); box-shadow: inset 0 0 0 2px var(--efz-accent); font-weight: 600; }
.efz-slot:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.efz-info:empty { display: none; }
.efz-info { margin-top: 12px; }
.efz-info-table summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.efz-info-table table { width: 100%; border-collapse: collapse; margin: 0; }
.efz-info-table th, .efz-info-table td { text-align: left; vertical-align: top; padding: 6px 4px; border-top: 1px solid var(--efz-border); }
.efz-info-table th { width: 40%; font-weight: 600; }
.efz-info-table tr.is-current { background: rgba(34, 113, 177, .06); }

/* Cuadro del shortcode. */
.efz-schedule-table { width: 100%; border-collapse: collapse; }
.efz-schedule-table th, .efz-schedule-table td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
@media (max-width: 599px) {
	.efz-schedule-table thead { display: none; }
	.efz-schedule-table tr { display: block; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
	.efz-schedule-table td { display: block; border: 0; padding: 2px 0; }
}

/* Envío bonificado: precio tachado + Gratis + BONIFICADO. */
.efz-regular, del.efz-regular { opacity: .65; text-decoration: line-through; margin-right: 4px; }
.efz-free, ins.efz-free { text-decoration: none; font-weight: 700; }
.efz-badge { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: #1e7e34; color: #fff; font-size: .72em; font-weight: 700; letter-spacing: .04em; vertical-align: middle; }
