/* ==========================================================================
   Bửu Nguyễn — Website Văn Chương & Kiếm Hiệp Dã Sử Việt Nam
   Palette lấy cảm hứng từ bìa Nam Triều Kiến Mộng:
   Son đỏ trầm (#7E2622), Giấy dó (#FAF6EE), Vàng son (#C29340), Mực tàu (#1B1512)
   ========================================================================== */

:root {
    --bg-paper: #FAF6EE;
    --bg-paper-alt: #F2EBD9;
    --bg-card: #FFFFFF;
    --bg-ink: #1B1512;
    --bg-ink-soft: #28201C;
    --crimson: #7E2622;
    --crimson-dark: #5C1A17;
    --crimson-soft: rgba(126, 38, 34, 0.08);
    --gold: #C29340;
    --gold-soft: rgba(194, 147, 64, 0.16);
    --moss: #4E5B3C;
    --text-main: #231D1A;
    --text-body: #3E3530;
    --text-muted: #6E6259;
    --border-warm: #E5DAC6;
    --border-strong: #D3C3A7;
    --shadow-soft: 0 12px 36px rgba(27, 21, 18, 0.07);
    --shadow-book: 0 24px 48px rgba(27, 21, 18, 0.24);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-literary: 'Lora', Georgia, serif;
    --font-ui: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    overflow-x: clip;
}

body {
    margin: 0;
    background-color: var(--bg-paper);
    color: var(--text-body);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--crimson);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--crimson-dark);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-warm);
    transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(27, 21, 18, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bg-ink);
}

.brand:hover {
    color: var(--crimson);
}

.brand-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--crimson);
    color: #FAF6EE;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 0 2px rgba(250, 246, 238, 0.25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-main);
    font-size: 14.5px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--crimson);
    transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    background: var(--bg-paper-alt);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 3px;
    gap: 2px;
}

.lang-switch a {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.lang-switch a.is-active {
    background: var(--crimson);
    color: #FAF6EE;
}

.lang-switch a:hover:not(.is-active) {
    color: var(--bg-ink);
}

.hero-featured-card {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 26px 24px 22px;
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 410px;
    text-align: center;
    box-shadow: 0 20px 48px rgba(126, 38, 34, 0.09);
}

.hero-featured-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--crimson-soft);
    border: 1px solid rgba(126, 38, 34, 0.22);
    color: var(--crimson);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-featured-meta {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-warm);
}

.hero-featured-meta h2 {
    font-family: var(--font-display);
    font-size: 22px;
    margin: 0 0 4px;
    color: var(--bg-ink);
}

.hero-featured-meta p {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status-published {
    background: rgba(78, 91, 60, 0.13);
    color: #3E4D2D;
}

.status-upcoming {
    background: rgba(194, 147, 64, 0.2);
    color: #8A5D0A;
}

.book-tag-chip {
    display: inline-block;
    font-size: 11.5px;
    color: var(--text-muted);
    background: var(--bg-paper-alt);
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid var(--border-warm);
}

.catalog-featured-card {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 44px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 32px;
}

.catalog-featured-visual {
    background: var(--bg-paper-alt);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catalog-featured-visual img {
    max-height: 360px;
    width: auto;
    filter: drop-shadow(0 20px 30px rgba(27, 21, 18, 0.22));
    cursor: zoom-in;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-pill {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
}

.filter-pill.is-active,
.filter-pill:hover {
    background: var(--crimson);
    border-color: var(--crimson);
    color: #FAF6EE;
}

@media (max-width: 900px) {
    .catalog-featured-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    width: 42px;
    height: 42px;
    cursor: pointer;
    color: var(--bg-ink);
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.22s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--crimson);
    color: #FAF6EE;
    border-color: var(--crimson);
    box-shadow: 0 6px 18px rgba(126, 38, 34, 0.22);
}

.btn-primary:hover {
    background: var(--crimson-dark);
    border-color: var(--crimson-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(126, 38, 34, 0.3);
}

.btn-gold {
    background: var(--gold);
    color: var(--bg-ink);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: #B08230;
    border-color: #B08230;
    color: #140F0D;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--crimson);
    border-color: var(--crimson);
}

.btn-outline:hover {
    background: var(--crimson);
    color: #FAF6EE;
}

.btn-outline-light {
    background: rgba(250, 246, 238, 0.08);
    color: #FAF6EE;
    border-color: rgba(250, 246, 238, 0.45);
}

.btn-outline-light:hover {
    background: #FAF6EE;
    color: var(--bg-ink);
    border-color: #FAF6EE;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13.5px;
}

.btn-lg {
    padding: 14px 30px;
    font-size: 15.5px;
}

/* ==========================================================================
   HERO SECTION — SÁNG SỦA, ẤM ÁP PHONG CÁCH GIẤY DÓ & VĂN CHƯƠNG VIỆT
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 18%, rgba(194, 147, 64, 0.22), transparent 46%),
        radial-gradient(circle at 10% 88%, rgba(126, 38, 34, 0.08), transparent 48%),
        linear-gradient(135deg, #FDFBF6 0%, #F7F0E2 55%, #EFE3CC 100%);
    color: var(--text-main);
    padding: 68px 0 80px;
    border-bottom: 1px solid var(--border-warm);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(126, 38, 34, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: var(--crimson);
}

.eyebrow-dark {
    color: var(--crimson);
}

.eyebrow-dark::before {
    background: var(--crimson);
}

.order-section .eyebrow {
    color: var(--gold);
}

.order-section .eyebrow::before,
.order-section .eyebrow::after {
    background: var(--gold);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.2vw, 50px);
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--bg-ink);
}

.hero-subtitle {
    font-family: var(--font-literary);
    font-size: 17.5px;
    line-height: 1.78;
    color: var(--text-body);
    margin: 0 0 28px;
    max-width: 570px;
}

.hero-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    padding: 16px 0;
    margin-bottom: 28px;
    border-top: 1px solid var(--border-strong);
    border-bottom: 1px solid var(--border-strong);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
}

.hero-meta-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
}

.hero-meta-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--bg-ink);
}

.hero-meta-value.price {
    color: var(--crimson);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-book-stage {
    position: relative;
    padding: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-book-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 147, 64, 0.25) 0%, transparent 70%);
    filter: blur(18px);
    z-index: 0;
}

/* ==========================================================================
   BLOG GRID & ARTICLE READING VIEW
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 16px 36px rgba(27, 21, 18, 0.1);
}

.blog-card-thumb {
    display: block;
    height: 210px;
    overflow: hidden;
    background: var(--bg-paper-alt);
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12.5px;
    color: var(--text-muted);
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 1.38;
    margin: 0 0 10px;
    color: var(--bg-ink);
}

.blog-card-title a {
    color: inherit;
}

.blog-card-title a:hover {
    color: var(--crimson);
}

.blog-card-excerpt {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 18px;
    flex: 1;
}

.article-container {
    max-width: 820px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 34px;
}

.article-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 44px);
    line-height: 1.24;
    color: var(--bg-ink);
    margin: 14px 0 16px;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-cover {
    margin: 0 0 36px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-soft);
}

.article-cover img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.article-body {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
    .article-body {
        padding: 26px 20px;
    }
}

.hero-book-img {
    position: relative;
    z-index: 1;
    max-height: 460px;
    width: auto;
    filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.hero-book-img:hover {
    transform: translateY(-6px) scale(1.015);
}

.seal-stamp {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 7px 11px;
    border: 2px solid #B53B35;
    color: #F8D8CE;
    background: rgba(126, 38, 34, 0.85);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    transform: rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   SECTIONS & ORNAMENTS
   ========================================================================== */

.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--bg-paper-alt);
    border-top: 1px solid var(--border-warm);
    border-bottom: 1px solid var(--border-warm);
}

.section-header {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header.centered .eyebrow {
    justify-content: center;
}

.section-header.centered .eyebrow::after {
    content: '';
    width: 28px;
    height: 1.5px;
    background: currentColor;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.24;
    font-weight: 700;
    color: var(--bg-ink);
    margin: 0 0 14px;
}

.section-lead {
    font-size: 16.5px;
    color: var(--text-muted);
    margin: 0;
}

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 auto 36px;
    color: var(--gold);
    opacity: 0.8;
}

.ornament-divider::before,
.ornament-divider::after {
    content: '';
    height: 1px;
    width: 72px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ==========================================================================
   BOOK OVERVIEW & SPECIFICATIONS
   ========================================================================== */

.book-overview-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
    align-items: start;
}

.book-cover-card {
    background: var(--bg-card);
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-soft);
}

.book-cover-card img {
    width: 100%;
    border-radius: var(--radius-sm);
    cursor: zoom-in;
    border: 1px solid #EFE7D8;
}

.cover-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 24px 0 28px;
}

.spec-item {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.spec-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.spec-value {
    font-weight: 600;
    color: var(--bg-ink);
    font-size: 15px;
}

.book-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ==========================================================================
   LITERARY READER (LỜI TỰA / BỐI CẢNH / CÂU CHUYỆN / QUÁ TRÌNH SÁNG TÁC)
   ========================================================================== */

.literary-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 44px;
    align-items: start;
}

.chapter-nav {
    position: sticky;
    top: 98px;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-soft);
}

.chapter-nav-title {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: var(--text-muted);
    padding: 4px 12px 10px;
    border-bottom: 1px solid var(--border-warm);
    margin-bottom: 10px;
    font-weight: 600;
}

.chapter-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    margin-bottom: 6px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chapter-tab-btn:hover {
    background: var(--bg-paper);
    color: var(--crimson);
}

.chapter-tab-btn.is-active {
    background: var(--crimson);
    color: #FAF6EE;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(126, 38, 34, 0.2);
}

.chapter-num {
    font-family: var(--font-display);
    font-size: 12px;
    opacity: 0.72;
}

.chapter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    box-shadow: var(--shadow-soft);
    display: none;
    animation: fadeUp 0.32s ease;
}

.chapter-card.is-active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chapter-heading {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.8vw, 32px);
    color: var(--crimson);
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-warm);
}

.literary-prose {
    font-family: var(--font-literary);
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-main);
}

.literary-prose p {
    margin: 0 0 18px;
    text-align: justify;
}

.literary-prose p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.2em;
    float: left;
    line-height: 0.85;
    padding-right: 10px;
    padding-top: 5px;
    color: var(--crimson);
    font-weight: 700;
}

.literary-quote {
    margin: 30px 0 8px;
    padding: 24px 28px;
    background: var(--bg-paper);
    border-left: 4px solid var(--crimson);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-literary);
    font-style: italic;
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--bg-ink);
}

.literary-quote p {
    margin: 0 0 12px;
}

.literary-quote footer {
    font-style: normal;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 14px;
    color: var(--crimson);
    margin-top: 8px;
}

.chapter-figure {
    margin: 28px 0 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-warm);
}

.chapter-figure img {
    width: 100%;
    cursor: zoom-in;
}

/* ==========================================================================
   PRESS COVERAGE GRID (BÁO CHÍ ĐƯA TIN)
   ========================================================================== */

.press-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.press-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    color: var(--text-main);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.press-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: var(--shadow-soft);
    color: var(--crimson);
}

.press-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.press-outlet {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--crimson-soft);
    color: var(--crimson);
    font-size: 12.5px;
    font-weight: 600;
}

.press-date {
    font-size: 12.5px;
    color: var(--text-muted);
}

.press-title {
    font-family: var(--font-display);
    font-size: 17.5px;
    line-height: 1.45;
    font-weight: 600;
    margin: 0 0 12px;
    color: inherit;
}

.press-readmore {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   OTHER BOOKS SHELF (HIỆN KHI CÓ TỪ 2 TÁC PHẨM TRỞ LÊN)
   ========================================================================== */

.books-shelf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.shelf-book-card {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.shelf-book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.shelf-book-thumb {
    background: var(--bg-paper-alt);
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
}

.shelf-book-thumb img {
    max-height: 220px;
    width: auto;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2));
}

.shelf-book-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shelf-book-body h3 {
    font-family: var(--font-display);
    font-size: 21px;
    margin: 0 0 6px;
    color: var(--bg-ink);
}

.shelf-book-price {
    font-weight: 700;
    color: var(--crimson);
    margin: 10px 0 16px;
}

/* ==========================================================================
   AUTHOR SECTION (VỀ TÁC GIẢ)
   ========================================================================== */

.author-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
}

.author-frame {
    position: relative;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.author-frame img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
}

.author-manifesto {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-literary);
    font-style: italic;
    font-size: 16px;
    color: var(--bg-ink);
}

.journey-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
    padding: 0;
}

.journey-list li {
    padding: 7px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-main);
}

/* ==========================================================================
   REVIEWS SECTION (CẢM NHẬN ĐỘC GIẢ & VĂN NGHỆ SĨ)
   ========================================================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.review-quote-mark {
    font-family: var(--font-display);
    font-size: 56px;
    line-height: 1;
    color: var(--gold);
    opacity: 0.45;
    margin-bottom: -14px;
}

.review-stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0;
}

.review-body {
    font-family: var(--font-literary);
    font-size: 15.5px;
    line-height: 1.78;
    color: var(--text-main);
    margin: 0 0 24px;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border-warm);
}

.review-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.review-avatar-fallback {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--crimson);
    color: #FAF6EE;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}

.review-name {
    font-weight: 700;
    color: var(--bg-ink);
    font-size: 15.5px;
    display: block;
}

.review-role {
    font-size: 13px;
    color: var(--crimson);
}

/* ==========================================================================
   ORDER BOOK SECTION (ĐẶT MUA SÁCH TRỰC TIẾP)
   ========================================================================== */

.order-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(194, 147, 64, 0.14), transparent 45%),
        linear-gradient(180deg, #241A16 0%, #1B1411 100%);
    color: #FAF6EE;
}

.order-section .section-title {
    color: #FFFDF8;
}

.order-section .section-lead {
    color: rgba(250, 246, 238, 0.78);
}

.order-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.order-summary-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(250, 246, 238, 0.14);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.order-book-preview {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(250, 246, 238, 0.14);
}

.order-book-preview img {
    width: 96px;
    border-radius: 6px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}

.order-calc-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: rgba(250, 246, 238, 0.82);
}

.order-calc-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 16px;
    margin-top: 10px;
    border-top: 1px dashed rgba(250, 246, 238, 0.22);
    font-size: 16px;
    font-weight: 600;
}

.order-calc-total strong {
    font-family: var(--font-display);
    font-size: 26px;
    color: #F2C97D;
}

.order-note-list {
    margin: 22px 0 0;
    padding-left: 18px;
    font-size: 13.5px;
    color: rgba(250, 246, 238, 0.72);
    line-height: 1.75;
}

.form-card {
    background: var(--bg-paper);
    color: var(--text-main);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--bg-ink);
    margin-bottom: 6px;
}

.required-mark {
    color: var(--crimson);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    color: var(--bg-ink);
    font-family: var(--font-ui);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(126, 38, 34, 0.14);
}

textarea.form-control {
    resize: vertical;
    min-height: 92px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: #FFFFFF;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: var(--bg-paper-alt);
    color: var(--bg-ink);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.qty-btn:hover {
    background: var(--border-warm);
}

.qty-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--bg-ink);
    font-family: var(--font-ui);
}

.checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-paper-alt);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-bottom: 16px;
}

.checkbox-card input {
    margin-top: 4px;
    accent-color: var(--crimson);
    width: 17px;
    height: 17px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Alerts & Form Feedback */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 14.5px;
    line-height: 1.6;
}

.alert-success {
    background: #ECF6EE;
    border: 1px solid #A9D5B2;
    color: #1D582A;
}

.alert-error {
    background: #FDF0EF;
    border: 1px solid #E8B1AD;
    color: #871F1A;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--crimson-soft);
    color: var(--crimson);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}

.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-soft);
}

.site-footer {
    background: var(--bg-ink);
    color: rgba(250, 246, 238, 0.72);
    padding: 40px 0;
    border-top: 3px solid var(--crimson);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.footer-links a {
    color: rgba(250, 246, 238, 0.78);
}

.footer-links a:hover {
    color: var(--gold);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(15, 11, 9, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(27, 21, 18, 0.7);
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 980px) {
    .hero-grid,
    .book-overview-grid,
    .literary-layout,
    .author-grid,
    .order-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .press-grid {
        grid-template-columns: 1fr;
    }

    .chapter-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .chapter-nav-title {
        width: 100%;
    }

    .chapter-tab-btn {
        width: auto;
        margin-bottom: 0;
        flex: 1 1 auto;
    }

    .chapter-card {
        padding: 28px 24px;
    }
}

/* ==========================================================================
   LANGUAGE HINT BAR, SHARE BAR, RICH TEXT & MEDIA KIT
   ========================================================================== */

.nav-mobile-cta {
    display: none;
}

.lang-hint-bar {
    background: var(--bg-ink);
    color: #FAF6EE;
    font-size: 13.5px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(194, 147, 64, 0.35);
}

.lang-hint-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.lang-hint-cta {
    color: #F2C97D;
    font-weight: 600;
    white-space: nowrap;
}

.lang-hint-cta:hover {
    color: #FFFFFF;
}

.lang-hint-close {
    background: transparent;
    border: none;
    color: rgba(250, 246, 238, 0.7);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-warm);
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--bg-paper);
    color: var(--text-main);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
}

.share-btn:hover {
    background: var(--crimson);
    border-color: var(--crimson);
    color: #FAF6EE;
}

.rich-h4 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--bg-ink);
    margin: 28px 0 12px;
}

.rich-h5 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--crimson);
    margin: 22px 0 10px;
}

.rich-list {
    margin: 0 0 18px;
    padding-left: 22px;
}

.rich-list li {
    margin-bottom: 8px;
}

.mediakit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-soft);
}

.mediakit-card h2 {
    font-family: var(--font-display);
    font-size: 23px;
    color: var(--bg-ink);
    margin: 0 0 18px;
}

.mediakit-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.mediakit-card-head h2 {
    margin: 0;
}

.mediakit-assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.mediakit-asset {
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-paper);
    display: flex;
    flex-direction: column;
}

.mediakit-asset-thumb {
    height: 190px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-paper-alt);
}

.mediakit-asset-thumb img {
    max-height: 162px;
    width: auto;
    border-radius: 4px;
    cursor: zoom-in;
}

.mediakit-asset-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--bg-ink);
}

.mediakit-biblio-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mediakit-biblio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-paper);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
}

/* ==========================================================================
   MOBILE-FRIENDLY OPTIMIZATION (<= 768px & <= 540px)
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-inner {
        height: 66px;
        gap: 10px;
    }

    .brand-seal {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-sub {
        font-size: 10px;
        letter-spacing: 1.4px;
    }

    .nav-links {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        background: var(--bg-paper);
        border-bottom: 1px solid var(--border-warm);
        flex-direction: column;
        padding: 18px 20px 26px;
        gap: 12px;
        display: none;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
        max-height: calc(100vh - 66px);
        overflow-y: auto;
    }

    .nav-links a {
        font-size: 15.5px;
        padding: 6px 0;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        min-height: 40px;
        min-width: 40px;
    }

    .nav-desktop-cta {
        display: none;
    }

    .nav-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 6px;
    }

    .hero {
        padding: 36px 0 48px;
    }

    .hero-grid {
        gap: 32px;
    }

    .hero-meta-strip {
        gap: 14px 20px;
    }

    .hero-featured-card {
        padding: 20px 18px;
    }

    .section {
        padding: 52px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .spec-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .blog-grid,
    .books-shelf-grid {
        grid-template-columns: 1fr;
    }

    .chapter-nav {
        padding: 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .chapter-nav-title {
        display: none;
    }

    .chapter-tab-btn {
        white-space: nowrap;
        flex: 0 0 auto;
        min-height: 42px;
        padding: 10px 14px;
    }

    .chapter-card {
        padding: 24px 18px;
    }

    .literary-prose p {
        text-align: left;
    }

    .form-control {
        font-size: 16px;
        min-height: 46px;
    }

    .btn {
        min-height: 44px;
    }

    .form-card,
    .contact-form-box,
    .contact-info-card,
    .order-summary-box,
    .mediakit-card {
        padding: 22px 18px;
    }

    .order-book-preview {
        flex-direction: column;
        text-align: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .book-quick-links {
        flex-direction: column;
    }

    .book-quick-links .btn {
        width: 100%;
    }
}
