/* --- STYLES FROM MASTER TEMPLATE (UNIFIED) --- */

/* Base */
body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    font-family: Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}
* { box-sizing: border-box; }
a {
    text-decoration: none;
    transition: all 0.3s ease;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* Header & Nav */
header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.nav-links {
    padding: 15px 0;
    background-color: #f9f9f9;
    text-align: center;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}
.nav-links a {
    color: #666;
    margin: 0 10px;
    display: inline-block;
}
.nav-links a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* Book Hero (LP individual) */
.book-hero {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 40px;
    text-align: center;
}
.book-hero h1 {
    margin: 0;
    font-family: 'Times New Roman', serif;
    font-size: 32px;
}
.book-hero h2 {
    margin: 10px 0 0 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: normal;
    color: #bdc3c7;
}

/* GROUP HERO (LP de Bundle / Colección) */
.group-hero {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}
.group-hero h1 {
    margin: 0;
    font-family: 'Times New Roman', serif;
    font-size: 32px;
}
.group-hero p {
    font-size: 18px;
    color: #bdc3c7;
    margin-top: 10px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro text (para LP de bundle / colecciones) */
.intro-text {
    padding: 40px;
    text-align: center;
    color: #555;
    font-size: 16px;
    max-width: 780px;
    margin: 0 auto;
}

/* Book Layout (LP individual) */
.book-layout {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    gap: 40px;
    border-bottom: 1px solid #eee;
}
.book-sidebar {
    flex: 0 0 260px;
    width: 260px;
}
.cover-image {
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

/* Action buttons (LP individual) */
.action-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
.btn-print {
    background-color: #27ae60;
    color: white;
}
.btn-print:hover {
    background-color: #219150;
}
.btn-online {
    background-color: #2980b9;
    color: white;
}
.btn-online:hover {
    background-color: #216896;
}
.btn-eval {
    background-color: #e67e22;
    color: white;
}
.btn-eval:hover {
    background-color: #d35400;
}
.btn-free {
    background-color: #FFFB00;
    color: black;
}
.btn-free:hover {
    background-color: #FFFB00;
}
.btn-sample {
    background-color: #ecf0f1;
    color: #7f8c8d;
    border: 1px solid #bdc3c7;
}
.btn-sample:hover {
    background-color: #bdc3c7;
    color: white;
}
.price-tag {
    font-size: 12px;
    font-weight: normal;
    display: block;
    opacity: 0.9;
    margin-top: 2px;
}

/* Teaching Kits (LP individual) */
.tk-box {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f4f8;
    border: 1px solid #dceefc;
    border-radius: 5px;
    text-align: center;
}
.tk-title {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: bold;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-tk {
    display: block;
    background-color: #34495e;
    color: #ffffff;
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-tk:hover {
    background-color: #2c3e50;
}
.tk-desc {
    margin: 8px 0 0 0;
    font-size: 11px;
    color: #7f8c8d;
    line-height: 1.3;
}

/* Book Details */
.book-details {
    flex: 1;
    min-width: 300px;
}
.book-synopsis {
    font-size: 16px;
    color: #444;
    text-align: justify;
    margin-bottom: 30px;
}
.quote-box {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    background-color: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #2c3e50;
    margin-bottom: 20px;
    color: #555;
    font-size: 15px;
}
.specs-box {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #2c3e50;
    margin-top: 20px;
}
.specs-box p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

/* PROMO / BUNDLE BOX (LP individual y LP de bundle) */
.promo-box {
    background-color: #fff8e1;
    border: 2px dashed #ffe082;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
}
.btn-bundle {
    background-color: #7fc41c;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 0 #6da817;
}
.btn-bundle:hover {
    background-color: #6da81c;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #5c8f13;
}

/* Nested bundle options for multi-bundle promo-box (LP individual) */
.promo-box .bundle-option {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}
.promo-box .bundle-option:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* GRID DE COLECCIONES / BUNDLES (LP de bundle) */
.collection-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0 40px 40px 40px;
    flex-wrap: wrap;
}
.collection-item {
    flex: 1;
    min-width: 150px;
    max-width: 180px;
    text-align: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.collection-item img {
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
    margin: 0 auto 10px auto;
    width: 110px;
}
.collection-item h3 {
    font-size: 15px;
    color: #2c3e50;
    margin: 8px 0 5px 0;
    min-height: 40px;
}
.collection-item p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}
.btn-item {
    background-color: #336699;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}
.btn-item:hover {
    background-color: #254b70;
}

/* BUNDLE SECTION (tira horizontal de portadas) */
.bundle-section {
    padding: 40px;
    border-top: 1px solid #eee;
}
.bundle-header {
    text-align: center;
    margin-bottom: 20px;
}
.bundle-header h3 {
    margin: 0 0 5px 0;
    font-family: 'Times New Roman', serif;
    font-size: 22px;
    color: #2c3e50;
}
.bundle-header p {
    margin: 0;
    font-size: 14px;
    color: #555;
}
/* Tira de cubiertas */
.bundle-covers {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}
.bundle-item {
    text-align: center;
    width: 120px;
}
.bundle-item img {
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
    margin: 0 auto 5px auto;
}
.bundle-item span {
    display: block;
    font-size: 12px;
    color: #333;
}
/* Sección Publish */
.publish-section { 
    background-color: #f0f8ff; 
    padding: 20px; 
    text-align: center; 
    border-top: 1px solid #dceefc; 
    margin-top: 40px;
}
.publish-section a { 
    color: #2980b9; 
    font-weight: bold;
}

/* Footer */
footer { 
    background-color: #333; 
    color: #999; 
    padding: 20px; 
    text-align: center; 
    font-size: 12px;
}
.catalog-link { 
    display: block; 
    margin-top: 10px; 
    color: #bdc3c7;
}

/* COLLECTION LINK BOX (opcional, para páginas de grupo) */
.collection-link-box {
    background-color: #e8f5e9;
    border: 2px dashed #c8e6c9; 
    border-radius: 8px; 
    padding: 30px; 
    text-align: center; 
    max-width: 700px; 
    margin: 0 auto; 
    margin-top: 40px; 
    margin-bottom: 40px;
}
.collection-link-box h3 {
    font-family: 'Times New Roman', serif;
    font-size: 20px;
    color: #2e7d32;
    margin-bottom: 15px;
}
.collection-link-box p {
    font-size: 15px;
    color: #4caf50;
    margin-bottom: 15px;
}
.collection-link-box a {
    background-color: #4CAF50;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none !important;
    box-shadow: 0 3px 0 #388E3C;
}
.collection-link-box a:hover {
    background-color: #388E3C;
    transform: translateY(1px);
    box-shadow: 0 2px 0 #2E7D32;
}

/* Estilos del QR en pantalla (LP individual) */
.qr-box {
    margin-top: 25px;
    padding: 15px;
    background-color: #fff;
    border: 2px solid #eee;
    text-align: center;
    border-radius: 8px;
}
.qr-text {
    font-size: 11px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.qr-img {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: block;
}

/* BUNDLE LAYOUT (para páginas tipo "colección explicada") */
.bundle-layout {
    padding: 40px;
    border-bottom: 1px solid #eee;
}
.bundle-intro {
    font-size: 16px;
    color: #444;
    text-align: justify;
    margin-bottom: 30px;
}

/* Especificaciones del bundle (texto de precios/lista) */
.bundle-specs {
    background-color: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #2c3e50;
    margin-top: 10px;
    margin-bottom: 30px;
}
.bundle-specs p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}
.bundle-specs ul {
    margin: 10px 0 10px 20px;
    padding: 0;
}
.bundle-specs ul li {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}

/* Bloques de título (tapa + ficha) dentro del bundle */
.title-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.title-cover {
    flex: 0 0 140px;
}
.title-cover img {
    box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
    border: 1px solid #ddd;
    width: 140px;       /* IMPORTANTE: controla el tamaño de la portada */
    height: auto;
}
.title-info {
    flex: 1;
    min-width: 240px;
}
.title-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #2c3e50;
}
.title-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}


/* === MEXICAN REVOLUTION BUNDLE / BOOK GRID LAYOUT === */

/* Sección de promo general del bundle */
.promo-section {
    padding: 40px;
}
.promo-section .intro-text {
    margin-bottom: 40px;
}

/* Caja de oferta especial del bundle */
.bundle-offer-box { 
    background-color: #fff8e1;
    border: 2px dashed #ffe082;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}
.bundle-offer-box h3 { 
    color: #d35400;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 26px;
    margin: 0 0 15px 0;
    line-height: 1.2;
}
.bundle-offer-box p {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}
.bundle-offer-box .pricing {
    margin-top: 20px;
    margin-bottom: 25px;
}
.bundle-offer-box .old-price {
    font-size: 18px;
    color: #888;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}
.bundle-offer-box .deal-price {
    font-size: 32px;
    color: #2c3e50;
    font-weight: bold;
    display: block;
}
.bundle-offer-box .savings {
    font-size: 18px;
    color: #e67e22;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}
.btn-bundle-buy { 
    background-color: #e67e22;
    color: #ffffff !important;
    padding: 15px 35px;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 1px;
    box-shadow: 0 4px 0 #d35400;
    transition: all 0.2s ease;
}
.btn-bundle-buy:hover { 
    background-color: #d35400;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #c0392b;
}

/* Grid de libros del bundle */
.book-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
}
.book-item {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    text-align: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.book-item img {
    max-width: 150px;
    margin: 0 auto 15px auto;
    border: 1px solid #ddd;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.2);
}
.book-item h3 {
    font-family: 'Times New Roman', serif;
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 5px;
}
.book-item p.author {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}
.book-item p.description {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    min-height: 75px;
}
.book-item .actions {
    margin-top: 20px;
}
.book-item .btn-small { 
    display: inline-block;
    background-color: #34495e;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.3s;
    margin: 5px;
}
.book-item .btn-small:hover {
    background-color: #2c3e50;
}





/* === SYLLABUS SUPPORT / TEACHING KITS PAGE === */

/* Hero de página genérica */
.page-hero {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 40px;
    text-align: center;
}
.page-hero h1 {
    margin: 0;
    font-family: 'Times New Roman', serif;
    font-size: 32px;
}
.page-hero p {
    margin: 10px 0 0 0;
    font-size: 18px;
    font-weight: normal;
    color: #bdc3c7;
    line-height: 1.4;
}

/* Sección de contenido general */
.content-section {
    padding: 40px;
}
.content-section h2 {
    font-family: 'Times New Roman', serif;
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}
.content-section h3 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 20px;
    color: #e67e22;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 5px;
}
.content-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

/* Grid de Teaching Kits */
.tk-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.tk-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.tk-item h4 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #2c3e50;
    margin: 0 0 5px 0;
}
.tk-item p {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    min-height: 60px;
    line-height: 1.4;
}
.tk-item a.btn-download-tk {
    display: inline-block;
    background-color: #b89e45;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}
.tk-item a.btn-download-tk:hover {
    background-color: #9f8738;
}

/* CTA para sugerir nuevos Teaching Kits */
.cta-suggest-kit {
    background-color: #e0f2f7;
    border: 1px solid #b2ebf2;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}
.cta-suggest-kit h3 {
    color: #2980b9;
    margin-bottom: 15px;
    font-size: 24px;
    border-bottom: none;
    padding-bottom: 0;
    font-family: Helvetica, Arial, sans-serif;
}
.cta-suggest-kit p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}
.cta-suggest-kit .btn-suggest {
    background-color: #2980b9;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}
.cta-suggest-kit .btn-suggest:hover {
    background-color: #216896;
}

/* RESPONSIVE */
@media (max-width: 700px) 
{
	
	.hero-section {
        padding: 20px;
    }
    .hero-section h1 {
        font-size: 24px;
    }
    .content-area {
        padding: 20px;
    }

    .book-layout {
        flex-direction: column;
        padding: 20px;
    }
    .book-sidebar {
        max-width: 100%;
        width: 100%;
        flex: none;
        margin: 0 auto;
        text-align: center;
    }
    .cover-image {
        max-width: 200px;
        margin: 0 auto 20px auto;
    }
    .promo-box {
        margin: 20px;
        padding: 20px;
    }
    /* Ajuste para las portadas en el bundle-section para móvil */
    .bundle-covers {
        gap: 10px;
    }
    .bundle-item {
        width: 90px;
    }
    /* Grid de colecciones en móvil */
    .collection-grid {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .collection-item {
        max-width: 100%;
        width: 100%;
    }
	
	    .promo-section {
        padding: 20px;
    }
    .bundle-offer-box h3 {
        font-size: 20px;
    }
    .bundle-offer-box .deal-price {
        font-size: 24px;
    }
    .btn-bundle-buy {
        padding: 10px 20px;
        font-size: 16px;
    }
    .book-grid {
        flex-direction: column;
        gap: 20px;
    }
    .book-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
	
	
	
    /* Ajustes Syllabus Support y bundle-texto */
    .container {
        margin: 0;
    }
    header img {
        max-width: 100%;
    }
    .page-hero h1 {
        font-size: 24px;
    }
    .page-hero p {
        font-size: 16px;
    }
    .content-section {
        padding: 20px;
    }
    .content-section h2 {
        font-size: 22px;
    }
    .content-section h3 {
        font-size: 18px;
    }
    .tk-list {
        grid-template-columns: 1fr;
    }
    .bundle-layout {
        padding: 20px;
    }
    .title-block {
        flex-direction: column;
    }
    .title-cover {
        margin: 0 auto;
    }
}

/* === PUBLISH OR PERISH / AUTHOR GUIDELINES PAGE === */

/* Hero específico de esta página (evita colisión con .page-hero si la usas en Syllabus) */
.hero-section {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 40px;
    text-align: center;
}
.hero-section h1 {
    margin: 0;
    font-family: 'Times New Roman', serif;
    font-size: 32px;
    margin-bottom: 10px;
}
.hero-section h2 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
    color: #bdc3c7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Área de contenido centrado */
.content-area {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.content-area .intro-text {
    font-size: 16px;
    color: #444;
    text-align: justify;
    margin-bottom: 30px;
}

/* Caja de pautas / guidelines */
.guidelines-box {
    background-color: #f0f8ff;
    border-left: 5px solid #2980b9;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 4px;
}
.guidelines-box h3 {
    margin-top: 0;
    color: #2980b9;
    font-size: 20px;
}
.guidelines-link {
    color: #d35400;
    font-weight: bold;
    text-decoration: underline;
}

/* Lista de requerimientos */
.req-list {
    margin: 15px 0;
    padding-left: 20px;
}
.req-list li {
    margin-bottom: 8px;
    color: #555;
}

/* Caja de proceso / timeline */
.process-box {
    background-color: #fff8e1;
    border: 1px solid #ffe082;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.process-box h3 {
    margin-top: 0;
    color: #d32f2f;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.timeline-list {
    list-style-type: none;
    padding: 0;
}
.timeline-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #444;
}
.timeline-list li::before {
    content: "•";
    color: #d32f2f;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Firma */
.signature {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    font-size: 14px;
    color: #666;
}
.signature strong {
    color: #333;
    font-size: 16px;
}

/* Texto “opt out” de footer */
.opt-out {
    margin-top: 15px;
    font-size: 11px;
    color: #666;
}
.opt-out a {
    color: #888;
    text-decoration: underline;
}




/* ESTILOS ESPECÍFICOS PARA IMPRESIÓN (FLYER) */
@media print {
    /* FORZAR TAMAÑO CARTA EXACTO */
    @page {
        size: 8.5in 11in;
        margin: 0.5in;
    }

    body { 
        width: 7.5in;
        margin: 0;
        padding: 0;
        background-color: #fff;
    }

    .container { 
        box-shadow: none; 
        width: 100% !important; 
        max-width: 100% !important;
        margin: 0; 
        padding: 0;
    }
    
    /*
