/**
 * distance-styles.css — Precios por Distancia
 */

/* ── Notices en ficha de producto ─────────────────────────────────────────── */
.pzdist-product-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.5;
}

.pzdist-product-notice--no-location {
    background: #fffbf0;
    border-color: #1746BE;
}

.pzdist-product-notice--out-of-range {
    background: #fff5f5;
    border-color: #f5c6c6;
}

.pzdist-product-notice--in-range {
    background: #f0fff4;
    border-color: #9ae6b4;
}

.pzdist-product-notice--calculating {
    background: #f0f4ff;
    border-color: #b3c6f5;
}

.pzdist-product-notice--error {
    background: #fff8f0;
    border-color: #f5c89a;
}

.pzdist-notice-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.pzdist-notice-body {
    flex: 1;
}

.pzdist-notice-body strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.pzdist-notice-body p {
    margin: 0 0 10px;
    color: #555;
}

/* ── Botón de geolocalización ─────────────────────────────────────────────── */
.pzdist-btn-get-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.pzdist-btn-get-location:hover {
    background: #1a252f;
    color: #fff;
}

.pzdist-btn-link {
    background: none;
    border: none;
    color: #0073aa;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    text-decoration: none;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pzdist-btn-link:hover {
    color: #005080;
    text-decoration: none;
}

/* ── Status de geolocalización ─────────────────────────────────────────────── */

/* ── Mensaje de precio en tarjeta de producto ────────────────────────────── */
.pzdist-price-msg {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1.6;
}

.pzdist-price-msg--no-location {
    color: #856404;
    background: #fff3cd;
    cursor: pointer;
}

.pzdist-price-msg--no-location:hover {
    background: #ffe69c;
}

/* "No disponible en tu área" en tarjetas: ver bloque v1.10 al final del archivo */

.pzdist-price-msg--contact {
    color: #0c5460;
    background: #d1ecf1;
}

/* ── Badge de distancia — oculto hasta que JS lo active ─────────────────── */
/* Nota: el badge se muestra vía JS con la clase pzdist-badge-visible */

/* ── Etiqueta de zona ────────────────────────────────────────────────────── */
.pzdist-zone-label {
    display: inline-block;
    font-size: 11px;
    color: #555;
    background: #f0f0f0;
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Bloqueo de compra si está fuera de rango ────────────────────────────── */
body.pzdist-out-of-range .single_add_to_cart_button,
body.pzdist-no-location .single_add_to_cart_button {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .pzdist-product-notice {
        flex-direction: column;
        gap: 8px;
    }
}

/* ── Iconos SVG inline ───────────────────────────────────────────────────── */
.pzdist-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    line-height: 1;
}

.pzdist-notice-icon .pzdist-icon {
    width: 20px;
    height: 20px;
}

@keyframes pzdist-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.pzdist-icon--spin {
    animation: pzdist-spin 0.9s linear infinite;
}

.pzdist-btn-get-location .pzdist-icon {
    width: 16px;
    height: 16px;
}

.pzdist-btn-link .pzdist-icon {
    width: 14px;
    height: 14px;
}

.pzdist-price-msg .pzdist-icon {
    width: 14px;
    height: 14px;
}

/* ════════════════════════════════════════════════════════
   CHECKOUT: Aviso de localidad de servicio
   ════════════════════════════════════════════════════════ */

.pzdist-checkout-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid transparent;
    font-size: 0.95em;
    line-height: 1.5;
}

.pzdist-checkout-notice--in-range {
    background-color: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.pzdist-checkout-notice--no-location {
    background-color: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.pzdist-checkout-notice .pzdist-notice-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.pzdist-checkout-notice .pzdist-notice-body {
    flex: 1;
}

.pzdist-checkout-notice .pzdist-notice-body strong {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}

.pzdist-checkout-notice .pzdist-notice-body p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.85;
}

.pzdist-checkout-notice--in-range a,
.pzdist-checkout-notice--in-range button {
    color: #166534;
    text-decoration: none;
}

.pzdist-checkout-notice--no-location a,
.pzdist-checkout-notice--no-location button {
    color: #92400e;
    text-decoration: none;
}

/* ════════════════════════════════════════════════════════
   SKELETON: precio cargando (cuando hay cookie pero la página
   estaba cacheada y PHP no pudo calcular el precio)
   ════════════════════════════════════════════════════════ */

.pzdist-price-skeleton {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.pzdist-price-skeleton > span {
    display: inline-block;
    width: 90px;
    height: 1.2em;
    border-radius: 4px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: pzdist-shimmer 1.4s infinite;
    vertical-align: middle;
}

@keyframes pzdist-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════════════════════
   POPUP DE UBICACIÓN
   ════════════════════════════════════════════════════════ */

/* Overlay */
.pzdist-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 20, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pzdist-popup-overlay.pzdist-popup-visible {
    opacity: 1;
    pointer-events: all;
}

/* Card */
.pzdist-popup-card {
    background: #fff;
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    padding: 36px 32px 28px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.22), 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    position: relative;
    text-align: center;
}

.pzdist-popup-overlay.pzdist-popup-visible .pzdist-popup-card {
    transform: translateY(0) scale(1);
}

/* Ícono principal */

/* Textos */
.pzdist-popup-title {
    font-size: 26px !important;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.pzdist-popup-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* Estado: calculando */

.pzdist-popup-calculating-msg {
    display: none;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 8px;
}

.pzdist-popup-card.pzdist-popup-calculating .pzdist-popup-calculating-msg {
    display: block;
}

/* Estado: error */
.pzdist-popup-error-msg {
    display: none;
    font-size: 0.82rem;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 10px;
    text-align: left;
}

.pzdist-popup-error-msg.pzdist-popup-error-visible {
    display: block;
}

/* ════════════════════════════════════════════════════════
   WIDGET FLOTANTE DE DISTANCIA (esquina inferior derecha)
   ════════════════════════════════════════════════════════ */

.pzdist-distance-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;        /* por debajo de carritos laterales y modales del tema (se oculta solo si algo lo tapa) */
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid #1746BE !important;
    border-radius: 50px;
    padding: 8px 14px 8px 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.pzdist-distance-badge.pzdist-badge-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    animation: pzdist-badge-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes pzdist-badge-in {
    from { opacity: 0; transform: translateY(12px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pzdist-distance-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}

.pzdist-badge-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1746BE !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pzdist-badge-dot svg {
    color: #fff;
}

.pzdist-badge-text {
    line-height: 1.2;
}

.pzdist-badge-text-km {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    display: block;
}

.pzdist-badge-text-label {
    font-size: 0.7rem;
    color: #94a3b8;
    display: block;
}

/* Tooltip al hover */
.pzdist-distance-badge::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: #0f172a;
    color: #fff;
    font-size: 0.75rem;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pzdist-distance-badge::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    right: 18px;
    border: 5px solid transparent;
    border-top-color: #0f172a;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.pzdist-distance-badge:hover::before,
.pzdist-distance-badge:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════════
   v1.7 — POPUP DE CÓDIGO POSTAL
   ════════════════════════════════════════════════════════ */
.pzdist-popup-card--cp { max-width: 420px; padding: 28px 28px 24px; text-align: left; }
.pzdist-popup-title--left { text-align: left; font-size: 1.25rem; margin: 0 28px 6px 0; }
.pzdist-popup-subtitle--left { text-align: left; margin: 0 0 18px; font-size: 0.9rem; }
.pzdist-popup-close {
    position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
    border: 1px solid #cbd5e1 !important; border-radius: 8px; background: #fff !important;
    color: #475569 !important; font-size: 20px; line-height: 1; cursor: pointer; padding: 0;
}
.pzdist-popup-close:hover { background: #f1f5f9 !important; }
.pzdist-cp-label { display: block; font-weight: 700; font-size: 0.9rem; color: #0f172a; margin-bottom: 6px; }
.pzdist-cp-row { display: flex; gap: 12px; align-items: stretch; }
.pzdist-cp-input {
    flex: 1; min-width: 0; height: 48px; padding: 0 14px; font-size: 1rem;
    border: 1px solid #94a3b8 !important; border-radius: 8px; background: #fff; color: #0f172a;
}
.pzdist-cp-input:focus { outline: 2px solid #1746BE; outline-offset: 1px; border-color: #1746BE !important; }
.pzdist-cp-save {
    height: 48px; padding: 0 22px; border: none; border-radius: 10px; cursor: pointer;
    background: #1746BE !important; color: #fff !important; font-weight: 700; font-size: 0.95rem;
}
.pzdist-cp-save:hover { background: #1338a0 !important; }
.pzdist-popup-card.pzdist-popup-calculating .pzdist-cp-save { opacity: .7; pointer-events: none; }
.pzdist-cp-help {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
    font-size: 0.85rem; color: #1746BE !important; text-decoration: none;
}
.pzdist-cp-help:hover { text-decoration: underline; }
.pzdist-popup-card--cp .pzdist-popup-calculating-msg { text-align: left; }

/* Texto "Precio calculado para ..." en avisos */
.pzdist-notice-from { margin: 4px 0 8px; }

/* Indicador en línea "Estás en ... (CP)" — shortcode [pzdist_ubicacion] */
.pzdist-loc-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; color: inherit; }
.pzdist-loc-pin { flex-shrink: 0; }
.pzdist-loc-link {
    background: none !important; border: none; padding: 0; margin: 0; cursor: pointer;
    color: #1746BE !important; font: inherit; text-decoration: none;
}
.pzdist-loc-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .pzdist-popup-card--cp { padding: 24px 18px 20px; }
    .pzdist-distance-badge { bottom: 14px; right: 14px; max-width: calc(100vw - 28px); }
}

/* v1.8 — enlace de WhatsApp para clientes fuera de cobertura */
.pzdist-wa-link {
    display: inline-block; margin-top: 4px; font-size: 0.85rem; font-weight: 600;
    color: #128c4a !important; text-decoration: none;
}
.pzdist-wa-link:hover { text-decoration: underline; }

/* v1.8.2 — se oculta un momento mientras algo lo tapa (carrito lateral, menú, modal) */
.pzdist-distance-badge.pzdist-badge-covered,
.pzdist-distance-badge.pzdist-badge-covered-sel { opacity: 0 !important; transform: translateY(6px) !important; }
.pzdist-distance-badge.pzdist-badge-covered-sel { pointer-events: none !important; }

/* ════════════════════════════════════════════════════════
   v1.8.3 — Aviso de zona en el checkout: más discreto
   (colores de la tienda #1846be, angosto y con aire alrededor)
   ════════════════════════════════════════════════════════ */
.pzdist-checkout-notice {
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 640px;
    margin: 28px auto 12px;
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.45;
    box-shadow: none;
}
.pzdist-checkout-notice--in-range {
    background-color: #f1f5fd;
    border-color: #d3dff7;
    color: #1846be;
}
.pzdist-checkout-notice--in-range .pzdist-notice-icon { color: #1846be; }
.pzdist-checkout-notice .pzdist-notice-body strong {
    display: block;
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1846be;
}
.pzdist-checkout-notice .pzdist-notice-body p {
    margin: 2px 0 0;
    font-size: 0.82rem;
    opacity: 1;
    color: #475569;
}
/* El botón heredaba el estilo de botón amarillo del tema: se fuerza a enlace discreto */
.pzdist-checkout-notice .pzdist-btn-clear-location,
.pzdist-checkout-notice .pzdist-btn-link,
.pzdist-checkout-notice .pzdist-btn-get-location {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    width: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #1846be !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    cursor: pointer;
}
.pzdist-checkout-notice .pzdist-btn-clear-location:hover,
.pzdist-checkout-notice .pzdist-btn-link:hover,
.pzdist-checkout-notice .pzdist-btn-get-location:hover {
    background: none !important;
    color: #12307f !important;
}
/* Variante "falta código postal": mismo formato compacto, tono de advertencia */
.pzdist-checkout-notice--no-location .pzdist-btn-get-location,
.pzdist-checkout-notice--no-location .pzdist-btn-link { color: #92400e !important; }

@media (max-width: 768px) {
    .pzdist-checkout-notice { margin: 16px auto 8px; padding: 10px 12px; }
}

/* ════════════════════════════════════════════════════════
   v1.8.7 — Ventana de código postal: rediseño
   (sin blur, más aire, título chico, input + botón unidos)
   ════════════════════════════════════════════════════════ */
.pzdist-popup-overlay {
    background: rgba(15, 23, 42, 0.45);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}


.pzdist-popup-card--cp .pzdist-cp-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}
/* Input y botón en una sola "píldora" */
.pzdist-popup-card--cp .pzdist-cp-row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 4px;
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.pzdist-popup-card--cp .pzdist-cp-row:focus-within {
    border-color: #1846be;
    box-shadow: 0 0 0 3px rgba(24, 70, 190, 0.15);
}



.pzdist-popup-card--cp .pzdist-popup-close {
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none !important;
    border-radius: 10px;
    background: #f1f5f9 !important;
    color: #475569 !important;
}
.pzdist-popup-card--cp .pzdist-popup-close:hover { background: #e2e8f0 !important; }

@media (max-width: 480px) {
    .pzdist-popup-card--cp { padding: 32px 22px 26px; }
}

/* ════════════════════════════════════════════════════════
   v1.8.8 — Ventana de código postal: tamaños más cómodos y cierre centrado
   ════════════════════════════════════════════════════════ */
.pzdist-popup-card--cp {
    width: 100%;
    max-width: 580px;
    padding: 40px;
    border-radius: 20px;

}

.pzdist-popup-card--cp .pzdist-popup-title {
    font-size: 20px !important;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.25;
    margin: 0 44px 10px 0;
}


.pzdist-popup-card--cp .pzdist-popup-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 28px;
    color: #64748b;
}
.pzdist-popup-card--cp .pzdist-cp-label {
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.pzdist-popup-card--cp .pzdist-cp-row { padding: 5px; border-radius: 18px; }

.pzdist-popup-card--cp .pzdist-cp-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 18px;
    border: none !important;
    border-radius: 14px;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 15px;
    color: #0f172a;
}



.pzdist-popup-card--cp .pzdist-cp-save {
    height: 44px;
    padding: 0 30px;
    border: none !important;
    border-radius: 14px;
    background: #1846be !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none !important;
}
.pzdist-popup-card--cp .pzdist-cp-save:hover { background: #12378f !important; }




.pzdist-popup-card--cp .pzdist-cp-help {
    margin-top: 20px;
    font-size: 14px;
    color: #1846be !important;
}


/* Cierre: caja fija con el ícono centrado (se anula el padding/line-height del tema) */
.pzdist-popup-card--cp .pzdist-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px !important;
    height: 40px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 0 !important;
    font-size: 0 !important;
    border-radius: 12px;
    cursor: pointer;
}
.pzdist-popup-card--cp .pzdist-popup-close svg { display: block; flex-shrink: 0; }

@media (max-width: 480px) {
    .pzdist-popup-card--cp { padding: 38px 24px 30px; }
    .pzdist-popup-card--cp .pzdist-popup-title { font-size: 22px !important; }
    .pzdist-popup-card--cp .pzdist-cp-save { padding: 0 22px; }
}

/* ════════════════════════════════════════════════════════
   v1.9.1 — Ventana de código postal: responsive
   (celulares, tablets, pantallas bajas y modo horizontal)
   ════════════════════════════════════════════════════════ */
.pzdist-popup-overlay {
    box-sizing: border-box;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
             max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.pzdist-popup-card--cp {
    box-sizing: border-box;
    margin: auto;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}
.pzdist-popup-card--cp * { box-sizing: border-box; }
.pzdist-popup-card--cp .pzdist-cp-row { width: 100%; }
.pzdist-popup-card--cp .pzdist-cp-save { flex-shrink: 0; white-space: nowrap; }

/* Tablet */
@media (max-width: 768px) {
    .pzdist-popup-card--cp { max-width: 520px; padding: 36px 32px 30px; }
}

/* Celular */
@media (max-width: 600px) {
    .pzdist-popup-card--cp { padding: 32px 20px 24px; border-radius: 18px; }
    .pzdist-popup-card--cp .pzdist-popup-title { font-size: 19px !important; margin: 0 44px 8px 0; }
    .pzdist-popup-card--cp .pzdist-popup-subtitle { font-size: 14px; margin: 0 0 20px; }
    .pzdist-popup-card--cp .pzdist-cp-label { font-size: 14px; margin-bottom: 8px; }
    .pzdist-popup-card--cp .pzdist-cp-row { padding: 4px; border-radius: 16px; }
    /* 16px evita el zoom automático de iPhone al enfocar el campo */
    .pzdist-popup-card--cp .pzdist-cp-input { height: 48px; padding: 0 12px; font-size: 16px; }
    .pzdist-popup-card--cp .pzdist-cp-save { height: 48px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
    .pzdist-popup-card--cp .pzdist-cp-help { margin-top: 16px; font-size: 14px; }
    .pzdist-popup-card--cp .pzdist-popup-close { top: 12px; right: 12px; width: 36px !important; height: 36px !important; border-radius: 10px; }
}

/* Celulares muy angostos */
@media (max-width: 360px) {
    .pzdist-popup-card--cp { padding: 28px 16px 20px; }
    .pzdist-popup-card--cp .pzdist-popup-title { font-size: 18px !important; }
    .pzdist-popup-card--cp .pzdist-cp-input { padding: 0 10px; }
    .pzdist-popup-card--cp .pzdist-cp-save { padding: 0 16px; }
}

/* Pantallas bajas (celular en horizontal): menos espacio vertical */
@media (max-height: 520px) {
    .pzdist-popup-card--cp { padding-top: 24px; padding-bottom: 18px; }
    .pzdist-popup-card--cp .pzdist-popup-subtitle { margin-bottom: 14px; }
    .pzdist-popup-card--cp .pzdist-cp-help { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .pzdist-popup-overlay, .pzdist-popup-card { transition: none !important; }
}

/* ════════════════════════════════════════════════════════
   v1.9.2 — Ventana de código postal: sin doble borde y a prueba de estilos del tema
   Se usan los IDs (#...) para ganarle a los estilos globales de inputs/botones del tema.
   ════════════════════════════════════════════════════════ */

/* Campo: ningún borde, sombra ni contorno propio en NINGÚN estado.
   El único resalte es el de la píldora (.pzdist-cp-row:focus-within). */
#pzdist-popup-card #pzdist-cp-input,
#pzdist-popup-card #pzdist-cp-input:hover,
#pzdist-popup-card #pzdist-cp-input:focus,
#pzdist-popup-card #pzdist-cp-input:focus-visible,
#pzdist-popup-card #pzdist-cp-input:active {
    -webkit-appearance: none !important;
    appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 12px !important;
    margin: 0 !important;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    color: #0f172a !important;
    transform: none !important;
    transition: none !important;
}
#pzdist-popup-card #pzdist-cp-input::placeholder { color: #94a3b8; opacity: 1; }

/* Autocompletado de Chrome: sin fondo azul/amarillo dentro de la píldora */
#pzdist-popup-card #pzdist-cp-input:-webkit-autofill,
#pzdist-popup-card #pzdist-cp-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    -webkit-text-fill-color: #0f172a !important;
}

/* Píldora: UN solo resalte (hover suave y foco azul) */
#pzdist-popup-card .pzdist-cp-row {
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background: #fff !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}
#pzdist-popup-card .pzdist-cp-row:hover { border-color: #94a3b8 !important; }
#pzdist-popup-card .pzdist-cp-row:focus-within {
    border-color: #1846be !important;
    box-shadow: 0 0 0 3px rgba(24, 70, 190, 0.15) !important;
}

/* Botón guardar: sin bordes ni sombras del tema, hover solo cambia el tono */
#pzdist-popup-card #pzdist-cp-save-btn,
#pzdist-popup-card #pzdist-cp-save-btn:focus,
#pzdist-popup-card #pzdist-cp-save-btn:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #1846be !important;
    color: #fff !important;
    margin: 0 !important;
    transform: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
#pzdist-popup-card #pzdist-cp-save-btn:hover { background: #12378f !important; }
#pzdist-popup-card #pzdist-cp-save-btn:focus-visible { box-shadow: 0 0 0 3px rgba(24, 70, 190, 0.35) !important; }

/* Botón cerrar: mismo criterio */
#pzdist-popup-card #pzdist-popup-dismiss-btn,
#pzdist-popup-card #pzdist-popup-dismiss-btn:focus,
#pzdist-popup-card #pzdist-popup-dismiss-btn:active {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
}
#pzdist-popup-card #pzdist-popup-dismiss-btn:hover { background: #e2e8f0 !important; }
#pzdist-popup-card #pzdist-popup-dismiss-btn:focus-visible { box-shadow: 0 0 0 3px rgba(24, 70, 190, 0.35) !important; }

/* Textos: alineación y espaciado consistentes */
#pzdist-popup-card .pzdist-popup-title,
#pzdist-popup-card .pzdist-popup-subtitle,
#pzdist-popup-card .pzdist-cp-label { text-align: left; }
#pzdist-popup-card .pzdist-cp-label { display: block; }

/* Mensajes de estado (buscando / error) con espacio propio */
#pzdist-popup-card .pzdist-popup-error-msg { margin-top: 14px; font-size: 14px; text-align: left; }

/* Celular y tablet: ajustes finos de proporción */
@media (max-width: 768px) {
    #pzdist-popup-card .pzdist-popup-title { font-size: 22px !important; line-height: 1.25; margin-right: 44px; }
    #pzdist-popup-card .pzdist-popup-subtitle { font-size: 15px; }
}
@media (max-width: 600px) {
    #pzdist-popup-card { padding: 28px 20px 22px; }
    #pzdist-popup-card .pzdist-popup-title { font-size: 19px !important; margin-right: 40px; }
    #pzdist-popup-card .pzdist-popup-subtitle { font-size: 14px; margin-bottom: 18px; }
    #pzdist-popup-card #pzdist-cp-input { height: 48px; padding: 0 12px !important; font-size: 16px !important; }
    #pzdist-popup-card #pzdist-cp-save-btn { height: 48px; padding: 0 20px !important; font-size: 15px !important; }
    #pzdist-popup-card #pzdist-popup-dismiss-btn { top: 12px !important; right: 12px !important; width: 34px !important; height: 34px !important; }
}

/* ════════════════════════════════════════════════════════
   v1.10 — "No disponible en tu área" (tarjeta + ficha)
   Se usan selectores con doble clase y !important en botones/enlaces para
   ganarle a los estilos globales del tema (botones amarillos, subrayados, etc.).
   ════════════════════════════════════════════════════════ */

/* Tarjetas del catálogo: aviso compacto, sin enlaces */
.pzdist-price-msg.pzdist-price-msg--out-of-range {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: fit-content !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 4px 0 0 !important;
    padding: 5px 10px 5px 8px !important;
    overflow: hidden;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
}
.pzdist-price-msg--out-of-range .pzdist-unavail__ico { display: inline-flex !important; flex: 0 0 auto; color: #b42318; line-height: 0; }
.pzdist-price-msg--out-of-range .pzdist-unavail__ico svg { display: block !important; width: 14px; height: 14px; margin: 0; }
.pzdist-price-msg--out-of-range .pzdist-unavail__txt {
    display: block !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit;
}

/* Ficha del producto: panel completo */
.pzdist-product-notice.pzdist-unavail-panel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 20px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.5;
}
.pzdist-unavail-panel__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fee4e2;
    color: #b42318;
}
.pzdist-unavail-panel__body { display: block; flex: 1; min-width: 0; }
.pzdist-unavail-panel__title {
    display: block;
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #0f172a;
}
.pzdist-unavail-panel__text { display: block; color: #475569; }
.pzdist-unavail-panel__text strong { color: #0f172a; font-weight: 600; }
.pzdist-unavail-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.pzdist-unavail-panel a.pzdist-wa-btn,
.pzdist-unavail-panel button.pzdist-change-cp {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;            /* lado a lado si entran; si no, se apilan y ocupan todo el ancho */
    white-space: nowrap;
    gap: 8px;
    box-sizing: border-box;
    height: 44px;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.pzdist-unavail-panel a.pzdist-wa-btn {
    border: 1.5px solid #128c4a !important;
    background: #128c4a !important;
    color: #fff !important;
}
.pzdist-unavail-panel a.pzdist-wa-btn:hover { background: #0e7a40 !important; border-color: #0e7a40 !important; }
.pzdist-unavail-panel button.pzdist-change-cp {
    border: 1.5px solid #cbd5e1 !important;
    background: #fff !important;
    color: #1846be !important;
}
.pzdist-unavail-panel button.pzdist-change-cp:hover { border-color: #1846be !important; background: #f3f6fd !important; }
.pzdist-unavail-panel a.pzdist-wa-btn:focus-visible,
.pzdist-unavail-panel button.pzdist-change-cp:focus-visible { outline: 3px solid rgba(24, 70, 190, .35) !important; outline-offset: 2px; }
.pzdist-unavail-panel .pzdist-svg { flex-shrink: 0; }

/* Fuera de cobertura la ficha no ofrece compra: el panel explica y deja consultar */
body.single-product.pzdist-out-of-range form.cart { display: none !important; }
/* El precio de la ficha queda vacío fuera de cobertura: sin hueco */
.price:empty { display: none; }

@media (max-width: 520px) {
    .pzdist-product-notice.pzdist-unavail-panel { flex-direction: column; gap: 12px; padding: 16px; border-radius: 14px; }
    .pzdist-unavail-panel__actions { flex-direction: column; }
    .pzdist-unavail-panel a.pzdist-wa-btn,
    .pzdist-unavail-panel button.pzdist-change-cp { flex: 0 0 auto; width: 100% !important; }
}

/* ════════════════════════════════════════════════════════
   v1.10 — Selector de variantes en tarjetas
   ════════════════════════════════════════════════════════ */
.pzdist-variants { position: relative; width: 100%; margin: 0 0 20px; }

.pzdist-variants__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    margin: 0 0 12px;
}
.pzdist-variants__title { font-size: 14px; font-weight: 600; line-height: 1.4; color: #0f172a; }
.pzdist-variants__note  { font-size: 13px; line-height: 1.4; color: #64748b; }

.pzdist-variants__list { display: flex; flex-direction: column; gap: 12px; }

.pzdist-vcard {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 18px 22px;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.pzdist-vcard:hover { border-color: #b7c5ec; }
.pzdist-vcard.is-selected { border-color: #1846be; background: #f3f6fd; }
.pzdist-vcard.is-disabled { cursor: not-allowed; background: #f8fafc; opacity: .6; }
.pzdist-vcard.is-disabled:hover { border-color: #e2e8f0; }

/* El radio nativo queda accesible (teclado, lectores) pero invisible */
.pzdist-vcard__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}
.pzdist-vcard__radio {
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
/* Seleccionado: aro azul + separación blanca + punto azul */
.pzdist-vcard.is-selected .pzdist-vcard__radio {
    border-color: #1846be;
    background: #1846be;
    box-shadow: inset 0 0 0 4px #fff;
}
.pzdist-vcard__input:focus-visible ~ .pzdist-vcard__radio { box-shadow: 0 0 0 3px rgba(24, 70, 190, .35); }
.pzdist-vcard.is-selected .pzdist-vcard__input:focus-visible ~ .pzdist-vcard__radio {
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 3px rgba(24, 70, 190, .35);
}

.pzdist-vcard__body { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.pzdist-vcard__name { font-size: 16px; font-weight: 600; line-height: 1.3; color: #0f172a; }
.pzdist-vcard__desc { font-size: 13.5px; line-height: 1.45; color: #64748b; }

.pzdist-vcard__price {
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: #0f172a;
}
/* El tema suele estilizar .amount: el precio de la tarjeta hereda el de la tarjeta */
.pzdist-vcard__price .woocommerce-Price-amount,
.pzdist-vcard__price bdi,
.pzdist-vcard__price .woocommerce-Price-currencySymbol { font: inherit !important; color: inherit !important; }
.pzdist-vcard__price--note { font-size: 13px; font-weight: 600; letter-spacing: 0; color: #94a3b8; }

/* El <select> original queda en la página (WooCommerce lo usa), solo que invisible */
.pzdist-variants__select {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Tabla de WooCommerce: una sola columna a todo el ancho, sin etiqueta ni "Limpiar" */
.pzdist-variants-table,
.pzdist-variants-table tbody,
.pzdist-variants-table tr.pzdist-variants-row,
.pzdist-variants-row td { display: block; width: 100%; box-sizing: border-box; border: 0; padding: 0; margin: 0; background: none; }
.pzdist-variants-row th,
.pzdist-variants-row .label { display: none; }
.pzdist-variants-row .reset_variations { display: none !important; }

@media (max-width: 480px) {
    .pzdist-vcard { gap: 12px; padding: 14px 16px; border-radius: 14px; }
    .pzdist-vcard__name { font-size: 15px; }
    .pzdist-vcard__desc { font-size: 13px; }
    .pzdist-vcard__price { font-size: 18px; }
    .pzdist-vcard__price--note { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .pzdist-vcard, .pzdist-vcard__radio { transition: none; }
}

/* ════════════════════════════════════════════════════════
   v1.10.1 — Variantes: sin precio duplicado + responsive por ancho de la columna
   ════════════════════════════════════════════════════════ */

/* La tarjeta elegida ya muestra el precio: se oculta el que WooCommerce repite debajo */
.pzdist-has-cards .woocommerce-variation-price { display: none !important; }
form.variations_form:has(.pzdist-variants) .woocommerce-variation-price { display: none !important; }

/* La columna del producto suele ser angosta incluso en escritorio: se mide el contenedor, no la pantalla */
.pzdist-variants { container-type: inline-size; container-name: pzv; }
.pzdist-vcard__name { overflow-wrap: break-word; }

/* Angosto: radio + texto arriba, precio debajo alineado con el texto */
@container pzv (max-width: 470px) {
    .pzdist-vcard { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: start; padding: 14px 16px; border-radius: 14px; }
    .pzdist-vcard__radio { margin-top: 1px; }
    .pzdist-vcard__body { grid-column: 2; }
    .pzdist-vcard__price { grid-column: 2; font-size: 19px; white-space: normal; }
    .pzdist-vcard__price.pzdist-vcard__price--note { font-size: 13px; }
    .pzdist-vcard__name { font-size: 15px; }
    .pzdist-vcard__desc { font-size: 13px; }
}
/* Navegadores sin container queries: mismo diseño por ancho de pantalla */
@supports not (container-type: inline-size) {
    @media (max-width: 560px) {
        .pzdist-vcard { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: start; padding: 14px 16px; }
        .pzdist-vcard__radio { margin-top: 1px; }
        .pzdist-vcard__body, .pzdist-vcard__price { grid-column: 2; }
        .pzdist-vcard__price { font-size: 19px; white-space: normal; }
    }
}

/* ════════════════════════════════════════════════════════
   v1.10.1 — Franja horaria preferida (píldoras)
   Funciona sin JS: el estado "elegido" sale del radio nativo (:checked).
   ════════════════════════════════════════════════════════ */
.pzdist-slots { width: 100%; box-sizing: border-box; margin: 0 0 18px; }
.pzdist-slots__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 10px; }
.pzdist-slots__title { font-size: 14px; font-weight: 600; line-height: 1.4; color: #0f172a; }
.pzdist-slots__note { font-size: 13px; line-height: 1.4; color: #64748b; }
.pzdist-slots__note::before { content: "\2022"; margin-right: 8px; color: #94a3b8; }

.pzdist-slots__list { display: flex; flex-wrap: wrap; gap: 10px; }
.pzdist-slot { position: relative; display: block; margin: 0; cursor: pointer; }
.pzdist-slot__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

.pzdist-slot__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    min-height: 42px;
    padding: 0 18px;
    border: 1.5px solid #dfe5ee;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.pzdist-slot__detail { color: #64748b; font-weight: 400; }
.pzdist-slot__detail::before { content: "\2022"; margin-right: 7px; color: #94a3b8; }
.pzdist-slot:hover .pzdist-slot__pill { border-color: #b7c5ec; }
.pzdist-slot__input:checked + .pzdist-slot__pill { border-color: #1846be; background: #eef2fd; color: #1846be; font-weight: 600; }
.pzdist-slot__input:checked + .pzdist-slot__pill .pzdist-slot__detail { color: #1846be; }
.pzdist-slot__input:checked + .pzdist-slot__pill .pzdist-slot__detail::before { color: #1846be; }
.pzdist-slot__input:focus-visible + .pzdist-slot__pill { outline: 3px solid rgba(24, 70, 190, .35); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) { .pzdist-slot__pill { transition: none; } }

/* v1.10.2 — La franja nunca comparte fila con "cantidad + botón": ocupa todo el ancho y va primero */
.pzdist-slots { min-width: 0; max-width: 100%; }
.pzdist-slots__list { width: 100%; }

/* v1.10.2 — La tabla de variantes de WooCommerce pasa a bloque solo con CSS (no depende de que cargue el JS):
   dentro de una celda de tabla, el contenedor de las tarjetas se encogía a 0 de ancho. */
table.variations:has(.pzdist-variants),
table.variations:has(.pzdist-variants) tbody,
table.variations:has(.pzdist-variants) tr,
table.variations:has(.pzdist-variants) td { display: block; width: 100%; box-sizing: border-box; border: 0; padding: 0; margin: 0; background: none; }
table.variations:has(.pzdist-variants) th,
table.variations:has(.pzdist-variants) .label,
table.variations:has(.pzdist-variants) .reset_variations { display: none !important; }

/* ════════════════════════════════════════════════════════
   v1.10.3 — Fuente Red Hat Display en todos los componentes
   ════════════════════════════════════════════════════════ */
:root { --pzdist-font: "Red Hat Display", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.pzdist-variants, .pzdist-variants *,
.pzdist-slots, .pzdist-slots *,
.pzdist-product-notice, .pzdist-product-notice *,
.pzdist-checkout-notice, .pzdist-checkout-notice *,
.pzdist-price-msg, .pzdist-price-msg *,
.pzdist-popup-overlay, .pzdist-popup-overlay *,
.pzdist-distance-badge, .pzdist-distance-badge *,
.pzdist-loc-inline, .pzdist-loc-inline *,
.pzdist-wa-link { font-family: var(--pzdist-font) !important; }

/* ════════════════════════════════════════════════════════
   v1.10.3 — Responsive
   ════════════════════════════════════════════════════════ */

/* Panel "no disponible": en columnas angostas el ícono pasa arriba y los botones pueden partir su texto */
.pzdist-product-notice.pzdist-unavail-panel { flex-wrap: wrap; }
.pzdist-unavail-panel__body { flex: 1 1 200px; }
.pzdist-unavail-panel a.pzdist-wa-btn,
.pzdist-unavail-panel button.pzdist-change-cp {
    white-space: normal !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 11px 16px !important;
    line-height: 1.25 !important;
    text-align: center;
}
.pzdist-unavail-panel__text, .pzdist-unavail-panel__title { overflow-wrap: anywhere; }

/* Ningún componente puede ser más ancho que su columna */
.pzdist-variants, .pzdist-slots, .pzdist-product-notice, .pzdist-checkout-notice { max-width: 100%; box-sizing: border-box; }
.pzdist-slot__pill { max-width: 100%; }
.pzdist-slot { max-width: 100%; }
.pzdist-slot__pill { white-space: normal; text-align: center; }

/* ════════════════════════════════════════════════════════
   v1.10.4 — Franjas: o las tres juntas en una fila, o una por línea (nunca 2 + 1)
   Se mide el ancho de la columna, no el de la pantalla.
   ════════════════════════════════════════════════════════ */
.pzdist-slots { width: 100%; container-type: inline-size; container-name: pzs; }
.pzdist-slots__list {
    display: grid;
    grid-template-columns: repeat(var(--pzdist-slots-n, 3), minmax(0, 1fr));
    gap: 10px;
}
.pzdist-slot { min-width: 0; }
.pzdist-slot__pill { display: flex; width: 100%; height: 100%; justify-content: center; align-items: center; }

/* Columna media: siguen las tres juntas; la etiqueta y el horario se apilan dentro de cada píldora */
@container pzs (max-width: 519px) {
    .pzdist-slot__pill { flex-direction: column; gap: 1px; padding: 8px 8px; min-height: 52px; line-height: 1.2; }
    .pzdist-slot__detail { font-size: 12.5px; }
    .pzdist-slot__detail::before { content: none; }
}
/* Columna muy angosta: una por línea */
@container pzs (max-width: 339px) {
    .pzdist-slots__list { grid-template-columns: 1fr; }
    .pzdist-slot__pill { flex-direction: row; gap: 7px; padding: 0 16px; min-height: 44px; }
    .pzdist-slot__detail::before { content: "\2022"; margin-right: 7px; }
}

/* Precio vacío (variables con tarjetas, fuera de cobertura): el widget no deja un hueco entre título y selector */
.elementor-widget-woocommerce-product-price:has(.price:empty),
.elementor-widget:has(> .elementor-widget-container > .price:empty),
.pzdist-hidden { display: none !important; }
.variations_form table.variations { margin-bottom: 0; }

/* ════════════════════════════════════════════════════════
   v1.10.8 — Aviso "Precio según tu código postal" en azul + sin mensaje duplicado junto al precio
   ════════════════════════════════════════════════════════ */
/* En la ficha, el mensaje "Compartí tu ubicación" junto al precio no se muestra: queda solo el aviso */
body.single-product .summary .price:has(> .pzdist-price-msg--no-location),
body.single-product .elementor-widget-woocommerce-product-price .price:has(> .pzdist-price-msg--no-location),
body.single-product .elementor-widget-woocommerce-product-price:has(.price > .pzdist-price-msg--no-location) { display: none !important; }

.pzdist-product-notice.pzdist-product-notice--no-location {
    background: #eef2fd;
    border: 1px solid #c7d4f5;
    color: #0f172a;
    box-sizing: border-box;
    max-width: 100%;
}
.pzdist-product-notice.pzdist-product-notice--no-location { flex-direction: row; gap: 12px; }
.pzdist-product-notice--no-location .pzdist-notice-body { min-width: 0; }
.pzdist-product-notice--no-location .pzdist-notice-icon { color: #1846be; }
.pzdist-product-notice--no-location .pzdist-notice-body strong { color: #0f172a; }
.pzdist-product-notice--no-location .pzdist-notice-body p { color: #475569; }
.pzdist-product-notice--no-location .pzdist-btn-get-location {
    background: #1846be !important;
    background-color: #1846be !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 8px;
    padding: 10px 18px;
    max-width: 100%;
    white-space: normal;
    text-align: left;
}
.pzdist-product-notice--no-location .pzdist-btn-get-location:hover,
.pzdist-product-notice--no-location .pzdist-btn-get-location:focus-visible { background: #123a9c !important; background-color: #123a9c !important; color: #fff !important; }
.pzdist-product-notice--no-location .pzdist-btn-get-location .pzdist-icon { display: none !important; }
.pzdist-product-notice--no-location .pzdist-notice-body > p { display: none !important; }
.pzdist-product-notice--no-location .pzdist-notice-body strong { margin-bottom: 10px; }
.pzdist-product-notice--no-location .pzdist-btn-get-location:focus-visible { outline: 3px solid rgba(24, 70, 190, .35); outline-offset: 2px; }
.pzdist-product-notice--no-location .pzdist-location-status:empty { display: none; }
@media (max-width: 480px) {
    .pzdist-product-notice--no-location .pzdist-btn-get-location { width: 100%; justify-content: center; }
}
