body{
    background: #eadcc7;
}


#bookPage {
    position: relative;
        z-index: 1;
    background: linear-gradient(180deg, #eadcc7 0%, #dfceb5 100%);
}

#bookPage:after {
    content: "";
    position: absolute;
    top: 99.9%;
    inset-inline-start: 0;
    width: 100%;
    height: 40px;

    -webkit-mask-image: url("../images/h1-hero-shapes.svg");
    mask-image: url("../images/h1-hero-shapes.svg");

    background: linear-gradient(180deg, #eadcc7 0%, #dfceb5 100%);

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center bottom;
    mask-position: center bottom;

    -webkit-mask-size: cover;
    mask-size: cover;

    z-index: 2;

    rotate: 180deg;
}

/* ── BOOK PAGE ── */
.book-page {
    --book-bg: #f1e6d4;
    --book-bg-soft: #e2d3bd;
    --book-border: rgba(92, 52, 20, 0.24);
    --book-gold: #8a551f;
    --book-gold-dark: #4f2b12;
    --book-gold-light: #a87333;
    --book-gold-fade: rgba(92, 52, 20, 0.1);
    --book-ink: #1a0f09;
    --book-muted: #5f4630;
    --book-text: #342315;
    --book-player-surface: #fffaf2;
    --book-player-surface-strong: #f5ead6;
    --book-player-shadow: rgba(39, 21, 9, 0.24);
    --book-player-overlay: rgba(39, 21, 9, 0.24);
    --book-serif: 'Cormorant Garamond', serif;
    --book-sans: 'Outfit', sans-serif;
    background: var(--book-bg);
    color: var(--book-text);
    font-family: var(--book-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin: 0;
}

.book-page,
.book-page * {
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.book-page a {
    color: var(--book-gold);
    text-decoration: none;
    transition: color 0.22s ease;
    height: 100%;
}

.book-collection-card-media-wrap {
    background: url(../images/book-cover-bg.webp);
    padding: 14px 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    /* margin-top: 12px; */
}

.book-page a:hover {
    color: var(--book-gold-dark);
}

.book-banner {
    position: relative;
    overflow: hidden;
    background: #1f1710;
    padding: 0;
}

.book-banner.is-fallback-banner {
    min-height: 320px;
    background:
        radial-gradient(circle at top right, rgba(184, 144, 42, 0.22), transparent 25%),
        linear-gradient(135deg, #2d2117 0%, #1d140e 55%, #24170f 100%);
}

.book-banner-image {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.book-banner-overlay {
    position: absolute;
    inset: 0;
    background: #0000007a;
}

.book-banner-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    max-width: 1500px;
    margin: 0 auto;
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.book-banner-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 247, 235, 0.72);
}

.book-banner-breadcrumb a,
.book-banner-breadcrumb span {
    color: inherit;
}

.book-banner-breadcrumb a:hover {
    color: #fff7eb;
}

.book-banner-title {
    margin: 0;
    font-family: var(--book-serif);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 300;
    line-height: 1.04;
    color: #fff7eb;
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
}

.book-intro {
    max-width: 1500px;
    margin: 0 auto;
    padding: 68px 48px 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 80px;
    align-items: start;
}

.book-kicker {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--book-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.book-kicker::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--book-gold);
}

.book-intro h1 {
    font-family: var(--book-serif);
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    font-weight: 300;
    line-height: 1;
    color: var(--book-ink);
    margin: 0 0 6px;
}

.book-intro h1 em {
    font-style: italic;
    color: var(--book-gold);
}

.book-author {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--book-muted);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.7;
}

.book-desc {
    font-size: 1rem;
    color: var(--book-text);
    line-height: 1.85;
    margin: 0 0 8px;
    max-width: fit-content !important;
    border-left: 3px solid var(--book-gold);
    padding-left: 18px;
    font-weight: 400;
}

.book-rule {
    width: 48px;
    height: 1px;
    background: var(--book-gold);
    margin: 28px 0;
    opacity: 0.5;
}

.book-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.book-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 247, 232, 0.52);
    border: 1px solid var(--book-border);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.45;
    color: var(--book-gold-dark);
}

.book-chip svg {
    width: 10px;
    height: 10px;
    fill: var(--book-gold);
    flex-shrink: 0;
}

.book-meta {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    border: 1px solid var(--book-border);
    width: 400px;
    overflow: hidden;
    justify-content: space-between;
}

.book-meta-item {
    padding: 14px 22px;
    border-right: 1px solid var(--book-border);
    text-align: center;
    width: 34%;
}

.book-meta-item:last-child {
    border-right: none;
}

.book-meta-val {
    font-family: var(--book-serif);
    font-size: 2rem;
    color: var(--book-gold);
    font-weight: 600;
    line-height: 1;
}

.book-meta-key {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--book-muted);
    margin-top: 6px;
    font-weight: 400;
}

.book-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--book-gold), var(--book-gold-dark));
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.3;
    transition: transform 0.22s ease, background 0.22s ease;
    border: none;
    cursor: pointer;
}

.book-download-btn:hover {
    background: var(--book-gold-dark);
    transform: translateY(-2px);
}

.book-download-btn svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.book-cover-col {
    position: relative;
    padding-top: 4px;
}

.book-cover-frame {
    position: relative;
}

.book-cover-frame::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(154, 111, 46, 0.6);
    z-index: 0;
}

.book-cover-frame::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 50%;
    height: 50%;
    border: 1px solid rgba(154, 111, 46, 0.6);
    z-index: 0;
}

.book-cover-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.13);
}

.book-cover-caption {
    margin-top: 25px;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--book-muted);
    font-weight: 400;
    line-height: 1.6;
}

.book-divider {
    max-width: 1500px;
    margin: -4px auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    overflow: hidden;
}

.book-divider .line {
    flex: 0 0 100%;
    height: 3px;
    background: rgb(184 144 42);
    border-radius: 95px;
}

.book-divider .diamond {
    width: 7px;
    height: 7px;
    background: var(--book-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.book-stories-section {
    padding: 60px 0 100px;
    background:
        radial-gradient(circle at 12% 0%, rgba(138, 85, 31, 0.12), transparent 30%),
        linear-gradient(180deg, #e5d5bd 0%, #d8c5aa 100%);
    border-top: 1px solid var(--book-border);
}

.book-collection-section {
    padding: 50px 0 50px;
    background: linear-gradient(180deg, #eadcc7 0%, #dfceb5 100%);
}

.inner-head {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 0;
}

.book-collection-shell {
    max-width: 1400px;
    margin: 0 auto;
    width: 90%;
}

.book-collection-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0% 1% 34px;
}

.book-collection-header h2 {
    margin: 0;
    font-family: var(--book-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--book-ink);
    line-height: 1.15;
}

.book-collection-header h2 em {
    color: var(--book-gold);
    font-style: italic;
}

.book-collection-count {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5c4728;
    font-weight: 600;
}

.book-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 1%;
}

.book-collection-card {
    background: rgba(255, 248, 235, 0.9);
    border: none;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(84, 58, 22, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.book-collection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(84, 58, 22, 0.12);
    border-color: rgba(154, 111, 46, 0.24);
}

.book-collection-card-media {
    display: block;
    /* aspect-ratio: 4 / 4.8; */
    /* background: linear-gradient(160deg, #f2e3cc 0%, #e4c694 100%); */
    background: transparent;
    overflow: hidden;
    width: 76%;
    margin: auto;
    height: auto;
    margin: 14px auto;
}

.book-collection-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.book-collection-card-placeholder {
    width: 208px;
    height: 328px;
    display: flex;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    font-family: var(--book-serif);
    font-size: 1.6rem;
    line-height: 1.2;
    color: rgba(84, 58, 22, 0.82);
}

.book-collection-card-body {
    padding: 20px 20px 22px;
}

.book-collection-card-body h3 {
    margin: 0 0 16px;
    font-family: var(--book-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #6b1a1a;
    line-height: 1.18;
    min-height: 60px;
}

.book-collection-card-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

/* ── Search & Filter Bar ─────────────────────────────────────── */

.bsf-bar-wrap {
    /* max-width: calc(1400px - 1%); */
    /* margin: 0 auto; */
    /* padding: 1rem 0rem; */
    /* display: flex; */
    /* width: 100%; */
    /* flex-direction: row-reverse; */
    /* justify-content: space-between; */
}

.bsf-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bsf-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 220px;
    border: 1px solid #c8b89a;
    border-radius: 6px;
    padding: 0 14px;
    background: #fff;
    height: 42px;
}

.bsf-search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #6a6a6a;
    background: transparent;
    font-weight: 400;
}

.bsf-search-box i {
    color: #b5a48a;
    font-size: 15px;
}

.bsf-sort select {
    border: 1px solid #c8b89a;
    border-radius: 6px;
    padding: 0 12px;
    height: 42px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    background: transparent;
    font-weight: 400;
    color: #6a6a6a;
    background: #fff;
    outline: none;
    cursor: pointer;
}

.bsf-view-btns {
    display: flex;
    border: 1px solid #c8b89a;
    border-radius: 6px;
    overflow: hidden;
}

.bsf-view-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    cursor: pointer;
    color: #6b1a1a;
    font-size: 16px;
}

.bsf-view-btn.active,
.bsf-view-btn:hover {
    background: #f5ede0;
    color: #6b1a1a;
}

.bsf-view-btn+.bsf-view-btn {
    border-left: 1px solid #c8b89a;
}

.bsf-results-row {
    display: flex;
    font-size: 14px;
    color: #8a551f;
    align-items: center;
}

.bsf-empty-msg {
    color: #c0a070;
    margin-left: 10px;
}

/* ── Grid view (default) ─────────────────────────────────────── */
/* your existing .book-collection-grid styles remain untouched    */

/* ── List view ───────────────────────────────────────────────── */
.book-collection-grid.list-view {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    margin: 0% !important;
}

/* Each card becomes a horizontal row */
.book-collection-grid.list-view .book-collection-card {
    display: flex;
    flex-direction: row;
    align-items: self-start;
    gap: 20px;
    border: 1px solid #e0d5c5;
    border-radius: 10px;
    background: #fff;
    padding: 12px 12px;
    width: 48%;
    box-sizing: border-box;
    margin: 1%;
}

/* Left: fixed-width thumbnail */
.book-collection-grid.list-view .book-collection-card-media-wrap {
    flex-shrink: 0;
    width: fit-content;
    height: fit-content;
    overflow: hidden;
}

.book-collection-grid.list-view .book-collection-card-media,
.book-collection-grid.list-view .book-collection-card-media-wrap>div {
    display: block;
    width: 208px;
    height: 300px;
    aspect-ratio: auto;
}

.book-collection-grid.list-view .book-collection-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.book-collection-grid.list-view .book-collection-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-align: center;
    padding: 6px;
    box-sizing: border-box;
}

/* Right: title + link */
.book-collection-grid.list-view .book-collection-card-body {
    flex: 1;
    display: inline-block;
    flex-direction: column;
    gap: 8px;
}

.book-collection-grid.list-view .book-collection-card-body h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c2c2a;
    margin: 0;
}

.book-collection-grid.list-view .book-collection-card-link {
    font-size: 13px;
    color: #8a6a3a;
    text-decoration: none;
    align-items: center;
    gap: 5px;
}

.book-collection-grid.list-view .book-collection-card-link:hover {
    color: #6b1a1a;
    text-decoration: underline;
}

.bsf-reset-btn {
    background: var(--maroon) !important;
    color: #fff !important;
    padding: 0.85rem 1.2rem !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    transition: background 0.2s !important;
    outline: none;
    border: none;
}

/* ════════════════════════════════════════════════════════════
   LEFT SIDEBAR FILTER
   ════════════════════════════════════════════════════════════ */

/* Outer wrapper: sidebar left + main content right */
.book-layout-wrap {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
}

/* ── Sidebar ──────────────────────────────────────────────── */

.book-filter-sidebar {
    flex-shrink: 0;
    width: 220px;
    background: #fff;
    border-top: 5px solid #6b1a1a;
    border-radius: 10px;
    padding: 0;
    position: sticky;
    top: 110px;
    overflow: hidden;
}

/* ── Filter group ─────────────────────────────────────────── */
.bfs-group {
    border-bottom: 1px solid #ede4d6;
}

.bfs-group:last-child {
    border-bottom: none;
}

/* Toggle button (group header) */
.bfs-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: #8a551f;
    letter-spacing: 0.01em;
    text-align: left;
}

.bfs-group-toggle:hover {
    background: #fdf7f0;
}

/* Chevron icon rotates when collapsed */
.bfs-chevron {
    font-size: 11px;
    color: #a08060;
    transition: transform 0.2s ease;
}

/* Option list */
.bfs-option-list {
    list-style: none;
    margin: 0;
    padding: 4px 0 12px;
}

.bfs-option-list li {
    padding: 0 16px;
}

/* Each label row */
.bfs-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    cursor: pointer;
    font-size: 13.5px;
    color: #444;
    user-select: none;
    position: relative;
}

.bfs-option:hover .bfs-option-label {
    color: #6b1a1a;
}

/* Hide native checkbox */
.bfs-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox box */
.bfs-checkbox-box {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    border: 1.5px solid #c8b89a;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
}

/* Checked state */
.bfs-checkbox:checked+.bfs-checkbox-box {
    background: #6b1a1a;
    border-color: #6b1a1a;
}

/* Checkmark via pseudo-element */
.bfs-checkbox:checked+.bfs-checkbox-box::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

/* Focus ring for accessibility */
.bfs-checkbox:focus-visible+.bfs-checkbox-box {
    outline: 2px solid #6b1a1a;
    outline-offset: 2px;
}

/* Label text */
.bfs-option-label {
    flex: 1;
    line-height: 1.3;
    color: #333;
    font-weight: 400;
    transition: color 0.15s;
}

/* Count badge */
.bfs-option-count {
    font-size: 12px;
    color: #a08060;
    flex-shrink: 0;
    font-weight: 600;
}

/* ── Main content area (right of sidebar) ─────────────────── */
.book-collection-main {
    flex: 1;
    min-width: 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {

    .book-collection-main {
        min-width: 100%;
    }

    .book-layout-wrap {
        flex-direction: column;
    }

    .book-filter-sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 500px) {

    .banner-btn-solid,
    .banner-btn-outline {
        padding: 0.25rem 0.4rem !important;
    }

    .book-collection-grid.list-view .book-collection-card {
        flex-direction: column;
    }

    .book-collection-grid.list-view .book-collection-card-media,
    .book-collection-grid.list-view .book-collection-card-media-wrap>div {
        width: 100%;
        height: fit-content;
    }

    .book-collection-grid.list-view .book-collection-card-media-wrap {
        width: 100%;
        height: fit-content;
    }
}

.bhCard {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    display: flex;
    align-items: stretch;
}

.bhImageBox,
.bhImageLink {
    display: block;
    width: 50%;
    overflow: hidden;
}

.bhImageLink {
    width: 100%;
}

.bhImageLink img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bhImagePlaceholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0ece3;
    color: #b8902a;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}

.bhDetails {
    width: 50%;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bhTitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 140%;
    color: #6b1a1a;
    margin: 0px 0 8px;
    text-transform: capitalize;
}

.book-collection-grid.list-view .bhTitle {
    font-size: 34px;
}

.bhDescription {
    font-size: 16px;
    color: #7A7468;
    line-height: 140%;
    font-weight: 300;
    text-align: left;
    margin-bottom: 15px;
    display: none;
}

.bi-hero-frame {
    background: url(../images/book-cover-bg2.webp);
    padding: 25.5px 23.5px !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.bhImageLink {
    background: url(../images/book-cover-bg.webp);
    padding: 15px 15.5px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.book-collection-grid.list-view .bhImageLink {
    background: url(../images/book-cover-bg.webp);
    padding: 19px 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.bhText {
    font-size: .92rem;
    color: #7A7468;
    line-height: 1.6;
    margin: 0 0 14px;
}

.book-collection-empty {
    text-align: center;
    padding: 60px 20px;
    color: #7A7468;
    font-size: 1rem;
}

.bhTags {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #b8902a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 140%;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.bhTagItem {
    display: inline-flex;
    align-items: start;
    gap: 6px;
    line-height: 113%;
}

.bhAudioMeta {
    margin: 0 0 16px;
    border-top: 1px solid rgba(184, 144, 42, 0.22);
    border-bottom: 1px solid rgba(184, 144, 42, 0.22);
}

.bhAudioMetaType,
.bhAudioMetaStats,
.bhAudioMetaItem {
    display: flex;
    align-items: center;
}

.bhAudioMetaType {
    gap: 10px;
    padding: 14px 0;
    color: #b8902a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.bhAudioMetaType i,
.bhAudioMetaItem i {
    flex: 0 0 auto;
}

.bhAudioMetaStats {
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid rgba(184, 144, 42, 0.16);
    flex-wrap: wrap;
    display: none;
}

.bhAudioMetaItem {
    gap: 10px;
    color: #4a2a1a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.bhAudioMetaItem i {
    color: #b8902a;
    font-size: 26px;
}

.bhAudioMetaDivider {
    width: 1px;
    align-self: stretch;
    background: rgba(184, 144, 42, 0.25);
}

.book-collection-grid.list-view .bhAudioMetaType,
.book-collection-grid.list-view .bhAudioMetaItem {
    font-size: 22px;
}

@media (max-width: 767px) {

    .bhAudioMetaType,
    .bhAudioMetaItem {
        font-size: 18px;
    }

    .bhAudioMetaStats {
        gap: 12px;
    }
}

.bhReadMore {
    height: fit-content !important;
    font-size: .9rem;
    font-weight: 600;
    color: #6b1a1a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bhReadMore i {
    transition: transform .2s ease;
}

.bhReadMore:hover i {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .book-collection-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .bhImageLink {
        padding: 33px 35px !important;
    }

    .book-collection-grid {
        grid-template-columns: 1fr;
    }

    .bhCard {
        flex-direction: column;
    }

    .bhImageBox,
    .bhImageLink,
    .bhDetails {
        width: 100%;
    }
}

.book-collection-card-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(154, 111, 46, 0.24);
}

.book-stories-header {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 48px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.book-stories-header h2 {
    font-family: var(--book-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--book-ink);
    margin: 0;
    line-height: 1.2;
}

.book-stories-header h2 em {
    font-style: italic;
    color: var(--book-gold);
}

.book-stories-count {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--book-muted);
    padding-bottom: 4px;
    font-weight: 500;
}

.book-stories-table-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 48px;
}

.book-stories-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.book-stories-table col.book-col-num {
    width: 58px;
}

.book-stories-table col.book-col-title {
    width: 22%;
}

.book-stories-table col.book-col-sindhi {
    width: 22%;
}

.book-stories-table col.book-col-voice {
    width: 240px;
}

.book-stories-table col.book-col-actions {
    width: 230px;
}

.book-stories-table thead tr {
    border-bottom: 2px solid var(--book-gold-dark);
}

.book-stories-table thead th {
    padding: 10px 14px 12px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--book-gold-dark);
    text-align: left;
    white-space: nowrap;
}

.book-stories-table thead th.book-th-actions {
    text-align: right;
}

.book-stories-table tbody tr {
    border-bottom: 1px solid var(--book-border);
    transition: background 0.18s ease;
    position: relative;
}

.book-stories-table tbody tr:hover {
    background: rgba(92, 52, 20, 0.075);
}

.book-stories-table tbody tr.is-now-playing {
    background: rgba(92, 52, 20, 0.11);
}

.book-stories-table tbody tr td:first-child {
    box-shadow: inset 3px 0 0 transparent;
    transition: box-shadow 0.2s ease;
}

.book-stories-table tbody tr:hover td:first-child,
.book-stories-table tbody tr.is-now-playing td:first-child {
    box-shadow: inset 3px 0 0 var(--book-gold);
}

.book-stories-table td {
    padding: 18px 14px;
    vertical-align: middle;
}

.book-td-num {
    font-family: var(--book-serif);
    font-size: 24px;
    color: var(--book-gold-light);
    font-weight: 600;
    white-space: nowrap;
}

.book-story-row.is-now-playing .book-td-num::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--book-gold);
    margin-left: 8px;
    animation: book-pulse-dot 1.2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes book-pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

.book-td-title h3 {
    font-family: var(--book-serif);
    font-size: 1.45rem;
    color: var(--book-ink);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    max-width: 26ch;
}

.book-td-title small {
    display: block;
    font-size: 0.88rem;
    color: var(--book-muted);
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.book-td-voice {
    font-size: 0.95rem;
    color: var(--book-muted);
    line-height: 1.65;
}

.book-td-sindhi {
    font-size: 1rem;
    color: var(--book-ink);
    line-height: 1.7;
    font-weight: 500;
}

.book-td-actions {
    text-align: right;
    white-space: nowrap;
}

.book-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.book-btn-preview,
.book-btn-full,
.book-btn-download {
    border-radius: 2px;
}

.book-btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border: 1px solid var(--book-gold-light);
    background: transparent;
    color: var(--book-gold);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.book-btn-preview:hover {
    background: var(--book-gold-fade);
    border-color: var(--book-gold);
}

.book-btn-preview svg,
.book-btn-full svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
}

.book-preview-label {
    font-size: 0.68rem;
    color: var(--book-muted);
    margin-left: 1px;
}

.book-btn-full {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--book-gold), var(--book-gold-dark));
    color: #fff;
    border: 1px solid var(--book-gold);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.book-btn-full:hover {
    background: var(--book-gold-dark);
    border-color: var(--book-gold-dark);
}

.book-btn-download {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--book-border);
    background: transparent;
    color: var(--book-gold-dark);
    cursor: pointer;
    transition: all 0.18s ease;
}

.book-btn-download:hover {
    border-color: var(--book-gold);
    color: var(--book-gold);
}

.book-btn-download svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.book-audio-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(44, 28, 12, 0.24);
    backdrop-filter: blur(10px) saturate(1.02);
    -webkit-backdrop-filter: blur(10px) saturate(1.02);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.book-audio-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.book-audio-overlay.is-open .book-audio-player {
    transform: translateY(0);
}

.book-audio-player {
    width: 100%;
    max-width: 720px;
    background:
        radial-gradient(circle at top right, rgba(200, 164, 106, 0.26), transparent 24%),
        linear-gradient(180deg, #fffdf9 0%, #fbf4e8 50%, #f2e4cf 100%);
    border: 1px solid rgba(154, 111, 46, 0.24);
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 70px rgba(54, 34, 13, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.book-player-ambient {
    position: absolute;
    top: -90px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 164, 106, 0.22) 0%, transparent 72%);
    pointer-events: none;
}

.book-player-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(154, 111, 46, 0.18);
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--book-muted);
    font-size: 1.05rem;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(84, 58, 22, 0.08);
}

.book-player-close:hover {
    background: #fff;
    color: var(--book-gold-dark);
    border-color: rgba(154, 111, 46, 0.34);
    transform: translateY(-1px);
}

.book-player-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 0;
}

.book-player-handle-bar {
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: rgba(154, 111, 46, 0.26);
}

.book-player-top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px 18px;
}

.book-player-artwork {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(154, 111, 46, 0.16);
    box-shadow: 0 14px 28px rgba(84, 58, 22, 0.12);
    position: relative;
    background: #fff;
}

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

.book-player-artwork-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 52%, rgba(200, 164, 106, 0.18));
    pointer-events: none;
}

.book-player-info {
    flex: 1;
    min-width: 0;
}

.book-player-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5f451f;
    margin-bottom: 6px;
    opacity: 1;
}

.book-player-title {
    font-family: var(--book-serif);
    font-size: clamp(1.85rem, 3.8vw, 2.3rem);
    font-weight: 400;
    color: #20160f;
    line-height: 1.08;
    margin-bottom: 7px;
}

.book-player-meta {
    font-size: 0.96rem;
    color: #362818;
    line-height: 1.6;
    font-weight: 600;
}

.book-player-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 28px 20px;
    border: 1px solid rgba(154, 111, 46, 0.24);
    width: calc(100% - 56px);
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(96, 66, 24, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.book-tab-btn {
    padding: 14px 16px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #3b2a18;
    border-right: 1px solid rgba(154, 111, 46, 0.18);
    transition: all 0.18s ease;
    text-shadow: none;
}

.book-tab-btn:last-child {
    border-right: none;
}

.book-tab-btn.active {
    background: #a0773a;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.book-tab-btn:hover:not(.active) {
    background: rgba(154, 111, 46, 0.08);
    color: #2d2115;
}

.book-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(154, 111, 46, 0.14);
    border: 1px solid rgba(154, 111, 46, 0.24);
    border-radius: 20px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f3818;
    margin: 0 28px 16px;
    font-weight: 600;
}

.book-preview-badge svg {
    width: 10px;
    height: 10px;
    fill: none;
}

.book-progress-area {
    margin: 0 28px 20px;
}

.book-waveform-bar {
    height: 56px;
    background: linear-gradient(180deg, #fffefb, #f4e8d7);
    border: 1px solid rgba(154, 111, 46, 0.2);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 12px;
    touch-action: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 20px rgba(84, 58, 22, 0.06);
}

.book-waveform-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(154, 111, 46, 0.3), rgba(200, 164, 106, 0.16));
    transition: width 0.1s linear;
    pointer-events: none;
    border-radius: 14px 0 0 14px;
}

.book-waveform-thumb {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--book-gold-light), var(--book-gold));
    pointer-events: none;
    transition: left 0.1s linear;
    box-shadow: 0 0 10px rgba(200, 164, 106, 0.34);
}

.book-waveform-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--book-gold);
    box-shadow: 0 6px 16px rgba(154, 111, 46, 0.22);
}

.book-wave-lines {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    pointer-events: none;
}

.book-wave-lines span {
    flex: 1;
    border-radius: 2px;
    opacity: 0.95;
}

.book-wave-lines span.is-played {
    background: rgba(154, 111, 46, 0.92);
    opacity: 1;
}

.book-wave-lines span:not(.is-played) {
    background: rgba(206, 186, 154, 0.7);
}

.book-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: #2f2114;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.book-player-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    margin-bottom: 8px;
}

.book-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #382818;
    transition: color 0.18s ease;
    padding: 6px 0;
    font-weight: 600;
}

.book-nav-btn:hover {
    color: #2d2115;
}

.book-nav-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.book-nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(154, 111, 46, 0.2);
}

.book-player-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px 24px;
    justify-content: center;
}

.book-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(154, 111, 46, 0.24);
    background: rgba(255, 255, 255, 0.96);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c421c;
    transition: all 0.18s ease;
    box-shadow: 0 12px 24px rgba(84, 58, 22, 0.1);
}

.book-control-btn:hover {
    border-color: rgba(154, 111, 46, 0.32);
    color: #3b2a16;
    background: #fff;
    transform: translateY(-1px);
}

.book-control-btn svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.book-control-play {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b98a45, var(--book-gold-dark));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fffdf8;
    transition: all 0.22s ease;
    box-shadow: 0 14px 34px rgba(154, 111, 46, 0.35), 0 0 0 0 rgba(200, 164, 106, 0.26);
}

.book-control-play:hover {
    transform: scale(1.07);
    box-shadow: 0 16px 38px rgba(154, 111, 46, 0.42), 0 0 0 8px rgba(200, 164, 106, 0.12);
}

.book-control-play.is-playing {
    animation: book-play-pulse 2s ease-in-out infinite;
}

@keyframes book-play-pulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(154, 111, 46, 0.5), 0 0 0 0 rgba(200, 164, 106, 0);
    }

    50% {
        box-shadow: 0 6px 24px rgba(154, 111, 46, 0.5), 0 0 0 8px rgba(200, 164, 106, 0.1);
    }
}

.book-control-play svg {
    width: 22px;
    height: 22px;
    fill: rgb(0 0 0);
    margin-left: 1px;
}

.book-control-play.is-playing .book-icon-play {
    display: none;
}

.book-control-play.is-playing .book-icon-pause {
    display: block !important;
}

.book-icon-pause {
    display: none;
}

.book-player-volume-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(242, 228, 207, 0.42));
}

.book-volume-label {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #43311e;
    flex-shrink: 0;
    font-weight: 600;
}

.book-volume-icon {
    color: #5f451f;
    flex-shrink: 0;
}

.book-volume-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    vertical-align: middle;
}

input[type="range"].book-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    --volume-progress: 100%;
    flex: 1;
    height: 6px;
    background: linear-gradient(to right, var(--book-gold-dark) 0, var(--book-gold-dark) var(--volume-progress), rgba(154, 111, 46, 0.22) var(--volume-progress), rgba(154, 111, 46, 0.22) 100%);
    border-radius: 999px;
    cursor: pointer;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(154, 111, 46, 0.14);
}

input[type="range"].book-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 3px solid var(--book-gold);
    box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.14), 0 6px 14px rgba(84, 58, 22, 0.14);
    margin-top: -6px;
}

input[type="range"].book-volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 3px solid var(--book-gold);
    box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.14), 0 6px 14px rgba(84, 58, 22, 0.14);
}

input[type="range"].book-volume-slider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(154, 111, 46, 0.14);
}

.book-upgrade-prompt {
    margin: 0 28px 20px;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 234, 214, 0.96));
    border: 1px solid rgba(154, 111, 46, 0.22);
    border-radius: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    display: none;
    box-shadow: 0 14px 32px rgba(84, 58, 22, 0.12);
}

.book-upgrade-prompt.is-visible {
    display: flex;
}

.book-upgrade-prompt p {
    font-size: 0.95rem;
    color: #342618;
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

.book-upgrade-prompt p strong {
    color: var(--book-gold-dark);
}

.book-unlock-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--book-gold), var(--book-gold-dark));
    color: #fffdf8;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.18s ease;
    white-space: nowrap;
}

.book-unlock-btn:hover {
    background: linear-gradient(135deg, #b1813c, #6f4d1d);
}


.book-collection-card-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(154, 111, 46, 0.24);
}

.book-stories-header {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 48px 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.book-stories-header h2 {
    font-family: var(--book-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--book-ink);
    margin: 0;
    line-height: 1.2;
}

.book-stories-header h2 em {
    font-style: italic;
    color: var(--book-gold);
}

.book-stories-count {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--book-muted);
    padding-bottom: 4px;
    font-weight: 500;
}

.book-stories-table-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 48px;
}

.book-stories-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.book-stories-table col.book-col-num {
    width: 58px;
}

.book-stories-table col.book-col-title {
    width: 22%;
}

.book-stories-table col.book-col-sindhi {
    width: 22%;
}

.book-stories-table col.book-col-voice {
    width: 240px;
}

.book-stories-table col.book-col-actions {
    width: 230px;
}

.book-stories-table thead tr {
    border-bottom: 2px solid var(--book-gold-dark);
}

.book-stories-table thead th {
    padding: 10px 14px 12px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--book-gold-dark);
    text-align: left;
    white-space: nowrap;
}

.book-stories-table thead th.book-th-actions {
    text-align: right;
}

.book-stories-table tbody tr {
    border-bottom: 1px solid var(--book-border);
    transition: background 0.18s ease;
    position: relative;
}

.book-stories-table tbody tr:hover {
    background: rgba(92, 52, 20, 0.075);
}

.book-stories-table tbody tr.is-now-playing {
    background: rgba(92, 52, 20, 0.11);
}

.book-stories-table tbody tr td:first-child {
    box-shadow: inset 3px 0 0 transparent;
    transition: box-shadow 0.2s ease;
}

.book-stories-table tbody tr:hover td:first-child,
.book-stories-table tbody tr.is-now-playing td:first-child {
    box-shadow: inset 3px 0 0 var(--book-gold);
}

.book-stories-table td {
    padding: 18px 14px;
    vertical-align: middle;
}

.book-td-num {
    font-family: var(--book-serif);
    font-size: 24px;
    color: var(--book-gold-light);
    font-weight: 600;
    white-space: nowrap;
}

.book-story-row.is-now-playing .book-td-num::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--book-gold);
    margin-left: 8px;
    animation: book-pulse-dot 1.2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes book-pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

.book-td-title h3 {
    font-family: var(--book-serif);
    font-size: 1.45rem;
    color: var(--book-ink);
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    max-width: 26ch;
}

.book-td-title small {
    display: block;
    font-size: 0.88rem;
    color: var(--book-muted);
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.book-td-voice {
    font-size: 0.95rem;
    color: var(--book-muted);
    line-height: 1.65;
}

.book-td-sindhi {
    font-size: 1rem;
    color: var(--book-ink);
    line-height: 1.7;
    font-weight: 500;
}

.book-td-actions {
    text-align: right;
    white-space: nowrap;
}

.book-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.book-btn-preview,
.book-btn-full,
.book-btn-download {
    border-radius: 2px;
}

.book-btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border: 1px solid var(--book-gold-light);
    background: transparent;
    color: var(--book-gold);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.book-btn-preview:hover {
    background: var(--book-gold-fade);
    border-color: var(--book-gold);
}

.book-btn-preview svg,
.book-btn-full svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
}

.book-preview-label {
    font-size: 0.68rem;
    color: var(--book-muted);
    margin-left: 1px;
}

.book-btn-full {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--book-gold), var(--book-gold-dark));
    color: #fff;
    border: 1px solid var(--book-gold);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.book-btn-full:hover {
    background: var(--book-gold-dark);
    border-color: var(--book-gold-dark);
}

.book-btn-download {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--book-border);
    background: transparent;
    color: var(--book-gold-dark);
    cursor: pointer;
    transition: all 0.18s ease;
}

.book-btn-download:hover {
    border-color: var(--book-gold);
    color: var(--book-gold);
}

.book-btn-download svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.book-audio-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(44, 28, 12, 0.24);
    backdrop-filter: blur(10px) saturate(1.02);
    -webkit-backdrop-filter: blur(10px) saturate(1.02);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.book-audio-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.book-audio-overlay.is-open .book-audio-player {
    transform: translateY(0);
}

.book-audio-player {
    width: 100%;
    max-width: 720px;
    background:
        radial-gradient(circle at top right, rgba(200, 164, 106, 0.26), transparent 24%),
        linear-gradient(180deg, #fffdf9 0%, #fbf4e8 50%, #f2e4cf 100%);
    border: 1px solid rgba(154, 111, 46, 0.24);
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -24px 70px rgba(54, 34, 13, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.book-player-ambient {
    position: absolute;
    top: -90px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 164, 106, 0.22) 0%, transparent 72%);
    pointer-events: none;
}

.book-player-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(154, 111, 46, 0.18);
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--book-muted);
    font-size: 1.05rem;
    line-height: 1;
    transition: all 0.2s ease;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(84, 58, 22, 0.08);
}

.book-player-close:hover {
    background: #fff;
    color: var(--book-gold-dark);
    border-color: rgba(154, 111, 46, 0.34);
    transform: translateY(-1px);
}

.book-player-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 0;
}

.book-player-handle-bar {
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: rgba(154, 111, 46, 0.26);
}

.book-player-top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px 18px;
}

.book-player-artwork {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(154, 111, 46, 0.16);
    box-shadow: 0 14px 28px rgba(84, 58, 22, 0.12);
    position: relative;
    background: #fff;
}

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

.book-player-artwork-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 52%, rgba(200, 164, 106, 0.18));
    pointer-events: none;
}

.book-player-info {
    flex: 1;
    min-width: 0;
}

.book-player-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #5f451f;
    margin-bottom: 6px;
    opacity: 1;
}

.book-player-title {
    font-family: var(--book-serif);
    font-size: clamp(1.85rem, 3.8vw, 2.3rem);
    font-weight: 400;
    color: #20160f;
    line-height: 1.08;
    margin-bottom: 7px;
}

.book-player-meta {
    font-size: 0.96rem;
    color: #362818;
    line-height: 1.6;
    font-weight: 600;
}

.book-player-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 28px 20px;
    border: 1px solid rgba(154, 111, 46, 0.24);
    width: calc(100% - 56px);
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 26px rgba(96, 66, 24, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.book-tab-btn {
    padding: 14px 16px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #3b2a18;
    border-right: 1px solid rgba(154, 111, 46, 0.18);
    transition: all 0.18s ease;
    text-shadow: none;
}

.book-tab-btn:last-child {
    border-right: none;
}

.book-tab-btn.active {
    background: #a0773a;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.book-tab-btn:hover:not(.active) {
    background: rgba(154, 111, 46, 0.08);
    color: #2d2115;
}

.book-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(154, 111, 46, 0.14);
    border: 1px solid rgba(154, 111, 46, 0.24);
    border-radius: 20px;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4f3818;
    margin: 0 28px 16px;
    font-weight: 600;
}

.book-preview-badge svg {
    width: 10px;
    height: 10px;
    fill: none;
}

.book-progress-area {
    margin: 0 28px 20px;
}

.book-waveform-bar {
    height: 56px;
    background: linear-gradient(180deg, #fffefb, #f4e8d7);
    border: 1px solid rgba(154, 111, 46, 0.2);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 12px;
    touch-action: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 20px rgba(84, 58, 22, 0.06);
}

.book-waveform-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(154, 111, 46, 0.3), rgba(200, 164, 106, 0.16));
    transition: width 0.1s linear;
    pointer-events: none;
    border-radius: 14px 0 0 14px;
}

.book-waveform-thumb {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--book-gold-light), var(--book-gold));
    pointer-events: none;
    transition: left 0.1s linear;
    box-shadow: 0 0 10px rgba(200, 164, 106, 0.34);
}

.book-waveform-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--book-gold);
    box-shadow: 0 6px 16px rgba(154, 111, 46, 0.22);
}

.book-wave-lines {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    pointer-events: none;
}

.book-wave-lines span {
    flex: 1;
    border-radius: 2px;
    opacity: 0.95;
}

.book-wave-lines span.is-played {
    background: rgba(154, 111, 46, 0.92);
    opacity: 1;
}

.book-wave-lines span:not(.is-played) {
    background: rgba(206, 186, 154, 0.7);
}

.book-time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    color: #2f2114;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.book-player-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    margin-bottom: 8px;
}

.book-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #382818;
    transition: color 0.18s ease;
    padding: 6px 0;
    font-weight: 600;
}

.book-nav-btn:hover {
    color: #2d2115;
}

.book-nav-btn svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.book-nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(154, 111, 46, 0.2);
}

.book-player-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px 24px;
    justify-content: center;
}

.book-control-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(154, 111, 46, 0.24);
    background: rgba(255, 255, 255, 0.96);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c421c;
    transition: all 0.18s ease;
    box-shadow: 0 12px 24px rgba(84, 58, 22, 0.1);
}

.book-control-btn:hover {
    border-color: rgba(154, 111, 46, 0.32);
    color: #3b2a16;
    background: #fff;
    transform: translateY(-1px);
}

.book-control-btn svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.book-control-play {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b98a45, var(--book-gold-dark));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fffdf8;
    transition: all 0.22s ease;
    box-shadow: 0 14px 34px rgba(154, 111, 46, 0.35), 0 0 0 0 rgba(200, 164, 106, 0.26);
}

.book-control-play:hover {
    transform: scale(1.07);
    box-shadow: 0 16px 38px rgba(154, 111, 46, 0.42), 0 0 0 8px rgba(200, 164, 106, 0.12);
}

.book-control-play.is-playing {
    animation: book-play-pulse 2s ease-in-out infinite;
}

@keyframes book-play-pulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(154, 111, 46, 0.5), 0 0 0 0 rgba(200, 164, 106, 0);
    }

    50% {
        box-shadow: 0 6px 24px rgba(154, 111, 46, 0.5), 0 0 0 8px rgba(200, 164, 106, 0.1);
    }
}

.book-control-play svg {
    width: 22px;
    height: 22px;
    fill: rgb(0 0 0);
    margin-left: 1px;
}

.book-control-play.is-playing .book-icon-play {
    display: none;
}

.book-control-play.is-playing .book-icon-pause {
    display: block !important;
}

.book-icon-pause {
    display: none;
}

.book-player-volume-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 28px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(242, 228, 207, 0.42));
}

.book-volume-label {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #43311e;
    flex-shrink: 0;
    font-weight: 600;
}

.book-volume-icon {
    color: #5f451f;
    flex-shrink: 0;
}

.book-volume-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    vertical-align: middle;
}

input[type="range"].book-volume-slider {
    -webkit-appearance: none;
    appearance: none;
    --volume-progress: 100%;
    flex: 1;
    height: 6px;
    background: linear-gradient(to right, var(--book-gold-dark) 0, var(--book-gold-dark) var(--volume-progress), rgba(154, 111, 46, 0.22) var(--volume-progress), rgba(154, 111, 46, 0.22) 100%);
    border-radius: 999px;
    cursor: pointer;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(154, 111, 46, 0.14);
}

input[type="range"].book-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 3px solid var(--book-gold);
    box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.14), 0 6px 14px rgba(84, 58, 22, 0.14);
    margin-top: -6px;
}

input[type="range"].book-volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    border: 3px solid var(--book-gold);
    box-shadow: 0 0 0 4px rgba(200, 164, 106, 0.14), 0 6px 14px rgba(84, 58, 22, 0.14);
}

input[type="range"].book-volume-slider::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(154, 111, 46, 0.14);
}

.book-upgrade-prompt {
    margin: 0 28px 20px;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 234, 214, 0.96));
    border: 1px solid rgba(154, 111, 46, 0.22);
    border-radius: 16px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    display: none;
    box-shadow: 0 14px 32px rgba(84, 58, 22, 0.12);
}

.book-upgrade-prompt.is-visible {
    display: flex;
}

.book-upgrade-prompt p {
    font-size: 0.95rem;
    color: #342618;
    line-height: 1.65;
    margin: 0;
    font-weight: 500;
}

.book-upgrade-prompt p strong {
    color: var(--book-gold-dark);
}

.book-unlock-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    background: linear-gradient(135deg, var(--book-gold), var(--book-gold-dark));
    color: #fffdf8;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.18s ease;
    white-space: nowrap;
}

.book-unlock-btn:hover {
    background: linear-gradient(135deg, #b1813c, #6f4d1d);
}

/* Breadcrumb Container */

.breadcrumb-nav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9;
    /* background: #fff; */
    /* box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.07); */
    border-top: 4px solid #804e1d;
    border-bottom: 3px dotted #804e1d8f;
    /* display: none; */
    margin: auto;
    margin-top: 140px;
    width: 98%;
    max-width: 1600px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 25px 0 25px 0;
    margin-bottom: 10px;
    list-style: none;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    max-width: calc(1400px - 1%);
    margin: 0 auto;
    width: 90%;
}

/* Items ke beech ka spacing */
.breadcrumb-item {
    display: flex;
    align-items: center;
}

/* Separator (Slashes / ) */
.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: 12px;
    padding-left: 12px;
    color: #8c7662;
    /* Light brown separator */
    content: "/";
}

/* Links (Home, Literary Works) */
.breadcrumb-item a {
    color: #5c2c16;
    /* Dark brown color jo aapke buttons/headings se match kare */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

/* Hover Effect */
.breadcrumb-item a:hover {
    color: #8c1d1d;
    /* Maroon color jo "Contact Us" ya logo se inspired hai */
    text-decoration: underline;
}

/* Active Page (Current page: Book) */
.breadcrumb-item.active {
    color: #8c7662;
    /* Thoda muted brown color takki pata chale ye active page hai */
    font-weight: 500;
}

.back-listing-wrap {
    display: flex;
    justify-content: center;
    padding: 14px 0 8px;
}

.back-listing-btn {
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: #7b1e2b;
    border: 1.5px solid var(--border);
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all .2s ease;
}

.back-listing-btn i {
    transition: transform .2s ease;
}

.back-listing-btn:hover {
    background: #7b1e2b;
    color: var(--white);
    border-color: #7b1e2b;
    box-shadow: 0 10px 40px rgba(123, 30, 43, 0.09);
    transform: translateY(-2px);
}

.back-listing-btn:hover i {
    transform: translateX(-4px);
}

.sundri-section-wrapper {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sundri-eyebrow-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #a07840;
    margin-bottom: .4rem;
    opacity: 0;
    transform: translateY(10px);
}

.sundri-main-heading {
    font-family: 'Cormorant Garamond', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #000;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(10px);
}

.sundri-main-heading em {
    font-style: italic;
    color: var(--gold);
}

.sundri-subtitle-text {
    font-size: 14px;
    font-weight: 400;
    color: #7d6a54;
    margin: 0 0 2rem;
    opacity: 0;
    transform: translateY(10px);
}

.sundri-gold-rule {
    width: 0;
    height: 2px;
    background: #c9a96e;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.sundri-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    border: 1px solid rgba(201, 169, 110, .35);
    overflow: hidden;
    background: rgba(255, 252, 245, .9);
    box-shadow: 0 12px 30px rgba(98, 72, 33, .06);
}

.sundri-single-card {
    padding: 40px 22px 40px;
    border-right: 1px solid rgba(201, 169, 110, .25);
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 16px;
    row-gap: 6px;
    align-items: start;
    position: relative;
    overflow: hidden;
    cursor: default;
    opacity: 0;
    transform: translateY(20px);
    transition: background .3s;
}

.award-section {
    width: 100%;
    display: block;
    background: repeating-linear-gradient(-45deg, rgb(255 255 255 / 3%) 0px, rgb(160 120 64 / 6%) 2px, transparent 2px, transparent 25px), linear-gradient(135deg, #a0784021 0%, #a0784021 100%);
    position: relative;
}

.sundri-single-card:last-child {
    border-right: none;
}

.sundri-single-card:hover {
    background: rgba(201, 169, 110, .06);
}

.sundri-card-topline {
    position: absolute;
    top: 0px;
    left: 0;
    height: 3px;
    width: 0;
    background: #b8902a;
    transition: width .45s cubic-bezier(.4, 0, .2, 1);
}

.sundri-single-card:hover .sundri-card-topline {
    width: 100%;
}

.sundri-icon-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #6b1a1a;
    display: flex;
    background: #a07840;
    padding: 10px;
    align-items: center;
    justify-content: center;
    margin: 2px 0 0;
    flex-shrink: 0;
    transition: border-color .3s, background .3s;
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
}

.sundri-single-card:hover .sundri-icon-circle {
    border-color: #c9a96e;
    background: rgba(201, 169, 110, .08);
}

.sundri-single-card:hover .sundri-icon-circle i {
    color: #6b1a1a;
}

.sundri-icon-circle i {
    font-size: 23px;
    color: #fff;
}

.sundri-card-heading {
    margin: 0px 0 0;
    line-height: 1.3;
    grid-column: 2;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--ink);
    transition: transform 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}

.sundri-card-body {
    margin: 0;
    grid-column: 2;
    font-size: 0.96rem;
    color: var(--muted);
    line-height: 140%;
    font-weight: 300;
}

.sundri-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #a07840;
    text-decoration: none;
    position: relative;
    grid-column: 2;
    width: fit-content;
}

.sundri-explore-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #c9a96e;
    transition: width .3s;
}

.sundri-single-card:hover .sundri-explore-link::after {
    width: 100%;
}

.sundri-link-arrow {
    display: inline-block;
    transition: transform .3s;
}

.sundri-single-card:hover .sundri-link-arrow {
    transform: translateX(4px);
}

#books-0 .book-divider,
#books-0 .book-icon {
    display: none;
}

/* Divider */
.book-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 80%;
}

.book-divider .line {
    width: 70px;
    height: 1px;
    background: #d7b06a;
}

.book-divider .diamond {
    width: 8px;
    height: 8px;
    border: 1px solid #d7b06a;
    background: #fff;
    transform: rotate(45deg);
}

/* Book Icon */
.book-icon {
    display: flex;
    justify-content: center;
    margin: 5px 0 15px;
}

.book-icon svg {
    width: 34px;
    height: 34px;
}

.book-icon path {
    stroke: #6b1a1a;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Read in your language section */

.read-lang-sec {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #fbf6eb 0%, #f8f1e5 100%);
    padding: 40px 0;
    border-bottom: 1px solid rgba(184, 144, 42, .16);
}

.read-lang-sec::before,
.read-lang-sec::after {
    content: '';
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.read-lang-sec::before {
    inset: 0;
    z-index: 0;
    opacity: .28;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='200' viewBox='0 0 280 200'%3E%3Cg fill='none' stroke='%23b8902a' stroke-opacity='.16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M140 54c12 0 22 10 22 22 0 9-5 16-12 20l7 22h-34l7-22c-7-4-12-11-12-20 0-12 10-22 22-22z'/%3E%3Cpath d='M124 118h32'/%3E%3Cpath d='M118 126h44'/%3E%3Cpath d='M104 146h72'/%3E%3Cpath d='M96 60c-12 8-20 21-20 36'/%3E%3Cpath d='M184 60c12 8 20 21 20 36'/%3E%3Cpath d='M84 92c8-2 14-7 18-14'/%3E%3Cpath d='M196 92c-8-2-14-7-18-14'/%3E%3Cpath d='M88 102c8 2 16 7 22 14'/%3E%3Cpath d='M192 102c-8 2-16 7-22 14'/%3E%3Ccircle cx='140' cy='100' r='2.8' fill='%23b8902a' fill-opacity='.18' stroke='none'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .08));
    background-repeat: repeat;
    background-size: 280px 200px, 100% 100%;
    background-position: 0 0, 0 0;
}

.read-lang-sec::after {
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 14% 20%, rgba(184, 144, 42, .12), transparent 16%),
        radial-gradient(circle at 82% 30%, rgba(107, 26, 26, .05), transparent 14%),
        radial-gradient(circle at 50% 85%, rgba(184, 144, 42, .08), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 252, 246, .35));
}

.middle-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 254, 250, .98) 0%, rgba(251, 245, 233, .96) 52%, rgba(255, 251, 245, .94) 100%);
    border: 1px solid rgba(184, 144, 42, .18);
    border-radius: 10px;
    box-shadow: 0 22px 46px rgba(98, 72, 33, .08);
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
    border-top: 5px solid #6b1a1a;
}

.intro-block {
    padding: 44px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(255, 250, 241, .98), rgba(248, 240, 224, .98));
    position: relative;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.intro-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--maroon));
}

.intro-block::after {
    content: '';
    position: absolute;
    inset: auto 22px 22px auto;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 1px solid rgba(184, 144, 42, .14);
    background:
        radial-gradient(circle, rgba(184, 144, 42, .08), transparent 64%),
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .28), transparent 42%);
    pointer-events: none;
}

.intro-block h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 2.6vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    margin: 0;
    letter-spacing: .01em;
}

.intro-block p {
    font-family: 'Outfit', sans-serif;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    max-width: 300px;
}

.lang-indicator {
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 74px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(184, 144, 42, .26);
    color: var(--gold-deep);
    background: rgba(245, 234, 208, .52);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.translation-column {
    padding: 44px 36px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-left: 1px solid rgba(184, 144, 42, .14);
    background: linear-gradient(180deg, rgba(255, 255, 253, .98), rgba(250, 244, 233, .96));
    cursor: default;
    transition: background .25s ease, transform .25s ease, opacity .65s ease, box-shadow .25s ease;
    opacity: 0;
    transform: translateY(18px);
}

.lang-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(184, 144, 42, .22);
    background: rgba(245, 234, 208, .55);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .08);
}

.lang-icon-box i {
    font-size: 24px;
}

.lang-text-box {
    min-width: 0;
}

.lang-text-box h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    line-height: 1.3;
    color: var(--ink);
    margin: 2px 0 6px;
}

.lang-text-box p {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0 0 14px;
}

.explore-trigger {
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--gold-deep);
    text-decoration: none;
    position: relative;
    font-size: 0.77rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.explore-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .25s ease;
}

.translation-column:hover {
    background: linear-gradient(180deg, rgba(255, 253, 248, 1), rgba(246, 238, 224, 1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.translation-column:hover .lang-icon-box {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 28px rgba(184, 144, 42, .22);
}

.translation-column:hover .explore-trigger::after {
    width: 100%;
}

.translation-column:hover .explore-trigger {
    color: var(--maroon);
}

.translation-column:hover .explore-trigger i {
    transform: translateX(4px);
}

.explore-trigger i {
    transition: transform .25s ease;
}

.read-lang-sec.is-visible .middle-container {
    opacity: 1;
    transform: none;
}

.read-lang-sec.is-visible .intro-block {
    opacity: 1;
    transform: none;
    transition-delay: .05s;
}

.read-lang-sec.is-visible .translation-column:nth-child(1) {
    opacity: 1;
    transform: none;
    transition-delay: .12s;
}

.read-lang-sec.is-visible .translation-column:nth-child(2) {
    opacity: 1;
    transform: none;
    transition-delay: .18s;
}

.read-lang-sec.is-visible .translation-column:nth-child(3) {
    opacity: 1;
    transform: none;
    transition-delay: .3s;
}

.hero-main {
    width: 100%;
    display: block;
    padding: 0px 0px 50px;
    position: relative;
}

.back-listing-wrap {
    display: flex;
    justify-content: center;
    padding: 14px 0 8px;
}

[dir="rtl"] .quote-btn{
    padding: 3px 0px 3px 22px;
}
[dir="rtl"] .quote-btn::before{
    right: 0;
}

@media (max-width: 1500px) {

    .featured-grid.list-view {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) {
    .read-lang-sec {
        padding: 44px 18px;
    }

    .middle-container {
        grid-template-columns: 1fr;
    }

    .translation-column {
        border-left: none;
        border-top: 1px solid rgba(184, 144, 42, .14);
    }
}

@media (max-width: 640px) {

    .footer-links a {
        width: 48%;
    }

    .read-lang-sec {
        padding: 34px 14px;
    }

    .intro-block,
    .translation-column {
        padding: 24px 18px;
    }

    .translation-column {
        gap: 14px;
    }

    .lang-icon-box {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .lang-icon-box i {
        font-size: 20px;
    }

    .lang-text-box h4 {
        font-size: 18px;
    }

    .lang-text-box p {
        font-size: 13px;
    }
}

@media (max-width: 860px) {
    .sundri-section-wrapper {
        padding: 44px 18px 56px;
    }

    .sundri-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sundri-single-card:nth-child(2) {
        border-right: none;
    }

    .sundri-single-card:nth-child(1),
    .sundri-single-card:nth-child(2) {
        border-bottom: .5px solid rgba(201, 169, 110, .25);
    }

    .sundri-single-card:nth-child(3) {
        border-right: .5px solid rgba(201, 169, 110, .25);
    }
}

@media (max-width: 480px) {
    .sundri-section-wrapper {
        padding: 34px 14px 44px;
    }

    .sundri-main-heading {
        font-size: clamp(22px, 8vw, 28px);
    }

    .sundri-subtitle-text {
        margin-bottom: 1.4rem;
    }

    .sundri-cards-grid {
        grid-template-columns: 1fr;
    }

    .sundri-single-card {
        border-right: none !important;
        border-bottom: .5px solid rgba(201, 169, 110, .25) !important;
        grid-template-columns: 44px 1fr;
        column-gap: 14px;
        min-height: auto;
    }

    .sundri-single-card:last-child {
        border-bottom: none !important;
    }

    .sundri-icon-circle {
        width: 44px;
        height: 44px;
    }

    .sundri-icon-circle i {
        font-size: 18px;
    }

}

@media (max-width: 480px) {
    .back-listing-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.2rem;
    }
}

@media (max-width: 880px) {
    .book-banner-content {
        padding: 32px 20px;
    }

    .book-banner-title {
        font-size: clamp(2.2rem, 9vw, 3.4rem);
    }

    .book-intro {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 44px;
    }

    .book-intro h1 {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
    }

    .book-cover-col {
        max-width: 260px;
        margin: 0 auto;
    }

    .book-divider,
    .book-stories-header,
    .book-stories-table-wrap,
    .book-collection-shell {
        padding-left: 0px;
        padding-right: 0px;
    }

    .book-stories-table col.book-col-title {
        width: auto;
    }

    .book-stories-table col.book-col-sindhi {
        width: auto;
    }

    .book-stories-table col.book-col-voice {
        width: auto;
    }

    .book-stories-table col.book-col-actions {
        width: 170px;
    }

    .book-audio-player {
        border-radius: 24px 24px 0 0;
    }

    .book-player-top {
        padding: 16px 20px;
    }

    .book-player-tabs,
    .book-preview-badge {
        margin-left: 20px;
        margin-right: 20px;
    }

    .book-progress-area {
        margin: 0 20px 16px;
    }

    .book-player-controls {
        padding: 0 20px 20px;
    }

    .book-player-volume-row {
        padding: 0 20px 22px;
    }

    .book-upgrade-prompt {
        margin: 0 20px 16px;
    }

    .book-player-nav-row {
        padding: 0 20px;
    }

    .book-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .book-collection-card-body h3 {
        min-height: fit-content !important;
    }

    .book-collection-grid.list-view .book-collection-card-link {
        height: fit-content !important;
    }

    .book-collection-card-media-wrap {
        height: fit-content !important;
    }

    .book-banner {
        min-height: 240px;
    }

    .book-banner-breadcrumb {
        gap: 8px;
        font-size: 0.66rem;
        letter-spacing: 0.11em;
    }

    #bookPage .book-stories-table-wrap[data-simple-reveal],
    #bookPage .book-story-row[data-simple-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .book-stories-header {
        padding-bottom: 28px;
    }

    .book-stories-header h2 {
        font-size: clamp(1.75rem, 7vw, 2.4rem);
    }

    .book-stories-table,
    .book-stories-table tbody,
    .book-stories-table tr,
    .book-stories-table td {
        display: block;
        width: 100%;
    }

    .book-stories-table colgroup,
    .book-stories-table thead {
        display: none;
    }

    .book-stories-table tbody {
        display: grid;
        gap: 14px;
    }

    .book-stories-table tbody tr {
        background: rgba(255, 255, 255, 0.36);
        border: 1px solid var(--book-border);
        padding: 10px 0;
    }

    .book-stories-table tbody tr td:first-child,
    .book-stories-table tbody tr:hover td:first-child,
    .book-stories-table tbody tr.is-now-playing td:first-child {
        box-shadow: none;
    }

    .book-stories-table td {
        border: 0;
        padding: 8px 14px;
    }

    .book-td-num {
        font-size: 1.92rem;
        color: var(--book-gold);
    }

    .book-td-title small,
    .book-td-sindhi,
    .book-td-voice {
        display: block;
    }

    .book-td-sindhi,
    .book-td-voice {
        padding-top: 2px;
    }

    .book-td-actions {
        text-align: left;
        padding-top: 12px;
    }

    .book-row-actions {
        flex-wrap: wrap;
    }

    .book-btn-preview,
    .book-btn-full {
        flex: 1 1 140px;
        justify-content: center;
    }

    .book-btn-download {
        justify-content: center;
        min-width: 44px;
    }

    .book-player-title,
    .book-player-meta {
        white-space: normal;
    }

    .book-audio-player {
        max-height: min(88vh, 780px);
        overflow-y: auto;
    }

    .book-player-top {
        align-items: flex-start;
    }

    .book-player-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .book-player-nav-row {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .book-nav-btn {
        flex: 1 1 42%;
        justify-content: center;
    }

    .book-player-volume-row {
        align-items: center;
    }

    .book-upgrade-prompt {
        flex-direction: column;
        align-items: flex-start;
    }

    .book-collection-header {
        margin-bottom: 26px;
    }

    .book-collection-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 520px) {
    .book-meta {
        width: 100%;
        flex-wrap: wrap;
    }

    .book-meta-item {
        flex: 1 1 50%;
        min-width: 120px;
    }

    .book-meta-item:last-child {
        border-top: 1px solid var(--book-border);
    }

    .book-preview-label,
    .book-btn-full span {
        display: none;
    }

    .book-player-top {
        gap: 14px;
        align-items: flex-start;
    }

    .book-player-tabs {
        width: calc(100% - 40px);
    }

    .book-tab-btn {
        flex: 1 1 50%;
        text-align: center;
    }

    .book-player-nav-row {
        gap: 12px;
    }

    .book-nav-divider {
        display: none;
    }

    .book-player-controls {
        gap: 10px;
    }

    .book-player-artwork {
        width: 72px;
        height: 72px;
    }

    .book-player-volume-row {
        gap: 10px;
        flex-wrap: wrap;
    }

    .book-volume-label {
        width: 100%;
        order: 3;
        letter-spacing: 0.12em;
    }

    .book-volume-icon {
        order: 1;
    }

    input[type="range"].book-volume-slider {
        flex: 1 1 0;
        order: 2;
    }
}