/* TOLUENO — acceso y presentación del local virtual.
   Los estilos se aíslan del resto del sitio y de los formularios de compra. */

/* El acceso queda SIEMPRE como último elemento del encabezado. */
.navbar-custom.tol-lv-nav {
    padding: 0 !important;
    min-height: 64px;
}

/* El encabezado es fijo: no debe cubrir el título del checkout. */
.tol-lv-nav + .page-wrap {
    padding-top: 64px;
}

.navbar-custom.tol-lv-nav > .container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "marca menu visita";
    align-items: center;
    column-gap: 14px;
    width: 100%;
    max-width: 1440px;
    min-height: 64px;
    padding: 0 24px;
    margin: 0 auto;
}

/* Bootstrap agrega clearfix mediante pseudoelementos al container y al header. */
.navbar-custom.tol-lv-nav > .container::before,
.navbar-custom.tol-lv-nav > .container::after,
.navbar-custom.tol-lv-nav .navbar-header::before,
.navbar-custom.tol-lv-nav .navbar-header::after {
    display: none;
    content: none;
}

.navbar-custom.tol-lv-nav .navbar-header {
    grid-area: marca;
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 0;
    float: none;
    margin: 0;
}

.navbar-custom.tol-lv-nav .navbar-brand {
    display: flex;
    align-items: center;
    float: none;
    height: auto;
    max-width: 100%;
    padding: 0;
    margin: 0 !important;
}

.navbar-custom.tol-lv-nav .navbar-brand img {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 42px;
    margin: 0;
    object-fit: contain;
}

.navbar-custom.tol-lv-nav #custom-collapse {
    grid-area: menu;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
}

.navbar-custom.tol-lv-nav #custom-collapse > .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    float: none !important;
    margin: 0;
}

.navbar-custom.tol-lv-nav #custom-collapse > .navbar-nav::before,
.navbar-custom.tol-lv-nav #custom-collapse > .navbar-nav::after {
    display: none;
    content: none;
}

.navbar-custom.tol-lv-nav .navbar-nav > li {
    float: none;
}

.navbar-custom.tol-lv-nav .navbar-nav > li > a {
    padding: 22px 8px !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 20px;
    letter-spacing: .15px;
    white-space: nowrap;
    text-decoration: none;
}

.navbar-custom.tol-lv-nav .navbar-nav > li > a:hover,
.navbar-custom.tol-lv-nav .navbar-nav > li > a:focus {
    color: #f0dcae !important;
    background: transparent;
}

.navbar-custom.tol-lv-nav .tol-lv-navlink {
    grid-area: visita;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #e75d64;
    border-radius: 8px;
    color: #fff !important;
    background: #b52735;
    font: 750 12px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    letter-spacing: .15px;
    text-transform: uppercase;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .19);
    transition: background-color .2s, border-color .2s;
}

.tol-lv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 4px 5px;
    border-radius: 4px;
    color: #61212a;
    background: #f8e6b6;
    font: 800 11px/1 Arial, sans-serif;
    letter-spacing: .1px;
}

.navbar-custom.tol-lv-nav .tol-lv-navlink:hover,
.navbar-custom.tol-lv-nav .tol-lv-navlink:focus {
    color: #fff !important;
    background: #cf3543;
    border-color: #ff9b9f;
}

.navbar-custom.tol-lv-nav .tol-lv-toggle {
    grid-area: toggle;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    float: none;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, .45) !important;
    border-radius: 8px;
    background: transparent !important;
    box-shadow: none;
}

.navbar-custom.tol-lv-nav .tol-lv-toggle .icon-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: #fff !important;
}

.navbar-custom.tol-lv-nav .tol-lv-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}

.navbar-custom.tol-lv-nav .tol-lv-toggle:hover,
.navbar-custom.tol-lv-nav .tol-lv-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, .10) !important;
}

.navbar-custom.tol-lv-nav .tol-lv-navlink:focus-visible,
.navbar-custom.tol-lv-nav .tol-lv-toggle:focus-visible {
    outline: 2px solid #f8e6b6;
    outline-offset: 3px;
}

@media (min-width: 1200px) {
    .navbar-custom.tol-lv-nav #custom-collapse {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }
}

@media (min-width: 1400px) {
    .navbar-custom.tol-lv-nav > .container {
        column-gap: 22px;
        padding: 0 30px;
    }

    .navbar-custom.tol-lv-nav .navbar-nav > li > a {
        padding-right: 11px !important;
        padding-left: 11px !important;
        font-size: 13px !important;
    }
}

/* Colapsamos el menú general antes de que sus enlaces choquen en tablets.
   El logo, el menú hamburguesa y Local virtual siguen siempre en la primera fila. */
@media (max-width: 1199px) {
    .navbar-custom.tol-lv-nav {
        background: #101114 !important;
    }

    .navbar-custom.tol-lv-nav > .container {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-areas: "marca toggle visita" "menu menu menu";
        grid-template-rows: 64px auto;
        column-gap: 10px;
        padding: 0 18px;
    }

    .navbar-custom.tol-lv-nav .navbar-brand img {
        max-width: 100%;
        max-height: 36px;
    }

    .navbar-custom.tol-lv-nav .tol-lv-toggle {
        display: flex;
    }

    .navbar-custom.tol-lv-nav #custom-collapse {
        width: 100%;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        background: #101114;
        border-top: 1px solid rgba(255, 255, 255, .10);
    }

    .navbar-custom.tol-lv-nav #custom-collapse.collapse:not(.in) {
        display: none !important;
    }

    .navbar-custom.tol-lv-nav #custom-collapse.collapse.in {
        display: block !important;
        height: auto !important;
        overflow-y: auto !important;
    }

    .navbar-custom.tol-lv-nav #custom-collapse.collapsing {
        display: block !important;
        overflow: hidden !important;
    }

    .navbar-custom.tol-lv-nav #custom-collapse > .navbar-nav {
        display: block;
        padding: 5px 0 10px;
    }

    .navbar-custom.tol-lv-nav .navbar-nav > li > a {
        padding: 12px 6px !important;
        font-size: 13px !important;
        white-space: normal;
    }
}

@media (max-width: 479px) {
    .navbar-custom.tol-lv-nav > .container {
        column-gap: 7px;
        padding: 0 12px;
    }

    .navbar-custom.tol-lv-nav .navbar-brand img {
        max-height: 32px;
    }

    .navbar-custom.tol-lv-nav .tol-lv-toggle {
        width: 36px;
        height: 38px;
    }

    .navbar-custom.tol-lv-nav .tol-lv-navlink {
        gap: 5px;
        min-height: 38px;
        padding: 8px 9px;
        font-size: 11px;
    }
}

/* Sección editorial: la presentación completa lleva al recorrido, sin
   botón suelto ni iframe pesado. Solo se muestra en el index y el shop. */
.tol-lv-section {
    padding: 64px 0 24px;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.tol-lv-section--shop {
    padding-top: 8px;
    padding-bottom: 72px;
}

.tol-lv-section .tol-lv-showcase {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: stretch;
    min-height: 410px;
    overflow: hidden;
    border: 1px solid #263b40;
    border-radius: 23px;
    color: #fff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #192d31 0%, #101719 54%, #10171a 100%);
    box-shadow: 0 16px 40px rgba(22, 37, 43, .16);
    transition: box-shadow .28s ease, border-color .28s ease;
}

.tol-lv-section .tol-lv-showcase:hover,
.tol-lv-section .tol-lv-showcase:focus {
    color: #fff !important;
    text-decoration: none !important;
    border-color: #49666a;
    box-shadow: 0 18px 44px rgba(22, 37, 43, .25);
}

.tol-lv-showcase:focus-visible {
    outline: 3px solid #b52735;
    outline-offset: 4px;
}

.tol-lv-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 44px 40px;
}

.tol-lv-copy .tol-lv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f7dca0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.65px;
    text-transform: uppercase;
}

.tol-lv-kicker::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef5258;
    box-shadow: 0 0 0 4px rgba(239, 82, 88, .14);
}

.tol-lv-copy .tol-lv-title {
    margin: 18px 0 14px;
    color: #fff;
    font-family: inherit;
    font-size: clamp(35px, 3.45vw, 49px);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: -1.6px;
    text-transform: none;
}

.tol-lv-title > span {
    display: block;
    color: #f8e6b6;
}

.tol-lv-copy .tol-lv-description {
    max-width: 440px;
    margin: 0 0 25px;
    color: #d0dcdf;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
}

.tol-lv-copy .tol-lv-discover {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(248, 230, 182, .55);
    color: #fff;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.45;
}

.tol-lv-discover svg {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #f8e6b6;
    transition: transform .25s ease;
}

.tol-lv-showcase:hover .tol-lv-discover svg,
.tol-lv-showcase:focus .tol-lv-discover svg {
    transform: translateX(5px);
}

.tol-lv-copy .tol-lv-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 19px;
    color: #b6c8cb;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.tol-lv-meta svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
}

.tol-lv-visual {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #214448;
}

.tol-lv-visual picture {
    display: block;
    position: absolute;
    inset: 0;
}

.tol-lv-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 55%;
    transition: transform .6s ease;
}

.tol-lv-showcase:hover .tol-lv-visual img,
.tol-lv-showcase:focus .tol-lv-visual img {
    transform: scale(1.035);
}

.tol-lv-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(14, 26, 29, .36), transparent 27%),
                linear-gradient(0deg, rgba(6, 14, 17, .72), transparent 32%);
}

.tol-lv-viewtag {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 7px;
    color: #fff;
    background: rgba(10, 20, 23, .88);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.tol-lv-viewtag svg {
    width: 19px;
    height: 19px;
    color: #f8e6b6;
    flex: 0 0 19px;
}

.tol-lv-viewcaption {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 17px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: .9px;
    text-transform: uppercase;
}

.tol-lv-viewcaption::before {
    content: "";
    width: 20px;
    height: 2px;
    background: #ef5258;
}

@media (max-width: 991px) {
    .tol-lv-section .tol-lv-showcase {
        grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
    }

    .tol-lv-copy {
        padding: 32px 28px;
    }

    .tol-lv-visual img {
        object-position: 60% 52%;
    }
}

@media (max-width: 767px) {
    .tol-lv-section {
        padding: 38px 0 10px;
    }

    .tol-lv-section--shop {
        padding-top: 0;
        padding-bottom: 42px;
    }

    .tol-lv-section .tol-lv-showcase {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-radius: 18px;
    }

    .tol-lv-visual {
        order: -1;
        width: 100%;
        min-height: 195px;
        aspect-ratio: 16 / 10;
    }

    .tol-lv-visual img {
        object-position: 66% 53%;
    }

    .tol-lv-copy {
        padding: 29px 24px 32px;
    }

    .tol-lv-copy .tol-lv-title {
        margin-top: 15px;
        font-size: clamp(31px, 7.8vw, 42px);
        letter-spacing: -1px;
    }

    .tol-lv-copy .tol-lv-description {
        margin-bottom: 20px;
        font-size: 15px;
    }

    .tol-lv-viewtag {
        top: 12px;
        right: 12px;
    }

    .tol-lv-viewcaption {
        bottom: 12px;
        left: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar-custom.tol-lv-nav .tol-lv-navlink,
    .tol-lv-showcase,
    .tol-lv-visual img,
    .tol-lv-discover svg {
        transition: none;
    }

    .tol-lv-showcase:hover .tol-lv-visual img,
    .tol-lv-showcase:focus .tol-lv-visual img,
    .tol-lv-showcase:hover .tol-lv-discover svg,
    .tol-lv-showcase:focus .tol-lv-discover svg {
        transform: none;
    }
}
