/* ==========================================================================
   Günçe Yayınevi - Site stili
   Editöryel, kitap kokan bir görsel dil: krem zemin, mürekkep lacivert,
   serif başlıklar.
   ========================================================================== */

:root {
    --paper: #FAF3E3;
    --paper-deep: #F0E4C8;
    --ink: #1E3A45;
    --ink-soft: #5B7A85;
    --accent: #1FA6C9;
    --accent-dark: #15809E;
    --gold: #C8A24B;
    --line: #E4D9BC;
    --white: #ffffff;
    --shadow: 0 18px 40px -22px rgba(30, 58, 69, 0.45);
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background:
        radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 60%),
        radial-gradient(900px 420px at -10% 20%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 55%),
        var(--paper);
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
    width: min(1140px, 92%);
    margin-inline: auto;
}

/* ---------- Üst bar ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.9rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--ink);
}

.brand-logo { height: 52px; width: auto; }

.brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--paper);
    background: radial-gradient(circle at 30% 25%, #c74f3c, var(--accent) 60%, var(--accent-dark));
    box-shadow: var(--shadow);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
    font-family: var(--serif);
    font-size: 1.5rem;
    letter-spacing: 0.4px;
}
.brand-text small { color: var(--ink-soft); font-size: 0.78rem; }

.main-nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list a {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.4rem 0.1rem;
    position: relative;
}

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

.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after,
.nav-list li.active a::after { width: 100%; }
.nav-list li.active a { color: var(--accent); }

/* ---------- Alt menü (dropdown) ---------- */
.nav-item { position: relative; }

.nav-item.has-children > a .caret {
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 0.72em;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-item.has-children:hover > a .caret,
.nav-item.has-children.open > a .caret { transform: rotate(180deg); }

.nav-item .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 60;
}

.nav-item.has-children:hover > .dropdown,
.nav-item.has-children.open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item .dropdown a {
    display: block;
    padding: 0.55rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    white-space: nowrap;
}

.nav-item .dropdown a::after { display: none; }

.nav-item .dropdown a:hover {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.nav-item .dropdown li.active a { color: var(--accent); font-weight: 700; }

/* Mobilde dropdown her zaman açık (tıklamayla aç/kapa) */
@media (max-width: 860px) {
    .nav-item { position: static; }

    .nav-item .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        border-left: 2px solid var(--line);
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        display: none;
        padding: 0 0 0 0.6rem;
        margin: 0;
    }

    .nav-item.has-children.open > .dropdown { display: block; }

    .nav-item .dropdown a { white-space: normal; }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: 6px;
    cursor: pointer;
}
.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Genel bölümler ---------- */
.section {
    padding-block: 3.5rem;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.6rem;
}

.section-head h2 {
    font-family: var(--serif);
    font-size: 2.1rem;
    font-weight: 600;
    margin: 0;
}

.section-head .link-more {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--hero-text);
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--hero-bg-start) 92%, transparent), color-mix(in srgb, var(--hero-bg-end) 82%, transparent)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 14px);
    padding-block: 5rem 4.2rem;
}

.hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at center, color-mix(in srgb, var(--gold) 35%, transparent), transparent 65%);
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; max-width: 680px; }

.hero .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.hero p {
    font-size: 1.08rem;
    color: color-mix(in srgb, var(--hero-text) 85%, transparent);
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent-dark) 60%, transparent);
}

.btn-outline {
    border-color: var(--line);
    color: var(--ink-soft);
    background: var(--white);
}
.btn-outline:hover {
    background: color-mix(in srgb, var(--accent) 8%, var(--white));
    color: var(--accent);
    border-color: var(--accent);
}

/* Hero alanı içindeki butonlar hero metin rengini kullanır */
.hero .btn-outline,
.page-hero .btn-outline {
    border-color: color-mix(in srgb, var(--hero-text) 50%, transparent);
    color: var(--hero-text);
}
.hero .btn-outline:hover,
.page-hero .btn-outline:hover {
    background: color-mix(in srgb, var(--hero-text) 12%, transparent);
    color: var(--hero-text);
}

/* ---------- Kitap kartları ---------- */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.6rem;
}

.book-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 6px 16px -14px color-mix(in srgb, var(--ink) 35%, transparent);
}

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

.book-cover {
    aspect-ratio: 3 / 4.2;
    background:
        linear-gradient(150deg, color-mix(in srgb, var(--accent) 8%, transparent), color-mix(in srgb, var(--ink) 10%, transparent)),
        var(--paper-deep);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-cover .cover-fallback {
    font-family: var(--serif);
    font-size: 3.4rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0.85;
    padding: 0 0.6rem;
    text-align: center;
    line-height: 1.1;
}

.book-body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.book-body .category-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--gold);
    font-weight: 700;
}

.book-body h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.15;
}

.book-body .author {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.book-body .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px dashed var(--line);
}

.book-body .price {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 1.05rem;
}

.book-body .year {
    color: var(--ink-soft);
    font-size: 0.85rem;
}

/* ---------- Kitaplar sayfası / filtreler ---------- */
.page-hero {
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--hero-bg-start) 90%, transparent), color-mix(in srgb, var(--hero-bg-end) 78%, transparent)),
        var(--hero-bg-start);
    color: var(--hero-text);
    padding-block: 3rem 2.6rem;
}

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 0.4rem;
}

.page-hero p { color: color-mix(in srgb, var(--hero-text) 82%, transparent); margin: 0; }

.filter-bar {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: end;
    margin-bottom: 2rem;
    box-shadow: 0 10px 26px -20px color-mix(in srgb, var(--ink) 40%, transparent);
}

.filter-bar .field { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-bar label { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.8px; }

.filter-bar select,
.filter-bar input[type="text"] {
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    min-width: 170px;
}

.filter-bar select:focus,
.filter-bar input[type="text"]:focus {
    outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
    outline-offset: 1px;
}

/* ---------- Kitap detay ---------- */
.book-detail {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.book-detail .detail-cover {
    align-self: start;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--paper-deep);
    aspect-ratio: 3 / 4.2;
    display: grid;
    place-items: center;
}

.book-detail .detail-cover img { width: 100%; height: 100%; object-fit: cover; }

.detail-info h1 {
    font-family: var(--serif);
    font-size: 2.3rem;
    margin: 0.2rem 0 0.2rem;
    line-height: 1.1;
}

.detail-info .detail-author { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0.8rem; }

.detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
    margin: 1.2rem 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem 1.2rem;
}

.detail-meta .meta-item .k {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    font-weight: 700;
}
.detail-meta .meta-item .v { font-weight: 600; }

.detail-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0.6rem 0 1.4rem;
}

.detail-desc { color: var(--ink-soft); max-width: 72ch; }

.detail-desc h2 {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ink);
}

/* ---------- Sayfa içeriği ---------- */
.content-page {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2.2rem 2.4rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.content-page h1 {
    font-family: var(--serif);
    font-size: 2.3rem;
    margin: 0 0 1rem;
}

.content-page h2 { font-family: var(--serif); font-size: 1.6rem; }
.content-page p, .content-page ul, .content-page ol { color: var(--ink-soft); }
.content-page ul, .content-page ol { padding-left: 1.2rem; }

/* ---------- Makale listesi ---------- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.article-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.3rem 1.5rem;
    box-shadow: 0 6px 16px -14px color-mix(in srgb, var(--ink) 35%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.article-item h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.article-item h3 a { color: var(--ink); }
.article-item h3 a:hover { color: var(--accent); }

.article-excerpt {
    color: var(--ink-soft);
    font-size: 0.96rem;
    margin-bottom: 0.7rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
    border-top: 1px dashed var(--line);
    padding-top: 0.7rem;
}

.article-date {
    color: var(--ink-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Boş durum ---------- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ink-soft);
    border: 1px dashed var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
}
.empty-state .big { font-size: 2.6rem; display: block; margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: color-mix(in srgb, var(--hero-text) 78%, transparent);
    margin-top: 3.5rem;
    padding-top: 2.8rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.site-footer h3 {
    font-family: var(--serif);
    color: var(--hero-text);
    font-size: 1.25rem;
    margin: 0 0 0.8rem;
}

.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: color-mix(in srgb, var(--hero-text) 78%, transparent); }
.site-footer a:hover { color: var(--gold); }

.footer-nav ul, .social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
    background: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.social-icon[data-icon="instagram"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2c3.2 0 3.6 0 4.9.1 1.2.1 1.8.2 2.2.4.6.2 1 .5 1.4.9.4.4.7.8.9 1.4.2.4.4 1 .4 2.2.1 1.3.1 1.7.1 4.9s0 3.6-.1 4.9c-.1 1.2-.2 1.8-.4 2.2-.2.6-.5 1-.9 1.4-.4.4-.8.7-1.4.9-.4.2-1 .4-2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 3.2h-2.2l12.9 17.4z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.9 1.2h3.7l-8.1 9.3L24 22.8h-7.5l-5.9-7.7-6.7 7.7H.2l8.7-9.9L0 1.2h7.7l5.3 7 6-7zm-1.3 19.4h2L6.9 3.2h-2.2l12.9 17.4z'/%3E%3C/svg%3E"); }

.social-icon[data-icon="facebook"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.7 4.53-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.26h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.7 4.53-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.51c-1.49 0-1.96.93-1.96 1.89v2.26h3.33l-.53 3.49h-2.8V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E"); }

.social-icon[data-icon="youtube"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.3 31.3 0 0 0 0 12a31.3 31.3 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.3 31.3 0 0 0 24 12a31.3 31.3 0 0 0-.5-5.8zM9.5 15.5v-7l6.5 3.5-6.5 3.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.5 12 3.5 12 3.5s-7.5 0-9.4.6A3 3 0 0 0 .5 6.2 31.3 31.3 0 0 0 0 12a31.3 31.3 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.6 9.4.6 9.4.6s7.5 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.3 31.3 0 0 0 24 12a31.3 31.3 0 0 0-.5-5.8zM9.5 15.5v-7l6.5 3.5-6.5 3.5z'/%3E%3C/svg%3E"); }

.footer-bottom {
    border-top: 1px solid color-mix(in srgb, var(--hero-text) 15%, transparent);
    padding-block: 1.1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.footer-bottom p { margin: 0; }
.admin-link a { color: color-mix(in srgb, var(--hero-text) 60%, transparent); }

/* ---------- Animasyonlar ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: revealUp 0.6s ease forwards;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Duyarlı tasarım ---------- */
@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 0.6rem 5%;
        box-shadow: var(--shadow);
        gap: 0.2rem;
    }

    .nav-list.open { display: flex; }
    .nav-list a { display: block; padding: 0.65rem 0.2rem; }

    .book-detail { grid-template-columns: 1fr; }
    .book-detail .detail-cover { max-width: 260px; }

    .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 520px) {
    .section { padding-block: 2.4rem; }
    .hero { padding-block: 3.4rem 3rem; }
    .book-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
    .book-cover .cover-fallback { font-size: 2.2rem; }
    .content-page { padding: 1.4rem 1.2rem; }
    .filter-bar select, .filter-bar input[type="text"] { min-width: 100%; }
}
