/*
Theme Name: Librarte Pro
Theme URI: https://librarte.club
Description: Tema personalizado para el ecosistema de Librarte Club. Optimizado para Elementor y rendimiento.
Author: Antigravity
Author URI: https://google.com
Template: hello-elementor
Version: 1.0.0
*/

/* 
 * Reglas de Diseño Profesional (UI/UX Pro Max)
 * -------------------------------------------
 * 1. Clean DOM Protocol: Evitar anidación excesiva.
 * 2. Mobile First: Estilos base para móviles, media queries para escritorio.
 * 3. Variables CSS: Vinculadas a Elementor Global Settings.
 */

:root {
    --lib-primary: #996633;
    --lib-secondary: #592B02;
    --lib-accent: #D9A441;
    --lib-text: #333333;
    --lib-bg: #F9F5F0;
}


/* ==========================================================================
   LIBRARTE CATALOG & GLOBAL STYLES (Migrated from Plugin)
   ========================================================================== */

/* Background Mesh Gradient (Ensure it's global) */
body {
    background-color: #fafafa;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(153, 102, 51, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 90%, rgba(89, 43, 2, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
}

.librarte-catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Glass Panel Utility */
.cl-glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    border-radius: 20px;
}

/* Filters Bar */
.librarte-filters {
    margin-bottom: 40px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.librarte-filters-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.librarte-search-input,
.librarte-filters select {
    padding: 12px 20px;
    border-radius: 50px;
    border: 1px solid rgba(153, 102, 51, 0.2);
    background: rgba(255, 255, 255, 0.8);
    color: var(--lib-text);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    flex: 1;
}

.librarte-search-input:focus,
.librarte-filters select:focus {
    border-color: var(--lib-primary);
    box-shadow: 0 0 0 3px rgba(153, 102, 51, 0.1);
    background: #fff;
}

.librarte-search-btn {
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--lib-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.librarte-search-btn:hover {
    background: var(--lib-secondary);
    transform: translateY(-2px);
}

/* Results Count */
.librarte-results-count {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Book Grid */
.librarte-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

/* Book Card Glass Style */
.librarte-book-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

.librarte-book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(89, 43, 2, 0.15);
    border-color: rgba(153, 102, 51, 0.3);
}

.book-cover-link {
    display: block;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.book-cover {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #eee;
    transition: transform 0.5s ease;
}

.librarte-book-card:hover .book-cover {
    transform: scale(1.05);
}

/* Badges */
.badget {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #732C02;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    font-weight: bold;
}

.book-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-details h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    line-height: 1.3;
}

.book-details h3 a {
    color: var(--lib-text);
    text-decoration: none;
    transition: color 0.2s;
}

.book-details h3 a:hover {
    color: var(--lib-primary);
}

.book-author {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    font-style: italic;
}

.price {
    font-weight: 700;
    color: var(--lib-primary);
    font-size: 17px;
    margin-top: auto;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.add-to-librero {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--lib-primary), var(--lib-secondary));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(153, 102, 51, 0.3);
}

.add-to-librero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(153, 102, 51, 0.4);
    background: linear-gradient(135deg, var(--lib-secondary), var(--lib-primary));
}

/* Category Cards */
.librarte-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.librarte-category-card {
    display: block;
    height: 220px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

.category-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.librarte-category-card:hover .category-cover {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: background 0.3s ease;
}

.librarte-category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(89, 43, 2, 0.9) 0%, rgba(153, 102, 51, 0.2) 70%, transparent 100%);
}

.category-overlay h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-overlay .book-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    font-weight: 500;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.librarte-category-card:hover h3,
.librarte-category-card:hover .book-count {
    transform: translateY(-5px);
}

/* Pagination */
.librarte-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.librarte-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(153, 102, 51, 0.2);
    border-radius: 8px;
    color: var(--lib-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.librarte-pagination .page-numbers.current,
.librarte-pagination .page-numbers:hover {
    background: var(--lib-primary);
    color: #fff;
    border-color: var(--lib-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(153, 102, 51, 0.3);
}

/* Loader */
.cl-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(153, 102, 51, 0.1);
    border-left-color: var(--lib-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   SINGLE LIBRO - REDESIGNED (Mobile-First, SVG Icons, Clean Layout)
   ========================================================================== */
.librarte-single-wrapper {
    background-color: var(--lib-bg);
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    color: var(--lib-text);
    overflow-x: hidden;
}

/* ---- Hero Section ---- */
.lib-hero-section {
    position: relative;
    padding: 60px 0 60px;
    overflow: hidden;
}

.lib-hero-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, var(--lib-secondary) 0%, color-mix(in srgb, var(--lib-secondary) 80%, #000) 100%);
    border-radius: 0 0 40px 40px;
    z-index: 0;
}

.lib-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Mobile: stack vertically */
.lib-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

/* ---- Cover ---- */
.lib-col-cover {
    width: 100%;
    max-width: 280px;
    flex-shrink: 0;
}

.lib-cover-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.lib-cover-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.lib-cover-img {
    width: 100%;
    display: block;
    height: auto;
}

.lib-badge-promo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.4);
}

/* ---- Details Column ---- */
.lib-col-details {
    width: 100%;
    text-align: center;
    flex: 1;
    min-width: 0;
}

/* Tags (Category + Complexity) */
.lib-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.lib-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(153, 102, 51, 0.1);
    color: var(--lib-primary);
    border: 1px solid rgba(153, 102, 51, 0.2);
    letter-spacing: 0.3px;
}

.lib-tag--level {
    background: rgba(217, 164, 65, 0.15);
    color: var(--lib-accent);
    border-color: rgba(217, 164, 65, 0.3);
}

/* Title */
.lib-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 8px;
    color: var(--lib-text);
}

/* Author */
.lib-author {
    font-size: 1rem;
    color: var(--lib-primary);
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Price */
.lib-price-box {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: center;
}

.lib-price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #888;
}

.lib-price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--lib-primary);
    line-height: 1;
}

/* ---- Meta Grid (Chips) ---- */
.lib-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    justify-content: center;
}

.lib-meta-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(153, 102, 51, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lib-meta-chip:hover {
    border-color: rgba(153, 102, 51, 0.3);
    box-shadow: 0 4px 12px rgba(153, 102, 51, 0.08);
}

.lib-meta-icon {
    color: var(--lib-primary);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lib-meta-icon svg {
    width: 20px;
    height: 20px;
}

.lib-meta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.lib-meta-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--lib-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lib-meta-value {
    font-size: 14px;
    color: var(--lib-text);
    font-weight: 500;
}

/* ---- Actions ---- */
.lib-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.lib-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(153, 102, 51, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    height: 48px;
}

.lib-qty-btn {
    background: none;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    color: var(--lib-text);
    height: 100%;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.lib-qty-btn:hover {
    background: rgba(153, 102, 51, 0.06);
}

.lib-qty-input {
    width: 44px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--lib-text);
    -moz-appearance: textfield;
    appearance: textfield;
}

.lib-qty-input::-webkit-inner-spin-button,
.lib-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Buttons */
.lib-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    height: 48px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    outline: none;
}

.lib-btn--primary {
    background: linear-gradient(135deg, var(--lib-primary), var(--lib-secondary));
    color: #fff;
    box-shadow: 0 4px 14px rgba(153, 102, 51, 0.3);
    border: none;
}

.lib-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 102, 51, 0.4);
}

.lib-btn--primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(153, 102, 51, 0.2);
}

.lib-btn--outline {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(153, 102, 51, 0.3);
    color: var(--lib-primary);
}

.lib-btn--outline:hover {
    background: var(--lib-primary);
    color: #fff;
    border-color: var(--lib-primary);
}

/* ---- Synopsis Section ---- */
.lib-synopsis-section {
    padding: 48px 0;
    background: #fff;
}

.lib-section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.6rem;
    color: var(--lib-primary);
    margin: 0 0 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lib-section-title svg {
    flex-shrink: 0;
    color: var(--lib-accent);
}

.lib-section-title--light {
    color: #fff;
    text-align: center;
    justify-content: center;
    margin-bottom: 40px;
}

.lib-synopsis-content {
    font-family: 'Georgia', serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4a4a4a;
    max-width: 780px;
}

.lib-synopsis-content p {
    margin: 0 0 16px;
}

/* ---- Reviews Section ---- */
.lib-reviews-section {
    padding: 48px 0;
    background: var(--lib-bg);
}

.lib-reviews-section .librarte-reviews-section {
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(153, 102, 51, 0.1);
}

.lib-reviews-section .reviews-header {
    border-bottom: 1px solid rgba(153, 102, 51, 0.12);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.lib-reviews-section .reviews-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--lib-text);
    margin: 0;
}

.lib-reviews-section .no-reviews {
    color: #888;
    font-style: italic;
    padding: 20px 0;
}

/* Review Form */
.lib-reviews-section .librarte-review-form {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(153, 102, 51, 0.1);
}

.lib-reviews-section .comment-reply-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--lib-primary);
    margin: 0 0 16px;
}

.lib-reviews-section .comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lib-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lib-reviews-section .comment-form input[type="text"],
.lib-reviews-section .comment-form input[type="email"],
.lib-reviews-section .comment-form input[type="url"],
.lib-reviews-section .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(153, 102, 51, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    color: var(--lib-text);
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.lib-reviews-section .comment-form input:focus,
.lib-reviews-section .comment-form textarea:focus {
    outline: none;
    border-color: var(--lib-primary);
    box-shadow: 0 0 0 3px rgba(153, 102, 51, 0.08);
}

.lib-reviews-section .comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.lib-reviews-section .comment-form .form-submit input[type="submit"],
.lib-reviews-section .librarte-btn-primary {
    background: linear-gradient(135deg, var(--lib-primary), var(--lib-secondary));
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(153, 102, 51, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lib-reviews-section .comment-form .form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 102, 51, 0.4);
}

.lib-reviews-section .librarte-review-fields {
    background: rgba(153, 102, 51, 0.04);
    border: 1px solid rgba(153, 102, 51, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

/* ---- Related Section ---- */
.lib-related-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #0d0704 0%, #1a0e05 30%, #0d0704 60%, #150903 100%);
    position: relative;
    overflow: hidden;
}

.lib-fireflies-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.lib-related-section .lib-container {
    position: relative;
    z-index: 1;
}

.lib-related-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
}

.lib-related-scroll::-webkit-scrollbar {
    height: 6px;
}

.lib-related-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.lib-related-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.lib-rel-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.lib-rel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.lib-rel-cover {
    height: 280px;
    overflow: hidden;
    padding: 16px;
    background: #f5f0eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lib-rel-cover img {
    height: 100%;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.lib-rel-card:hover .lib-rel-cover img {
    transform: scale(1.04);
}

.lib-rel-info {
    padding: 16px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.lib-rel-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    margin: 0 0 4px;
    color: var(--lib-text);
    font-weight: 700;
    line-height: 1.3;
}

.lib-rel-author {
    font-size: 0.8rem;
    color: #888;
    margin: 0 0 12px;
    font-style: italic;
}

.lib-rel-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lib-primary);
    font-family: 'Playfair Display', serif;
    margin-top: auto;
}

/* ==========================================================================
   RESPONSIVE — MIN-WIDTH (Mobile-First)
   ========================================================================== */

/* Tablet (>= 768px) */
@media (min-width: 768px) {
    .lib-hero-section {
        padding: 80px 0 80px;
    }

    .lib-hero-accent {
        height: 100%;
        width: 42%;
        border-radius: 0 0 80px 0;
    }

    .lib-hero-grid {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }

    .lib-col-cover {
        max-width: 300px;
        width: 300px;
    }

    .lib-col-details {
        text-align: left;
        flex: 1;
        min-width: 0;
    }

    .lib-tags {
        justify-content: flex-start;
    }

    .lib-price-box {
        justify-content: flex-start;
    }

    .lib-meta-grid {
        justify-content: flex-start;
    }

    .lib-actions {
        justify-content: flex-start;
    }

    .lib-synopsis-section {
        padding: 64px 0;
    }

    .lib-section-title {
        font-size: 2rem;
    }

    .lib-rel-card {
        flex: 0 0 260px;
    }

    .lib-related-scroll {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

/* Desktop (>= 1024px) */
@media (min-width: 1024px) {
    .lib-hero-section {
        padding: 100px 0 100px;
    }

    .lib-hero-accent {
        width: 40%;
        border-radius: 0 0 120px 0;
    }

    .lib-hero-grid {
        gap: 60px;
    }

    .lib-col-cover {
        max-width: 300px;
        width: 300px;
    }

    .lib-title {
        font-size: 3rem;
    }

    .lib-price-amount {
        font-size: 3.5rem;
    }

    .lib-synopsis-section {
        padding: 80px 0;
    }

    .lib-section-title {
        font-size: 2.5rem;
    }

    .lib-synopsis-content {
        font-size: 1.15rem;
    }

    .lib-related-section {
        padding: 80px 0 100px;
    }

    .lib-rel-card {
        flex: 0 0 300px;
    }

    .lib-rel-cover {
        height: 350px;
    }
}