
html{
    font-size:90%;
    -webkit-text-size-adjust:100%;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

:root{
    --bg:#f3f6fb;
    --surface:#ffffff;
    --surface-2:#f8fbff;
    --text:#172033;
    --muted:#667085;
    --line:#dbe4f0;
    --line-2:#e8eef6;
    --brand:#0b4ea2;
    --brand-2:#083b7a;
    --brand-soft:#eef5ff;
    --success:#16a34a;
    --danger:#d92d20;
    --danger-soft:#fff1f1;
    --amazon:#ffd814;
    --amazon-2:#f7ca00;
    --shadow:0 10px 28px rgba(15,23,42,.07);
    --shadow-hover:0 18px 34px rgba(15,23,42,.11);
    --radius-lg:22px;
    --radius-md:16px;
    --radius-sm:12px;
}

body{
    margin:0;
    font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background:linear-gradient(180deg,#f7f9fc 0%, #eef3f9 100%);
    color:var(--text);
    line-height:1.45;
}

img{
    max-width:100%;
    display:block;
}

a{
    color:var(--brand);
}

.container{
    width:min(1200px, 94%);
    margin:0 auto;
}

/* ===== HEADER ===== */

.topbar-shell {
    background: #0b1220; /* casi negro elegante */
}

.topbar{
    position:sticky;
    top:0;
    z-index:100;
    backdrop-filter:blur(12px);
    background:rgba(9,18,34,.92);
    border-bottom:1px solid rgba(255,255,255,.08);
    box-shadow:0 8px 22px rgba(0,0,0,.16);
    margin-bottom:20px;
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:12px 0 10px;
}

.brand{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
}

.logo-center{
    height:150px;
    width:auto;
    object-fit:contain;
    filter:drop-shadow(0 6px 16px rgba(0,0,0,.22));
}

.menu-seo{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    padding:0 0 14px;
}

.menu-seo a{
    text-decoration:none;
    color:#ecf3ff;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.09);
    border-radius:999px;
    padding:8px 12px;
    font-size:13px;
    font-weight:700;
    line-height:1;
    transition:all .18s ease;
}

.menu-seo a:hover,
.menu-seo a:focus-visible{
    background:rgba(78,161,255,.18);
    border-color:rgba(78,161,255,.38);
    transform:translateY(-1px);
    outline:none;
}

/* ===== HERO / BOXES ===== */
.subscribe-box-pro,
.seo-box-home,
.filters,
.item,
.detail-card,
.notice,
.pagination-seo,
.seo-block{
    box-shadow:var(--shadow);
}

.subscribe-box-pro{
    background:linear-gradient(135deg, #0b4ea2 0%, #0d2c55 100%);
    color:#fff;
    border-radius:24px;
    padding:24px 24px;
    margin:0 0 20px;
    overflow:hidden;
    position:relative;
}

.subscribe-box-pro::after{
    content:"";
    position:absolute;
    inset:auto -90px -90px auto;
    width:240px;
    height:240px;
    background:radial-gradient(circle, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 70%);
    pointer-events:none;
}

.subscribe-content{
    position:relative;
    z-index:1;
}

.subscribe-content h1,
.subscribe-content h2{
    margin:0 0 8px;
    font-size:28px;
    line-height:1.12;
}

.subscribe-content p{
    margin:0 0 16px;
    font-size:14px;
    opacity:.96;
}

.subscribe-actions-pro{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.btn-pro{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:140px;
    padding:11px 16px;
    border-radius:12px;
    color:#fff;
    text-decoration:none;
    font-weight:800;
    box-shadow:0 12px 22px rgba(0,0,0,.16);
    transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn-pro:hover,
.btn-pro:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 16px 28px rgba(0,0,0,.22);
    outline:none;
}

.btn-pro.whatsapp{ background:#22c55e; }
.btn-pro.telegram{ background:#229ed9; }

.seo-box-home{
    background:var(--surface);
    border:1px solid var(--line-2);
    border-radius:18px;
    padding:16px 18px;
    margin:0 0 16px;
}

.seo-box-home h2{
    margin:0 0 8px;
    font-size:20px;
    line-height:1.25;
}

.seo-box-home p{
    margin:0;
    color:#49566a;
    font-size:14px;
    line-height:1.62;
}

.home-guides-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}

/* ===== BREADCRUMBS & CHIPS ===== */
.breadcrumbs{
    margin:14px 0 12px;
    color:var(--muted);
    font-size:13px;
}

.breadcrumbs a{
    color:var(--brand);
    text-decoration:none;
}

.breadcrumbs a:hover{ text-decoration:underline; }

.ficha-resumen{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:12px 0 10px;
}

.ficha-chip{
    display:inline-flex;
    align-items:center;
    gap:4px;
    text-decoration:none;
    background:var(--brand-soft);
    color:#2f4a78;
    border:1px solid #d7e5fb;
    border-radius:999px;
    padding:6px 10px;
    font-size:12px;
    font-weight:700;
    line-height:1;
    transition:all .18s ease;
}

.ficha-chip:hover,
.ficha-chip:focus-visible{
    background:#e7f0ff;
    border-color:#c7daf7;
    transform:translateY(-1px);
    outline:none;
}

/* ===== FILTERS ===== */
.filters{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    background:rgba(255,255,255,.92);
    border:1px solid var(--line-2);
    border-radius:18px;
    padding:12px;
    margin-bottom:18px;
}

.search-wrap{
    position:relative;
    flex:1 1 360px;
    max-width:540px;
    width:100%;
}

#searchInput,
#sortSelect{
    width:100%;
    border:1px solid #d3dde9;
    background:#fff;
    color:var(--text);
    font-size:13px;
    border-radius:12px;
    transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#searchInput{
    padding:12px 42px 12px 38px;
}

#sortSelect{
    flex:0 0 210px;
    max-width:210px;
    padding:12px;
}

#searchInput:focus,
#sortSelect:focus{
    outline:none;
    border-color:#82aef0;
    box-shadow:0 0 0 4px rgba(11,78,162,.12);
}

.search-icon{
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    color:#708099;
    font-size:14px;
    pointer-events:none;
}

.clear-search{
    position:absolute;
    right:8px;
    top:50%;
    transform:translateY(-50%);
    width:26px;
    height:26px;
    border:none;
    border-radius:50%;
    background:#e9eff8;
    color:#5c6c83;
    cursor:pointer;
    display:none;
    align-items:center;
    justify-content:center;
    padding:0;
}

.clear-search:hover{ background:#dae6f4; }

.search-suggestions{
    position:absolute;
    top:calc(100% + 6px);
    left:0;
    right:0;
    display:none;
    z-index:30;
    background:#fff;
    border:1px solid var(--line);
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 16px 30px rgba(0,0,0,.12);
}

.suggestion-item{
    width:100%;
    border:none;
    background:#fff;
    padding:10px 12px;
    text-align:left;
    cursor:pointer;
    font-size:13px;
    color:var(--text);
}

.suggestion-item:hover{ background:#f4f8ff; }

/* ===== LISTADO ===== */
.seo-title{
    font-size:29px;
    line-height:1.18;
    margin:2px 0 18px;
    text-align:center;
}

.list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.item{
    display:flex;
    gap:18px;
    background:rgba(255,255,255,.94);
    border:1px solid var(--line-2);
    border-radius:24px;
    padding:18px;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.item:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow-hover);
    border-color:#d5e0ee;
}


.image-box{
    width:190px;
    min-width:190px;
    height:170px;
    background:linear-gradient(180deg,#fff 0%, #f6f9fd 100%);
    border:1px solid #e7edf5;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:10px;
}

/* ===== IMAGE FIX (LISTADO COMO DETALLE) ===== */

/* Si la imagen está dentro de un enlace */
.image-box a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    
}

/* Imagen del producto */
.product-image{
    display:block;
    width:auto !important;
    height:auto !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:contain;
    object-position:center;
    margin:auto;
    transition:none;
}

/* Quitar zoom que rompe el encaje */
.item:hover .product-image,
.related-card:hover .product-image{
    transform:none !important;
}

/*
.product-image{
    max-width:84%;
    max-height:84%;
    width:auto;
    height:auto;
    object-fit:contain;
    transition:transform .2s ease;
}

.item:hover .product-image,
.related-card:hover .product-image{
    transform:scale(1.03);
}
*/
.info{
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
}

.info h1,
.info h2{
    margin:0 0 8px;
    color:#122033;
    font-size:17px;
    line-height:1.32;
}

/* ===== TITULO PRODUCTO SIN ESTILO DE LINK ===== */
.item h2 a{
    color:#122033;
    text-decoration:none;
}

.item h2 a:hover,
.item h2 a:focus{
    color:#122033;
    text-decoration:none;
}

.item h2 a:visited{
    color:#122033;
}

.desc{
    margin:0 0 10px;
    color:#5e6c82;
    font-size:13px;
    line-height:1.55;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* ===== PRICE AREA ===== */
.price-line{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin:8px 0 10px;
}

.oferton{
    background:linear-gradient(180deg,#ffe57a 0%, #ffcb11 100%);
    color:#5b4700;
    border-radius:999px;
    padding:4px 8px;
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.2px;
    line-height:1;
}

.price{
    font-size:22px;
    line-height:1;
    color:#1246a3;
    font-weight:900;
}

.old{
    color:#8a97aa;
    font-size:14px;
    text-decoration:line-through;
}

.bottom-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:2px;
    margin-bottom:8px;
}

.discount-wrap{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
    min-height:40px;
}

.discount-value{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:7px 12px;
    background:var(--danger-soft);
    border:1px solid #ffd2cf;
    color:var(--danger);
    font-size:18px;
    font-weight:900;
    line-height:1;
}

/* ===== SHARE FIX ===== */
.share{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    margin-left:auto;
    flex-wrap:nowrap;
}

.share-label{
    font-size:12px;
    color:#748196;
    font-weight:700;
    margin-right:2px;
    white-space:nowrap;
}

.icon-btn{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;
    border:1px solid #d5dfec;
    background:#fff;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    padding:0;
    cursor:pointer;
    overflow:hidden;
    transition:transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.icon-btn:hover,
.icon-btn:focus-visible{
    background:#f6f9ff;
    border-color:#bcd0ec;
    box-shadow:0 8px 16px rgba(11,78,162,.10);
    transform:translateY(-1px);
    outline:none;
}

.icon-btn img{
    width:20px !important;
    height:20px !important;
    max-width:20px !important;
    max-height:20px !important;
    min-width:20px !important;
    min-height:20px !important;
    object-fit:contain;
    display:block;
}

button.icon-btn{
    appearance:none;
    -webkit-appearance:none;
}

/* ===== META ===== */
.meta-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid #edf1f6;
    color:#758297;
    font-size:12px;
    flex-wrap:wrap;
}

.meta-line .date,
.meta-line .clicks{
    display:inline-flex;
    align-items:center;
    gap:5px;
}

/* ===== BUTTONS ===== */
.btn,
.amazon-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    text-decoration:none;
    font-weight:800;
    border-radius:12px;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn{
    margin-top:12px;
    min-height:42px;
    padding:11px 16px;
    width:fit-content;
    background:linear-gradient(180deg, #0d57b2 0%, #0a448c 100%);
    color:#fff;
    border:1px solid #0a448c;
    box-shadow:0 10px 18px rgba(11,78,162,.18);
}

.btn:hover,
.btn:focus-visible{
    background:linear-gradient(180deg, #0c4b99 0%, #083b7a 100%);
    transform:translateY(-1px);
    box-shadow:0 14px 22px rgba(11,78,162,.24);
    outline:none;
}

.btn-main{
    min-width:126px;
}

.btn-secondary{
    background:#fff;
    color:var(--brand);
    border:1px solid #d7e2f0;
}

.btn-secondary:hover,
.btn-secondary:focus-visible{
    background:#eef5ff;
    outline:none;
}

.amazon-btn{
    margin-top:12px;
    min-height:46px;
    padding:12px 18px;
    background:linear-gradient(180deg, #ffe16b 0%, #ffd814 100%);
    color:#111 !important;
    border:1px solid #f0c52f;
    box-shadow:0 10px 18px rgba(240,197,47,.24);
}

.amazon-btn:hover,
.amazon-btn:focus-visible{
    background:linear-gradient(180deg, #fcd54a 0%, #f7ca00 100%);
    color:#111 !important;
    transform:translateY(-1px);
    box-shadow:0 14px 24px rgba(240,197,47,.30);
    outline:none;
}

/* ===== DETAIL ===== */
.detail-card{
    background:#fff;
    border:1px solid var(--line-2);
    border-radius:24px;
    padding:20px;
}

.notice{
    background:#fff8d8;
    border:1px solid #f3dd8e;
    color:#7a5d00;
    border-radius:14px;
    padding:12px;
    margin:18px 0;
}

.detail-state{
    margin:8px 0 0;
    color:#b54708;
    font-weight:800;
}

.detail-price-main{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin:14px 0 8px;
}

.detail-price-main .price-now{
    font-size:30px;
    font-weight:900;
    color:var(--brand);
    line-height:1;
}

.detail-price-main .discount-main{
    display:inline-flex;
    align-items:center;
    background:var(--danger-soft);
    border:1px solid #ffd2cf;
    color:var(--danger);
    border-radius:999px;
    padding:7px 12px;
    font-size:15px;
    font-weight:900;
    line-height:1;
}

.detail-old-price{
    color:#7b8797;
    text-decoration:line-through;
    font-size:15px;
    margin-bottom:6px;
}

.detail-saving{
    color:#425266;
    font-size:14px;
    font-weight:700;
}

/* ===== RELATED ===== */
.related-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
}

.related-header h2{
    margin:0;
}

.related-slider{
    display:flex;
    gap:16px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:10px 0;
}

.related-slider::-webkit-scrollbar{ display:none; }

.related-card{
    min-width:235px;
    max-width:235px;
    flex:0 0 235px;
    background:#fff;
    border:1px solid var(--line-2);
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(15,23,42,.08);
    display:flex;
    flex-direction:column;
}

.related-card .image-box{
    width:100%;
    min-width:100%;
    height:170px;
    border:none;
    border-bottom:1px solid var(--line-2);
    border-radius:0;
}

.related-card .info{
    padding:12px;
}

.related-card h3{
    margin:0 0 10px;
    font-size:14px;
    line-height:1.35;
    min-height:2.7em;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.related-price-now{
    font-size:22px;
    font-weight:900;
    line-height:1.1;
    color:#111827;
    margin-bottom:5px;
}

.related-price-old{
    font-size:13px;
    color:#7a8698;
    text-decoration:line-through;
    margin-bottom:5px;
}

.related-discount{
    display:inline-flex;
    align-items:center;
    width:fit-content;
    background:var(--danger-soft);
    border:1px solid #ffd2cf;
    color:var(--danger);
    border-radius:999px;
    padding:5px 9px;
    font-size:12px;
    font-weight:900;
    line-height:1;
    margin-bottom:10px;
}

.related-arrow{
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:linear-gradient(180deg, #0d57b2 0%, #0a448c 100%);
    color:#fff;
    font-size:22px;
    cursor:pointer;
}

.related-arrow:hover{
    background:linear-gradient(180deg, #0c4b99 0%, #083b7a 100%);
}

/* ===== PAGINATION / LOADER ===== */
.loader{
    text-align:center;
    padding:18px;
    color:#6f7d91;
}

.fade-in{
    animation:fadeIn .35s ease;
}

@keyframes fadeIn{
    from{ opacity:0; transform:translateY(8px); }
    to{ opacity:1; transform:translateY(0); }
}

.pagination-seo{
    display:flex;
    justify-content:center;
    gap:8px;
    flex-wrap:wrap;
    margin:28px 0;
}

.pagination-seo .btn,
.pagination-seo span{
    min-width:44px;
    text-align:center;
}

.top-btn{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:999;
    display:none;
    width:46px;
    height:46px;
    border:none;
    border-radius:50%;
    background:linear-gradient(180deg, #0d57b2 0%, #0a448c 100%);
    color:#fff;
    font-size:20px;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(11,78,162,.25);
}

.top-btn:hover{
    background:linear-gradient(180deg, #0c4b99 0%, #083b7a 100%);
}

/* ===== FAQ ===== */
.faq-accordion{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.faq-item{
    border:1px solid var(--line-2);
    border-radius:12px;
    overflow:hidden;
    background:#fff;
}

.faq-question{
    width:100%;
    border:none;
    text-align:left;
    padding:12px 14px;
    background:#f9fbff;
    color:var(--text);
    font-size:14px;
    font-weight:700;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
}

.faq-question:hover{ background:#f3f7fd; }

.faq-icon{
    font-size:18px;
    transition:transform .2s ease;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:all .25s ease;
    padding:0 14px;
}

.faq-answer p{
    margin:10px 0;
    color:#4e5d72;
    font-size:13px;
    line-height:1.6;
}

.faq-item.active .faq-answer{ max-height:220px; }
.faq-item.active .faq-icon{ transform:rotate(90deg); }

/* ===== MOBILE ===== */
.mobile-only{ display:none; }
.desktop-only{ display:block; }

@media (max-width: 900px){
    .menu-seo{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:12px;
        scrollbar-width:none;
    }

    .menu-seo::-webkit-scrollbar{ display:none; }

    .item{
        padding:16px;
    }

    .image-box{
        width:168px;
        min-width:168px;
        height:152px;
    }
}

@media (max-width: 768px){
    html{ font-size:88%; }

    .topbar{ position:static; }

    .header-inner{
        padding:10px 0 8px;
    }

    .logo-center{
        height:58px;
    }

    .mobile-only{ display:block; }
    .desktop-only{ display:none; }

    .subscribe-box-pro{
        padding:18px 16px;
        border-radius:18px;
    }

    .subscribe-content h1,
    .subscribe-content h2{
        font-size:23px;
    }

    .filters{
        flex-direction:column;
        align-items:stretch;
        gap:8px;
    }

    .search-wrap,
    #sortSelect{
        max-width:none;
        width:100%;
        flex:1 1 auto;
    }

    .seo-title{
        font-size:24px;
        text-align:left;
    }

    .item{
        flex-direction:column;
        gap:14px;
        border-radius:18px;
        padding:14px;
    }

    .image-box{
        width:100%;
        min-width:100%;
        height:220px;
    }

    .info h1,
    .info h2{
        font-size:16px;
    }

    .desc{
        font-size:12.5px;
    }

    .price{
        font-size:21px;
    }

    .old{
        font-size:13px;
    }

    .discount-value{
        font-size:16px;
        padding:6px 10px;
    }

    .bottom-row{
        align-items:flex-start;
        flex-direction:column;
    }

    .share{
        margin-left:0;
        justify-content:flex-start;
        flex-wrap:wrap;
    }

    .meta-line{
        flex-direction:column;
        align-items:flex-start;
        gap:6px;
    }

    .btn,
    .amazon-btn{
        width:100%;
    }

    .detail-price-main .price-now{
        font-size:26px;
    }

    .detail-price-main .discount-main{
        font-size:14px;
    }

    .related-card{
        min-width:215px;
        max-width:215px;
        flex:0 0 215px;
    }

    .related-arrow{
        width:36px;
        height:36px;
        font-size:20px;
    }
}

@media (max-width:480px){
    .container{
        width:min(96%, 96%);
    }

    .menu-seo a{
        font-size:12px;
        padding:8px 11px;
    }

    .share-label{
        width:100%;
        margin-bottom:2px;
    }

    .icon-btn{
        width:36px;
        height:36px;
        min-width:36px;
        min-height:36px;
    }

    .icon-btn img{
        width:18px !important;
        height:18px !important;
        max-width:18px !important;
        max-height:18px !important;
        min-width:18px !important;
        min-height:18px !important;
    }
}


/* ===== HEADER REWORK ===== */
.site-header{
    margin-bottom: 18px;
}

.topbar-shell{
    background: linear-gradient(180deg, #0b1220 0%, #101927 100%);
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.header-inner{
    padding: 14px 0 10px;
}

.menu-seo{
    padding: 0 0 10px;
}

.header-search-shell{
    padding-bottom: 16px;
}

.filters-header{
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: none;
    margin-bottom: 0;
}

.filters-header #searchInput,
.filters-header #sortSelect{
    background: rgba(255,255,255,.96);
}

.filters-header .search-suggestions{
    top: calc(100% + 8px);
}

/* ===== HOME TWO COLUMNS ===== */
.home-layout{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 320px;
    gap:22px;
    align-items:start;
}

.home-main{
    min-width:0;
}

.home-sidebar{
    position:sticky;
    top:18px;
}

.home-sidebar .home-section-card{
    margin-bottom:18px;
}

.home-section-card{
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #e5edf7;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.home-section-card h2{
    margin:0 0 8px;
    font-size:1.16rem;
    color:#0f172a;
}

.home-section-card p{
    margin:0;
    color:#475569;
    line-height:1.62;
    font-size:.95rem;
}

.home-guides-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
}

.embedded-hero{
    margin: 0;
}

.hero-home{
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b4ea2 0%, #0a3f86 42%, #111827 100%);
    border-radius: 20px;
    padding: 18px 20px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.20);
}

.hero-home::before,
.hero-home::after{
    content:"";
    position:absolute;
    border-radius:50%;
    pointer-events:none;
}

.hero-home::before{
    width:280px;
    height:280px;
    top:-120px;
    right:-80px;
    background:radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,0));
}

.hero-home::after{
    width:220px;
    height:220px;
    bottom:-120px;
    left:-90px;
    background:radial-gradient(circle, rgba(255,216,20,.20), rgba(255,216,20,0));
}

.hero-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1.45fr .95fr;
    gap:20px;
    align-items:center;
}

.hero-home h1{
    margin:0 0 10px;
    font-size:1.6rem;
    line-height:1.08;
    color:#fff;
}

.hero-home p{
    margin:0;
    font-size:0.9rem;
    line-height:1.5;
    color:rgba(255,255,255,.92);
    max-width:720px;
}

.hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:18px 0 0;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.14);
    color:#fff;
    padding:6px 10px;
    border-radius:999px;
    font-weight:700;
    font-size:.8rem;
    backdrop-filter:blur(8px);
}

.hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.hero-action-card{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    border-radius:14px;
    padding:12px;
    backdrop-filter:blur(10px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.hero-action-card h2{
    margin:0 0 6px;
    font-size:0.9rem;
    color:#fff;
}

.hero-action-card p{
    margin:10px;
    font-size:.8rem;
    line-height:1.45;
    color:rgba(255,255,255,.84);
}

.hero-action-card .btn-pro{
    width:100%;
    justify-content:center;
padding: 8px 12px;
    font-size: 0.85rem;
}

.mobile-follow-bar{
    display:none;
}

.deal-ended{
    margin: 0 0 10px;
    font-weight: 800;
    color: #b45309;
}

@media (max-width: 1100px){
    .home-layout{
        grid-template-columns:minmax(0, 1fr) 290px;
        gap:18px;
    }
}

@media (max-width: 980px){
    .home-layout{
        grid-template-columns:1fr;
    }

    .home-sidebar{
        position:static;
    }

    .hero-grid{
        grid-template-columns:1fr;
    }

    .hero-actions{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 768px){
    .desktop-only{ display:none; }
    .mobile-only{ display:block; }

    .header-inner{
        padding:10px 0 8px;
    }

    .logo-center{
        height:125px;
    }

    .menu-seo{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:10px;
        scrollbar-width:none;
    }

    .menu-seo::-webkit-scrollbar{ display:none; }

    .header-search-shell{
        padding-bottom: 12px;
    }

    .filters-header{
        flex-direction:column;
        align-items:stretch;
        gap:8px;
        border-radius:16px;
        padding:10px;
    }

    .filters-header .search-wrap,
    .filters-header #sortSelect{
        max-width:none;
        width:100%;
        flex:1 1 auto;
    }

    .hero-home{
        padding:22px 16px;
        border-radius:22px;
    }

    .hero-home h1{
        font-size:1.58rem;
    }

    .hero-home p{
        font-size:.94rem;
        line-height:1.58;
    }

    .hero-badges{
        gap:8px;
    }

    .hero-badge{
        font-size:.82rem;
        padding:7px 10px;
    }

    .hero-actions{
        grid-template-columns:1fr;
    }

    .hero-action-card{
        border-radius:18px;
        padding:14px;
    }

    .home-section-card{
        padding:15px 14px;
        border-radius:18px;
    }

    .home-section-card h2{
        font-size:1.08rem;
    }

    .home-section-card p{
        font-size:.9rem;
        line-height:1.55;
    }

    .home-guides-links{
        gap:8px;
    }

    .home-guides-links .ficha-chip{
        font-size:.84rem;
        padding:6px 10px;
    }

    .mobile-follow-bar{
        display:flex;
        align-items:center;
        gap:8px;
        flex-wrap:wrap;
        background:#fff;
        border:1px solid #dce6f4;
        border-radius:16px;
        padding:10px 12px;
        margin:0 0 16px;
        box-shadow:0 10px 26px rgba(15,23,42,.06);
    }

    .mobile-follow-bar span{
        font-weight:800;
        color:#0f172a;
    }

    .item{
        flex-direction:column;
        gap:14px;
        border-radius:18px;
        padding:14px;
    }

    .image-box{
        width:100%;
        min-width:100%;
        height:220px;
    }

    .bottom-row{
        align-items:flex-start;
        flex-direction:column;
    }

    .share{
        margin-left:0;
        justify-content:flex-start;
        flex-wrap:wrap;
    }
}

@media (max-width:480px){
    .container{
        width:min(96%, 96%);
    }

    .menu-seo a{
        font-size:12px;
        padding:8px 11px;
    }
}


/* ===== HOME PRO ===== */
.header-search-shell{padding:0 0 16px;}
.filters-header{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);box-shadow:none;}
.filters-header #searchInput,
.filters-header #sortSelect{background:rgba(255,255,255,.96);}
.filters-header #searchInput{font-size:14px;font-weight:600;}
.filters-header #sortSelect{font-size:13px;font-weight:700;}

.site-main{padding-bottom:28px;}
.home-layout-pro{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start;}
.home-main{min-width:0;}
.home-sidebar-pro{position:relative;}
.home-sidebar-pro .sticky-card{position:sticky;top:18px;}
.sidebar-card{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);}
.sidebar-card-head h2{margin-top:6px;}
.sidebar-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#e8f1ff;color:#0b4ea2;font-size:11px;font-weight:900;letter-spacing:.3px;}
.quick-links-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;}
.quick-link{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:10px 12px;border-radius:14px;text-decoration:none;font-weight:800;color:#173056;background:#f4f8ff;border:1px solid #dde8f7;}
.quick-link:hover{background:#ebf3ff;border-color:#c7daf7;}

.trust-strip{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px;}
.trust-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;background:#fff;border:1px solid var(--line-2);border-radius:999px;font-size:12px;font-weight:800;color:#314056;box-shadow:var(--shadow);}

.item-pro{gap:16px;padding:15px 16px;border-radius:22px;position:relative;overflow:hidden;}
.item-pro::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#0b4ea2 0%,#17a34a 100%);opacity:.12;}
.item-pro .image-box{width:172px;min-width:172px;height:160px;border-radius:16px;background:#fff;}
.item-pro .info h2{font-size:16px;line-height:1.3;margin-bottom:6px;}
.item-pro .desc{font-size:12.5px;line-height:1.5;margin-bottom:8px;-webkit-line-clamp:2;}
.item-pro .ficha-resumen{margin:9px 0 8px;gap:6px;}
.item-pro .ficha-chip{font-size:11px;padding:5px 9px;}
.item-pro .price-line{margin:4px 0 7px;gap:8px;}
.item-pro .oferton{padding:4px 7px;font-size:10px;}
.item-pro .price{font-size:26px;color:#0f172a;}
.item-pro .old{font-size:12px;}
.item-pro .discount-value{font-size:15px;padding:6px 10px;}
.item-pro .btn{margin-top:6px;min-height:42px;font-size:13px;font-weight:900;}
.item-pro .meta-line{margin-top:10px;font-size:12px;}
.deal-signals{display:flex;gap:8px;flex-wrap:wrap;margin:2px 0 8px;}
.signal-hot,.signal-soft{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;line-height:1;}
.signal-hot{background:#fff1f2;border:1px solid #fecdd3;color:#be123c;}
.signal-soft{background:#f5f9ff;border:1px solid #dbe8fb;color:#35507b;}
.deal-ended{display:inline-flex;align-items:center;width:fit-content;margin:0 0 8px;padding:6px 10px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#b45309;font-size:11px;font-weight:800;}

.hero-home.embedded-hero{padding:24px 22px;border-radius:24px;margin:4px 0 4px;}
.hero-home .hero-grid{grid-template-columns:1.2fr .9fr;gap:16px;}
.hero-home h1{font-size:2rem;}
.hero-action-card{border-radius:18px;padding:16px;}
.hero-action-card h2{font-size:1rem;}

.promo-inline-card{display:grid;grid-template-columns:1.2fr auto;gap:16px;align-items:center;padding:18px 20px;border-radius:22px;background:linear-gradient(135deg,#0f172a 0%,#102f61 100%);color:#fff;box-shadow:0 18px 38px rgba(15,23,42,.16);margin:2px 0 2px;}
.promo-kicker{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:11px;font-weight:900;letter-spacing:.4px;margin-bottom:10px;}
.promo-inline-copy h2{margin:0 0 8px;font-size:1.35rem;line-height:1.15;color:#fff;}
.promo-inline-copy p{margin:0;color:rgba(255,255,255,.88);line-height:1.6;}
.promo-inline-actions{display:grid;gap:10px;min-width:190px;}

.home-section-card{border-radius:20px;padding:18px;}
.home-section-card h2{font-size:1.1rem;}
.home-section-card p{font-size:13px;line-height:1.62;}
.home-guides-links{gap:8px;}
.home-guides-links .ficha-chip{font-size:11px;padding:7px 10px;}

@media (max-width: 1100px){
  .home-layout-pro{grid-template-columns:minmax(0,1fr) 290px;gap:18px;}
  .promo-inline-card{grid-template-columns:1fr;}
  .promo-inline-actions{min-width:0;grid-template-columns:1fr 1fr;}
}

@media (max-width: 900px){
  .home-layout-pro{grid-template-columns:1fr;}
  .home-sidebar-pro{display:none;}
  .trust-strip{gap:8px;margin-bottom:14px;}
  .trust-pill{font-size:11px;padding:8px 10px;}
}

@media (max-width: 768px){
  .header-search-shell{padding:0 0 12px;}
  .filters-header{padding:10px;border-radius:16px;}
  .trust-strip{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:none;}
  .trust-strip::-webkit-scrollbar{display:none;}
  .item-pro{padding:13px 13px 14px;}
  .item-pro .image-box{width:100%;min-width:100%;height:210px;}
  .item-pro .price{font-size:24px;}
  .hero-home.embedded-hero{padding:18px 15px;border-radius:18px;}
  .hero-home h1{font-size:1.45rem;}
  .promo-inline-card{padding:16px;border-radius:18px;}
  .promo-inline-copy h2{font-size:1.15rem;}
  .promo-inline-actions{grid-template-columns:1fr;}
}


/* ===== BUSCADOR AMAZON LIMPIO ===== */
.filters-header{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    box-shadow:none;
    margin-bottom:0;
}

.filters-header #searchInput,
.filters-header #sortSelect{
    background:rgba(255,255,255,.96);
}

.filters-header #searchInput{
    font-size:14px;
    font-weight:600;
}

.filters-header #sortSelect{
    font-size:13px;
    font-weight:700;
}

.filters-header .search-wrap{
    position:relative;
    flex:1 1 360px;
    max-width:540px;
    width:100%;
}

.filters-header #searchInput{
    width:100%;
    height:46px;
    padding:12px 92px 12px 14px;
    border:1px solid #d3dde9;
    border-radius:12px;
}

.filters-header .search-icon{
    display:none;
}

.filters-header .search-submit{
    position:absolute;
    top:50%;
    right:8px;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    min-width:38px;
    border:0;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    margin:0;
    z-index:5;
    background:#f3a847;
    color:#111;
    font-size:16px;
    font-weight:900;
    line-height:1;
    box-shadow:none;
    cursor:pointer;
}

.filters-header .clear-search{
    position:absolute;
    top:50%;
    right:52px;
    transform:translateY(-50%);
    width:26px;
    height:26px;
    border:none;
    border-radius:50%;
    background:#e9eff8;
    color:#5c6c83;
    cursor:pointer;
    display:none;
    align-items:center;
    justify-content:center;
    padding:0;
    z-index:6;
    margin:0;
}

.filters-header .clear-search:hover{
    background:#dae6f4;
}

.filters-header .search-suggestions{
    top:calc(100% + 8px);
}

/* Ocultar la X nativa del input search */
input[type="search"]::-webkit-search-cancel-button{
    -webkit-appearance:none;
    appearance:none;
}
input[type="search"]::-ms-clear{
    display:none;
}

@media (max-width:768px){
  .header-search-shell{padding:0 0 6px;}
  .filters-header{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    padding:4px;
    border-radius:14px;
  }
  .filters-header .search-wrap{
    width:100%;
    max-width:none;
    flex:0 0 auto;
    min-height:auto;
    margin:0;
  }
  .filters-header #searchInput{
    width:100%;
    height:40px;
    display:block;
    padding:8px 90px 8px 12px;
    border-radius:12px;
    margin:0;
  }
  .filters-header .search-submit{
    width:32px;
    height:32px;
    min-width:32px;
    right:6px;
    border-radius:9px;
    font-size:14px;
  }
  .filters-header .clear-search{
    right:44px;
    width:22px;
    height:22px;
  }
  .filters-header #sortSelect{
    width:100%;
    max-width:none;
    flex:0 0 auto;
    height:36px;
    margin:0;
    padding:6px 10px;
    border-radius:12px;
  }
}
.oferta-terminada-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 10px;
    margin: 12px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card.inactivo {
  opacity: 0.7;
}

.item.inactivo {
    opacity: 0.65;
}


.image-box,
.detail-image-box {
    position: relative;
    overflow: hidden;
}

.oferta-terminada-badge {
    position: absolute;
    top: 50px;
    left: -120px;              /* la sacamos más hacia fuera */
    z-index: 30;

    width: 420px;              /* MUCHO más larga */
    
    transform: rotate(-32deg);

    background: #dc2626;
    color: #fff;

    font-weight: 900;
    font-size: 1rem;
    text-align: center;

    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;

    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    pointer-events: none;
	animation: badgeGlow 2.8s ease-in-out infinite;
}

/* ===== ANIMACIÓN SUAVE BADGE ===== */
@keyframes badgeGlow {
    0% {
        box-shadow: 0 6px 16px rgba(0,0,0,.25);
        filter: brightness(1);
    }
    50% {
        box-shadow: 0 8px 22px rgba(220, 38, 38, 0.35);
        filter: brightness(1.05);
    }
    100% {
        box-shadow: 0 6px 16px rgba(0,0,0,.25);
        filter: brightness(1);
    }
}