/* ============================================================
   BookNest Marketplace - Premium Light Theme
   ============================================================ */

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #e0e7ff;
    --secondary: #7c3aed;
    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #94a3b8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Inter', -apple-system, sans-serif;
    box-sizing: border-box;
}

body {
    background: var(--bg-body);
    color: var(--text-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

main>.container:first-child,
main>div:first-child:not(.hero):not(.stats-bar) {
    padding-top: 105px;
    padding-bottom: 60px;
}

/* ============================================================
   GLASSMORPHISM UTILITIES
   ============================================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03) !important;
    border-radius: 20px !important;
}

.glass-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -10px rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

.glass-input {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 12px !important;
    transition: var(--transition);
}

.glass-input:focus {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
    color: #0f172a !important;
}

/* ============================================================
   EXECUTIVE HEADER CONTAINER & TOP ANNOUNCEMENT STRIP
   ============================================================ */
.main-header-fixed {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.header-top-strip {
    background: linear-gradient(90deg, #090e17 0%, #0f172a 50%, #1e1b4b 100%);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.2px;
}

.strip-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.strip-link {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.strip-link:hover {
    color: #38bdf8 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.header-top-strip a {
    color: #cbd5e1;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.header-top-strip a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* ============================================================
   EXECUTIVE SINGLE-BAR NAVBAR
   ============================================================ */
.pro-single-navbar {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.pro-single-navbar.scrolled {
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.1);
}

.brand-icon-modern {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    flex-shrink: 0;
}

.brand-name-text {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.4px;
}

.brand-badge-subtitle {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6366f1;
    line-height: 1;
}

/* Nav Links: NO default underline, ONLY underline on hover */
.pro-single-navbar .nav-link-pro,
.pro-single-navbar .navbar-nav .nav-link,
.pro-single-navbar .navbar-nav a {
    display: inline-flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b !important;
    padding: 8px 14px !important;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.pro-single-navbar .nav-link-pro:hover,
.pro-single-navbar .navbar-nav .nav-link:hover,
.pro-single-navbar .navbar-nav a:hover {
    color: #4f46e5 !important;
    background: rgba(79, 70, 229, 0.06);
    text-decoration: underline !important;
    text-underline-offset: 6px !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #4f46e5 !important;
}

/* Dropdown Menu */
.dropdown-menu-modern {
    border-radius: 14px !important;
    min-width: 210px;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14) !important;
    border: 1px solid #e2e8f0 !important;
}

.dropdown-menu-modern .dropdown-item {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.18s ease;
}

.dropdown-menu-modern .dropdown-item:hover {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    transform: translateX(3px);
    text-decoration: none !important;
}

/* Search Pill */
.nav-search-pill {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 999px;
    padding: 3px 4px 3px 12px;
    width: 240px;
    transition: all 0.25s ease;
}

.nav-search-pill:focus-within {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    width: 270px;
}

.nav-search-pill input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    width: 100%;
    color: #0f172a;
    padding: 4px 8px;
}

.search-pill-btn {
    border: none;
    outline: none;
    background: #4f46e5;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.search-pill-btn:hover {
    background: #4338ca;
}

/* Cart Button */
.nav-cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #1e293b !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.nav-cart-btn:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #4f46e5 !important;
    transform: translateY(-2px);
    text-decoration: none !important;
}

.cart-pill-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
    border: 2px solid #ffffff;
}

/* Sign In Button */
.btn-signin-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
    text-decoration: none !important;
    transition: all 0.22s ease;
}

.btn-signin-modern:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
    color: #ffffff !important;
    text-decoration: none !important;
}

/* User Pill */
.user-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-profile-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.user-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.user-first-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0f172a;
}

.navbar {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
    z-index: 1040;
}

.navbar.scrolled {
    padding: 9px 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none !important;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.nav-action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--text-body);
    text-decoration: none !important;
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
}

.nav-action-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #fdf4ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-search {
    display: flex;
    gap: 12px;
    max-width: 520px;
}

.hero-search .form-control {
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 16px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hero-search .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* ============================================================
   SECTION
   ============================================================ */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ============================================================
   BOOK CARD
   ============================================================ */
.book-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}

.book-card-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    position: relative;
}

.book-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.book-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-featured {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.badge-new {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.book-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-card-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.book-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card-title a {
    color: inherit;
    text-decoration: none;
}

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

.book-card-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

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

.book-price-mrp {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.book-price-discount {
    font-size: 12px;
    font-weight: 700;
    color: #22c55e;
}

/* ============================================================
   CATEGORY CARD
   ============================================================ */
.category-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: scale(1.1);
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 48px 0;
    color: #fff;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-title {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

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

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

.footer-links a:hover {
    color: #e2e8f0;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* ============================================================
   PROFESSIONAL ACTION BUTTONS (Cart & Buy Now)
   ============================================================ */
.book-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.btn-cart-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1.5px solid #bfdbfe;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
}

.btn-cart-custom i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.btn-cart-custom:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.btn-cart-custom:hover i {
    transform: scale(1.15);
}

.btn-cart-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

.btn-buynow-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.25;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: 1.5px solid #1e40af;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-buynow-custom i {
    font-size: 12px;
    color: #fbbf24;
    transition: transform 0.2s ease;
}

.btn-buynow-custom:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    border-color: #1e3a8a;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.45);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-buynow-custom:hover i {
    transform: scale(1.2) rotate(10deg);
}

.btn-buynow-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.3);
}

/* Large variant for Book Detail Page */
.btn-cart-custom.btn-lg-custom,
.btn-buynow-custom.btn-lg-custom {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 12px;
}

.product-page-container,
.catalog-page-container {
    padding-top: 105px !important;
    padding-bottom: 60px;
}


CATEGORY CARD============================================================*/ .category-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: scale(1.1);
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 48px 0;
    color: #fff;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 4px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

.footer-title {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

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

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

.footer-links a:hover {
    color: #e2e8f0;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* ============================================================
   PROFESSIONAL ACTION BUTTONS (Cart & Buy Now)
   ============================================================ */
.book-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.btn-cart-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.25;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1.5px solid #bfdbfe;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.05);
}

.btn-cart-custom i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.btn-cart-custom:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.btn-cart-custom:hover i {
    transform: scale(1.15);
}

.btn-cart-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

.btn-buynow-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.25;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: 1.5px solid #1e40af;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-buynow-custom i {
    font-size: 12px;
    color: #fbbf24;
    transition: transform 0.2s ease;
}

.btn-buynow-custom:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    border-color: #1e3a8a;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.45);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-buynow-custom:hover i {
    transform: scale(1.2) rotate(10deg);
}

.btn-buynow-custom:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.3);
}

/* Large variant for Book Detail Page */
.btn-cart-custom.btn-lg-custom,
.btn-buynow-custom.btn-lg-custom {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 12px;
}

.product-page-container,
.catalog-page-container {
    padding-top: 105px !important;
    padding-bottom: 60px;
}