/* ═══════════════ ESTILOS PDV ═══════════════  */
/* Top Bar verde oscuro */
.top-bar {
    background: #00582b !important
}

.top-bar-social a,
.top-bar-text,
.top-bar-text span,
.top-bar-contact,
.top-bar-contact a,
.top-bar-contact .material-icons-outlined {
    color: #fff !important
}

.top-bar-social a:hover {
    color: rgba(255, 255, 255, .7) !important
}

/* Marquee animado vertical */
.top-bar-text {
    height: 24px;
    /* Fija la altura para mostrar solo 1 línea */
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

.marquee-vertical {
    display: flex;
    flex-direction: column;
    animation: marquee-v 8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

.marquee-item {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pdv-card .titulo{
    align-items: center;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.pdv-card .titulo .cadena{
    color: #1b7e3e;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;  
}
#pdv-grid strong{
    display:block;
    margin:0 auto;
    text-align: center;
}
.marquee-vertical:hover {
    animation-play-state: paused;
}

@keyframes marquee-v {

    0%,
    40% {
        transform: translateY(0);
    }

    50%,
    90% {
        transform: translateY(-33.333%);
    }

    100% {
        transform: translateY(-66.666%);
    }
}

/* ──────────────────────────────── */
/* Botón Volver a Tienda */
.btn-volver-tienda {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #1b7e3e !important;
    border-radius: 6px;
    padding: 6px 14px !important;
    color: #1b7e3e !important;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: .06em;
    transition: background .2s, color .2s !important
}

.btn-volver-tienda:hover {
    background: #1b7e3e !important;
    color: #fff !important
}

.btn-footer {
    border-color: #18bd02 !important;
    color: #18bd02 !important;
}

.btn-footer:hover {
    background: #18bd02 !important;
    color: #fff !important;
}

/* ──────────────────────────────── */
/* Mapa estático en card */
/* Diseño de mapa rápido (sin iframe) */
.pdv-map-wrap {
    position: relative;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    display: block
}

.pdv-map-wrap a {
    display: block;
    text-decoration: none
}

.pdv-map-generic {
    width: 100%;
    height: 160px;
    background-color: #e8f5ee;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83 55.457-19.458 4.543L15.458 54.543 0 58.182V2.725l15.458-3.639L36 4.543 54.627 0zM17 4.31v51.38l17 4V8.31l-17-4z' fill='%23c8e6c9' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background-color .2s
}

.pdv-map-wrap:hover .pdv-map-generic {
    background-color: #dcf0e5
}

.pdv-map-pin {
    width: 36px;
    height: 36px;
    background: #1b7e3e;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, .15);
    margin-bottom: 12px;
    transition: transform .2s
}

.pdv-map-wrap:hover .pdv-map-pin {
    transform: rotate(-45deg) scale(1.1)
}

.pdv-map-pin::after {
    content: '';
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%
}

.pdv-map-text {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    border-radius: 20px;  
    margin-top: 20px;
    color: #1b7e3e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 6px 14px;
    text-transform: uppercase;
}

#puntos-de-venta {
    background: #f5f5f3;
    min-height:450px;
    padding: 40px 20px 80px
}

.pdv-wrapper {
    max-width: 1270px;
    margin: 0 auto
}

.pdv-title {
    font-family: 'DM Serif Text', serif;
    color: #000;
    font-weight: 400;
    font-size: 30px;
    margin: 0 0 28px;
    text-align: center
}

.pdv-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px
}

.pdv-sel-wrap {
    position: relative
}

.pdv-sel-wrap select {
    appearance: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 11px 38px 11px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    min-width: 200px;
    transition: border-color .2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06)
}

.pdv-sel-wrap select:focus {
    outline: none;
    border-color: #1b7e3e
}

.pdv-sel-wrap select:disabled {
    opacity: .5;
    cursor: not-allowed
}

.pdv-sel-wrap .material-icons-outlined {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    pointer-events: none
}

.btn-pdv-buscar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1b7e3e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s
}

.btn-pdv-buscar:hover {
    background: #155f2e
}

.pdv-count-bar {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 0 0 24px
}

.pdv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.pdv-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
    padding: 24px;
    transition: transform .2s, box-shadow .2s
}

.pdv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .11)
}

.pdv-card-icon {
    width: 40px;
    height: 40px;
    background: #e8f5ee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px
}

.pdv-card-icon .material-icons-outlined {
    color: #1b7e3e;
    font-size: 22px
}

.pdv-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3
}

.pdv-card-address {
    font-size: 13px;
    color: #777;
    margin: 0 0 14px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    line-height: 1.4
}

.pdv-card-address .material-icons-outlined {
    font-size: 15px;
    color: #1b7e3e;
    margin-top: 1px;
    flex-shrink: 0
}

.pdv-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.pdv-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    background: #e8f5ee;
    color: #1b7e3e
}

.pdv-tag.cadena {
    background: #fff3e0;
    color: #e65100
}

/* Botón Ver Mapa hover */
.pdv-card {
    position: relative;
    overflow: hidden
}

.pdv-card:hover .pdv-card-map-btn {
    transform: translateY(0)
}

.pdv-card-map-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1)
}

.pdv-card-map-btn a {
    flex: 1;
    background: #1b7e3e;
    color: #fff;
    text-align: center;
    padding: 11px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px
}

.pdv-card-map-btn a:first-child {
    border-right: 1px solid rgba(255, 255, 255, .25)
}

.pdv-card-map-btn a.waze-btn {
    background: #00b4f1
}

@media(max-width:600px) {
    .pdv-grid {
        grid-template-columns: 1fr
    }

    .pdv-title {
        font-size: 24px
    }

    .pdv-filters {
        flex-direction: column;
        align-items: stretch
    }

    .pdv-sel-wrap select {
        min-width: 100%
    }

    .pdv-card-map-btn {
        position: relative;
        transform: translateY(0);
        margin: 20px -24px -24px -24px;
    }

    .marquee-item span {
        font-size: 11px;
    }
}