/* Dynamic Ebook Cover Styles */
.dynamic-cover {
    max-width: 190px; /* Ancho típico de un libro de bolsillo en pantalla */
    aspect-ratio: 2 / 3;
    max-height: 270px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.6), 2px 2px 8px rgba(0,0,0,0.1);
    border-radius: 3px 10px 10px 3px;
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* Centrar horizontalmente */
}

/* Spine effect */
.dynamic-cover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 15px;
    background: linear-gradient(to right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 20%, rgba(0,0,0,0.3) 100%);
    border-right: 1px solid rgba(0,0,0,0.4);
}

.dynamic-cover .cover-title {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: 'Raleway', 'Helvetica', sans-serif;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    word-break: break-word;
    z-index: 1;
}

.dynamic-cover .cover-author {
    color: #94a3b8;
    font-size: 0.95rem;
    font-family: 'Raleway', 'Helvetica', sans-serif;
    font-weight: 400;
    text-transform: capitalize;
    z-index: 1;
}

/* Larger version for the product page */
.pb-left-column .dynamic-cover {
    min-height: 400px;
    margin: 0 auto;
    max-width: 400px;
}
.pb-left-column .dynamic-cover .cover-title {
    font-size: 2.2rem;
}
.pb-left-column .dynamic-cover .cover-author {
    font-size: 1.2rem;
}
