:root {
    --vd-deep: #005187;
    --vd-main: #4D82BC;
    --vd-accent: #B47B44;
    --vd-text: #172A3A;
    --vd-bg: #F7F9FA;
    --vd-border: rgba(23, 42, 58, .12);
}


/* Home full-bleed: sólo tocamos el área principal de contenido.
   No modificamos los .ct-container del header de Blocksy. */
body.home {
    overflow-x: hidden;
}

.home #main-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home #main,
.home .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home #main .ct-container,
.home #main .ct-container-full,
.home .site-main .ct-container,
.home .site-main .ct-container-full {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home #main article.page,
.home .site-main article.page,
.home #main article.page .entry-content,
.home .site-main article.page .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-column: 1 / -1 !important;
}

.home .vd-home-prelaunch {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.home .menu-item-home {
    display: none;
}

.home #footer {
    display: none;
}

.vd-home-prelaunch {
    width: 100%;
    color: var(--vd-text);
    background: #fff;
}

.vd-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.vd-eyebrow {
    margin-bottom: 22px;
    color: var(--vd-deep);
    font-size: 14px;
    line-height: 1;
    letter-spacing: .025em;
    font-weight: 800;
}

.vd-prelaunch-hero {
    padding: 54px 0 58px;
}

.vd-prelaunch-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(430px, 1.12fr);
    gap: clamp(44px, 7vw, 90px);
    align-items: center;
}

.vd-prelaunch-copy h1 {
    margin: 0 0 26px;
    max-width: 520px;
    color: var(--vd-text);
    font-size: clamp(50px, 5.2vw, 76px);
    line-height: .99;
    letter-spacing: -.045em;
    font-weight: 800;
}

.vd-lead {
    max-width: 480px;
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.55;
    color: #385064;
}

.vd-prelaunch-business {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 16px;
    font-size: 18px;
}

.vd-prelaunch-business strong {
    color: var(--vd-deep);
    font-size: 22px;
}

.vd-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 58px;
    min-width: 315px;
    padding: 0 20px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--vd-main), var(--vd-deep));
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(0, 81, 135, .16);
}

.vd-primary-cta:hover {
    transform: translateY(-1px);
}

.vd-cta-icon {
    font-size: 18px;
}

.vd-launch-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 430px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--vd-border);
}

.vd-launch-note > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vd-launch-note strong {
    font-size: 18px;
}

.vd-launch-note span {
    color: #4b6071;
}

.vd-launch-icon {
    color: var(--vd-main);
    font-size: 28px;
    line-height: 1;
}

.vd-prelaunch-visual img {
    display: block;
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(23, 42, 58, .08);
}

.vd-search-preview {
    padding: 48px 0;
    background: rgba(180, 123, 68, .15);
}

.vd-search-preview-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.vd-search-copy .vd-eyebrow {
    margin-bottom: 16px;
}

.vd-search-copy h2 {
    margin: 0;
    color: var(--vd-text);
    font-size: 36px;
    line-height: 1.02;
    letter-spacing: -.035em;
    font-weight: 800;
}

.vd-prelaunch-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(23, 42, 58, .08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(23, 42, 58, .10);
}

.vd-prelaunch-search input {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--vd-text);
    font-size: 16px;
}

.vd-search-where {
    position: relative;
    border-left: 1px solid var(--vd-border);
}

.vidrieras-home-submit {
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 8px;
    background: var(--vd-deep);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.vidrieras-home-location-results {
    position: absolute;
    z-index: 50;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    overflow: auto;
    max-height: 280px;
    border: 1px solid var(--vd-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(23, 42, 58, .12);
}

.vidrieras-home-location-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(23, 42, 58, .07);
    border-radius: 0;
    background: #fff;
    color: var(--vd-text);
    text-align: left;
    cursor: pointer;
}

.vidrieras-home-location-option:hover,
.vidrieras-home-location-option:focus {
    background: var(--vd-bg);
}

.vidrieras-home-location-error,
.vd-search-launch-message {
    margin: 12px 0 0;
    color: #7c5734;
    font-size: 14px;
}

.vd-home-types {
    padding: 50px 0 54px;
    background: #fff;
}

.vd-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 10px;
}

.vd-type-card {
    min-height: 205px;
    padding: 8px 28px;
    text-align: center;
}

.vd-type-card + .vd-type-card {
    border-left: 1px solid var(--vd-border);
}

.vd-type-icon {
    height: 58px;
    margin-bottom: 15px;
    color: var(--vd-deep);
    font-size: 44px;
    line-height: 1;
}

.vd-type-card h3 {
    margin: 0 0 12px;
    color: var(--vd-text);
    font-size: 22px;
    line-height: 1.05;
    font-weight: 800;
}

.vd-type-card p {
    margin: 0 auto;
    max-width: 210px;
    color: #52687a;
    font-size: 15px;
    line-height: 1.45;
}

.vd-home-bottom-cta {
    padding: 28px 0;
    background: linear-gradient(90deg, var(--vd-deep), #0a6dab);
    color: #fff;
}

.vd-bottom-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.vd-home-bottom-cta h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 25px;
    line-height: 1.15;
}

.vd-home-bottom-cta a {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
}

.vd-bottom-cta-benefit {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 100px;
    padding-left: 52px;
    border-left: 1px solid rgba(255,255,255,.45);
}

.vd-bottom-cta-benefit p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

.vd-bottom-store {
    font-size: 48px;
}

.vd-home-footer {
    padding: 22px 0;
    background: #004678;
    color: #fff;
}

.vd-home-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.vd-footer-brand {
    color: #fff;
    font-size: 21px;
    line-height: 1;
    letter-spacing: .14em;
    font-weight: 800;
}

.vd-footer-brand span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: .34em;
}

.vd-home-footer nav {
    display: flex;
    gap: 28px;
}

.vd-home-footer a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
}

@media (max-width: 900px) {
    .vd-prelaunch-grid {
        grid-template-columns: 1fr;
    }

    .vd-prelaunch-copy {
        max-width: 680px;
    }

    .vd-prelaunch-visual img {
        margin: 0 auto;
    }

    .vd-search-preview-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .vd-search-copy h2 br {
        display: none;
    }

    .vd-type-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 0;
    }

    .vd-type-card:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 650px) {
    .vd-shell {
        width: min(100% - 32px, 1180px);
    }

    .vd-prelaunch-hero {
        padding: 40px 0 44px;
    }

    .vd-prelaunch-copy h1 {
        font-size: clamp(44px, 13vw, 62px);
    }

    .vd-primary-cta {
        width: 100%;
        min-width: 0;
    }

    .vd-prelaunch-visual img {
        width: 100%;
    }

    .vd-prelaunch-search {
        grid-template-columns: 1fr;
    }

    .vd-search-where {
        border-left: 0;
        border-top: 1px solid var(--vd-border);
    }

    .vidrieras-home-submit {
        width: 100%;
    }

    .vd-type-grid {
        grid-template-columns: 1fr;
    }

    .vd-type-card,
    .vd-type-card + .vd-type-card,
    .vd-type-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--vd-border);
        padding: 28px 10px;
    }

    .vd-type-card:first-child {
        border-top: 0;
    }

    .vd-bottom-cta-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vd-bottom-cta-benefit {
        min-height: 0;
        padding: 24px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.4);
    }

    .vd-home-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .vd-home-footer nav {
        flex-wrap: wrap;
        gap: 14px 22px;
    }
}

/* =========================================================
   FICHA PÚBLICA DE COMERCIO
   ========================================================= */
.single-comercio .entry-header { display: none !important; }
.single-comercio .entry-content { margin-top: 0 !important; }

.vidrieras-ficha-publica {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 24px 72px;
    color: var(--vd-text);
}
.vidrieras-ficha-breadcrumb { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:28px; font-size:13px; color:rgba(23,42,58,.62); }
.vidrieras-ficha-breadcrumb a { color:var(--vd-deep); text-decoration:none; }
.vidrieras-ficha-encabezado { margin-bottom:32px; }
.vidrieras-ficha-encabezado h1 { margin:0 0 8px; font-size:clamp(36px,5vw,58px); line-height:1.02; letter-spacing:-.035em; color:var(--vd-text); }
.vidrieras-ficha-meta { margin:0 0 16px; font-size:16px; color:rgba(23,42,58,.7); }
.vidrieras-ficha-badges { display:flex; flex-wrap:wrap; gap:8px; }
.vidrieras-ficha-badges span { padding:7px 11px; border-radius:999px; background:rgba(77,130,188,.10); color:var(--vd-deep); font-size:11px; font-weight:800; letter-spacing:.055em; }
.vidrieras-ficha-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:52px; align-items:start; }
.vidrieras-ficha-imagen { width:100%; aspect-ratio:4/3; overflow:hidden; border-radius:16px; margin-bottom:34px; background:var(--vd-bg); }
.vidrieras-ficha-foto { width:100%; height:100%; display:block; object-fit:cover; }
.vidrieras-ficha-seccion { padding:30px 0; border-top:1px solid var(--vd-border); }
.vidrieras-ficha-seccion:first-child { border-top:0; padding-top:0; }
.vidrieras-ficha-seccion h2, .vidrieras-ficha-contacto-card h2 { margin:0 0 14px; color:var(--vd-deep); font-size:21px; letter-spacing:-.02em; }
.vidrieras-ficha-descripcion p { margin:0; font-size:17px; line-height:1.72; }
.vidrieras-ficha-chips { display:flex; flex-wrap:wrap; gap:8px; }
.vidrieras-ficha-chips span { padding:8px 12px; border:1px solid rgba(0,81,135,.22); border-radius:999px; color:var(--vd-deep); font-size:13px; font-weight:650; }
.vidrieras-ficha-mapa-reserva { margin-top:18px; min-height:150px; border-radius:14px; display:grid; place-items:center; background:rgba(180,123,68,.15); color:rgba(23,42,58,.6); font-size:13px; }
.vidrieras-ficha-contacto-card { position:sticky; top:30px; padding:26px; border:1px solid var(--vd-border); border-radius:16px; background:#fff; box-shadow:0 18px 48px rgba(23,42,58,.08); }
.vidrieras-ficha-contacto-card > p { margin:0 0 20px; color:rgba(23,42,58,.68); font-size:14px; }
.vidrieras-ficha-acciones { display:grid; gap:9px; }
.vidrieras-ficha-acciones a, .vidrieras-ficha-acciones button { appearance:none; width:100%; display:flex; justify-content:space-between; align-items:center; min-height:46px; padding:0 14px; border:1px solid rgba(0,81,135,.20); border-radius:9px; background:#fff; color:var(--vd-deep); text-decoration:none; font:inherit; font-size:14px; font-weight:750; cursor:pointer; }
.vidrieras-ficha-acciones .vidrieras-accion-principal { background:var(--vd-main); border-color:var(--vd-main); color:#fff; }
.vidrieras-ficha-acciones a:hover, .vidrieras-ficha-acciones button:hover { transform:translateY(-1px); }
.vidrieras-ficha-contacto-card .vidrieras-ficha-privacidad { margin:18px 0 0; padding-top:16px; border-top:1px solid var(--vd-border); font-size:11px; line-height:1.45; color:rgba(23,42,58,.52); }
.vidrieras-ficha-reclamo { margin-top:52px; padding:22px 24px; border-radius:14px; background:rgba(180,123,68,.15); color:var(--vd-text); }
.vidrieras-ficha-reclamo strong { color:var(--vd-deep); }
.vidrieras-ficha-reclamo span { font-size:14px; color:rgba(23,42,58,.7); }

@media (max-width: 820px) {
    .vidrieras-ficha-publica { padding:32px 18px 56px; }
    .vidrieras-ficha-grid { grid-template-columns:1fr; gap:28px; }
    .vidrieras-ficha-contacto-card { position:static; order:-1; }
    .vidrieras-ficha-encabezado h1 { font-size:38px; }
}


/* Google Maps en ficha de comercio */
.vidrieras-ficha-mapa {
    margin-top: 18px;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(180,123,68,.15);
}
.vidrieras-ficha-mapa iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
}
@media (max-width: 700px) {
    .vidrieras-ficha-mapa { min-height: 240px; aspect-ratio: 4 / 3; }
    .vidrieras-ficha-mapa iframe { min-height: 240px; }
}


/* =========================================================
   CERCA MÍO
   ========================================================= */
.page .vidrieras-cerca {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 80px;
    color: var(--vd-text);
}

.vidrieras-cerca-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.vidrieras-cerca-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--vd-main);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
}

.vidrieras-cerca-intro h1 {
    margin: 0 0 14px;
    color: var(--vd-text);
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.vidrieras-cerca-intro p {
    max-width: 680px;
    margin: 0;
    color: rgba(23,42,58,.72);
    font-size: 17px;
    line-height: 1.65;
}

.vidrieras-cerca-panel {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(150px,220px) auto;
    gap: 12px;
    align-items: end;
    padding: 18px;
    border-radius: 16px;
    background: rgba(180,123,68,.15);
}

.vidrieras-cerca-control {
    display: grid;
    gap: 6px;
}

.vidrieras-cerca-control label {
    color: var(--vd-deep);
    font-size: 12px;
    font-weight: 800;
}

.vidrieras-cerca-control select {
    min-height: 50px;
    width: 100%;
    border: 1px solid rgba(0,81,135,.16);
    border-radius: 10px;
    background: #fff;
    color: var(--vd-text);
    padding: 0 12px;
}

.vidrieras-cerca-ubicar {
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: var(--vd-main);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.vidrieras-cerca-ubicar:disabled {
    opacity: .62;
    cursor: wait;
}

.vidrieras-cerca-estado {
    min-height: 26px;
    margin: 18px 0 10px;
    color: rgba(23,42,58,.7);
    font-size: 14px;
}

.vidrieras-cerca-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
    margin-top: 18px;
}

.vidrieras-cerca-card {
    overflow: hidden;
    border: 1px solid var(--vd-border);
    border-radius: 15px;
    background: #fff;
    color: var(--vd-text);
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(23,42,58,.06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.vidrieras-cerca-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(23,42,58,.10);
}

.vidrieras-cerca-card-imagen {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--vd-bg);
}

.vidrieras-cerca-card-imagen img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.vidrieras-cerca-card-cuerpo {
    padding: 17px;
}

.vidrieras-cerca-card-distancia {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(77,130,188,.12);
    color: var(--vd-deep);
    font-size: 11px;
    font-weight: 850;
}

.vidrieras-cerca-card h2 {
    margin: 0 0 7px;
    color: var(--vd-text);
    font-size: 19px;
    line-height: 1.15;
}

.vidrieras-cerca-card p {
    margin: 0;
}

.vidrieras-cerca-card-rubro {
    color: var(--vd-deep);
    font-size: 13px;
    font-weight: 700;
}

.vidrieras-cerca-card-ubicacion {
    margin-top: 5px !important;
    color: rgba(23,42,58,.62);
    font-size: 13px;
}

.vidrieras-cerca-vacio {
    display: grid;
    gap: 5px;
    margin-top: 20px;
    padding: 28px;
    border-radius: 14px;
    background: rgba(180,123,68,.15);
}

.vidrieras-cerca-vacio strong {
    color: var(--vd-deep);
}

.vidrieras-cerca-vacio span {
    color: rgba(23,42,58,.68);
    font-size: 14px;
}

@media (max-width: 820px) {
    .page .vidrieras-cerca {
        padding: 38px 18px 60px;
    }

    .vidrieras-cerca-panel {
        grid-template-columns: 1fr;
    }

    .vidrieras-cerca-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 560px) {
    .vidrieras-cerca-grid {
        grid-template-columns: 1fr;
    }
}

.vd-search-nearby {
    margin-top: 10px;
    text-align: right;
}

.vd-search-nearby a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #4D82BC;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    opacity: .82;
}

.vd-search-nearby a:hover {
    color: #005187;
    opacity: 1;
}

.vd-search-nearby-icon {
    display: inline-flex;
    align-items: center;
}