/* ================================================
   HEADER TIENDA FLORIDAME — blanco con acentos amarillos
   ================================================ */

.zsl-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-bottom: 2px solid #ffcc00;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .07);
    padding: 10px 16px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    transition: transform .25s ease;
}

.zsl-header.zsl-header-hidden {
    transform: translateY(-110%);
}

body.admin-bar .zsl-header { top: 32px; }

@media screen and (max-width: 782px) {
    body.admin-bar .zsl-header { top: 46px; }
}

/* Ocultar el header de Electro */
.zfl-store-active .top-bar,
.zfl-store-active #masthead {
    display: none !important;
}

/* Ocultar el footer de Electro */
.zfl-store-active #colophon,
.zfl-store-active .handheld-footer,
.zfl-store-active .handheld-footer-bar {
    display: none !important;
}

/* Ocultar secciones de demo de Electro (marcas, etc.) */
.zfl-store-active .brands-carousel,
.zfl-store-active .electro-attributes {
    display: none !important;
}

/* ================================================
   FOOTER TIENDA — oscuro con acentos amarillos
   ================================================ */

.zsl-footer {
    margin-top: 48px;
    background: #0f1115;
    color: #d1d5db;
}

.zsl-footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 36px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 44px 16px 0;
}

.zsl-footer-brand img {
    max-height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

.zsl-footer-brand > span {
    color: #ffcc00;
    font-weight: 900;
    font-size: 20px;
}

.zsl-footer-tag {
    margin: 12px 0 0;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.zsl-footer-col h4 {
    margin: 4px 0 14px;
    color: #ffcc00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.zsl-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.zsl-footer-links a { display: inline-flex; align-items: center; gap: 7px; }
.zsl-footer-links a svg { flex: 0 0 auto; }

.zsl-footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color .15s ease;
}

.zsl-footer-links a:hover { color: #ffcc00; }

.zsl-locs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.zsl-loc-pill {
    padding: 5px 13px;
    border: 1px solid #374151;
    border-radius: 20px;
    color: #d1d5db;
    font-size: 13px;
}

.zsl-footer-bottom {
    margin-top: 36px;
    padding: 16px;
    border-top: 1px solid #1f2937;
    color: #9ca3af;
    font-size: 13px;
    text-align: center;
}

.zsl-footer-bottom strong { color: #ffcc00; }

@media (max-width: 768px) {
    .zsl-footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 32px 14px 0;
    }

    .zsl-footer { margin-top: 32px; }
}

/* Logo */
.zsl-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
}

.zsl-logo img {
    max-height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.zsl-logo span {
    color: #111827;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: .02em;
}

/* Chip de localidad (estilo Amazon) */
.zsl-loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #111827;
    cursor: pointer;
    text-align: left;
    flex-shrink: 0;
    font-family: inherit;
    transition: border-color .15s ease, background .15s ease;
}

.zsl-loc-chip:hover {
    border-color: #ffcc00;
    background: #fffbe6;
}

.zsl-loc-chip svg { color: #111827; flex-shrink: 0; }

.zsl-loc-texts {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.zsl-loc-hello {
    font-size: 10px;
    color: #6b7280;
}

.zsl-loc-name {
    font-size: 13px;
    font-weight: 800;
    color: #111827;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Búsqueda */
.zsl-search {
    flex: 1;
    display: flex;
    gap: 0;
    min-width: 140px;
    max-width: 640px;
    margin: 0 auto;
}

.zsl-search input[type="search"] {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    font-size: 15px;
    background: #f9fafb;
    color: #111827;
    outline: none;
    -webkit-appearance: none;
}

.zsl-search input[type="search"]:focus {
    background: #ffffff;
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, .22);
}

.zsl-search button {
    padding: 0 16px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: #ffcc00;
    color: #000000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}

.zsl-search button:hover { background: #e6b800; }

/* Acciones */
.zsl-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    margin-left: auto;
}

.zsl-search + .zsl-actions { margin-left: 0; }

.zsl-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #111827;
    text-decoration: none;
    position: relative;
    transition: border-color .15s ease, background .15s ease;
}

.zsl-action:hover {
    border-color: #ffcc00;
    background: #fffbe6;
}

.zsl-action svg { color: #111827; }

.zsl-action-label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.zsl-cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #ffcc00;
    color: #000000;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.zsl-no-scroll { overflow: hidden; }

/* Dark mode toggle */
.zsl-dark-toggle { cursor: pointer; }
.zsl-dark-toggle .zsl-icon-moon { display: none !important; }
.zsl-dark-toggle .zsl-icon-sun { display: inline-block !important; }
html.dark-mode .zsl-dark-toggle .zsl-icon-moon { display: inline-block !important; }
html.dark-mode .zsl-dark-toggle .zsl-icon-sun { display: none !important; }

/* Pop-up obligatorio de localidad */
.zsl-loc-modal.zsl-loc-mandatory {
    z-index: 99999;
}

.zsl-loc-modal.zsl-loc-mandatory .zsl-loc-close {
    display: none !important;
}

.zsl-loc-modal.zsl-loc-mandatory .zsl-loc-overlay {
    pointer-events: none !important;
    cursor: not-allowed;
}

.zsl-currency-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 7px 32px 7px 11px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
    font-size: 12.5px;
    font-weight: 800;
    color: #111827;
    cursor: pointer;
    outline: none;
    width: auto;
    min-width: 68px;
}

.zsl-currency-select:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, .2);
}

@media (max-width: 768px) {
    .zsl-currency-select {
        padding: 6px 24px 6px 8px;
        font-size: 12px;
    }
}

.zsl-currency-select:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 0 3px rgba(255, 204, 0, .2);
}

/* Modal de instalación */
.zsl-imodal {
    position: fixed;
    inset: 0;
    z-index: 99992;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(15, 23, 42, .55);
}

.zsl-imodal[hidden] { display: none; }

.zsl-imodal-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.zsl-imodal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.zsl-imodal-head b { font-size: 17px; color: #111827; }

.zsl-imodal-box p {
    margin: 0 0 16px;
    color: #374151;
    font-size: 14.5px;
    line-height: 1.8;
}

.zsl-imodal-close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.zsl-imodal-close:hover { background: #e5e7eb; }

.zsl-imodal-ok {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 10px;
    background: #111827;
    color: #ffcc00;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
}

@media (min-width: 640px) {
    .zsl-imodal { align-items: center; }
    .zsl-imodal-box { border-radius: 16px; }
}

/* ================================================
   MODAL DE LOCALIDAD
   ================================================ */

.zsl-loc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.zsl-loc-modal[hidden] { display: none; }

.zsl-loc-modal.zsl-open {
    opacity: 1;
    pointer-events: auto;
}

.zsl-loc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
}

.zsl-loc-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 85vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 20px 24px;
    margin: 16px;
    transform: translateY(12px) scale(.98);
    transition: transform .2s ease;
}

.zsl-loc-modal.zsl-open .zsl-loc-box {
    transform: translateY(0);
}

.zsl-loc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.zsl-loc-head strong {
    font-size: 18px;
    color: #111827;
}

.zsl-loc-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.zsl-loc-close:hover { background: #e5e7eb; }

.zsl-loc-help {
    margin: 8px 0 14px;
    color: #6b7280;
    font-size: 13px;
}

.zsl-loc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zsl-loc-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: border-color .15s ease, background .15s ease;
}

.zsl-loc-option:hover {
    border-color: #ffcc00;
    background: #fffdf5;
}

.zsl-loc-option.active {
    border-color: #111827;
    background: #fffbe6;
}

.zsl-loc-option span {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}

.zsl-loc-option small {
    font-size: 12px;
    color: #6b7280;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .zsl-header {
        flex-wrap: wrap;
        padding: 8px 10px;
        gap: 8px;
    }

    /* Fila 1: logo, chip localidad, moneda */
    .zsl-logo { order: 1; }
    .zsl-loc-chip { order: 2; }
    .zsl-currency-select { order: 3; margin-left: auto; }

    /* Ocultar búsqueda en móvil (ya hay buscador en home) */
    .zsl-search {
        display: none;
    }

    /* Fila 2: acciones a todo el ancho */
    .zsl-actions {
        order: 10;
        flex-basis: 100%;
        justify-content: space-between;
        border-top: 1px solid #e5e7eb;
        padding-top: 8px;
        margin-top: 2px;
    }

    .zsl-logo img {
        max-height: 34px;
        max-width: 110px;
    }

    .zsl-logo span { font-size: 17px; }

    .zsl-loc-chip { padding: 5px 8px; }

    .zsl-loc-name { max-width: 72px; }

    .zsl-action { padding: 7px 8px; flex: 1; justify-content: center; }

    .zsl-action-label { display: none; }

    .zsl-dark-toggle { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
    .zsl-dark-toggle .zsl-icon-moon { display: none !important; width: 20px; height: 20px; }
    .zsl-dark-toggle .zsl-icon-sun { display: inline-block !important; width: 20px; height: 20px; }
    html.dark-mode .zsl-dark-toggle .zsl-icon-moon { display: inline-block !important; }
    html.dark-mode .zsl-dark-toggle .zsl-icon-sun { display: none !important; }
}

/* Toast de error */
.zfh-toast {
    position: fixed;
    bottom: 18px;
    left: 50%;
    z-index: 99991;
    max-width: 92vw;
    padding: 11px 16px;
    border-radius: 10px;
    background: #dc2626;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
}
.zfh-toast.zfh-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.zsl-cart-count.bump { animation: zsl-bump .45s ease; }
@keyframes zsl-bump {
    0% { transform: scale(1); }
    35% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* ─── Chrome mobile fixes ─── */
@supports (-webkit-touch-callout: none) {
    body { -webkit-text-size-adjust: 100%; }
}

/* Chrome en Android a veces aplica zoom en inputs */
input[type="search"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-size: 16px !important;
}

/* Evita que Chrome desktop reduzca el header */
@media screen and (max-width: 782px) {
    html { -webkit-text-size-adjust: 100%; }
}

/* ── Menú desplegable lateral (móvil) ── */
.zsl-burger { display: none; }

.zsl-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(5, 8, 15, .62);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity .22s ease;
}
.zsl-drawer-overlay.zsl-open { opacity: 1; }

.zsl-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99991;
    width: min(320px, 86vw);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    background: #10131a;
    color: #e5e7eb;
    border-right: 1px solid #262b36;
    transform: translateX(-105%);
    transition: transform .26s ease;
    overflow-y: auto;
}
html.zfl-theme-light .zsl-drawer { background: #ffffff; color: #17191e; border-right-color: #e2e5ea; }
.zsl-drawer.zsl-open { transform: translateX(0); }

.zsl-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.zsl-drawer-head .zsl-drawer-brand-logo {
    display: block;
    width: min(170px, calc(100vw - 150px));
    height: 40px;
    object-fit: contain;
    object-position: center;
}
.zsl-drawer-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #2c313d;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}
.zsl-drawer-close svg { display: block; margin: auto; }
html.zfl-theme-light .zsl-drawer-close { border-color: #d6dae1; }
.zsl-drawer-install {
    display: none;
    grid: place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #2c313d;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    flex-shrink: 0;
}
.zsl-drawer-install svg { display: block; margin: auto; }
html.zfl-theme-light .zsl-drawer-install { border-color: #d6dae1; }
@media (max-width: 600px) {
    .zsl-drawer-install { display: grid; }
}

/* Modal de instalación PWA (reutiliza clases de home.css) */
.zfh-imodal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, .45);
    padding: 16px;
}
.zfh-imodal[hidden] { display: none; }

.zfh-imodal-box {
    width: 100%;
    max-width: 340px;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px 18px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
}

.zfh-imodal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.zfh-imodal-head b { font-size: 17px; color: #111827; }

.zfh-imodal-box p {
    font-size: 14px;
    line-height: 1.55;
    color: #374151;
    margin: 0 0 16px;
}

.zfh-imodal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 0;
    background: #f3f4f6;
    color: #374151;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.zfh-imodal-close:hover { background: #e5e7eb; }

.zfh-imodal-ok {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 0;
    background: #ffcc00;
    color: #111827;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.zsl-drawer-search {
    display: flex;
    gap: 6px;
}
.zsl-drawer-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid #2c313d;
    background: #171b24;
    color: inherit;
    font: inherit;
}
html.zfl-theme-light .zsl-drawer-search input[type="search"] { background: #f3f4f6; border-color: #d6dae1; }
.zsl-drawer-search button {
    display: grid;
    place-items: center;
    width: 44px;
    border-radius: 10px;
    border: 0;
    background: #ffcc00;
    color: #17191e;
    cursor: pointer;
}

.zsl-drawer-loc, .zsl-drawer-dark {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #2c313d;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
html.zfl-theme-light .zsl-drawer-loc, html.zfl-theme-light .zsl-drawer-dark { border-color: #d6dae1; }
.zsl-drawer-loc strong { font-weight: 700; }

.zsl-drawer-currency { display: grid; gap: 6px; font-size: 12px; opacity: .85; }
.zsl-drawer-currency select {
    width: 100%;
    padding: 10px 8px;
    border-radius: 10px;
    border: 1px solid #2c313d;
    background: #171b24;
    color: inherit;
    font: inherit;
}
html.zfl-theme-light .zsl-drawer-currency select { background: #f3f4f6; border-color: #d6dae1; }

.zsl-drawer-nav { display: grid; gap: 2px; }
.zsl-drawer-title {
    margin: 8px 0 6px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .55;
}
.zsl-drawer-nav a {
    display: block;
    padding: 11px 10px;
    border-radius: 9px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}
.zsl-drawer-nav a:active, .zsl-drawer-nav a:hover { background: rgba(255, 204, 0, .12); color: #ffcc00; }

/* Categorías plegables: reduce ruido inicial y deja el catálogo a un toque. */
.zsl-nav-categories,
.zsl-drawer-categories { position: relative; }
.zsl-nav-categories summary,
.zsl-drawer-categories summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}
.zsl-nav-categories summary::-webkit-details-marker,
.zsl-drawer-categories summary::-webkit-details-marker { display: none; }
.zsl-nav-categories summary span,
.zsl-drawer-categories summary span { transition: transform .18s ease; }
.zsl-nav-categories[open] summary span,
.zsl-drawer-categories[open] summary span { transform: rotate(180deg); }
.zsl-nav-categories-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    left: 50%;
    display: grid;
    min-width: 176px;
    padding: 7px;
    border: 1px solid #323947;
    border-radius: 12px;
    background: #171b22;
    box-shadow: 0 16px 30px rgba(0,0,0,.24);
    transform: translateX(-50%);
}
.zsl-nav-categories-list a,
.zsl-nav-tracking,
.zsl-nav-share {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.zsl-nav-categories-list a:hover,
.zsl-nav-tracking:hover,
.zsl-nav-share:hover { background: rgba(255,204,0,.13); color: #ffcc00; }
.zsl-nav-tracking { border: 1px solid #3d4654; }
.zsl-nav-share { border: 0; padding: 12px 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.zsl-drawer-share { border: 1px solid #3d4654; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.zsl-drawer-share { display: block; width: 100%; padding: 11px 10px; border-radius: 9px; color: inherit; font-weight: 600; font-size: 14.5px; }
.zsl-drawer-share:hover { background: rgba(255,204,0,.13); color: #ffcc00; }
.zsl-drawer-categories summary {
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid #2c313d;
    border-radius: 10px;
}
.zsl-drawer-categories-list { display: grid; gap: 2px; padding: 6px 0 0; }
.zsl-drawer-track { border: 1px solid #3d4654; }
html.zfl-theme-light .zsl-nav-categories-list { border-color: #dfe3e8; background: #fff; box-shadow: 0 16px 30px rgba(23,28,35,.13); }
html.zfl-theme-light .zsl-nav-tracking,
html.zfl-theme-light .zsl-drawer-track,
html.zfl-theme-light .zsl-drawer-share,
html.zfl-theme-light .zsl-drawer-categories summary { border-color: #d6dae1; }

/* Regla final del header móvil: evita que el responsive heredado cree una segunda fila. */
@media (max-width: 768px) {
    body.zfl-store-active .zsl-main {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    body.zfl-store-active .zsl-logo { grid-column: 2 !important; order: unset !important; }
    body.zfl-store-active .zsl-logo img { max-width: min(164px, 100%) !important; max-height: 40px !important; }
    body.zfl-store-active .zsl-actions {
        display: contents !important;
        order: unset !important;
        flex-basis: auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
    body.zfl-store-active .zsl-cart { grid-column: 3 !important; position: relative; }
    body.zfl-store-active .zsl-action:not(.zsl-cart),
    body.zfl-store-active .zsl-search,
    body.zfl-store-active .zsl-currency-select,
    body.zfl-store-active .zsl-loc-chip,
    body.zfl-store-active .zsl-dark-toggle { display: none !important; }
    body.zfl-store-active .zsl-cart .zsl-action-label { display: none !important; }
}

/* ── Móvil: la cabecera de una fila se define en storefront-desktop-polish.css
   (última capa cargada) para que no haya dos rejillas compitiendo.
   Aquí solo viven el burger base, el drawer y el bloqueo de scroll. ── */

/* Evita el scroll del fondo con el drawer abierto */
body.zsl-drawer-lock { overflow: hidden; }

/* ── Botón flotante de WhatsApp (A-31) ──
   bottom: 88px para no tapar el botón "subir hasta el tope" del tema,
   que vive en la esquina inferior derecha. */
.zfl-wa-fab {
    position: fixed;
    right: 18px;
    bottom: 88px;
    z-index: 9999;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
    transition: transform .18s ease, box-shadow .18s ease;
}
.zfl-wa-fab:hover, .zfl-wa-fab:focus-visible {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .45);
    color: #fff;
}
.zfl-wa-fab svg { display: block; }
@media (max-width: 650px) {
    .zfl-wa-fab { width: 52px; height: 52px; right: 14px; bottom: 84px; }
    .zfl-wa-fab svg { width: 26px; height: 26px; }
}
