
        /* --- Global Theme Colors & Settings --- */
        :root {
            --primary-maroon: #851E16;
            --accent-orange: #C0703E;
            --navy-dark: #0A192F;
            --text-dark: #1F2937;
            --bg-light-cream: #FAF9F5;
            --mint-card-bg: #6A9A8A;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
font-family: 'Poppins'!important;
color: var(--text-dark);
            background-color: #ffffff;
            overflow-x: hidden;
        }

        /* --- Typography --- */
        h1, h2, h3, h4, .brand-text {
            font-family: 'Playfair Display', serif;
        }

        /* --- Navbar Styling --- */
        .logo-box {
            background-color: #000;
            color: #fff;
            font-weight: bold;
            padding: 2px 10px;
            border-radius: 4px;
            font-size: 1.2rem;
        }
        .brand-text {
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: 0.5px;
            color: #111;
        }
        .brand-text small {
            display: block;
            font-size: 0.6rem;
            font-family: 'Plus Jakarta Sans', sans-serif;
            letter-spacing: 2px;
            color: #555;
        }
        .search-bar {
            background-color: #f5f5f5;
            border-radius: 30px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
        }
        .search-bar input {
            background-color: transparent;
            border: none;
            box-shadow: none !important;
            padding-left: 18px;
            font-size: 0.9rem;
        }
        .max-w-search {
            width: 100%;
            max-width: 380px;
        }
        .icon-link {
            font-size: 1.2rem;
            color: #444 !important;
            position: relative;
            transition: color 0.3s;
        }
        .icon-link:hover {
            color: var(--primary-maroon) !important;
        }
        .badge-count {
            position: absolute;
            top: -2px;
            right: -8px;
            background-color: var(--primary-maroon);
            color: white;
            font-size: 0.65rem;
            padding: 2px 6px;
            border-radius: 50%;
            transition: all 0.3s ease;
        }
        .btn-account {
            background-color: #F3EBE1;
            color: #5A4A3A !important;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 6px 14px;
        }

        /* --- Mega Menu Styling --- */
        .mega-menu {
            position: static !important;
        }
        .mega-menu-content {
            width: 100%;
            left: 0;
            right: 0;
            padding: 40px;
            border: none;
            border-radius: 0 0 12px 12px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            background: #fff;
            display: none;
            position: absolute;
            z-index: 1000;
        }
        .nav-item:hover .mega-menu-content {
            display: block;
        }
        .category-pill {
            display: inline-block;
            background: #f1f3f5;
            padding: 8px 18px;
            border-radius: 20px;
            margin: 5px;
            font-size: 0.85rem;
            color: #333;
            text-decoration: none;
            transition: all 0.2s;
        }
        .category-pill:hover {
            background: var(--primary-maroon);
            color: #fff;
        }
        .menu-link-list a {
            display: block;
            padding: 8px 0;
            color: #333;
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        .menu-link-list a:hover {
            color: var(--primary-maroon);
            padding-left: 5px;
        }
        .browse-all-link {
            color: var(--primary-maroon);
            font-weight: 700;
            text-decoration: none;
            font-size: 0.9rem;
        }

        /* --- Hero Section & Custom Buttons --- */
        .hero-section {
            background-color: var(--bg-light-cream);
            min-height: 550px;
        }
        .badge-featured {
            background-color: #F3EBE1;
            color: var(--accent-orange);
            font-weight: 600;
            letter-spacing: 1px;
            padding: 6px 12px;
            border-radius: 4px;
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            color: var(--navy-dark);
            line-height: 1.15;
        }
        .hero-title span {
            color: var(--primary-maroon);
            font-style: italic;
        }
        .btn-primary-custom {
            background-color: var(--primary-maroon);
            color: white;
            border-radius: 6px;
            font-weight: 500;
            border: none;
            transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
        }
        .btn-primary-custom:hover {
            background-color: #63140E;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(133, 30, 22, 0.3);
        }
        .btn-secondary-custom {
            background-color: #EFE6DC;
            color: #4A3E3D;
            border-radius: 6px;
            font-weight: 500;
            border: none;
            transition: transform 0.2s, background-color 0.3s;
        }
        .btn-secondary-custom:hover {
            background-color: #E2D5C7;
            transform: translateY(-2px);
        }

        /* --- Interactive CSS Book Showcase --- */
        .book-container {
            position: relative;
            width: 320px;
            height: 400px;
            cursor: pointer;
        }
        .book-bg-card {
            background-color: var(--mint-card-bg);
            width: 100%;
            height: 100%;
            border-radius: 12px;
            padding: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
            animation: floatBook 5s ease-in-out infinite;
            transition: transform 0.3s ease;
        }
        .book-container:hover .book-bg-card {
            transform: scale(1.03) rotate(1deg);
        }
        .book-inner-cover {
            background: linear-gradient(135deg, #2b4c40 0%, #152c24 100%);
            width: 100%;
            height: 100%;
            border-radius: 4px 8px 8px 4px;
            padding: 24px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            color: #EFE6DC;
            box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        }
        .book-inner-cover::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 12px;
            height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 100%);
            border-radius: 4px 0 0 4px;
        }
        .book-inner-cover .accent-line {
            height: 3px;
            background-color: var(--accent-orange);
            width: 50px;
            margin-top: 10px;
        }
        .newest-tag-badge {
            position: absolute;
            bottom: 35px;
            right: -30px;
            background-color: var(--accent-orange);
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            box-shadow: 0 8px 20px rgba(192, 112, 62, 0.3);
            z-index: 10;
        }

        @keyframes floatBook {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-12px); }
            100% { transform: translateY(0px); }
        }

        /* --- Urgent Deal Components --- */
        .flash-deal-box {
            background-color: #FAF2EB;
            border: 2px dashed var(--accent-orange);
            border-radius: 14px;
        }
        .timer-square {
            background-color: var(--navy-dark);
            color: white;
            font-weight: 700;
            font-size: 1.5rem;
            width: 55px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

        /* --- Custom Section Accenting --- */
        .section-header-accent {
            position: relative;
            padding-bottom: 12px;
            font-weight: 700;
            color: var(--navy-dark);
        }
        .section-header-accent::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background-color: var(--primary-maroon);
            border-radius: 2px;
        }
        .section-header-accent-left {
            position: relative;
            padding-bottom: 12px;
            font-weight: 700;
            color: var(--navy-dark);
        }
        .section-header-accent-left::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--primary-maroon);
            border-radius: 2px;
        }

        /* --- Carousel Adjustments (Replaced Scroll Framework) --- */
        .carousel-outer-wrapper {
            position: relative;
            padding: 0 45px;
        }
        .carousel-control-prev-custom,
        .carousel-control-next-custom {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: var(--primary-maroon);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            font-size: 1.2rem;
            z-index: 10;
            transition: all 0.3s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }
        .carousel-control-prev-custom:hover,
        .carousel-control-next-custom:hover {
            background-color: var(--navy-dark);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }
        .carousel-control-prev-custom { left: -5px; }
        .carousel-control-next-custom { right: -5px; }

        .book-item {
            padding: 10px;
        }

        /* --- Digital Product Grid Cards --- */
        .product-card {
            background-color: #ffffff;
            border-radius: 12px;
            border: 1px solid #eaeaea;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
        }
        .product-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 35px rgba(0,0,0,0.1);
        }
        .book-thumbnail-wrapper {
            background-color: var(--bg-light-cream);
            padding: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        .preview-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(10, 25, 47, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .product-card:hover .preview-overlay { opacity: 1; }
        
        .mini-book-spine {
            width: 125px;
            height: 175px;
            background: linear-gradient(135deg, var(--primary-maroon) 0%, #4a0e0a 100%);
            border-radius: 2px 6px 6px 2px;
            box-shadow: 4px 10px 20px rgba(0,0,0,0.15);
            padding: 15px;
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            transition: transform 0.4s ease;
        }
        .product-card:hover .mini-book-spine {
            transform: scale(1.05) rotate(-2deg);
        }
        .mini-book-spine::after {
            content: ''; position: absolute; top: 0; left: 0; width: 6px; height: 100%;
            background: linear-gradient(to right, rgba(0,0,0,0.2), transparent);
        }
        .mini-book-spine.blue-edition { background: linear-gradient(135deg, #1d3557 0%, #0b1523 100%); }
        .mini-book-spine.gold-edition { background: linear-gradient(135deg, #ba8b02 0%, #614600 100%); }
        .mini-book-title { font-size: 0.75rem; font-weight: bold; line-height: 1.2; }
        
        /* --- Dynamic Button & Quantity Counter Framework --- */
        .action-container-block {
            width: 130px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .btn-add-to-cart-trigger {
            background-color: transparent;
            color: var(--primary-maroon);
            border: 1px solid var(--primary-maroon);
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            width: 100%;
            height: 100%;
            transition: all 0.25s ease;
        }
        .btn-add-to-cart-trigger:hover {
            background-color: var(--primary-maroon);
            color: #ffffff;
        }
        .cart-action-wrapper {
            display: flex;
            align-items: center;
            background: #F8F9FA;
            border: 1px solid var(--primary-maroon);
            border-radius: 30px;
            padding: 2px;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        .btn-counter-node {
            width: 32px;
            height: 32px;
            background: #ffffff;
            border: 1px solid #EAEAEA;
            color: var(--text-dark);
            font-size: 0.9rem;
            font-weight: 700;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
        }
        .btn-counter-node:hover {
            background-color: var(--primary-maroon);
            color: #ffffff;
            border-color: var(--primary-maroon);
        }
        .counter-display-value {
            font-size: 0.9rem;
            font-weight: 700;
            flex-grow: 1;
            text-align: center;
            color: var(--navy-dark);
        }
        .fomo-badge { font-size: 0.75rem; background-color: #FFF3CD; color: #856404; padding: 4px 10px; border-radius: 4px; display: inline-block; }

        /* --- Step Guide Elements --- */
        .step-circle {
            width: 60px;
            height: 60px;
            background-color: #FBEBEA;
            color: var(--primary-maroon);
            font-size: 1.5rem;
            font-weight: bold;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
        }

        /* --- Author Spotlight Cards --- */
        .author-avatar {
            width: 90px;
            height: 90px;
            background-color: var(--bg-light-cream);
            color: var(--navy-dark);
            font-size: 2rem;
            font-weight: bold;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            border: 3px solid #fff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        /* --- Interactive Reviews Hub Components --- */
        .review-card {
            background: #ffffff;
            border: 1px solid #eee;
            border-radius: 12px;
            padding: 24px;
            transition: all 0.3s;
        }
        .review-card:hover { 
            transform: translateY(-4px); 
            box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
        }

        /* --- Expandable FAQ Panels --- */
        .accordion-button:not(.collapsed) {
            background-color: #FBEBEA;
            color: var(--primary-maroon);
            box-shadow: none;
        }
        .accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.1); }

        /* --- Live Layout Toast Notifications --- */
        .custom-toast {
            position: fixed;
            bottom: 90px;
            left: 24px;
            background-color: var(--navy-dark);
            color: white;
            padding: 14px 24px;
            border-radius: 8px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.2);
            z-index: 1100;
            display: flex;
            align-items: center;
            gap: 12px;
            transform: translateY(150px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .custom-toast.show { transform: translateY(0); opacity: 1; }

        .modal-book-view {
            background: linear-gradient(135deg, var(--primary-maroon) 0%, #300a07 100%);
            color: white; padding: 40px; border-radius: 12px 0 0 12px;
            display: flex; flex-direction: column; justify-content: space-between; min-height: 350px;
        }

        /* --- Base Global Setting Blocks --- */
        .bg-light-section { background-color: #FAFAFA; }
        .stats-section { background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.95)); color: #ffffff; }
        .stat-number { font-size: 2.8rem; font-weight: 700; color: var(--accent-orange); font-family: 'Playfair Display', serif; }
        .error-state-box { background-color: #FFF5F5; border: 1px solid #FED7D7; }
        .newsletter-box { background-color: #F0EDE6; border-radius: 16px; padding: 40px; }
        .footer-section { background-color: var(--navy-dark); }
        .logo-box-light { background-color: #fff; color: var(--navy-dark); font-weight: bold; padding: 1px 8px; border-radius: 4px; font-size: 1rem; }
        .footer-heading { font-size: 0.75rem; letter-spacing: 1.5px; color: #8F9CAE; font-weight: 600; }
        .footer-text { font-size: 0.88rem; line-height: 1.6; }
        .footer-links li { margin-bottom: 10px; }
        .footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; transition: all 0.2s; }
        .footer-links a:hover { color: #ffffff; padding-left: 4px; }
        .social-icon { width: 32px; height: 32px; background-color: rgba(255,255,255,0.06); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: background-color 0.2s; }
        .social-icon:hover { background-color: var(--primary-maroon); color: white; }
        .whatsapp-btn-floating { position: fixed; bottom: 24px; right: 24px; width: 50px; height: 50px; background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 4px 12px rgba(0,0,0,0.25); z-index: 1000; transition: transform 0.2s; }
        .whatsapp-btn-floating:hover { transform: scale(1.1); color: white; }
        
        /* Container wrapper to provide side padding space for the buttons */
.mb-5.position-relative {
    position: relative;
    padding: 0 50px; /* Adjust this value if you want the buttons closer or further from the slides */
}

/* Absolute positioning to move buttons outside the slider window */
.carousel-control-prev-custom,
.carousel-control-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    margin: 0; /* Clear default fallback alignment offsets */
}

/* Push the left button completely to the left edge of the wrapper container */
.carousel-control-prev-custom {
    left: 0;
}

/* Push the right button completely to the right edge of the wrapper container */
.carousel-control-next-custom {
    right: 0;
}

/* Responsive adjustment: hides buttons on small viewports to prevent layout clipping */
@media (max-width: 576px) {
    .mb-5.position-relative {
        padding: 0; /* Remove padding to maximize mobile card layout view space */
    }
    .carousel-control-prev-custom,
    .carousel-control-next-custom {
        display: none; /* Disables buttons on mobile since Swiper supports native touch gestures */
    }
}

