/* =============================================
   Products Section - Liam Vercceli
   Título animado + cards con botones visibles
   ============================================= */

/* ---- Footer compacto ---- */
.footer-section { padding-bottom: 0 !important; }
.newslatter-form { padding: 20px 0 !important; }
.newslatter-form form { display: flex; gap: 10px; }
.newslatter-form input { padding: 10px 16px !important; font-size: 13px !important; }
.newslatter-form button { padding: 10px 20px !important; font-size: 12px !important; }
.footer-widget { margin-bottom: 16px !important; }
.footer-widget .single-footer-widget { margin-bottom: 0 !important; padding: 16px 0 !important; }
.footer-widget .single-footer-widget h4 { font-size: 13px !important; margin-bottom: 12px !important; letter-spacing: 2px; text-transform: uppercase; }
.footer-widget .single-footer-widget ul li { font-size: 12px !important; line-height: 1.8 !important; }
.social-links-warp { padding: 16px 0 !important; }
.social-links a { font-size: 12px !important; margin: 0 8px !important; }
.social-links-warp .container.text-center.pt-5 { padding-top: 12px !important; }
.social-links-warp p { font-size: 11px !important; margin-bottom: 8px !important; }

/* ---- Título animado con subrayado dinámico ---- */
.lv-section-title {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 10px;
}

.lv-section-title h2 {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 14px;
    cursor: default;
}

/* Línea base fija */
.lv-section-title h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e8e8e8;
    border-radius: 2px;
}

/* Línea animada que se expande al centro */
.lv-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e63946;
    border-radius: 2px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.lv-section-title h2:hover::after {
    width: 100%;
}

/* Acento de color en la primera palabra */
.lv-section-title h2 .lv-accent {
    color: #e63946;
}

/* Subtítulo decorativo */
.lv-section-title .lv-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 5px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Filtros de categoría */
.lv-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.lv-filters li {
    list-style: none;
    padding: 7px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #666;
    border: 1.5px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.lv-filters li:hover,
.lv-filters li.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ---- Product Card ---- */
.lv-product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lv-product-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.13);
    transform: translateY(-4px);
}

/* Imagen */
.lv-card-img {
    position: relative;
    overflow: hidden;
    background: #f7f7f7;
    aspect-ratio: 3/4;
}

.lv-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.lv-product-card:hover .lv-card-img img {
    transform: scale(1.05);
}

/* Badge de estado */
.lv-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.lv-badge.nuevo    { background: #111; color: #fff; }
.lv-badge.oferta   { background: #e63946; color: #fff; }
.lv-badge.popular  { background: #f4a261; color: #fff; }
.lv-badge.limitado { background: #6a0572; color: #fff; }

/* Botón corazón — siempre visible */
.lv-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    color: #bbb;
    font-size: 15px;
}

.lv-wishlist-btn:hover {
    background: #e63946;
    color: #fff;
    transform: scale(1.12);
}

.lv-wishlist-btn.active {
    background: #e63946;
    color: #fff;
}

/* Cuerpo de la card */
.lv-card-body {
    padding: 14px 14px 14px;
}

.lv-card-category {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 4px;
}

.lv-card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fila precio + carrito */
.lv-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.lv-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

.lv-price-old {
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
    display: block;
    font-weight: 500;
}

/* Botón añadir al carrito — siempre visible */
.lv-cart-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.lv-cart-btn i {
    font-size: 13px;
}

.lv-cart-btn:hover {
    background: #e63946;
    color: #fff;
    transform: scale(1.04);
    text-decoration: none;
}

.lv-cart-btn:active {
    transform: scale(0.97);
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .lv-section-title h2 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .lv-card-name {
        font-size: 13px;
    }

    .lv-price {
        font-size: 16px;
    }

    .lv-cart-btn {
        padding: 8px 10px;
        font-size: 10px;
    }
}
