    .libreria-page {
        --primary: #009929;
        --primary-dark: #007a20;
        --bg-surface: #f3f4f6;
        --text-dark: #1f2937;
        --text-soft: #6b7280;
        font-family: var(--font-secondary);
    }
    .libreria-page .font-editorial {
        font-family: var(--font-primary);
    }

    /* Hero */
    .libreria-page .hero-section {
        position: relative;
        height: 500px;
        overflow: hidden;
        background: #111827;
    }
    @media (min-width: 1024px) {
        .libreria-page .hero-section { height: 600px; }
    }
    .libreria-page .hero-section {
        background:
            radial-gradient(440px 240px at 15% 20%, rgba(16, 185, 129, 0.28), transparent 68%),
            radial-gradient(360px 220px at 88% 72%, rgba(234, 179, 8, 0.18), transparent 64%),
            linear-gradient(135deg, #0f172a 0%, #111827 48%, #1f2937 100%);
    }
    .libreria-page .hero-orb {
        position: absolute;
        border-radius: 9999px;
        filter: blur(2px);
        opacity: 0.9;
    }
    .libreria-page .hero-orb.a {
        width: 180px;
        height: 180px;
        top: 12%;
        right: 12%;
        background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(255,255,255,0.04));
    }
    .libreria-page .hero-orb.b {
        width: 120px;
        height: 120px;
        bottom: 16%;
        right: 28%;
        background: linear-gradient(135deg, rgba(234,179,8,0.24), rgba(255,255,255,0.03));
    }
    .libreria-page .hero-badge {
        display: inline-block;
        padding: 4px 14px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 9999px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: white;
        backdrop-filter: blur(4px);
    }
    .libreria-page .hero-btn {
        background: white;
        color: #111;
        font-weight: 700;
        padding: 12px 32px;
        border-radius: 4px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.2);
        transition: all 0.2s;
    }
    .libreria-page .hero-btn:hover {
        background: #f3f4f6;
        transform: scale(1.03);
    }

    /* Section tabs */
    .libreria-page .nav-tabs {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 12px 0;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .libreria-page .nav-tab {
        color: var(--text-soft);
        transition: color 0.2s;
        padding-bottom: 2px;
        border-bottom: 2px solid transparent;
    }
    .libreria-page .nav-tab:hover {
        color: var(--primary);
    }
    .libreria-page .nav-tab.active {
        color: var(--primary);
        border-bottom-color: var(--primary);
    }

    /* Category cards */
    .libreria-page .cat-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 24px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.06);
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }
    .libreria-page .cat-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transform: translateY(-4px);
        border-color: rgba(0,153,41,0.2);
    }
    .libreria-page .cat-icon {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        transition: transform 0.3s;
    }
    .libreria-page .cat-card:hover .cat-icon {
        transform: scale(1.1);
    }

    /* Book cards */
    .libreria-page .book-card {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        cursor: pointer;
        padding: 1rem;
        border-radius: 0.9rem;
        background: white;
        border: 1px solid #e5e7eb;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
        text-align: left;
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }
    .libreria-page .book-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
        border-color: rgba(0,153,41,0.18);
    }
    .libreria-page .book-card .cover-wrap {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 170px;
        padding: 1rem;
        border-radius: 0.8rem;
        overflow: hidden;
        background:
            linear-gradient(160deg, rgba(255,255,255,0.88), rgba(255,255,255,0.5)),
            linear-gradient(135deg, var(--card-soft, #ecfdf5), var(--card-strong, #d1fae5));
        border: 1px solid rgba(255,255,255,0.55);
    }
    .libreria-page .book-card .cover-wrap::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(15,23,42,0.05) 0, rgba(15,23,42,0.05) 12px, transparent 12px),
            radial-gradient(120px 90px at 100% 0%, rgba(255,255,255,0.55), transparent 70%);
    }
    .libreria-page .book-card .cover-copy {
        position: relative;
        z-index: 1;
    }
    .libreria-page .book-card .cover-author {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(15, 23, 42, 0.66);
        margin-bottom: 0.35rem;
    }
    .libreria-page .book-card .cover-title {
        font-family: var(--font-primary);
        font-size: 1.05rem;
        line-height: 1.15;
        color: #111827;
    }
    .libreria-page .book-card .age-tag {
        position: absolute;
        top: 14px;
        right: 14px;
        background: rgba(255,255,255,0.88);
        color: #0f172a;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 9999px;
        z-index: 1;
    }

    /* Featured book */
    .libreria-page .featured-book {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        background: white;
        border-radius: 8px;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    @media (min-width: 768px) {
        .libreria-page .featured-book {
            flex-direction: row;
            padding: 2.5rem;
        }
    }
    .libreria-page .featured-book-art {
        width: 100%;
        max-width: 240px;
        min-height: 260px;
        flex-shrink: 0;
        border-radius: 1rem;
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background:
            radial-gradient(180px 140px at 100% 0%, rgba(255,255,255,0.55), transparent 72%),
            linear-gradient(145deg, #dcfce7 0%, #bbf7d0 45%, #d1fae5 100%);
        border: 1px solid rgba(0,153,41,0.18);
        box-shadow: inset 12px 0 0 rgba(0,153,41,0.14);
    }
    .libreria-page .featured-book-art .eyebrow {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(21, 128, 61, 0.9);
    }
    .libreria-page .featured-book-art .headline {
        font-family: var(--font-primary);
        font-size: 1.55rem;
        line-height: 1.05;
        color: #14532d;
    }
    .libreria-page .featured-book-art .footnote {
        font-size: 0.82rem;
        color: rgba(21, 128, 61, 0.85);
    }

    /* CTA card */
    .libreria-page .cta-card {
        background: white;
        border-radius: 8px;
        padding: 3rem 2rem;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    .libreria-page .btn-primary {
        background: var(--primary);
        color: white;
        font-weight: 700;
        padding: 12px 28px;
        border-radius: 4px;
        font-size: 13px;
        transition: background 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .libreria-page .btn-primary:hover {
        background: var(--primary-dark);
    }
    .libreria-page .btn-outline {
        border: 2px solid var(--primary);
        color: var(--primary);
        font-weight: 700;
        padding: 10px 28px;
        border-radius: 4px;
        font-size: 13px;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }
    .libreria-page .btn-outline:hover {
        background: var(--primary);
        color: white;
    }

    /* Info cards */
    .libreria-page .info-card {
        text-align: center;
        padding: 2rem 1rem;
    }
    .libreria-page .info-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 12px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
    }
