    /* =========================================================
       FONDO BLANCO GENERAL Y FORZAR HEADER/MENÃš BLANCO
       ========================================================= */
    body {
        background-color: #ffffff;
    }

    /* Fuerza bruta para que el header y menÃº principal sean blancos */
    .site-header, 
    header#masthead, 
    header.site-header, 
    .main-navigation-bar,
    .cenzontle-header-wrapper,
    .page-header-wrapper,
    .page-header,
    .entry-header,
    .ast-archive-description,
    .page-title-section,
    .ast-single-entry-banner,
    .has-background,
    .wp-block-group,
    #page,
    .site,
    .site-content,
    .content-area,
    #primary {
        background-color: #ffffff !important;
        background: #ffffff !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }
    
    .site-header::after, 
    .site-header::before,
    .main-navigation-bar::after {
         background-color: transparent !important; 
    }

    /* Color de texto oscuro para los enlaces del menÃº */
    .site-header a,
    .main-navigation a,
    #site-navigation a,
    .menu a,
    ul.menu li a,
    .main-navigation-bar a,
    .nav-dropdown-menu a {
        color: #111111 !important; 
        fill: #111111 !important;  
    }

    .site-header a:hover,
    .main-navigation a:hover,
    #site-navigation a:hover,
    .menu a:hover,
    ul.menu li a:hover,
    .main-navigation-bar a:hover,
    .nav-dropdown-menu a:hover {
        color: #c95c3f !important;
        fill: #c95c3f !important;
    }
    
    /* MenÃº mÃ³vil y hamburguesa */
    .nav-dropdown-menu {
        background-color: #ffffff !important;
        background: #ffffff !important;
    }
    .burger-bars-icon span {
        background-color: #111111 !important;
    }

    /* =========================================================
       VARIABLES GLOBALES DE LA PÃGINA CATÃLOGO
       ========================================================= */
    .site-content, #content, #main, .entry-content { padding-bottom: 0 !important; margin-bottom: 0 !important; }

    :root {
        --cen-white: #ffffff;
        --cen-terracota: #c95c3f;
        --cen-dark: #111111;
        --cen-text-gray: #666666;
        --cen-border: #eeeeee;
        
        --font-serif: 'Playfair Display', serif;
        --font-sans: 'Montserrat', sans-serif;
        
        --transition: all 0.3s ease;
    }

    /* CONTENEDOR RAIZ */
    .cenzontle-catalogo-wrapper {
        width: 100%;
        font-family: var(--font-sans);
        background-color: var(--cen-white); /* Nos aseguramos de que el wrapper sea blanco */
    }

    .cenzontle-catalogo-wrapper * { box-sizing: border-box; }

    /* CLASE MAESTRA PARA CONTENIDO CENTRADO */
    .cen-inner-width {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 5%;
        width: 100%;
        position: relative;
        z-index: 2;
    }

    /* =========================================================
       EL STICKY PANEL INTEGRADO (BLANCO + GRIS OSCURO)
       ========================================================= */
    .cen-sticky-panel {
        position: -webkit-sticky;
        position: sticky;
        top: 60px; /* Debajo del header de WP */
        z-index: 990;
        display: flex;
        flex-direction: column;
    }

    /* Parte Superior Blanca (Compositores + Buscador) */
    .cen-sticky-white {
        position: relative;
        padding: 40px 0 20px 0;
    }
    .cen-sticky-white::before {
        content: "";
        position: absolute;
        top: 0; left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100%;
        background: #ffffff; /* Blanco sÃ³lido */
        z-index: -1;
    }

    /* Parte Inferior Gris Oscura (TÃ­tulo + BotÃ³n) */
    .cen-sticky-dark {
        position: relative;
        padding: 12px 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Sombra para resaltar */
    }
    .cen-sticky-dark::before {
        content: "";
        position: absolute;
        top: 0; left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100%;
        background: #222222; /* Gris elegante oscuro */
        z-index: -1;
    }

    /* Buscador Dark Integrado */
    .cen-search-form-dark {
        display: flex; align-items: center;
        background: rgba(255,255,255,0.1);
        border-radius: 20px;
        padding: 4px 12px;
        border: 1px solid rgba(255,255,255,0.2);
        transition: var(--transition);
        width: 220px;
        overflow: hidden;
    }
    .cen-search-form-dark:focus-within {
        width: 300px;
        background: rgba(255,255,255,0.15);
        border-color: var(--cen-terracota);
    }
    .cen-search-submit-dark {
        background: transparent; border: none; color: #ccc; padding: 0 8px 0 0; cursor: pointer; display: flex; align-items: center; margin-top: 2px;
    }
    .cen-search-form-dark:focus-within .cen-search-submit-dark { color: var(--cen-terracota); }
    .cen-search-field-dark {
        border: none; background: transparent; font-family: var(--font-sans); font-size: 0.8rem; width: 100%; outline: none; color: var(--cen-white);
    }
    .cen-search-field-dark::placeholder { color: #aaa; }

    @media (max-width: 600px) {
        .cen-search-form-dark { width: 32px; padding: 4px; border-color: transparent; background: transparent; cursor: pointer;}
        .cen-search-form-dark:focus-within { width: 180px; border-color: var(--cen-terracota); background: rgba(255,255,255,0.1); padding: 4px 12px; cursor: text;}
        .cen-search-submit-dark { padding: 0; justify-content: center; width: 24px; height: 24px; }
        .cen-search-field-dark { padding: 0; width: 0; transition: width 0.3s; opacity: 0; }
        .cen-search-form-dark:focus-within .cen-search-field-dark { width: 100%; opacity: 1; margin-left: 5px; }
        .cen-search-form-dark:focus-within .cen-search-submit-dark { padding: 0; width: auto; height: auto; }
    }

    /* Compositores (UNA SOLA LÃ NEA A ANCHO COMPLETO - DESLIZABLE) */
    .cen-composer-carousel-wrapper {
        width: 100%;
        position: relative;
    }
    
    .cen-carousel-flex-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 1300px;
        margin: 0 auto;
    }
    
    .cen-carousel-arrow {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #eee;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        color: var(--cen-dark);
        transition: all 0.3s ease;
        opacity: 0;
        pointer-events: none;
        margin: 0 8px;
    }
    .cen-carousel-arrow.is-visible {
        opacity: 1;
        pointer-events: all;
    }
    .cen-carousel-arrow:hover {
        background: var(--cen-terracota);
        color: var(--cen-white);
        border-color: var(--cen-terracota);
    }

    .cen-comp-hero-strip { 
        flex: 1;
        min-width: 0;
        display: flex; 
        gap: 15px; 
        overflow-x: auto; 
        align-items: flex-start;
        padding: 10px 0;
        margin-bottom: 0;
        flex-wrap: nowrap !important;
        cursor: grab;
        scrollbar-width: none;
    }
    .cen-comp-hero-strip:active {
        cursor: grabbing;
    }
    
    .cen-comp-hero-strip::before,
    .cen-comp-hero-strip::after { content: ''; margin: auto; }
    
    /* Ocultar barra en Webkit (Chrome, Edge, Safari) */
    .cen-comp-hero-strip::-webkit-scrollbar {
        display: none;
    }

    /* Puntos de NavegaciÃ³n (Dots) */
    .cen-carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 15px;
        padding-bottom: 5px;
    }
    .cen-dot {
        width: 6px;
        height: 6px;
        background-color: #dddddd;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.4s ease;
    }
    .cen-dot:hover {
        background-color: #aaaaaa;
    }
    .cen-dot.active {
        background-color: var(--cen-terracota);
        transform: scale(1.5);
        border-radius: 4px; /* Un ligero estiramiento estÃ©tico */
        width: 12px;
    }
    
    .cen-hero-item { 
        flex: 0 0 100px; 
        display: flex; flex-direction: column; align-items: center;
        text-align: center; cursor: pointer;
        user-select: none; /* Previene la selecciÃ³n de texto al arrastrar */
    }
    
    .cen-hero-face { 
        width: 90px; height: 90px; flex-shrink: 0; 
        border-radius: 50%; overflow: hidden; 
        margin-bottom: 8px; background: transparent;
        border: 2px solid transparent; transition: var(--transition);
        pointer-events: none; /* Ayuda a que el arrastre sea mÃ¡s fluido */
    }
    .cen-hero-face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: var(--transition); }
    
    .cen-hero-name { 
        font-family: var(--font-sans); font-size: 0.6rem; text-transform: uppercase; 
        font-weight: 700; color: var(--cen-text-gray); 
        line-height: 1.1; margin: 0; padding: 0;
        transition: var(--transition); width: 100%;
        pointer-events: none;
    }
    
    .cen-hero-item:hover .cen-hero-face { border-color: var(--cen-terracota); transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
    .cen-hero-item:hover .cen-hero-face img { filter: grayscale(0%); }
    .cen-hero-item:hover .cen-hero-name { color: var(--cen-terracota); }

    /* --- ESTILOS DE LA BARRA GRIS INTEGRADA (TÃ­tulo y BotÃ³n) --- */
    .cen-title-bar-content {
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
    }
    .cen-title-bar-content h3 { 
        font-family: var(--font-serif); 
        font-size: 1.1rem; 
        color: var(--cen-white); 
        margin: 0; 
        font-weight: 700; 
    }
    .cen-btn-volver { 
        background: transparent; 
        border: 1px solid var(--cen-white); 
        color: var(--cen-white); 
        padding: 5px 12px; 
        font-size: 0.6rem; 
        text-transform: uppercase; 
        font-weight: 700; 
        cursor: pointer; 
        transition: var(--transition); 
        border-radius: 4px; 
        display: flex; 
        align-items: center; 
        gap: 5px;
    }
    .cen-btn-volver:hover { 
        background: var(--cen-white); 
        color: #222222; 
        border-color: var(--cen-white); 
    }

    /* =========================================================
       ZONA TERRACOTA
       ========================================================= */
    .cen-zone-terracota {
        position: relative;
        padding: 40px 0 80px 0; /* Padding inferior aÃ±adido para fluidez al bajar */
        margin-bottom: -100px; 
        z-index: 1;
        min-height: 100vh; /* Â¡MAGIA! Asegura que el color de fondo cubra siempre la pantalla */
    }
    
    .cen-zone-terracota::before {
        content: "";
        position: absolute;
        top: 0; left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100%;
        background-color: var(--cen-terracota);
        z-index: 0;
    }

    .cen-spa-view { display: none; position: relative; z-index: 2;}
    .cen-spa-view.is-active { display: block; animation: fadeIn 0.4s ease forwards; }
    @keyframes fadeIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform: translateY(0); } }

    #cen-view-manager { scroll-margin-top: 220px; }

    /* =========================================================
       GRID MICRO-TARJETAS
       ========================================================= */
    .cen-grid-compact { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px 10px; 
        align-items: stretch;
        padding-bottom: 20px;
    }
    
    .cen-card-mini { height: 100%; display: flex; flex-direction: column; }
    
    .cen-card-inner { 
        text-decoration: none; color: inherit; 
        display: flex; flex-direction: column; 
        flex-grow: 1; 
        position: relative; 
    }
    
    .cen-mini-img { 
        width: 100%; 
        aspect-ratio: 1 / 1.414; 
        background: rgba(255,255,255,0.1); 
        border-radius: 2px; margin-bottom: 8px; 
        position: relative; overflow: hidden; 
        flex-shrink: 0; 
        box-shadow: 0 2px 8px rgba(0,0,0,0.1); border: 1px solid rgba(255,255,255,0.1);
        transition: var(--transition);
    }
    .cen-mini-img img { width: 100%; height: 100%; object-fit: cover; }
    .cen-card-inner:hover .cen-mini-img { box-shadow: 0 8px 16px rgba(0,0,0,0.3); border-color: var(--cen-white); }

    .cen-look-inside {
        position: absolute; bottom: 4px; right: 4px; background: rgba(255,255,255,0.9); color: var(--cen-dark);
        width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; 
        opacity: 0; transition: var(--transition); z-index: 10;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .cen-card-inner:hover .cen-look-inside { opacity: 1; }
    .cen-look-inside:hover { background: var(--cen-dark); color: var(--cen-white); }

    .cen-no-img-mini { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: rgba(255,255,255,0.3); font-family: var(--font-serif); }
    .cen-dot-new { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--cen-white); }
    
    .cen-mini-info { 
        display: flex; flex-direction: column; 
        flex-grow: 1; 
        padding: 0 2px; 
    }
    .cen-mini-sku { font-family: var(--font-sans); font-size: 0.5rem; color: #f8d2c9; margin-bottom: 2px; }
    .cen-mini-comp { font-family: var(--font-sans); font-size: 0.55rem; text-transform: uppercase; font-weight: 700; color: var(--cen-dark); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    
    .cen-mini-title { 
        font-family: var(--font-sans); font-size: 0.65rem; margin: 0 0 4px 0; font-weight: 600; color: var(--cen-white); 
        line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 
        height: 2.5em; 
        transition: color 0.3s; 
    }
    .cen-card-inner:hover .cen-mini-title { color: var(--cen-dark); }
    
    .cen-mini-inst { font-family: var(--font-serif); font-size: 0.6rem; font-style: italic; color: #f8d2c9; margin-bottom: 6px;}
    
    .cen-card-action { 
        margin-top: auto; 
        font-family: var(--font-sans); font-size: 0.55rem; color: var(--cen-dark); font-weight: 800; text-transform: uppercase; 
    }
    .cen-card-inner:hover .cen-card-action { color: var(--cen-white); }

    /* --- CARÃTULA EUROPEA GLASS --- */
    .cen-edition-cover {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255, 255, 255, 0.80);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 2;
        padding: 10px;
        display: flex;
        transition: all 0.4s ease;
    }
    .cen-cover-border {
        border: 2px solid #b38b4d;
        outline: 1px solid #b38b4d;
        outline-offset: -3px;
        width: 100%; height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.4);
    }
    .cen-cover-comp {
        font-family: var(--font-sans);
        font-size: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--cen-dark);
        margin-bottom: 8px;
    }
    .cen-cover-title {
        font-family: var(--font-serif);
        font-size: 0.95rem;
        color: #b38b4d;
        margin: 0 0 12px 0;
        line-height: 1.2;
        font-weight: 700;
    }
    .cen-cover-edition {
        font-family: var(--font-sans);
        font-size: 0.45rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--cen-dark);
        opacity: 0.8;
    }
    .cen-card-inner:hover .cen-edition-cover {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.05);
    }

    /* =========================================================
       ACORDEÃ“N COMPOSITORES Y TABLA DE OBRAS
       ========================================================= */
    .czm-cat-title { font-family: var(--font-sans); font-size: 0.8rem; color: var(--cen-dark); font-weight: 700; margin: 2rem 0 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 2px; }
    .czm-work-item { border-bottom: 1px solid rgba(255,255,255,0.2); }
    
    .czm-work-header { 
        width: 100%; background: transparent; border: none; padding: 1.2rem 0; cursor: pointer; text-align: left; 
        transition: var(--transition); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; 
    }
    
    .czm-work-header:hover .czm-work-title { color: var(--cen-dark); }
    .czm-work-header.is-open .czm-work-title,
    .czm-work-header.is-open:hover .czm-work-title { color: var(--cen-white) !important; }
    
    .czm-work-title { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 700; color: var(--cen-white); flex: 1 1 100%; transition: var(--transition); line-height: 1.2; }
    
    .czm-tag { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.35rem 0.6rem; background: rgba(0,0,0,0.3); color: var(--cen-white); border-radius: 4px; }
    .czm-year { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; color: #f8d2c9; margin-left: auto; }
    
    .czm-work-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; opacity: 0;}
    .czm-work-content.is-open { opacity: 1; }
    
    .czm-work-grid { 
        display: flex; flex-direction: column; gap: 1.5rem; 
        padding: 1rem 0 2rem 0; 
        font-size: 0.85rem; color: var(--cen-white); 
    }
    
    .czm-info-col { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
    .czm-actions-col { display: flex; flex-direction: column; gap: 0.8rem; width: 100%; margin-top: 0.5rem; }

    .czm-label-dotacion { 
        color: var(--cen-dark); 
        font-family: var(--font-sans); 
        font-size: 1.2rem; 
        font-weight: 700; 
        display: block; 
        margin-bottom: 0.3rem; 
        line-height: 1.2;
    }
    .czm-val-dotacion { 
        color: #f8d2c9; 
        font-family: var(--font-serif); 
        font-style: italic; 
        font-size: 1rem; 
        display: block; 
        line-height: 1.4; 
    }

    .czm-detail-inline { 
        font-family: var(--font-sans); font-size: 0.85rem; color: var(--cen-white); 
        background: rgba(255,255,255,0.05); padding: 6px 12px; border-radius: 4px; 
        display: inline-block; width: fit-content; 
    }
    .czm-detail-inline strong { 
        color: #f8d2c9; font-size: 0.75rem; text-transform: uppercase; 
        letter-spacing: 1px; margin-right: 5px; font-weight: 700; display: inline; 
    }

    .czm-detail-notes strong { 
        font-family: var(--font-sans); font-size: 0.75rem; text-transform: uppercase; 
        letter-spacing: 1px; color: #f8d2c9; display: block; margin-bottom: 0.5rem; font-weight: 700; 
    }
    .czm-detail-notes p { margin: 0; color: var(--cen-white); font-size: 0.85rem; line-height: 1.6; }

    .czm-preview-container { text-align: left; }
    .czm-preview-wrapper { position: relative; display: inline-block; cursor: zoom-in; overflow: hidden; border: 1px solid rgba(255,255,255,0.2); border-radius: 2px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); background: rgba(255,255,255,0.05);}
    .czm-preview-thumb { width: 100%; max-width: 120px; height: auto; display: block; }
    
    .btn-solicitar-obra { 
        display: flex; justify-content: center; align-items: center; gap: 8px; 
        padding: 12px 15px; 
        background-color: var(--cen-dark); 
        color: var(--cen-white); 
        border: 1px solid var(--cen-dark);
        text-transform: uppercase; font-family: var(--font-sans); font-size: 0.65rem; font-weight: 700; 
        cursor: pointer; transition: var(--transition); border-radius: 4px; text-decoration: none; 
    }
    .btn-solicitar-obra:hover, .btn-solicitar-obra:active { 
        background-color: var(--cen-white); 
        color: var(--cen-dark); 
        border-color: var(--cen-white); 
    }

    .btn-editorial { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid rgba(255,255,255,0.4); text-transform: uppercase; font-family: var(--font-sans); font-size: 0.65rem; font-weight: 700; color: var(--cen-white); text-decoration: none; transition: var(--transition); border-radius: 4px; }
    .btn-editorial:hover { background-color: var(--cen-white); color: var(--cen-dark); border-color: var(--cen-white); }

    /* =========================================================
       MODALES Y MARCA DE AGUA
       ========================================================= */
    .czm-modal-overlay, .czm-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
    
    .czm-lightbox { display: flex; justify-content: center; align-items: center; }
    .czm-lightbox.active { opacity: 1; visibility: visible; }
    .czm-lightbox-content { position: relative; max-width: 95vw; max-height: 90vh; transform: scale(0.98); transition: all 0.3s ease; }
    .czm-lightbox.active .czm-lightbox-content { transform: scale(1); }
    .czm-lightbox-img-wrapper { position: relative; overflow: hidden; border-radius: 2px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); background: #fff; border: 2px solid #fff;}
    .czm-lightbox-img { max-width: 95vw; max-height: 85vh; display: block; }
    .czm-lightbox-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 3rem; background: none; border: none; cursor: pointer; z-index: 100002; }
    .czm-lightbox-close:hover { color: var(--cen-terracota); }

    .czm-preview-wrapper::after, .czm-lightbox-img-wrapper::after {
        content: "";
        position: absolute;
        top: 50%; left: 50%;
        background-image: url('https://cenzontlemusica.com/wp-content/uploads/2026/01/Logo-Cenzontle-Musica-EP_Cuadro.png');
        background-size: contain; background-repeat: no-repeat; background-position: center;
        opacity: 0.20; pointer-events: none; animation: cenHeartbeat 2.7s ease-in-out infinite; z-index: 10;
    }

    .cen-mini-img.has-watermark::after {
        content: "";
        position: absolute; top: 50%; left: 50%;
        background-image: url('https://cenzontlemusica.com/wp-content/uploads/2026/01/Logo-Cenzontle-Musica-EP_Cuadro.png');
        background-size: contain; background-repeat: no-repeat; background-position: center;
        opacity: 0.10; pointer-events: none;
        width: 156px; height: 156px; animation: cenHeartbeat 2.7s ease-in-out infinite; z-index: 5;
    }
    
    .czm-preview-wrapper::after { width: 105px; height: 105px; }
    .czm-lightbox-img-wrapper::after { width: 315px; height: 315px; max-width: 80vw; }

    @keyframes cenHeartbeat {
        0%   { transform: translate(-50%, -50%) scale(1); }
        50%  { transform: translate(-50%, -50%) scale(1.1); }
        100% { transform: translate(-50%, -50%) scale(1); }
    }

    .czm-modal-overlay { display: flex; align-items: center; justify-content: center; }
    .czm-modal-overlay.active { opacity: 1; visibility: visible; }
    .czm-form-modal { background: #fff; color: var(--cen-dark); width: 100%; max-width: 450px; max-height: 90vh; overflow-y: auto; box-shadow: 0 15px 40px rgba(0,0,0,0.5); padding: 30px; position: relative; border-radius: 4px; }
    .czm-close-modal { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; color: #aaa; cursor: pointer; }
    .czm-close-modal:hover { color: var(--cen-terracota); }

    /* --- EFECTO REVISTA (PAGE TURN / FADE) --- */
    .mag-flip-container { perspective: 2000px; width: 100%; max-width: 450px; height: 85vh; max-height: 650px; position: relative; }
    .mag-flipper { position: relative; width: 100%; height: 100%; }
    .mag-front, .mag-back { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; border-radius: 4px; box-shadow: 0 15px 40px rgba(0,0,0,0.5); overflow: hidden; }
    .mag-front { z-index: 2; transform-origin: left center; transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.6s ease, visibility 0.6s; }
    .mag-back { z-index: 1; padding: 30px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateX(30px) scale(0.98); transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1); }
    .mag-flipper.is-flipped .mag-front { transform: rotateY(-60deg); opacity: 0; visibility: hidden; }
    .mag-flipper.is-flipped .mag-back { opacity: 1; visibility: visible; transform: translateX(0) scale(1); }

    .mag-front-bg { width: 100%; height: 100%; background-size: cover; background-position: center; background-color: #fafafa; position: relative; z-index: 1; }
    .mag-front-bg.has-watermark::after {
        content: ""; position: absolute; top: 50%; left: 50%;
        background-image: url('https://cenzontlemusica.com/wp-content/uploads/2026/01/Logo-Cenzontle-Musica-EP_Cuadro.png');
        background-size: contain; background-repeat: no-repeat; background-position: center;
        opacity: 0.10; pointer-events: none; width: 200px; height: 200px;
        animation: cenHeartbeat 2.7s ease-in-out infinite; z-index: 5;
    }
    
    .mag-front-overlay { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, transparent 100%); padding: 60px 30px 30px; display: flex; justify-content: space-between; align-items: flex-end; z-index: 10; }
    .mag-front-text-wrap { display: flex; flex-direction: column; gap: 8px; max-width: 70%; }
    .mag-front-title { color: #fff; font-family: var(--font-serif); font-size: 1.4rem; margin: 0; line-height: 1.2; }
    .mag-front-comp { color: #b38b4d; font-family: var(--font-sans); font-size: 0.65rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
    
    .cen-mag-interactive-zone { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 15px 0 5px 15px; opacity: 0.8; transition: opacity 0.4s ease; }
    .cen-mag-interactive-zone:hover { opacity: 1; }
    .cen-mag-turn-text { font-family: var(--font-sans); font-size: 0.55rem; text-transform: uppercase; letter-spacing: 3px; color: #fff; transition: color 0.4s ease; }
    .cen-mag-turn-arrow { width: 35px; height: 1px; background-color: #fff; position: relative; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); animation: pulseArrow 2.5s infinite ease-in-out; }
    .cen-mag-turn-arrow::after { content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid #fff; border-right: 1px solid #fff; transform: rotate(45deg); transition: border-color 0.4s ease; }
    .cen-mag-interactive-zone:hover .cen-mag-turn-arrow { width: 55px; background-color: #b38b4d; }
    .cen-mag-interactive-zone:hover .cen-mag-turn-arrow::after { border-color: #b38b4d; }
    .cen-mag-interactive-zone:hover .cen-mag-turn-text { color: #b38b4d; }
    
    @keyframes pulseArrow { 0% { transform: translateX(0); } 50% { transform: translateX(6px); } 100% { transform: translateX(0); } }

    .czm-form-header h2 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--cen-dark); margin: 0 0 5px 0;}
    .czm-form-header p { font-size: 0.75rem; color: var(--cen-text-gray); margin-bottom: 20px; }
    .czm-type-selector { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
    .czm-type-option { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 600; cursor: pointer;}
    .czm-type-option input { accent-color: var(--cen-terracota); }
    .czm-form-section-title { font-size: 0.6rem; text-transform: uppercase; font-weight: 700; color: var(--cen-terracota); margin-bottom: 10px; display: block; border-bottom: 1px solid #eee; padding-bottom: 5px;}
    .czm-input-group { margin-bottom: 15px; }
    .czm-input-group label { display: block; font-size: 0.7rem; font-weight: 600; margin-bottom: 4px; }
    .czm-input-group input { width: 100%; border: 1px solid #ccc; border-radius: 2px; padding: 8px 12px; font-family: var(--font-sans); font-size: 0.85rem; outline: none; }
    .czm-input-group input:focus { border-color: var(--cen-terracota); }
    .czm-input-group input[readonly] { color: var(--cen-terracota); font-weight: 600; background: #fafafa; border-color: transparent;}
    .czm-modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
    .czm-wa-btn { border-color: #25D366; color: #25D366; background: transparent; padding: 12px 15px; border: 1px solid #25D366; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: 4px; font-family: var(--font-sans); font-size: 0.65rem;}
    .czm-wa-btn:hover { background: #25D366; color: #fff; border-color: #25D366; }
    .btn-primary-action { background: var(--cen-dark); color: #fff; padding: 12px 15px; border: none; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: 4px; font-family: var(--font-sans); font-size: 0.65rem; }
    .btn-primary-action:hover { background: var(--cen-terracota); }

    /* =========================================================
       MEDIA QUERIES - DISEÃ‘O FLEXIBLE
       ========================================================= */
    @media (min-width: 600px) {
        .cen-grid-compact { grid-template-columns: repeat(3, 1fr); }
        .cen-hero-item { flex: 0 0 115px; width: 115px; }
        .cen-hero-face { width: 100px; height: 100px; }
        .cen-hero-name { font-size: 0.65rem; }
    }

    @media (min-width: 768px) {
        .czm-work-grid { flex-direction: row; flex-wrap: nowrap; align-items: flex-start; gap: 2rem; padding: 1rem 0 2rem 1rem; }
        .czm-preview-container { flex: 0 0 120px; }
        .czm-info-col { flex: 1 1 auto; margin-top: 0; }
        .czm-actions-col { flex: 0 0 160px; margin-top: 0; }
    }

    @media (min-width: 900px) {
        .cen-comp-hero-strip { gap: 30px; padding: 15px 5px 25px 5px; }
        .cen-hero-item { flex: 0 0 140px; width: 140px; }
        .cen-hero-face { width: 125px; height: 125px; margin-bottom: 12px; }
        .cen-hero-name { font-size: 0.8rem; }
        .cen-grid-compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 25px; }
        .cen-mini-title { font-size: 0.9rem; height: 2.5em; }
        .cen-cover-title { font-size: 1.15rem; }
        .cen-cover-comp { font-size: 0.6rem; }
        
        .cen-title-bar-content h3 { font-size: 1.3rem; }
        .cen-sticky-dark { padding: 16px 0; }
        
        .czm-work-header { flex-wrap: nowrap; padding: 2rem 0; }
        .czm-work-title { flex: 1; font-size: 2.2rem; }
        .czm-tag { font-size: 0.85rem; padding: 0.4rem 0.8rem; letter-spacing: 1px; }
        .czm-year { margin-left: 0; width: 60px; text-align: right; font-size: 0.9rem; }
        
        .czm-work-grid { gap: 3rem; padding: 1rem 0 3rem 1.5rem; }
        .czm-preview-container { flex: 0 0 160px; }
        .czm-actions-col { flex: 0 0 200px; }
        
        .czm-label-dotacion { font-size: 1.6rem; margin-bottom: 0.5rem; }
        .czm-val-dotacion { font-size: 1.15rem; }
    }

    /* =========================================================
       CORRECCIÃ“N PARA LAPTOPS Y PANTALLAS BAJITAS (AUTOADAPTACIÃ“N)
       ========================================================= */
    @media (max-height: 850px) and (min-width: 768px) {
        /* Compactamos la altura de los elementos visuales del menÃº pegajoso 
           para dejar muchÃ­simo mÃ¡s espacio al catÃ¡logo en las laptops */
        .cen-sticky-white { padding: 15px 0 10px 0; }
        .cen-comp-hero-strip { gap: 15px; padding: 5px 5px 10px 5px; }
        .cen-hero-item { flex: 0 0 110px; width: 110px; }
        .cen-hero-face { width: 85px; height: 85px; margin-bottom: 5px; }
        .cen-carousel-dots { margin-top: 5px; }
        .cen-sticky-dark { padding: 10px 0; }
        .cen-title-bar-content h3 { font-size: 1.1rem; }
    }

    @media (max-height: 650px) {
        /* Si la pantalla de la laptop es extremadamente bajita (menos de 650px visuales), 
           quitamos el efecto "sticky" para que la barra no se quede estancada comiÃ©ndose el espacio 
           y fluya libremente al hacer scroll. */
        .cen-sticky-panel { position: relative; top: 0; z-index: 10; }
    }
</style>

