/* =========================================================
   VW Product Blocks — Frontend Styles v1.1
   Paleta: #BE0000 rojo | #B5A28B dorado | #452F1B café
   Tipografía: Syne (títulos) | Mulish (cuerpo)
   ========================================================= */

:root {
    --vw-red:       #BE0000;
    --vw-gold:      #B5A28B;
    --vw-dark:      #452F1B;
    --vw-darker:    #2E1C0D;
    --vw-bg:        #F2F2F0;
    --vw-bg-warm:   #EAE5D9;
    --vw-border:    #DED9CB;
    --vw-white:     #FFFFFF;
    --vw-font-head: 'Syne', sans-serif;
    --vw-font-body: 'Mulish', sans-serif;
}

/* =========================================================
   BLOQUE 1 — VW Producto
   Layout: franja roja izquierda + imagen + contenido
   ========================================================= */

.vw-producto {
    display: flex;
    align-items: stretch;
    margin: 36px 0;
    background: var(--vw-white);
    
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(69,47,27,0.10);
}

/* Imagen a la derecha */
.vw-producto--img-right {
    flex-direction: row-reverse;
}

/* Wrap imagen */
.vw-producto__image-wrap {
    flex: 0 0 180px;
    max-width: 180px;
    background: #EAE5D9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    min-height: 280px;
}

.vw-producto__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Botella completa: sin restricción de max-height cuadrada */
.vw-producto__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 130px;
    max-height: 320px;
    object-fit: contain;
    object-position: center bottom;
    margin: 0 auto;
    /* Sombra sutil bajo la botella */
    filter: drop-shadow(0 8px 12px rgba(69,47,27,0.18));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.vw-producto__img:hover {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 14px 18px rgba(69,47,27,0.22));
}

/* Separador vertical */
.vw-producto__divider {
    width: 1px;
    background: var(--vw-border);
    flex-shrink: 0;
    margin: 20px 0;
}

/* Contenido editorial */
.vw-producto__content {
    flex: 1;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.vw-producto__name-link { text-decoration: none; }

.vw-producto__name {
    font-family: var(--vw-font-head);
    font-weight: 400;
    font-size: 19px;
    line-height: 1.3;
    color: var(--vw-red);
    margin: 0;
    padding: 0;
    border: none;
}

.vw-producto__name:hover { color: var(--vw-dark); }

.vw-producto .vw-producto__price {
    font-family: var(--vw-font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--vw-darker);
    margin: 0;
    letter-spacing: 0;
}

.vw-producto__editorial {
    font-family: var(--vw-font-body);
    font-size: 14px;
    line-height: 1.7;
    color: var(--vw-darker);
    margin: 0;
}

.vw-producto__editorial p { margin: 0 0 8px; }
.vw-producto__editorial p:last-child { margin-bottom: 0; }

.vw-producto__btn {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--vw-gold);
    color: var(--vw-white) !important;
    font-family: var(--vw-font-head);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 11px 26px;
    border-radius: 0;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, letter-spacing 0.2s ease;
    margin-top: 6px;
}

.vw-producto__btn:hover {
    background-color: var(--vw-dark);
    color: var(--vw-white) !important;
    letter-spacing: 0.1em;
}

/* =========================================================
   BLOQUE 2 — VW Top Vinos
   ========================================================= */

.vw-top-vinos { margin: 36px 0; }

.vw-top-vinos__titulo {
    font-family: var(--vw-font-head);
    font-weight: 400;
    font-size: 24px;
    color: var(--vw-red);
    margin: 0 0 20px;
    padding: 0;
    border: none;
}

/* Reset total del ol */
.vw-top-vinos__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    counter-reset: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Anular ::before del tema */
.post-content .vw-top-vinos__list li::before,
.vw-top-vinos__list li::before {
    display: none !important;
    content: none !important;
    background-color: transparent !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ítem */
.vw-top-vinos__item {
    display: flex;
    align-items: stretch;
    background: var(--vw-white);
    
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(69,47,27,0.10);
    position: static !important;
    padding: 0 !important;
    margin: 0 !important;
    left: auto !important;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vw-top-vinos__item:hover {
    box-shadow: 0 6px 24px rgba(69,47,27,0.15);
    transform: translateY(-2px);
}

/* Número — columna elegante */
.vw-top-vinos__num {
    flex: 0 0 56px;
    background: var(--vw-red);
    color: var(--vw-white);
    font-family: var(--vw-font-head);
    font-weight: 400;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
    user-select: none;
    position: relative;
}

/* Línea decorativa bajo el número */
.vw-top-vinos__num::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    display: none; /* Solo visible en mobile */
}

/* Imagen — formato botella */
.vw-top-vinos__image-wrap {
    flex: 0 0 140px;
    max-width: 140px;
    background: radial-gradient(ellipse at center, #ffffff 30%, #EAE5D9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    min-height: 200px;
}

.vw-top-vinos__image-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.vw-top-vinos__image-wrap img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 260px;
    object-fit: contain;
    object-position: center bottom;
    margin: 0 auto;
    filter: drop-shadow(0 6px 10px rgba(69,47,27,0.16));
    transition: transform 0.3s ease;
}

.vw-top-vinos__image-wrap a:hover img {
    transform: translateY(-3px) scale(1.02);
}

/* Contenido */
.vw-top-vinos__content {
    flex: 1;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    border-left: 1px solid var(--vw-border);
}

.vw-top-vinos__name-link { text-decoration: none; }

.vw-top-vinos__name {
    font-family: var(--vw-font-head);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.3;
    color: var(--vw-red);
    margin: 0;
    padding: 0;
    border: none;
}

.vw-top-vinos__name:hover { color: var(--vw-dark); }

.vw-top-vinos__price {
    font-family: var(--vw-font-body);
    font-weight: 700;
    font-size: 13px;
    color: var(--vw-gold);
    margin: 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vw-top-vinos__editorial {
    font-family: var(--vw-font-body);
    font-size: 13px;
    line-height: 1.65;
    color: var(--vw-darker);
    margin: 0;
}

.vw-top-vinos__editorial p { margin: 0 0 6px; }
.vw-top-vinos__editorial p:last-child { margin-bottom: 0; }

.vw-top-vinos__btn {
    display: inline-block;
    align-self: flex-start;
    background-color: var(--vw-gold);
    color: var(--vw-white) !important;
    font-family: var(--vw-font-head);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: 0;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 4px;
}

.vw-top-vinos__btn:hover {
    background-color: var(--vw-dark);
    color: var(--vw-white) !important;
}

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

@media (max-width: 640px) {

    /* Producto */
    .vw-producto {
        flex-direction: column !important;
    }

    .vw-producto__image-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
        min-height: 220px;
        padding: 24px;
    }

    .vw-producto__img {
        max-height: 240px;
    }

    .vw-producto__content {
        padding: 20px 20px 24px;
    }

    .vw-producto__btn {
        align-self: stretch;
        text-align: center;
    }

    /* Top Vinos */
    .vw-top-vinos__item {
        flex-direction: column;
    }

    .vw-top-vinos__num {
        flex: none;
        width: 100%;
        height: 40px;
        font-size: 20px;
        border-radius: 0;
    }

    .vw-top-vinos__num::after { display: block; }

    .vw-top-vinos__image-wrap {
        flex: none;
        max-width: 100%;
        width: 100%;
        min-height: 180px;
        padding: 20px;
    }

    .vw-top-vinos__image-wrap img {
        max-height: 200px;
    }

    .vw-top-vinos__content {
        border-left: none;
        border-top: 1px solid var(--vw-border);
        padding: 16px 20px 20px;
    }

    .vw-top-vinos__btn {
        align-self: stretch;
        text-align: center;
    }
}