@import url("partials/style_footer.css");
@import url("partials/style_header.css");
@import url("style_yazardetay.css");

/* ========================================================
   DESIGN TOKENS
   ======================================================== */
:root {
    --cream:         #faf7f2;
    --cream-mid:     #f0ebe0;
    --cream-dark:    #e5ddd0;
    --ink:           #1a1510;
    --ink-mid:       #3a2e24;
    --ink-light:     #5c4f42;
    --burgundy:      #6d214f;
    --burgundy-deep: #4d1638;
    --burgundy-soft: #8a2a65;
    --gold:          #b8966e;
    --gold-light:    #dcc49a;
    --gold-pale:     #f0e4cc;
    --border:        #ddd6c8;
    --border-light:  #eee8dc;
    --muted:         #8a7a6a;
    --white:         #ffffff;

    --font-display:  'Cormorant Garamond', serif;
    --font-serif:    'Playfair Display', serif;
    --font-sans:     'Inter', sans-serif;

    --radius-sm:  4px;
    --radius:     8px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    --shadow-xs:  0 1px 4px rgba(26,21,16,.06);
    --shadow-sm:  0 2px 10px rgba(26,21,16,.08);
    --shadow-md:  0 8px 30px rgba(26,21,16,.10);
    --shadow-lg:  0 20px 60px rgba(26,21,16,.14);
    --shadow-xl:  0 40px 100px rgba(26,21,16,.18);

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy aliases (keep for backward compat) */
    --primary-color: var(--burgundy);
    --accent-color:  var(--burgundy-soft);
    --text-color:    var(--ink-mid);
    --light-bg:      var(--cream-mid);
}

/* ========================================================
   RESET & BASE
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--ink-mid);
    line-height: 1.7;
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========================================================
   LAYOUT
   ======================================================== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

section.container,
.section { padding-top: 80px; padding-bottom: 80px; }
.bg-light { background-color: var(--cream-mid); }

/* ========================================================
   TYPOGRAPHY — SECTION TITLES
   ======================================================== */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.01em;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
    margin: 14px auto 0;
    border-radius: 2px;
}

.section-title.left-align { text-align: left; }
.section-title.left-align::after { margin-left: 0; }

/* ========================================================
   PAGE HEADER BANNER
   ======================================================== */
.page-header-bg {
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,21,16,.35) 0%, rgba(26,21,16,.75) 100%);
}

.page-header-bg .container {
    position: relative;
    z-index: 2;
}

.page-header-bg h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    line-height: 1.15;
}

.page-header-bg p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    font-weight: 300;
    max-width: 560px;
    letter-spacing: 0.02em;
}

/* ========================================================
   HERO (ANASAYFA)
   ======================================================== */
.hero-slider {
    min-height: 88vh;
    background-color: var(--ink);
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        125deg,
        rgba(26,21,16,.85) 0%,
        rgba(109,33,79,.55) 50%,
        rgba(26,21,16,.7) 100%
    );
    z-index: 1;
}

/* Grain texture overlay */
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.35;
    z-index: 2;
    pointer-events: none;
}

.slider-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    padding: 0 24px;
    margin-left: calc((100vw - 1240px) / 2);
    margin-right: 24px;
    animation: heroFadeUp .9s ease both;
}

@media (max-width: 1288px) {
    .slider-content { margin-left: 48px; }
}
@media (max-width: 768px) {
    .slider-content { margin-left: 24px; }
}

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

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    border-left: 2px solid var(--gold);
    padding-left: 12px;
}

.slider-content h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 24px;
}

.slider-content h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.slider-content p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================================
   BUTTONS
   ======================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--burgundy);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .04em;
    border: 2px solid var(--burgundy);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(109,33,79,.35);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .04em;
    border: 2px solid rgba(255,255,255,.5);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}

/* Legacy btn-buy — keep class name, new styles */
.btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--burgundy);
    color: var(--white);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .03em;
    border: 2px solid var(--burgundy);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    min-width: 0;
}

.btn-buy:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-1px);
}

.btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-dark);
    color: var(--muted);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: .82rem;
    font-weight: 500;
    cursor: not-allowed;
    border: 2px solid var(--border);
}

.btn-large {
    padding: 15px 36px !important;
    font-size: .95rem !important;
}

/* ========================================================
   BOOK CARDS
   ======================================================== */
.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

#new-releases-grid {
    grid-template-columns: repeat(4, 1fr);
}

.book-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    position: relative;
}

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

.book-card > a:first-child {
    overflow: hidden;
    display: block;
}

.book-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    background-color: var(--cream-mid);
    transition: transform .5s ease;
}

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

.book-info {
    padding: 18px 18px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-light);
}

.book-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.4;
}

.book-title a { color: inherit; }
.book-title a:hover { color: var(--burgundy); }

.book-author {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 400;
}

.book-desc {
    font-size: .78rem;
    color: var(--ink-light);
    line-height: 1.6;
    margin-bottom: 12px;
    flex-grow: 1;
}

.book-price {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--burgundy);
    margin-top: auto;
    margin-bottom: 12px;
}

.out-of-stock-text {
    color: #c0392b !important;
    font-size: 1rem !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ========================================================
   AUTHOR CARDS
   ======================================================== */
.author-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.author-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 14px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    display: block;
    text-decoration: none;
    color: inherit;
}

.author-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--burgundy));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.author-card:hover::before { transform: scaleX(1); }

.author-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 2px solid var(--border);
    transition: border-color .3s;
}

.author-card:hover .author-img-wrapper { border-color: var(--gold); }

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

.author-name {
    font-family: var(--font-serif);
    font-size: .9rem;
    color: var(--burgundy);
    margin-bottom: 4px;
    line-height: 1.3;
}

.author-book-count {
    font-size: .7rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: .03em;
}

.hover-icon {
    display: none;
}

/* Legacy class names used in JS */
.author-bio { display: none; }
.book-count { font-size: .7rem; color: var(--muted); }

/* ========================================================
   ALPHABET FILTER
   ======================================================== */
.alphabet-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 36px;
    justify-content: center;
}

.alpha-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-light);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.alpha-btn:hover {
    background: var(--cream-mid);
    border-color: var(--gold);
    color: var(--burgundy);
}

.alpha-btn.active, .alpha-btn.all-btn.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

.all-btn { width: auto; padding: 0 14px; font-size: .78rem; }

/* ========================================================
   FEATURES SECTION
   ======================================================== */
.features-section {
    background-color: var(--ink);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.features-section .section-title {
    color: var(--white);
    margin-bottom: 3rem;
}

.features-section .section-title::after {
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin-top: 0;
}

.feature-box {
    padding: 32px 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(184,150,110,.08), transparent);
    opacity: 0;
    transition: opacity .35s;
}

.feature-box:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(184,150,110,.3);
    transform: translateY(-4px);
}

.feature-box:hover::before { opacity: 1; }

.feature-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(184,150,110,.12);
    border: 1px solid rgba(184,150,110,.25);
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: .01em;
}

.feature-desc {
    font-size: .85rem;
    color: var(--ink-light);
    line-height: 1.75;
}

/* Inside dark section, override to white */
.features-section .feature-title { color: var(--white); }
.features-section .feature-desc  { color: rgba(255,255,255,.55); }

/* ========================================================
   LIBRARY PAGE LAYOUT
   ======================================================== */
.page-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.sidebar {
    flex: 0 0 260px;
    background: var(--white);
    padding: 28px 24px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 90px;
}

.sidebar h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar h3 i { color: var(--gold); font-size: .9rem; }

.main-content { flex: 1; min-width: 0; }

.filter-group {
    margin-bottom: 24px;
}

.filter-group label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.filter-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--ink-mid);
    font-family: var(--font-sans);
    font-size: .88rem;
    cursor: pointer;
    transition: border-color .2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a7a6a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--burgundy);
}

/* ========================================================
   PAGINATION
   ======================================================== */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--ink-mid);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
    background: var(--cream);
}

.page-btn.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(109,33,79,.3);
}

/* ========================================================
   BOOK DETAIL PAGE
   ======================================================== */
.book-detail-container { }

.detail-wrapper {
    display: flex;
    gap: 56px;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    align-items: flex-start;
}

.detail-gallery {
    flex: 0 0 360px;
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

.main-image-container {
    width: 100%;
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--cream-mid);
}

.main-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity .3s;
}

.thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: .55;
    border: 2px solid transparent;
    transition: all .2s;
}

.thumb:hover { opacity: .85; }
.thumb.active { opacity: 1; border-color: var(--burgundy); }

.detail-info { flex: 1; }

.detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.detail-author {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 24px;
    font-weight: 400;
}

.detail-author a {
    color: var(--burgundy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: var(--ink-light);
    font-weight: 500;
}

.detail-meta i {
    color: var(--gold);
    font-size: .8rem;
}

.detail-price {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 24px;
    letter-spacing: -.01em;
}

.detail-desc {
    font-size: .95rem;
    line-height: 1.85;
    color: var(--ink-light);
    margin-bottom: 32px;
    font-family: var(--font-sans);
}

/* ========================================================
   SHARE BUTTONS
   ======================================================== */
.share-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.share-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.share-icon-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-twitter  { background: #1da1f2; }
.share-copy     { background: var(--ink-light); cursor: pointer; }

/* ========================================================
   ABOUT PAGE
   ======================================================== */
.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 72px;
    align-items: start;
    margin-bottom: 72px;
}

.about-text .section-title { text-align: left; }
.about-text .section-title::after { margin-left: 0; }

.about-text p {
    font-size: .95rem;
    line-height: 1.9;
    color: var(--ink-light);
    margin-bottom: 20px;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 90px;
}

.about-img img { width: 100%; height: 500px; object-fit: cover; }

/* ========================================================
   CONTACT PAGE
   ======================================================== */
.contact-wrapper {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

.contact-info {
    flex: 0 0 340px;
    background: var(--white);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.contact-info > p {
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: .9rem;
    color: var(--ink-light);
    line-height: 1.65;
}

.info-item i {
    color: var(--gold);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.info-item a {
    color: var(--burgundy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.map-container {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    min-height: 480px;
}

.map-container iframe {
    border-radius: 0 !important;
    min-height: 480px;
}

/* ========================================================
   SEARCH RESULTS PAGE
   ======================================================== */
#authors-results-wrapper .book-grid,
#books-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* ========================================================
   SCROLL REVEAL ANIMATION
   ======================================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1100px) {
    .book-grid { grid-template-columns: repeat(3, 1fr); }
    #new-releases-grid { grid-template-columns: repeat(3, 1fr); }
    .author-grid { grid-template-columns: repeat(5, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content-wrapper { grid-template-columns: 1fr; }
    .about-img { position: static; }
}

@media (max-width: 900px) {
    .detail-wrapper { flex-direction: column; padding: 28px; }
    .detail-gallery { position: static; width: 100%; max-width: 400px; margin: 0 auto; }
    .contact-wrapper { flex-direction: column; }
    .contact-info { flex: none; width: 100%; }
    .map-container { width: 100%; }
}

@media (max-width: 768px) {
    .book-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    #new-releases-grid { grid-template-columns: repeat(2, 1fr); }
    .author-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .page-layout { flex-direction: column; }
    .sidebar { position: static; width: 100%; flex: none; }
    .hero-slider { min-height: 70vh; }
    .slider-content h1 { font-size: 2.6rem; }
}

@media (max-width: 540px) {
    .book-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .author-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .book-img { height: 220px; }
}
