/* ==========================================================================
   Header nuevo diseño (maquetaVendemmia-nuevo, pág. 1)
   Tipografía e íconos alineados con shop.vendemmiajoyero.com.ar (Lato + Font Awesome)
   ========================================================================== */

/* Página a ancho completo (reemplaza .max-width en las vistas que lo indiquen) */
.vj-full-width {
    padding: 0;
    overflow-x: clip; /* evita scroll horizontal por los márgenes negativos de .row */
}

.vj-header {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #000;
    background-color: #fff;
}
.vj-header a {
    font-family: 'Lato', sans-serif;
    color: #000;
    text-decoration: none;
}
.vj-header a:hover {
    opacity: .7;
}
.vj-container {
    width: 100%;
    padding: 0 2.5rem 0 3rem;
}

/* ---------- Barra superior (redes) ---------- */
.vj-topbar .vj-container {
    min-height: 34px;
}
.vj-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 5.5rem;
    font-size: 12px;
}
.vj-social a {
    line-height: 1;
}

/* ---------- Fila principal ---------- */
.vj-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 24px;
    align-items: center;
    min-height: 120px;
    padding-bottom: 8px;
}
.vj-main-left {
    display: flex;
    align-items: center;
    gap: 30px;
    min-width: 0;
}
.vj-main-center {
    text-align: center;
}
.vj-main-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.vj-logo {
    width: 265px;
    max-width: 100%;
    height: auto;
}

/* Idioma */
.vj-lang {
    align-items: center;
    gap: 3px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 6px;
}
.vj-lang i {
    font-size: 16px;
}

/* Buscador (mismo estilo que el shop) */
.vj-search {
    position: relative;
    flex: 0 1 322px;
    min-width: 0;
    margin: 0;
}
.vj-search-input {
    width: 100%;
    height: 40px;
    padding: 12px 45px 12px 12px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #000;
    background: transparent;
    border: .8px solid rgba(0, 0, 0, .5);
    border-radius: 6px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.vj-search-input::placeholder {
    color: rgba(0, 0, 0, .6);
}
.vj-search-input:focus {
    border-color: #000;
}
.vj-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.vj-search-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.vj-search-btn svg {
    width: 20px;
    height: 20px;
    fill: #000;
}
.vj-search .list-group {
    top: 100%;
    left: 0;
    z-index: 1000;
}

/* Shop */
.vj-shop {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.vj-shop svg {
    width: 24px;
    height: 28px;
    fill: none;
    stroke: #000;
    stroke-width: 1.2;
    stroke-linejoin: round;
}
.vj-shop span {
    font-size: 13px;
    letter-spacing: .24px;
    line-height: 1;
}

/* Burger (mobile): tres líneas finas, como el ícono del shop
   (medido en el shop a 375px: líneas de 9px, separadas 7px, ~1.6px de grosor) */
.vj-burger {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 0;
}
.vj-burger svg {
    width: 11px;
    height: 17px;
    fill: none;
    stroke: #000;
    stroke-width: 1.6;
}

/* Menú mobile (offcanvas, fondo #1A2636): ítems, redes y cierre en blanco,
   con la tipografía del menú original (helveticabold, ver .nav-link en style.css) */
.vj-header .offcanvas a {
    color: #fff;
    font-family: 'helveticabold';
}

/* Offcanvas autocontenido: las páginas Rolex no cargan style.css (mismos valores que style.css) */
.vj-header .bg-offcanvas {
    background-color: #1A2636;
}
.vj-header .offcanvas.offcanvas-start {
    top: 78px;
    left: unset;
    width: 320px;
}
.vj-header .offcanvas-header {
    padding-bottom: 0;
}
.vj-header .offcanvas-body {
    overflow-y: hidden;
    padding: 0 28px 16px;
}
.vj-header .offcanvas .nav-link {
    font-size: 1.2rem;
    line-height: 1.2rem;
    padding: .3rem;
}
.vj-header .offcanvas .text-p9rem {
    font-size: .9rem;
}

/* ---------- Menú principal ---------- */
.vj-nav {
    background-color: #ececec;
}
.vj-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 15px 0 15px 4.5rem;
}
.vj-nav-list li {
    margin-right: 68px;
}
.vj-nav-list li:last-child {
    margin-right: 0;
}
.vj-nav-list a {
    font-size: 14px;
    line-height: 1.2;
    text-transform: uppercase;
}
.vj-nav-list a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .vj-main-left { gap: 20px; }
    .vj-social { margin-right: 0; }
    .vj-nav-list { padding-left: 1rem; }
    .vj-nav-list li { margin-right: 44px; }
}
@media (max-width: 991.98px) {
    .vj-container { padding: 0 1.25rem; }
    .vj-main-left { gap: 14px; }
    .vj-logo { width: 200px; }
    .vj-nav-list { padding-left: 0; justify-content: center; }
    .vj-nav-list li { margin-right: 32px; }
}
@media (max-width: 767.98px) {
    .vj-container { padding: 0 1rem; }
    /* Márgenes iguales al header mobile del shop: logo a ~35px del borde superior,
       buscador a ~110px, burger a ~22px del borde izquierdo e ícono derecho a ~12px */
    .vj-main-grid {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 0;
        padding: 24px 12px 24px 21px;
        column-gap: 8px;
    }
    /* vendemmia-joyero-mobile.png (400x83, recortado): 188px = ~185px de texto "VENDEMMIA", como el logo del shop */
    .vj-logo { width: 188px; }
    .vj-main-left { gap: 20px; }
    /* SHOP con el tamaño del botón HOME del shop en mobile */
    .vj-shop { gap: 2px; }
    .vj-shop svg { width: 20px; height: 23px; stroke-width: 1.4; }
    .vj-shop span { font-size: 10px; letter-spacing: .3px; }
    /* El widget mide 158x76: se reserva el tamaño ya escalado para que no invada el logo */
    .vj-main-right > a {
        display: block;
        width: 119px;
        height: 57px;
    }
    .vj-main-right #rolex-retailer-clock {
        transform: scale(.75);
        transform-origin: top left;
    }
    .vj-search-mobile {
        padding: 6px 15px 16px;
    }
    .vj-search-mobile .vj-search {
        flex: none;
        width: 100%;
    }
}
