/*
Theme Name: Lovienchina
Author: Lovienchina
Version: 1.0
*/

/* ============================= */
/* BASE */
/* ============================= */

body {
    margin:0;
    font-family: Arial, sans-serif;
    background:#f4f4f4;
}

/* ============================= */
/* TOP BAR */
/* ============================= */

.lovi-topbar {
    background: linear-gradient(90deg,#ff3c2f,#ff6a00);
    color:#fff;
    text-align:center;
    padding:12px 0;
    font-weight:bold;
    font-size:14px;
}

/* ============================= */
/* HEADER */
/* ============================= */

/* HEADER FIX PREMIUM */

.lovi-header{
    background:#fff;
    height:85px;
    padding:8px 0;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:20;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.lovi-logo{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    z-index:20;
}

.lovi-logo img{
    max-height:75px;
    width:auto;
    display:block;
    filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));
}

/* ============================= */
/* HERO */
/* ============================= */

.lovi-hero {
    background:linear-gradient(180deg,#1f2fb8,#14208f);
    text-align:center;
    padding:60px 20px 80px;
    color:#fff;
    position:relative;
}

.lovi-hero h1 {
    font-size:42px;
    margin-bottom:20px;
}

.lovi-hero p {
    font-size:18px;
    margin-bottom:30px;
}

.lovi-btn-primary {
    background:#ff3c00;
    padding:18px 40px;
    border-radius:40px;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    display:inline-block;
    box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.lovi-btn-primary:hover {
    background:#e63200;
}

/* ============================= */
/* BENEFITS */
/* ============================= */

.lovi-benefits {
    margin-top:40px;
    margin-bottom:50px;
    position:relative;
    z-index:5;
}

.lovi-benefits span {
    display:inline-block;
    margin:0 15px;
    padding:14px 40px;
    border-radius:50px;
    font-weight:800;
    color:#fff;
    box-shadow:0 12px 25px rgba(0,0,0,0.35);
    font-size:15px;
}

.lovi-benefits span:nth-child(1),
.lovi-benefits span:nth-child(3){
    background:linear-gradient(180deg,#ffd84d,#ffb800);
}

.lovi-benefits span:nth-child(2){
    background:linear-gradient(180deg,#4dc7ff,#007bff);
}

/* ============================= */
/* BADGE FLOTANTE */
/* ============================= */

.lovi-floating-badge{
    position:absolute;
    right:2%;
    bottom:-150px;
    width:420px;
    z-index:30;
    animation:loviFloat 3s ease-in-out infinite;
}

@keyframes loviFloat{
    0%{transform:translateY(0px);}
    50%{transform:translateY(-10px);}
    100%{transform:translateY(0px);}
}

/* ============================= */
/* PRODUCT GRID */
/* ============================= */

.lovi-products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    max-width:1200px;
    margin:60px auto;
}

.lovi-card{
    background:#fff;
    padding:20px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    position:relative;
    text-align:center;
}

.lovi-card img{
    max-width:100%;
    height:auto;
}

.lovi-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:linear-gradient(180deg,#ff2a2a,#c40000);
    color:#fff;
    font-size:13px;
    padding:6px 14px;
    border-radius:30px;
    font-weight:900;
    letter-spacing:1px;
}

.lovi-btn-yellow{
    background:linear-gradient(180deg,#ffcc00,#ff9900);
    padding:12px 25px;
    border-radius:30px;
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    display:inline-block;
}

.lovi-btn-yellow:hover{
    opacity:0.9;
}


/* ============================= */
/* PRODUCT PAGE LOVI PRO */
/* ============================= */

.single-product #sidebar,
.woocommerce-page #sidebar{
    display:none!important;
}

.single-product #primary,
.woocommerce-page #primary{
    width:100%!important;
    max-width:1400px!important;
    margin:40px auto!important;
    padding:0 20px!important;
}

/* CONTENEDOR */

.single-product .woocommerce div.product{
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:70px;
    max-width:1300px;
    margin:40px auto;
    background:#fff;
    padding:50px;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

/* QUITAR FLOATS WC */

.single-product .woocommerce div.product .woocommerce-product-gallery,
.single-product .woocommerce div.product .summary{
    float:none!important;
}

/* GALERIA */

.single-product .woocommerce-product-gallery{
    width:50%!important;
    display:flex;
    justify-content:center;
    align-items:center;
}

.single-product .woocommerce-product-gallery img{
    max-width:520px!important;
    width:100%;
    height:auto;
    display:block;
    margin:auto;
}

/* INFO */

.single-product .summary{
    width:50%!important;
}

/* TITULO */

.single-product .product_title{
    font-size:38px;
    line-height:1.2;
    font-weight:800;
    color:#111827;
    margin-bottom:18px;
}

/* PRECIO */

.single-product .price{
    font-size:36px!important;
    color:#ff6b00!important;
    font-weight:800!important;
    margin:18px 0!important;
}

.single-product del{
    color:#9ca3af;
    font-size:18px;
}

.single-product ins{
    text-decoration:none;
}

/* DESCRIPCION */

.single-product .woocommerce-product-details__short-description{
    font-size:17px;
    line-height:1.8;
    color:#374151;
    margin:25px 0;
}

/* BOTON */

.single-product .single_add_to_cart_button{
    width:100%!important;
    background:linear-gradient(180deg,#22c55e,#16a34a)!important;
    color:#fff!important;
    padding:18px!important;
    border-radius:14px!important;
    font-size:20px!important;
    font-weight:800!important;
    border:none!important;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    transition:.25s;
}

.single-product .single_add_to_cart_button:hover{
    transform:translateY(-2px);
}

/* RELACIONADOS */

.related.products{
    max-width:1300px;
    margin:70px auto;
}

.related.products ul.products{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px!important;
}

.related.products ul.products li.product{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

/* MOBILE */

@media(max-width:768px){

    .single-product .woocommerce div.product{
        flex-direction:column;
        padding:30px;
        gap:35px;
    }

    .single-product .woocommerce-product-gallery,
    .single-product .summary{
        width:100%!important;
    }

    .single-product .woocommerce-product-gallery img{
        max-width:340px!important;
    }

    .single-product .product_title{
        font-size:28px;
    }

    .single-product .price{
        font-size:30px!important;
    }
}


/* ============================= */
/* FOOTER LOVI SEGURO */
/* ============================= */

.pagelayer-footer,
.site-footer,
footer {
    background: linear-gradient(180deg,#111827,#0f172a) !important;
    color: #e5e7eb !important;
    padding: 50px 20px !important;
}

/* Quitar bullets */
.pagelayer-footer ul,
.site-footer ul,
footer ul {
    list-style: none !important;
    padding: 0 !important;
}

/* Links */
.pagelayer-footer a,
.site-footer a,
footer a {
    color: #cbd5e1 !important;
    text-decoration: none;
}

.pagelayer-footer a:hover,
.site-footer a:hover,
footer a:hover {
    color: #ff3c00 !important;
}
.single-product .woocommerce-product-gallery {
    display: flex;
    justify-content: center;
}

.single-product .woocommerce-product-gallery img {
    max-width: 380px !important;
}
/* Eliminar sidebar completamente en productos */

.single-product #sidebar,
.woocommerce-page #sidebar {
    display: none !important;
}

/* Expandir contenido completo */

.single-product #primary,
.woocommerce-page #primary {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
}
/* ============================= */
/* FOOTER FONDO FULL WIDTH */
/* ============================= */

.lovi-footer-bg {
    width: 100%;
    min-height: 300px;
    background-image: url('https://lovienchina.com/wp-content/uploads/2026/02/ChatGPT-Image-18-feb-2026-06_41_12-p.m.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Oscurecer un poco para que el texto se vea mejor */
.lovi-footer-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Contenido interno */
.lovi-footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.lovi-footer-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.lovi-footer-buttons a {
    display: inline-block;
    margin: 10px;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

/* BotÃ³n amarillo */
.lovi-footer-btn-primary {
    background: linear-gradient(180deg,#ffcc00,#ff9900);
    color: #000;
}

.lovi-footer-btn-primary:hover {
    transform: translateY(-3px);
}

/* BotÃ³n azul */
.lovi-footer-btn-secondary {
    background: linear-gradient(180deg,#4dc7ff,#007bff);
    color: #fff;
}

.lovi-footer-btn-secondary:hover {
    transform: translateY(-3px);
}
/* ============================= */
/* SHOP LOVIENCHINA STYLE */
/* ============================= */

.woocommerce-shop .site-main {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.woocommerce ul.products li.product img {
    max-height: 280px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}
.woocommerce ul.products li.product {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
}
.woocommerce ul.products li.product h2 {
    font-size: 18px;
    margin-top: 15px;
    font-weight: 700;
}

.woocommerce ul.products li.product .price {
    color: #ff9900;
    font-size: 16px;
    font-weight: bold;
}
.woocommerce ul.products li.product .button {
    background: linear-gradient(180deg,#ffcc00,#ff9900);
    color: #000 !important;
    border-radius: 40px;
    padding: 10px 20px;
    font-weight: bold;
}

.woocommerce ul.products li.product .button:hover {
    transform: scale(1.05);
}
.woocommerce ul.products {
    gap: 30px !important;
}
/* Eliminar bloque superior del Shop */
.woocommerce-shop .page-description {
    display: none !important;
}
.lovi-banner-row{
    display:flex;
    gap:30px;
    justify-content:center;
    align-items:center;
    margin:60px 0;
    flex-wrap:wrap;
}

.lovi-banner{
    position:relative;
    width:360px;
    border-radius:20px;
    overflow:hidden;
    text-decoration:none;
    transition:all 0.4s ease;
    box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.lovi-banner img{
    width:100%;
    display:block;
    transition:transform 0.6s ease;
}

/* ðŸ”¥ Glow Azul */
.glow-blue{
    position:relative;
}

.glow-blue::before{
    content:'';
    position:absolute;
    inset:-3px;
    border-radius:22px;
    background:linear-gradient(45deg,#00c3ff,#0047ff,#00c3ff);
    background-size:300% 300%;
    z-index:-1;
    animation:glowMove 6s linear infinite;
    filter:blur(12px);
    opacity:0;
    transition:0.4s;
}

.lovi-banner:hover::before{
    opacity:0.8;
}

@keyframes glowMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

/* Hover efecto elevaciÃ³n */
.lovi-banner:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,0.25);
}

.lovi-banner:hover img{
    transform:scale(1.05);
}
/* TARJETA BASE */
.lovi-card{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    transition:all 0.35s ease;
}

/* Glow oculto */
.lovi-card::before{
    content:'';
    position:absolute;
    inset:-3px;
    border-radius:22px;
    background:linear-gradient(45deg,#00c3ff,#0047ff,#00c3ff);
    background-size:300% 300%;
    z-index:-1;
    filter:blur(14px);
    opacity:0;
    transition:0.4s;
    animation:glowMove 6s linear infinite;
}

/* Activar glow */
.lovi-card:hover::before{
    opacity:0.8;
}

/* ElevaciÃ³n */
.lovi-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 50px rgba(0,0,0,0.25);
}

/* Zoom imagen */
.lovi-card img{
    transition:transform 0.5s ease;
}

.lovi-card:hover img{
    transform:scale(1.05);
}

/* AnimaciÃ³n */
@keyframes glowMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}
.lovi-countdown-section{
    display:flex;
    justify-content:center;
    margin:80px 0;
}

.lovi-countdown-box{
    background:linear-gradient(135deg,#0f1c6e,#1e2bb8);
    padding:50px;
    border-radius:25px;
    text-align:center;
    color:#fff;
    width:100%;
    max-width:1100px;
    position:relative;
    overflow:hidden;
    box-shadow:0 25px 60px rgba(0,0,0,0.3);
}

.lovi-countdown-box h2{
    font-size:32px;
    font-weight:800;
    margin-bottom:15px;
}

.lovi-countdown-box p{
    font-size:18px;
    margin-bottom:35px;
    opacity:0.9;
}

.lovi-timer{
    display:flex;
    justify-content:center;
    gap:40px;
    margin-bottom:30px;
}

.lovi-timer div{
    background:#fff;
    color:#1e2bb8;
    padding:20px 30px;
    border-radius:15px;
    min-width:100px;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.lovi-timer span{
    font-size:36px;
    font-weight:800;
    display:block;
}

.lovi-timer small{
    font-size:14px;
    font-weight:600;
}

.lovi-note{
    font-size:14px;
    opacity:0.85;
}
.lovi-random-card{
    margin-top:40px;
    background:#fff;
    padding:25px;
    border-radius:20px;
    text-align:center;
    max-width:350px;
    margin-left:auto;
    margin-right:auto;
    box-shadow:0 15px 40px rgba(0,0,0,0.25);
    transition:0.3s ease;
}

.lovi-random-card img{
    width:100%;
    border-radius:15px;
    transition:0.4s;
}

.lovi-random-card h3{
    font-size:18px;
    margin:15px 0 8px;
    color:#1e2bb8;
}

.lovi-price{
    display:block;
    font-size:20px;
    font-weight:700;
    margin-bottom:15px;
    color:#ff6b00;
}

.lovi-btn{
    background:#ff6b00;
    color:#fff;
    padding:12px 20px;
    border-radius:40px;
    font-weight:700;
    transition:0.3s;
}

.lovi-random-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 50px rgba(0,0,0,0.35);
}

.lovi-random-card:hover img{
    transform:scale(1.05);
}
/* ===== FIX DESBORDE MOBILE ===== */

.lovi-countdown-section{
    width:100%;
    padding:0 15px;
    box-sizing:border-box;
}

.lovi-countdown-box{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}

/* El glow no debe generar overflow */
.lovi-countdown-box::before{
    max-width:100%;
}

/* Evitar scroll horizontal global */
body{
    overflow-x:hidden;
}




/* ================================================= */
/* LOVIENCHINA CLEAN PRODUCT + RELATED OVERRIDE */
/* ================================================= */

html,body{overflow-x:hidden;}

.single-product #sidebar,
.single-product .sidebar{display:none!important;}

.single-product #primary,
.single-product .content-area,
.single-product .site-main{
width:100%!important;
max-width:1280px!important;
margin:0 auto!important;
float:none!important;
}

.single-product .woocommerce div.product{
display:flex!important;
flex-wrap:wrap!important;
align-items:flex-start!important;
justify-content:space-between!important;
gap:50px!important;
background:#fff;
border-radius:24px;
padding:40px!important;
box-shadow:0 10px 30px rgba(0,0,0,.08);
margin:35px auto!important;
}

.single-product .woocommerce div.product .woocommerce-product-gallery,
.single-product .woocommerce div.product .summary{
float:none!important;
}

.single-product .woocommerce-product-gallery{
flex:1 1 420px!important;
max-width:48%!important;
}

.single-product .woocommerce-product-gallery img{
width:100%!important;
max-width:500px!important;
height:auto!important;
display:block;
margin:auto;
}

.single-product .summary{
flex:1 1 420px!important;
max-width:48%!important;
}

.single-product .product_title{
font-size:42px!important;
line-height:1.1!important;
margin-bottom:15px!important;
}

.single-product .price{
font-size:38px!important;
font-weight:800!important;
color:#ff6b00!important;
}

.single-product .single_add_to_cart_button{
width:100%!important;
border-radius:12px!important;
padding:18px!important;
font-size:20px!important;
}

.single-product .woocommerce-tabs{
clear:both!important;
margin-top:50px!important;
}

.related.products{
max-width:1280px!important;
margin:50px auto!important;
}

.related.products ul.products{
display:grid!important;
grid-template-columns:repeat(4,minmax(220px,1fr))!important;
gap:24px!important;
margin:0!important;
padding:0!important;
}

.related.products ul.products li.product,
.woocommerce ul.products li.product{
width:100%!important;
background:#fff!important;
border-radius:18px!important;
padding:18px!important;
box-shadow:0 8px 22px rgba(0,0,0,.08)!important;
text-align:center!important;
min-height:340px!important;
}

.related.products ul.products li.product img,
.woocommerce ul.products li.product img{
max-height:150px!important;
width:auto!important;
object-fit:contain!important;
margin:0 auto 10px!important;
}

@media(max-width:768px){
.single-product .woocommerce div.product{
flex-direction:column!important;
padding:25px!important;
}
.single-product .woocommerce-product-gallery,
.single-product .summary{
max-width:100%!important;
}
}
/* ================================= */
/* SHOP GRID FIX LOVIENCHINA */
/* ================================= */

.post-type-archive-product ul.products,
.tax-product_cat ul.products{

    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:25px!important;

    margin:40px auto!important;
    padding:0!important;
    list-style:none!important;
}

/* CARD SHOP */

.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product{

    width:100%!important;
    margin:0!important;
    float:none!important;

    background:#fff!important;
    border-radius:22px!important;
    padding:22px!important;
    box-shadow:0 10px 28px rgba(0,0,0,.08)!important;

    display:flex!important;
    flex-direction:column!important;
justify-content:flex-start!important;
min-height:auto!important;
gap:10px!important;

    min-height:430px!important;
    text-align:center!important;
}

/* IMAGEN */

.post-type-archive-product ul.products li.product img,
.tax-product_cat ul.products li.product img{

    max-height:180px!important;
    width:auto!important;
    max-width:100%!important;
    object-fit:contain!important;
    margin:0 auto 15px!important;
}

/* TITULO */

.post-type-archive-product .woocommerce-loop-product__title,
.tax-product_cat .woocommerce-loop-product__title{

    font-size:18px!important;
    min-height:48px!important;
    margin:10px 0!important;
}

/* PRECIO */

.post-type-archive-product .price,
.tax-product_cat .price{

    font-size:20px!important;
    color:#ff6b00!important;
    font-weight:800!important;
}

/* BOTON */

.post-type-archive-product .button,
.tax-product_cat .button{

    margin-top:auto!important;
    border-radius:40px!important;
    padding:12px 24px!important;
    background:linear-gradient(180deg,#ffc400,#ffb000)!important;
    color:#fff!important;
    font-weight:700!important;
}

/* MOBILE */

@media(max-width:768px){
    .post-type-archive-product ul.products,
    .tax-product_cat ul.products{
        grid-template-columns:repeat(2,1fr)!important;
    }
}
/* COMPACTAR SHOP CARDS */

.post-type-archive-product ul.products li.product,
.tax-product_cat ul.products li.product{

    padding:18px!important;
    min-height:auto!important;
    gap:10px!important;
}

.post-type-archive-product .price,
.tax-product_cat .price{
    margin:4px 0!important;
}

.post-type-archive-product .button,
.tax-product_cat .button{
    margin-top:8px!important;
}
/* ELIMINAR BLOQUE VACIO DEL GRID SHOP */

.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products.columns-4::before,
ul.products.columns-4::after{
    display:none!important;
    content:none!important;
}

.woocommerce ul.products{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
}
