/* ==========================================================
   Mr Wolf Digital — style.css
   Paleta "Amber Reading Light" — cálida, de lectura nocturna
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700&display=swap');

/* ── RESET & VARIABLES ─────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Ámbar cálido — el color de la luz de un Kindle de noche */
    --orange: #d97706;
    --orange-dark: #b45309;
    --orange-light: #f59e0b;
    /* Índigo/ciruela profundo — "el lobo bajo la luna" */
    --navy: #201530;
    --navy-mid: #322244;
    --teal: #2dd4bf;
    --green: #22c55e;
    --bg: #faf6f0;
    --card-bg: #fffdf9;
    --text: #2a2118;
    --text-muted: #8a7a68;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(42, 24, 8, .08);
    --shadow-hover: 0 14px 40px rgba(42, 24, 8, .16);
    --nav-height: 54px;
    /* altura real del .rock-nav */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* compat: código heredado que todavía usa var(--sky) */
:root { --sky: var(--teal); }

h1, h2, h3, h4,
.rock-logo {
    font-family: var(--font-heading);
    font-optical-sizing: auto;
}

/* ── ICONOS (Lucide, inline SVG) ───────────────────────── */
.icon {
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
}

.icon-lg {
    width: 1.3em;
    height: 1.3em;
}

/* ── GLOBAL ────────────────────────────────────────────── */
html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    /* Compensa el nav fixed en TODAS las páginas */
    padding-top: var(--nav-height);
    overflow-x: hidden;
    width: 100%;
}

/* Páginas con compare-bar flotante necesitan más espacio */
body.has-compare {
    padding-top: calc(var(--nav-height) + 60px);
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

section {
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-desc,
.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    margin-top: 4px;
}

/* ── LAYOUT ────────────────────────────────────────────── */
.layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin: 0 auto;
    padding: 10px;
}

.content {
    min-width: 0;
}

.page-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.main-content {
    flex: 1;
}

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

    .sidebar {
        display: none;
    }
}

/* ── NAV ───────────────────────────────────────────────── */
.rock-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: linear-gradient(135deg, #150e1e, #201530);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.rock-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rock-logo {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: .5px;
    text-decoration: none;
    color: #a5f3fc;
    text-shadow: 0 0 12px rgba(165, 243, 252, .35);
}

.rock-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.rock-links a {
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    color: #e5e7eb;
    position: relative;
}

.rock-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--orange-light);
    transition: width .25s ease;
}

.rock-links a:hover::after {
    width: 100%;
}

.rock-links a:hover {
    color: var(--orange-light);
}

.nav-cta {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #201530 !important;
    font-weight: 800 !important;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(217, 119, 6, .45);
    transition: transform .15s, box-shadow .15s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 28px rgba(217, 119, 6, .7);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .rock-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #111;
        flex-direction: column;
        gap: 14px;
        padding: 20px;
        display: none;
        z-index: 119;
    }

    .rock-links.active {
        display: flex;
    }
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #150e1e, #201530);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 60px 20px 50px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/dark-mosaic.png');
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    max-width: 860px;
    margin: auto;
    animation: fadeUp .9s ease-out;
    position: relative;
    z-index: 1;
}

/* Hero home — versión compacta */
.hero-home {
    padding: 48px 20px 40px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 12px;
}

.hero h1,
.hero-home h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 14px;
    background: linear-gradient(90deg, var(--orange-light), #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto 20px;
    color: #e5e7eb;
}

.hero-micro {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

/* Píldoras de área */
.hero-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.hero-area-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: #e5e7eb;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}

.hero-area-pill:hover {
    background: rgba(255, 153, 0, .15);
    border-color: var(--orange);
    color: #ffb347;
}

/* Botones hero legacy */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-cta {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s;
}

.hero-cta.secondary {
    background: transparent;
    color: #a5f3fc;
    border: 2px solid var(--sky);
}

.hero-cta.secondary:hover {
    background: var(--sky);
    color: #020617;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, .35);
}

.hero-cta:not(.secondary) {
    background: linear-gradient(135deg, var(--orange), #ffcc44);
    color: #111;
    font-weight: 800;
    padding: 14px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(255, 153, 0, .45);
}

.hero-cta:not(.secondary):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 153, 0, .6);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 36px 16px 28px;
    }

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

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta {
        width: 100%;
        text-align: center;
    }
}

/* ── GRID ──────────────────────────────────────────────── */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.quick-picks .grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ── PRODUCT CARD ──────────────────────────────────────── */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid rgba(0, 0, 0, .06);
    position: relative;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Imagen full-width */
.card .product-image,
.card>a>img,
.card>a:first-child img {
    width: 100% !important;
    height: 200px !important;
    object-fit: contain !important;
    background: #f8fafc;
    border-radius: 0 !important;
    border-bottom: 1px solid #f0f0f0;
    margin: 0 !important;
    padding: 16px;
    box-sizing: border-box;
    display: block;
}

/* Contenido con padding */
.card h3,
.card p,
.card .rating,
.card .pros-cons,
.card .recommended,
.card .btn-primary,
.card .cta-trust,
.card .card-desc,
.card .micro-copy {
    padding-left: 20px;
    padding-right: 20px;
}

.card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 16px 0 6px;
    line-height: 1.35;
}

.card .rating {
    color: #f59e0b;
    font-size: 1rem;
    margin: 4px 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card .rating-score {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.card .card-desc,
.card .micro-copy {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card .btn-primary {
    display: block;
    margin: auto 20px 12px;
    text-align: center;
}

.card .cta-trust {
    display: block;
    text-align: center;
    padding-bottom: 16px;
    font-size: 0.75rem;
    color: #888;
}

.card .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

/* Card home */
.card-home {
    padding: 0;
}

.card-home .btn-primary {
    width: calc(100% - 40px);
}

/* ── BADGE ─────────────────────────────────────────────── */
/* Informativo, no de acción — el naranja se reserva para los botones de compra */
/* Sólido y opaco: este badge flota sobre la foto del producto,
   un fondo translúcido deja ver el texto de la propia imagen */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    background: var(--navy-mid);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.badge.winner {
    background: #ffd700;
    color: #111;
}

.badge.value {
    background: #e6f7ec;
    color: #0f9d58;
    border: 1px solid #9ddfb8;
}

.badge.budget {
    background: #f1f1f1;
    color: #555;
    border: 1px solid #ddd;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--orange), #ffb84d);
    color: #111;
    text-decoration: none;
    font-weight: 700;
    border-radius: 40px;
    box-shadow: 0 10px 25px rgba(255, 153, 0, .45);
    transition: .3s;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn.small {
    padding: 8px 18px;
    font-size: .85rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #ffa41c, #ff9900);
    color: #111;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 153, 0, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 153, 0, .45);
}

.btn-winner {
    display: inline-block;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--orange), #ffb347);
    color: #111;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(255, 153, 0, .4);
    transition: transform .2s, box-shadow .2s;
}

.btn-winner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 153, 0, .5);
}

.btn-large {
    padding: 14px 26px;
    font-size: 1.05rem;
}

.cta {
    display: inline-block;
    margin-top: 25px;
    padding: 16px 42px;
    background: var(--orange);
    color: #111;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
}

.cta-trust {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 6px;
}

/* ── WINNER BOX ────────────────────────────────────────── */
.winner-box {
    background: linear-gradient(135deg, #fff8ee, #fffdf7);
    border: 2px solid var(--orange);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(255, 153, 0, .15);
}

.winner-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy-mid);
    background: rgba(15, 23, 42, .07);
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 16px;
}

.winner-content {
    display: flex;
    gap: 20px;
    align-items: center;
}

.winner-content img {
    width: 200px;
    min-width: 160px;
    border-radius: 14px;
    background: #f8fafc;
    padding: 12px;
    border: 1px solid #f0f0f0;
    object-fit: contain;
}

.winner-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.winner-reason {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 8px 0 14px;
    line-height: 1.6;
}

.winner-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.winner-highlights li {
    font-size: 0.875rem;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 6px 12px;
}

.winner-secondary-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
    text-decoration: underline;
}

.winner-secondary-link:hover {
    color: #000;
}

@media (max-width: 768px) {
    .winner-content {
        flex-direction: column;
        text-align: center;
    }

    .winner-content img {
        width: 180px;
        margin-bottom: 12px;
    }
}

/* Winner section legacy */
.winner-section {
    background: linear-gradient(135deg, #fff7e6, #ffffff);
}

.winner-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
    align-items: center;
}

@media (max-width: 900px) {
    .winner-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ── PROS & CONS ───────────────────────────────────────── */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 10px 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.85rem;
}

.pros,
.cons {
    border-radius: 14px;
    padding: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.pros {
    background: #ecfdf3;
    border: 1px solid #b7ebc6;
}

.pros strong {
    color: #0f9d58;
    display: block;
    margin-bottom: 8px;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li {
    color: #155724;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.pros li::before {
    content: "✔";
    color: #0f9d58;
    position: absolute;
    left: 0;
}

.cons {
    background: #f7f7f7;
    border: 1px solid #ddd;
}

.cons strong {
    color: #555;
    display: block;
    margin-bottom: 8px;
}

.cons li {
    color: #555;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.cons li::before {
    content: "✖";
    color: #999;
    position: absolute;
    left: 0;
}

@media (max-width: 600px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

/* ── COMPARISON TABLE ──────────────────────────────────── */
.compare-section {
    margin: 40px 0;
}

.table-wrapper {
    margin: 1px auto;
    max-width: 1100px;
    overflow-x: auto;
    padding: 0 10px;
}

@media (min-width: 1200px) {
    .table-wrapper {
        max-width: 1040px;
    }
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    font-size: 0.95rem;
}

.compare-table thead th {
    background: #f3f5f7;
    padding: 14px;
    font-weight: 700;
    text-align: center;
    font-size: 0.9rem;
}

.compare-table td {
    padding: 14px;
    border-top: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
}

.compare-table tr:hover {
    background: #f9fafb;
}

.compare-product {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.compare-product img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 6px;
    flex-shrink: 0;
}

.compare-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.compare-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.compare-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--navy-mid);
    background: rgba(15, 23, 42, .07);
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-block;
    width: fit-content;
}

.compare-best {
    background: #fff8ee !important;
}

.compare-best td {
    border-top: 2px solid var(--orange) !important;
}

/* Row highlights */
.winner-row {
    background: #fff9e6;
    font-weight: 600;
}

.winner-row td {
    border-top: 2px solid #fad02c;
}

.value-row {
    background: #f6fcf8;
}

.budget-row {
    background: #fafafa;
}

/* ── TRUST SECTION ─────────────────────────────────────── */
.trust-section {
    background: #ffffff;
    text-align: center;
}

.trust-section h2 {
    margin-bottom: 40px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.trust-item {
    background: #f9fafb;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.trust-item span {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.trust-item h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.trust-item p {
    font-size: .9rem;
    color: #555;
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq-section {
    background: #ffffff;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 22px 26px;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
}

.faq-item h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.faq-item p {
    font-size: .95rem;
    color: #555;
    line-height: 1.6;
}

/* ── CATEGORY PILLS ────────────────────────────────────── */
.cat-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}

.cat-pill:hover {
    background: #fff7ed;
    border-color: var(--orange);
    color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 153, 0, .2);
}

.cat-pill-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.cat-pill-label {
    line-height: 1;
}

@media (max-width: 600px) {
    .cat-pill {
        font-size: 0.82rem;
        padding: 8px 13px;
    }
}

/* ── CATEGORY CARDS (legacy — en desuso por cat-pills) ─── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.category-grid.aggressive {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
}

@media (max-width: 640px) {

    .category-grid,
    .category-grid.aggressive {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.category-card {
    position: relative;
    background: linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 20px;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 0.95rem;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
    color: var(--orange-dark);
}

.category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--orange), #ffcc66);
    color: #111;
    margin-bottom: 6px;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 900;
    margin: 20px 0 10px;
    line-height: 1.25;
}

.category-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 18px;
}

.category-cta {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #000;
    transition: transform .2s ease;
}

.category-card:hover .category-cta {
    transform: translateX(6px);
}

/* ── GUIDE CARDS ───────────────────────────────────────── */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 30px;
}

.guide-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: #111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
}

.guide-card p {
    color: #666;
    margin-top: 8px;
}

.guide-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.guide-list li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px;
    border-radius: 5px;
    background: #f9f9f9;
    transition: background .2s;
}

.guide-list li a:hover {
    background: #eee;
    color: var(--orange);
}

/* ── FEATURED CARDS ────────────────────────────────────── */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.featured-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    text-decoration: none;
    color: #111;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    border: 1px solid #e2e8f0;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
    border-color: var(--orange);
}

.featured-card img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 8px;
    margin-bottom: .75rem;
}

.featured-card h3 {
    margin: .5rem 0;
}

.featured-card p {
    font-size: .95rem;
    color: #555;
}

.featured-cta {
    display: inline-block;
    margin-top: .5rem;
    font-weight: 600;
    color: var(--orange);
}

.featured-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

/* ── SIDEBAR ───────────────────────────────────────────── */
.sidebar-inner {
    position: sticky;
    top: calc(var(--nav-height) + 16px);
}

.sidebar-block {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    border: 1px solid #f0f0f0;
}

.sidebar-block h3 {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #94a3b8;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.sidebar-list a:hover {
    background: #fff7ed;
    color: var(--orange-dark);
}

.sidebar-subscribe {
    background: radial-gradient(circle at top, #180f24, #4c2f75);
    border: none;
}

.sidebar-subscribe h3 {
    color: #a5f3fc;
    border-bottom: none;
    padding-bottom: 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.95rem;
}

.sidebar-subscribe p {
    color: #cbd5e1;
    font-size: 0.8rem;
    margin: 6px 0 12px;
}

.sidebar-subscribe form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-subscribe input {
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
}

.sidebar-subscribe button {
    padding: 9px 10px;
    background: linear-gradient(135deg, var(--orange), #ffb347);
    color: #111;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform .2s ease;
}

.sidebar-subscribe button:hover {
    transform: translateY(-2px) scale(1.03);
}

.sidebar-subscribe-msg {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
}

.sidebar-subscribe-msg.ok { color: #86efac; }
.sidebar-subscribe-msg.err { color: #fca5a5; margin-bottom: 8px; }

.sidebar-year {
    margin-left: auto;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 400;
}

.sidebar-cta-block {
    background: linear-gradient(135deg, #fff8ee, #fff);
    border: 1px solid rgba(255, 153, 0, .25);
    text-align: center;
    padding: 20px;
}

.sidebar-cta-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.sidebar-cta-btn {
    display: inline-block;
    width: 100%;
    padding: 11px 16px;
    background: linear-gradient(135deg, var(--orange), #ffb347);
    color: #111;
    font-weight: 800;
    font-size: 0.875rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 153, 0, .3);
    transition: transform .2s, box-shadow .2s;
    box-sizing: border-box;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, .4);
}

/* ── BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-left: 3px solid var(--orange);
    border-radius: 0 10px 10px 0;
    padding: 10px 16px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background .15s, color .15s;
}

.breadcrumb a:hover {
    background: var(--orange);
    color: #fff;
}

.breadcrumb-sep {
    color: var(--orange);
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 6px;
    user-select: none;
}

.breadcrumb [aria-current="page"] {
    color: #64748b;
    font-weight: 500;
    padding: 2px 4px;
}

@media (max-width: 600px) {
    .breadcrumb {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* ── SCROLL ANCHORS ────────────────────────────────────── */
#top-picks,
#winner,
#quick-picks {
    scroll-margin-top: calc(var(--nav-height) + 12px);
}

/* ── FOOTER / CONTACT ──────────────────────────────────── */
.footer-contact {
    margin-top: 40px;
    padding: 30px;
    background: radial-gradient(circle at top, #180f24, #4c2f75);
    border-radius: 16px;
    color: #fff;
    text-align: center;
}

.footer-contact h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: #a5f3fc;
}

.footer-contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact input,
.footer-contact textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
}

.footer-contact textarea {
    resize: vertical;
    min-height: 100px;
}

.footer-contact button {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--orange), #ffb347);
    color: #111;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform .2s ease;
}

.footer-contact button:hover {
    transform: translateY(-2px) scale(1.03);
}

/* ── MISC ──────────────────────────────────────────────── */
.price {
    font-size: 1.3rem;
    color: #b12704;
}

.disclaimer {
    font-size: .8rem;
    color: #777;
}

.price-note {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #555;
}

.rating {
    margin: 10px 0;
    font-size: 1.1rem;
}

.intro-text p {
    max-width: 900px;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.internal-links,
.winner-links {
    margin-top: 16px;
    font-size: 0.95rem;
}

.related-guides ul {
    padding-left: 18px;
}

.related-guides a {
    font-weight: 600;
}

.featured-categories h2 {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    color: #111;
}

@media (max-width: 768px) {
    .featured-categories h2 {
        font-size: 20px;
    }

    .guide-list a {
        font-size: 16px;
    }
}

/* ── INDEX — HERO SECTION ──────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #150e1e, #201530);
    border-radius: var(--radius);
    padding: 52px 32px 44px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://www.transparenttextures.com/patterns/dark-mosaic.png');
    opacity: 0.04;
    pointer-events: none;
}

.hero-section h1 {
    font-size: 2.1rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--orange-light), #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.hero-sub {
    font-size: 1rem;
    color: #cbd5e1;
    max-width: 620px;
    margin: 0 auto 24px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-trust {
    font-size: 0.82rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 600px) {
    .hero-section {
        padding: 36px 20px 32px;
    }

    .hero-section h1 {
        font-size: 1.55rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
}

/* ── BTN SECONDARY ─────────────────────────────────────── */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    background: transparent;
    color: #a5f3fc;
    border: 2px solid var(--sky);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
}

.btn-secondary:hover {
    background: var(--sky);
    color: #020617;
    transform: translateY(-2px);
}

/* ── AREA PILLS (index browse section) ─────────────────── */
.area-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.area-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}

.area-pill:hover {
    background: #fff7ed;
    border-color: var(--orange);
    color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 153, 0, .2);
}

/* ── SECTION BROWSE (links de texto) ───────────────────── */
.section-browse {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 2;
}

.section-browse a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}

.section-browse a:hover {
    color: var(--orange-dark);
}

/* ── DISCLOSURE ────────────────────────────────────────── */
.disclosure-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 0;
}

.disclosure {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.7;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.disclosure strong {
    color: #64748b;
}

/* ── GRID 4 (quick picks) ──────────────────────────────── */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}



.carousel-wrap {
    position: relative;
}

.carousel-track-outer {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 16px;
    transition: transform .35s ease;
    will-change: transform;
}

.carousel-card {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text, #1e293b);
}

.carousel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.carousel-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

.carousel-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--navy-mid, #1e293b);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    display: inline-block;
}

.carousel-name {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.carousel-meta {
    font-size: 0.8rem;
    color: var(--text-muted, #64748b);
    margin-bottom: 6px;
}

.carousel-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #b12704;
    margin-bottom: 8px;
}

.carousel-btn {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--navy-mid);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    z-index: 2;
    transition: background .15s;
}

.carousel-arrow:hover {
    background: var(--orange, #f97316);
    color: #fff;
}

.carousel-arrow.prev {
    left: -18px;
}

.carousel-arrow.next {
    right: -18px;
}

@media(max-width:600px) {
    .carousel-card {
        flex: 0 0 160px;
    }

    .carousel-arrow {
        display: none;
    }
}

.section-browse-top {
    margin-bottom: 8px;
    margin-top: 0;
}

.section-browse strong {
    color: var(--text);
    font-weight: 800;
}

/* ── SUBSCRIPTION CARDS (guides/amazon-subscriptions.php) ─── */
.sub-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sub-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.sub-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.sub-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sub-card-head h2 {
    font-size: 1.15rem;
    margin: 0;
}

.sub-card-who {
    font-size: 0.9rem;
    color: var(--text);
}

.sub-card-includes,
.sub-card-why {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.sub-card-cta {
    margin-top: auto;
    justify-content: center;
    text-align: center;
}

/* ── HOME: banner de suscripciones ─────────────────────── */
.sub-promo-banner {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 40px;
}

.sub-promo-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.sub-promo-text h2 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.sub-promo-text p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

.sub-promo-banner .btn-primary {
    flex-shrink: 0;
}

/* ── Product hero shots (reviews / vs comparisons) ─────────
   Las fotos de producto en el header de reviews/comparativas
   son links de afiliado — un hover sutil las hace sentir
   clicables y les da un poco de profundidad. */
.guide-hero a:has(img) {
    display: inline-block;
    border-radius: 12px;
    transition: transform .25s ease;
}

.guide-hero a:has(img):hover {
    transform: translateY(-4px) scale(1.03);
}

.guide-hero a:has(img) img {
    transition: box-shadow .25s ease, border-color .25s ease;
}

.guide-hero a:has(img):hover img {
    box-shadow: 0 14px 32px rgba(255, 153, 0, .28);
    border-color: var(--orange) !important;
}