/* ==========================================================================
   EBONG MUSHAYERA (এবং মুশায়েরা) — CLEAN MODERN DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,400;1,600&family=Noto+Serif+Bengali:wght@400;500;600;700&display=swap');

:root {
    /* Pure, Modern Color Palette */
    --bg-main: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-dark: #0b0f17;
    --color-bg-dark: #0b0f17;
    --bg-card: #ffffff;

    /* Text Colors */
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    /* Brand Accents */
    --brand-primary: #991b1b;       /* Deep Classic Crimson */
    --brand-primary-hover: #7f1d1d;
    --brand-primary-light: #fef2f2;
    --brand-dark: #0f172a;
    --brand-whatsapp: #16a34a;
    --brand-whatsapp-hover: #15803d;
    --brand-gold: #d97706;

    /* Borders & Lines */
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;
    --border-dark: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-bengali: 'Noto Serif Bengali', 'SolaimanLipi', serif;

    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-book: 0 8px 24px rgba(15, 23, 42, 0.12);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--font-serif);
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.font-bengali {
    font-family: var(--font-bengali);
}

.font-sans {
    font-family: var(--font-sans);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* ==========================================================================
   CLEAN TOP NOTICE BAR
   ========================================================================== */
.top-notice-bar {
    background-color: var(--bg-dark);
    color: #94a3b8;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-bar a {
    color: #f8fafc;
    font-weight: 600;
}

.top-notice-bar a:hover {
    color: var(--brand-gold);
}

/* ==========================================================================
   CLEAN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 72px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.header-brand-name {
    font-family: var(--font-bengali);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.1;
    margin: 0;
}

.header-brand-tagline {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    font-weight: 700;
}

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

.header-nav a {
    color: var(--text-body);
    font-size: 14.5px;
    font-weight: 600;
    padding: 6px 0;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--brand-primary);
    transition: width 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--brand-primary);
}

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

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

.header-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--text-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.header-icon-btn:hover {
    background-color: #ffffff;
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.header-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.btn-whatsapp-header {
    background-color: var(--brand-whatsapp);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-whatsapp-header:hover {
    background-color: var(--brand-whatsapp-hover);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.btn-literary-primary {
    background-color: var(--brand-primary);
    color: #ffffff !important;
    border: 1px solid var(--brand-primary);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-literary-primary:hover {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.25);
}

/* ==========================================================================
   FILTER BOOKS SIDEBAR
   ========================================================================= */
.filter-sidebar-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 90px;
}

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.filter-sidebar-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
}

.filter-clear-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.filter-clear-btn:hover {
    color: var(--brand-primary-hover);
    text-decoration: underline;
}

.filter-section {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-section-title {
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.filter-list-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-list-scrollable {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 4px;
}

.filter-list-scrollable::-webkit-scrollbar {
    width: 4px;
}

.filter-list-scrollable::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 4px;
}

.filter-row-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin: 0;
    font-size: 13.5px;
    color: var(--text-body);
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.filter-row-item:hover {
    background-color: var(--bg-subtle);
    color: var(--text-heading);
}

.filter-row-item.active {
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    font-weight: 600;
}

.filter-label-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.filter-radio,
.filter-checkbox {
    margin: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.filter-radio:checked,
.filter-checkbox:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.filter-count-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-muted);
    padding: 1px 7px;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
    margin-left: 8px;
}

.filter-row-item.active .filter-count-badge {
    background-color: rgba(153, 27, 27, 0.15);
    color: var(--brand-primary);
}

.filter-search-box {
    position: relative;
}

.filter-search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 12px;
    pointer-events: none;
}

.filter-search-input {
    padding-left: 28px !important;
    font-size: 12.5px !important;
    background-color: var(--bg-subtle) !important;
    border-color: var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
}

.filter-search-input:focus {
    background-color: #ffffff !important;
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 2px rgba(153, 27, 27, 0.1) !important;
}

/* ==========================================================================
   CLEAN NEWSLETTER DISPATCH SECTION
   ========================================================================== */
.newsletter-section {
    padding: 50px 0;
    background-color: var(--bg-main);
}

.newsletter-form-wrapper {
    background-color: var(--bg-dark);
    border-radius: var(--radius-md);
    padding: clamp(28px, 4vw, 44px);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.newsletter-sub {
    font-size: 14px;
    color: #94a3b8;
}

.newsletter-input-group {
    background: #ffffff;
    border-radius: var(--radius-sm);
    padding: 4px;
    display: flex;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.newsletter-input-group input {
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-heading);
    flex-grow: 1;
    background: transparent;
}

.newsletter-input-group button {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-input-group button:hover {
    background-color: var(--brand-primary-hover);
}

/* ==========================================================================
   CLEAN HERO SECTION
   ========================================================================== */
.section-hero-clean {
    position: relative;
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.section-hero-clean.pure-banner {
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none;
    min-height: 0 !important;
    line-height: 0;
}

.section-hero-clean.has-content {
    padding: clamp(35px, 5vw, 75px) 0;
}

.hero-bg-overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.section-hero-clean .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.section-hero-clean.hero-theme-light .hero-title-clean {
    color: #ffffff !important;
}

.section-hero-clean.hero-theme-light .hero-subtitle-bengali {
    color: #fca5a5 !important;
}

.section-hero-clean.hero-theme-light .hero-text-clean {
    color: #e2e8f0 !important;
}

.section-hero-clean.hero-theme-light .hero-pill-badge {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px);
}

.section-hero-clean.hero-theme-light .hero-trust-row {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

.section-hero-clean.hero-theme-light .hero-trust-item-title {
    color: #ffffff !important;
}

.section-hero-clean.hero-theme-light .hero-trust-item-sub {
    color: #cbd5e1 !important;
}

.section-hero-clean.hero-theme-light .hero-trust-item i {
    color: #f87171 !important;
}

/* Hero Text Alignment Utilities */
.hero-align-center {
    text-align: center;
}
.hero-align-left {
    text-align: left;
}
.hero-align-right {
    text-align: right;
}

.hero-badge-wrap {
    display: block;
    width: 100%;
    margin-bottom: clamp(8px, 1.8vw, 18px);
}
.hero-badge-wrap.hero-badge-align-center,
.hero-align-center .hero-badge-wrap {
    text-align: center;
}
.hero-badge-wrap.hero-badge-align-left,
.hero-align-left .hero-badge-wrap {
    text-align: left;
}
.hero-badge-wrap.hero-badge-align-right,
.hero-align-right .hero-badge-wrap {
    text-align: right;
}
.hero-badge-wrap .hero-pill-badge {
    margin-bottom: 0;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 1vw, 6px);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: #0f172a;
    font-size: clamp(9px, 1.3vw, 11.5px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: clamp(3px, 0.6vw, 5px) clamp(8px, 1.5vw, 14px);
    border-radius: var(--radius-pill);
    margin-bottom: clamp(8px, 1.8vw, 18px);
    max-width: 100%;
    white-space: nowrap !important;
    transition: var(--transition);
}

.hero-pill-badge span {
    white-space: nowrap !important;
}

.hero-title-clean {
    font-family: var(--font-serif);
    font-size: clamp(20px, 4.2vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-heading);
    margin-bottom: clamp(6px, 1.2vw, 12px);
    word-break: break-word;
}

.hero-subtitle-bengali {
    font-family: var(--font-bengali);
    font-size: clamp(13px, 2vw, 20px);
    color: var(--brand-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: clamp(6px, 1.4vw, 14px);
}

.hero-text-clean {
    font-size: clamp(12px, 1.4vw, 15px);
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: clamp(10px, 1.8vw, 22px);
    word-break: break-word;
}

/* Fix Centering / Alignment Margin Rules for Hero Description */
.hero-align-center .hero-text-clean,
.hero-text-clean.text-center {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.hero-align-left .hero-text-clean,
.hero-text-clean.text-start {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left;
}

.hero-align-right .hero-text-clean,
.hero-text-clean.text-end {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: clamp(6px, 1.2vw, 12px);
    margin-bottom: clamp(10px, 1.8vw, 20px);
    max-width: 100%;
}

.btn-clean-primary,
.btn-clean-outline,
.hero-cta-buttons .btn-clean-primary,
.hero-cta-buttons .btn-clean-outline {
    flex: 1 1 0;
    min-width: clamp(110px, 14vw, 175px);
    max-width: 220px;
    height: 42px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 clamp(8px, 1.4vw, 16px);
    font-size: clamp(11.5px, 1.15vw, 13.5px);
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}

.btn-clean-primary {
    background-color: var(--brand-dark);
    color: #ffffff;
    border: 1px solid var(--brand-dark);
}

.btn-clean-primary:hover {
    background-color: #000000;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    filter: brightness(1.08);
}

.btn-clean-outline {
    background-color: #ffffff;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
}

.btn-clean-outline:hover {
    border-color: var(--brand-whatsapp);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

.hero-cta-buttons .btn-clean-primary span,
.hero-cta-buttons .btn-clean-outline span {
    white-space: nowrap;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    border-top: 1px solid var(--border-color);
    padding-top: clamp(10px, 1.5vw, 18px);
    margin-top: clamp(10px, 1.8vw, 22px);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 10px);
}

.hero-trust-item i {
    font-size: clamp(14px, 1.8vw, 18px);
    color: var(--brand-primary);
}

.hero-trust-item-title {
    font-size: clamp(11px, 1.2vw, 13px);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.hero-trust-item-sub {
    font-size: clamp(9.5px, 1.1vw, 11.5px);
    color: var(--text-muted);
}

.hero-showcase-col {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.hero-book-showcase-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.5vw, 18px);
    flex-wrap: wrap;
    max-width: 100%;
}

.hero-book-card-clean {
    width: clamp(120px, 32vw, 195px);
    max-width: 100%;
    aspect-ratio: 2/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-book);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.hero-book-card-clean:hover {
    transform: translateY(-6px);
}

.hero-book-card-clean a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-book-card-clean img,
.hero-book-card-clean.card-fit-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
    display: block;
}

.hero-book-card-clean.card-fit-contain img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center;
    display: block;
}

/* Hero Single-Card Carousel for Tablet & Mobile */
.hero-book-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-book-carousel-card {
    position: relative;
    width: clamp(115px, 32vw, 195px);
    max-width: 100%;
    aspect-ratio: 2/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-book);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.05);
}

.hero-book-carousel-card:hover {
    transform: translateY(-4px);
}

.hero-book-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
    pointer-events: none;
    z-index: 1;
}

.hero-book-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.hero-book-carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-book-carousel-slide img,
.hero-book-carousel-card.card-fit-cover .hero-book-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
    display: block;
}

.hero-book-carousel-card.card-fit-contain .hero-book-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center;
    display: block;
}

.hero-book-carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 5;
    pointer-events: none;
}

.hero-book-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.hero-book-dot.active {
    background-color: #ffffff;
    width: 14px;
    border-radius: 4px;
}

/* ==========================================================================
   HERO BOOK SHOWCASE RESPONSIVE VISIBILITY ENGINE
   - Desktop (>= 992px): Dual Cards (.hero-desktop-showcase)
   - Tablet & Mobile (< 992px): Single-Card Carousel (.hero-carousel-showcase, .hero-mobile-showcase)
   ========================================================================== */
.hero-desktop-showcase {
    display: flex !important;
}
.hero-carousel-showcase,
.hero-mobile-showcase {
    display: none !important;
}
.hero-tablet-showcase {
    display: none !important;
}

/* Tablet & Mobile Mode: Single-Card Carousel (< 992px) */
@media (max-width: 991.98px) {
    .hero-desktop-showcase {
        display: none !important;
    }
    .hero-carousel-showcase,
    .hero-mobile-showcase {
        display: flex !important;
    }
    .hero-book-carousel-card {
        width: clamp(120px, 24vw, 185px);
    }
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section-clean {
    padding: 60px 0;
}

.section-clean.bg-subtle {
    background-color: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-clean-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}

.section-clean-kicker {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.section-clean-title {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.2;
}

/* Category Cards */
.cat-card-clean {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
}

.cat-card-clean:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.cat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.cat-card-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.cat-card-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.cat-card-cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   CLEAN BOOK CARDS
   ========================================================================== */
.book-card-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.book-card-item:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.book-card-cover-container {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 2/3;
    background-color: var(--bg-muted);
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.book-card-cover-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.book-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2.5px 7px;
    border-radius: 4px;
    z-index: 2;
}

.book-badge.new { background-color: var(--brand-dark); color: #ffffff; }
.book-badge.trending { background-color: #dc2626; color: #ffffff; }
.book-badge.popular { background-color: #d97706; color: #ffffff; }
.book-badge.editor { background-color: var(--brand-primary); color: #ffffff; }

.book-wishlist-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.book-wishlist-btn:hover,
.book-wishlist-btn.active {
    background-color: #ffffff;
    color: var(--brand-primary);
}

.book-info-box {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-info-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin-bottom: 2px;
}

.book-info-title {
    font-family: var(--font-serif);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-heading);
    text-decoration: none;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-info-title:hover {
    color: var(--brand-primary);
}

.book-info-bengali {
    font-family: var(--font-bengali);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.book-info-author {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.book-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 10px;
}

.book-price-current {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-heading);
}

.book-price-old {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.btn-book-order-wa {
    background-color: var(--bg-subtle);
    color: var(--text-heading);
    border: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-book-order-wa:hover {
    background-color: var(--brand-whatsapp);
    color: #ffffff;
    border-color: var(--brand-whatsapp);
}

/* ==========================================================================
   CLEAN FOOTER
   ========================================================================== */
.site-footer-clean {
    background-color: var(--bg-dark);
    color: #94a3b8;
    padding-top: 65px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
}

.footer-head {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    margin-top: 45px;
    font-size: 12.5px;
    color: #64748b;
}

.footer-bottom-bar a {
    color: #64748b;
    text-decoration: none;
    margin-left: 16px;
    transition: var(--transition);
}

.footer-bottom-bar a:hover {
    color: #94a3b8;
}

/* ==========================================================================
   BREADCRUMB & PAGES
   ========================================================================== */
.breadcrumb-wrap {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 13px;
}

.breadcrumb-wrap a {
    color: var(--text-muted);
}

.breadcrumb-wrap a:hover {
    color: var(--brand-primary);
}

.page-title-banner {
    background-color: var(--bg-subtle);
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    margin-bottom: 35px;
}

/* ==========================================================================
   RESPONSIVENESS - HERO SHRINKING (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 991.98px) {
    .section-hero-clean.has-content {
        padding-top: clamp(20px, 3.5vw, 36px) !important;
        padding-bottom: clamp(45px, 6vw, 65px) !important;
    }
    .section-hero-clean.pure-banner {
        padding: 0 !important;
        margin: 0 !important;
    }
    .hero-align-center {
        text-align: center;
    }
    .hero-align-center .hero-text-clean {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-align-center .hero-cta-buttons {
        justify-content: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-trust-row {
        justify-content: center;
    }
    .hero-showcase-col {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-book-showcase-clean {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: clamp(10px, 2.5vw, 16px);
        margin-top: clamp(14px, 2.5vw, 22px);
        margin-bottom: 8px;
    }
    .hero-book-card-clean {
        width: clamp(90px, 20vw, 130px);
    }
    .hero-book-carousel-card {
        width: clamp(120px, 24vw, 180px);
    }
}

@media (max-width: 767.98px) {
    .section-hero-clean.has-content {
        padding-top: clamp(16px, 3vw, 24px) !important;
        padding-bottom: clamp(40px, 6vw, 55px) !important;
    }
    .section-hero-clean.pure-banner {
        padding: 0 !important;
        margin: 0 !important;
    }
    .hero-showcase-col {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-pill-badge {
        font-size: clamp(8px, 2.1vw, 9.8px) !important;
        padding: 2.5px 8px !important;
        margin-bottom: 6px !important;
        white-space: nowrap !important;
        letter-spacing: 0.02em !important;
        max-width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .hero-pill-badge span {
        white-space: nowrap !important;
    }
    .hero-title-clean {
        font-size: clamp(18px, 4.8vw, 24px);
        margin-bottom: 4px;
        line-height: 1.16;
    }
    .hero-subtitle-bengali {
        font-size: clamp(12px, 2.8vw, 14.5px);
        margin-bottom: 5px;
    }
    .hero-text-clean {
        font-size: clamp(11px, 2.3vw, 12.5px);
        line-height: 1.45;
        margin-bottom: 10px;
    }
    /* When book cards are present on mobile, clamp long description */
    .hero-desc-with-cards {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-cta-buttons {
        gap: 6px;
        margin-bottom: 8px;
        width: 100%;
    }
    .hero-cta-buttons .btn-clean-primary,
    .hero-cta-buttons .btn-clean-outline,
    .btn-clean-primary,
    .btn-clean-outline {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 36px !important;
        padding: 0 6px !important;
        font-size: clamp(9.5px, 2.3vw, 11px) !important;
        gap: 4px !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    .hero-trust-row {
        gap: 6px 12px;
        justify-content: center;
        padding-top: 8px;
        margin-top: 8px;
    }
    .hero-trust-item {
        justify-content: center;
        gap: 4px;
    }
    .hero-trust-item i {
        font-size: 12.5px;
    }
    .hero-trust-item-title {
        font-size: 10.5px;
    }
    .hero-trust-item-sub {
        font-size: 9px;
    }
    .hero-book-showcase-clean {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 12px;
        margin-bottom: 6px;
    }
    .hero-book-card-clean {
        width: clamp(75px, 24vw, 105px);
    }
    .hero-book-carousel-card {
        width: clamp(100px, 30vw, 145px);
    }
}

@media (max-width: 480px) {
    .section-hero-clean.has-content {
        padding-top: 14px !important;
        padding-bottom: 38px !important;
    }
    .hero-pill-badge {
        font-size: clamp(7.5px, 2.1vw, 9px) !important;
        padding: 2px 6px !important;
        gap: 3px !important;
        letter-spacing: 0.01em !important;
        white-space: nowrap !important;
        max-width: 100% !important;
    }
    .hero-title-clean {
        font-size: clamp(16px, 4.6vw, 19px);
        margin-bottom: 3px;
    }
    .hero-subtitle-bengali {
        font-size: clamp(11.5px, 2.8vw, 13px);
        margin-bottom: 4px;
    }
    .hero-desc-with-cards {
        display: none !important; /* Omit long description when book showcase is active on small mobile */
    }
    .hero-cta-buttons {
        gap: 5px;
        width: 100%;
    }
    .hero-cta-buttons .btn-clean-primary,
    .hero-cta-buttons .btn-clean-outline,
    .btn-clean-primary,
    .btn-clean-outline {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 34px !important;
        padding: 0 5px !important;
        font-size: clamp(8.8px, 2.1vw, 10.2px) !important;
        gap: 3px !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    .hero-book-showcase-clean {
        gap: 8px;
        margin-top: 10px;
        margin-bottom: 4px;
    }
    .hero-book-card-clean {
        width: clamp(70px, 25vw, 92px);
    }
    .hero-book-carousel-card {
        width: clamp(90px, 32vw, 120px);
    }
    .hero-bg-indicators {
        bottom: 8px !important;
    }
}

@media (max-width: 379.98px) {
    /* When screen does not have proper space, omit book showcase card and expand text */
    .hero-showcase-col {
        display: none !important;
    }
    .hero-text-col {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   HERO BACKGROUND SLIDER & FULL ADAPTIVE RESPONSIVE IMAGE ENGINE
   ========================================================================== */
.hero-bg-slider {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-areas: "hero-slide";
    overflow: hidden;
}

.section-hero-clean.has-content .hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    grid-area: hero-slide;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.65s ease-in-out, visibility 0.65s ease-in-out;
    pointer-events: none;
    line-height: 0;
}

.section-hero-clean.has-content .hero-bg-slide {
    height: 100% !important;
    min-height: 100% !important;
    display: block;
}

.hero-bg-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
    cursor: pointer;
    line-height: 0;
}

.section-hero-clean.has-content .hero-slide-link {
    height: 100% !important;
    min-height: 100% !important;
    display: block;
}

.hero-slide-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.section-hero-clean.has-content .hero-slide-img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Background Fit Modes from Admin Settings */
.section-hero-clean.hero-fit-contain .hero-slide-img {
    object-fit: contain !important;
    object-position: center center;
}

.section-hero-clean.hero-fit-cover .hero-slide-img {
    object-fit: cover !important;
    object-position: center center;
}

.section-hero-clean.hero-fit-responsive .hero-slide-img {
    object-fit: cover !important;
    object-position: center center;
}

@media (max-width: 767.98px) {
    .section-hero-clean.has-content .hero-slide-img,
    .section-hero-clean.has-content.hero-fit-responsive .hero-slide-img {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

.section-hero-clean.has-bg-link {
    cursor: pointer;
}

.section-hero-clean.has-bg-link a,
.section-hero-clean.has-bg-link button,
.section-hero-clean.has-bg-link .hero-book-card-clean,
.section-hero-clean.has-bg-link .hero-book-carousel-card,
.section-hero-clean.has-bg-link .hero-pill-badge {
    cursor: default;
}

.section-hero-clean.has-bg-link a,
.section-hero-clean.has-bg-link button,
.section-hero-clean.has-bg-link .hero-book-card-clean a,
.section-hero-clean.has-bg-link .hero-book-carousel-card a,
.section-hero-clean.has-bg-link .hero-slide-link {
    cursor: pointer;
}

.hero-bg-indicators {
    position: absolute;
    bottom: clamp(10px, 2.5vw, 22px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(0, 0, 0, 0.4);
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
}

.hero-bg-indicators .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.55);
    padding: 0;
    transition: all 0.25s ease;
    cursor: pointer;
}

.hero-bg-indicators .hero-dot.active {
    background-color: #ffffff;
    width: 22px;
    border-radius: 11px;
}

/* ==========================================================================
   NEW RELEASES MOBILE CAROUSEL MODE
   ========================================================================== */
.new-releases-mobile-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.mobile-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 12px 18px 12px;
    scrollbar-width: none;
}

.mobile-carousel-track::-webkit-scrollbar {
    display: none;
}

.mobile-carousel-slide {
    flex: 0 0 clamp(230px, 75vw, 290px);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

.mobile-carousel-slide.genre-slide {
    flex: 0 0 clamp(200px, 60vw, 250px);
}

.mobile-carousel-slide .book-card-item,
.mobile-carousel-slide .cat-card-clean {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.mobile-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

.carousel-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color, #e2e8f0);
    background-color: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.carousel-nav-btn:active {
    background-color: #f1f5f9;
    transform: scale(0.94);
}

.mobile-carousel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-carousel-dots .dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: #cbd5e1;
    padding: 0;
    transition: all 0.25s ease;
    cursor: pointer;
}

.mobile-carousel-dots .dot-btn.active {
    background-color: var(--brand-primary, #b91c1c);
    width: 22px;
    border-radius: 11px;
}