    /* RESET & BASE UTILITIES */
    body {
        background-color: #f8f9fa;
    }
    
    .ebook-page-wrapper {
        margin-top: 75px;
        padding-top: 16px;
        padding-bottom: 60px;
        background-color: #f8f9fa;
        min-height: 100vh;
    }

    @media (min-width: 992px) {
        .ebook-page-wrapper {
            margin-top: 80px;
            padding-top: 20px;
        }
    }


    /* CAROUSEL BANNER (SWIPER) */
    .banner-section {
        margin-bottom: 40px;
    }
    
    .swiper-banner {
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }
    
    .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.7;
    }
    
    .swiper-pagination-bullet-active {
        background: #2563eb;
        opacity: 1;
    }

    .swiper-button-next, .swiper-button-prev {
        color: #fff;
        background: rgba(0,0,0,0.3);
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }
    
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 16px;
    }

    /* HEADER BARS */
    .filter-bar {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding-bottom: 18px;
        margin-bottom: 16px;
        gap: 10px;
    }
    
    @media (min-width: 768px) {
        .filter-bar {
            flex-direction: row;
            align-items: center;
            margin-bottom: 24px;
        }
    }

    .section-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
        margin-bottom: 20px;
        border-bottom: 2px solid #e5e7eb;
        padding-bottom: 10px;
    }

    .section-header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 700;
        color: #111827;
        text-align: left;
        flex: 1;
    }

    .section-header a {
        font-size: 14px;
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
        white-space: nowrap;
        margin-left: 12px;
    }

    .section-header a:hover {
        text-decoration: underline;
    }

    /* FORMS */
    .filter-form {
        display: flex;
        gap: 10px;
        width: 100%;
        max-width: 500px;
    }

    .custom-select {
        padding: 10px 16px;
        border-radius: 50px;
        border: 1px solid #d1d5db;
        background: #fff;
        font-family: inherit;
        font-size: 14px;
        color: #4b5563;
        outline: none;
        cursor: pointer;
    }

    .search-input-group {
        display: flex;
        flex: 1;
        background: #fff;
        border: 1px solid #d1d5db;
        border-radius: 50px;
        overflow: hidden;
    }

    .search-input-group input {
        border: none;
        padding: 10px 16px;
        width: 100%;
        outline: none;
        font-family: inherit;
        font-size: 14px;
    }

    .search-input-group button {
        background: transparent;
        border: none;
        padding: 0 16px;
        color: #2563eb;
        cursor: pointer;
    }

    .reset-filter {
        font-size: 12px;
        color: #ef4444;
        text-decoration: none;
        display: inline-block;
        margin-bottom: 20px;
        border: 1px solid #fca5a5;
        padding: 4px 12px;
        border-radius: 50px;
        background: #fef2f2;
    }

    /* EBOOK GRID & CARDS (BACABUKU STYLE) */
    .ebook-section {
        margin-bottom: 50px;
        position: relative;
    }

    .ebook-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Promo Grid - Wider cards */
    .ebook-promo-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    @media (min-width: 768px) {
        .ebook-grid {
            grid-template-columns: repeat(4, 1fr);
        }
        
        .ebook-promo-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media (min-width: 992px) {
        .ebook-grid {
            grid-template-columns: repeat(6, 1fr);
        }
        
        .ebook-promo-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    /* Swiper Navigation Buttons for Sections */
    .section-swiper-wrapper {
        position: relative;
        padding: 0; /* Remove padding */
    }
    
    .section-nav-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 50%; /* Bulat penuh */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 20;
        transition: all 0.2s;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
        color: #374151;
        font-size: 18px;
    }
    
    .section-nav-button:hover:not(.swiper-button-disabled) {
        background: rgba(255, 255, 255, 1);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
        transform: translateY(-50%) scale(1.05);
    }
    
    .section-nav-button.swiper-button-disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }
    
    .section-nav-prev {
        left: -15px; /* Setengah masuk ke card area */
    }
    
    .section-nav-next {
        right: -15px; /* Setengah masuk ke card area */
    }
    
    /* Hide buttons on mobile */
    @media (max-width: 767px) {
        .section-nav-button {
            display: none;
        }
    }
    
    /* Swiper Overrides for Section Sliders */
    .ebook-swiper {
        overflow: hidden !important;
        padding: 0 !important;
    }
    
    .ebook-swiper .swiper-wrapper {
        display: flex;
    }
    
    .ebook-swiper .swiper-slide {
        height: auto;
        display: flex;
    }
    
    .ebook-swiper .swiper-slide > a {
        width: 100%;
    }

    .ebook-card {
        background: #ffffff;
        border: 1px solid #f3f4f6;
        border-radius: 12px;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
        height: 100%;
        padding: 16px; /* Add padding to inset everything inside */
    }

    .ebook-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        border-color: #e5e7eb;
    }

    .ebook-card-header {
        /* Wrapper kept for HTML structure, but styles reset */
        width: 100%;
        position: relative; /* For promo badge positioning */
    }

    .ebook-cover-wrapper {
        width: 100%; /* Will fit inside the card's 16px padding */
        height: 180px; /* Fixed height for consistency */
        margin: 0 auto;
        background-color: #f9fafb; /* Light gray background */
        border-radius: 8px; /* Floating look */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Floating shadow */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
    }

    /* PROMO Badge for regular cards */
    .ebook-promo-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
        color: white;
        padding: 4px 10px;
        font-size: 9px;
        font-weight: 700;
        border-radius: 4px;
        letter-spacing: 0.5px;
        z-index: 10;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    }

    .ebook-cover-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Show full image without crop */
        object-position: center;
    }

    .ebook-cover-placeholder {
        color: #cbd5e1;
        font-size: 40px;
    }

    .ebook-card-body {
        padding: 16px 0 0 0; /* Only top padding since card has outer padding */
        display: flex;
        flex-direction: column;
        flex: 1;
        background-color: transparent;
    }

    .ebook-title {
        font-size: 14px;
        font-weight: 600;
        color: #111827;
        margin: 0 0 6px 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.8em;
    }

    .ebook-author {
        font-size: 12px;
        color: #6b7280;
        margin: 0 0 8px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ebook-price {
        margin-top: 0;
        font-size: 14px;
        font-weight: 700;
    }

    .ebook-price.paid {
        color: #0d6efd; /* Sada Blue price */
    }
    
    .ebook-price.paid.promo {
        color: #F97316; /* Orange for promo price */
    }

    .ebook-price.free {
        color: #10b981;
    }

    .ebook-original-price {
        font-size: 10px;
        color: #9ca3af;
        text-decoration: line-through;
        font-weight: normal;
        margin-top: 2px;
    }

    /* PROMO CARD STYLES (BACABUKU HORIZONTAL LAYOUT) */
    .ebook-promo-card {
        background: #ffffff;
        border: 1px solid #f3f4f6;
        border-radius: 12px;
        text-decoration: none;
        display: flex;
        flex-direction: row; /* Horizontal layout */
        gap: 16px;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
        padding: 16px;
        position: relative;
        overflow: visible;
        min-height: 200px;
    }

    .ebook-promo-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        border-color: #e5e7eb;
    }

    /* PROMO Badge (Top Right Corner) */
    .promo-badge-corner {
        position: absolute;
        top: 0;
        right: 0;
        background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
        color: white;
        padding: 6px 16px;
        font-size: 11px;
        font-weight: 700;
        border-radius: 0 12px 0 12px;
        letter-spacing: 0.5px;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }

    .ebook-promo-cover-wrapper {
        width: 140px; /* Fixed width for horizontal layout */
        flex-shrink: 0;
        height: 210px; /* Fixed height like regular cards */
        background-color: #f9fafb; /* Light gray background */
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
    }

    .ebook-promo-cover-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Show full image without crop */
        object-position: center;
    }

    .ebook-promo-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end; /* Align content to bottom */
        padding: 8px 0;
    }

    .ebook-promo-title {
        font-size: 16px;
        font-weight: 600;
        color: #111827;
        margin: 0 0 6px 0;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ebook-promo-author {
        font-size: 13px;
        color: #6b7280;
        margin: 0 0 auto 0; /* Push price section to bottom */
    }

    /* Promo Price - Big and Orange */
    .ebook-promo-price {
        font-size: 24px;
        font-weight: 700;
        color: #F97316;
        margin: 0 0 4px 0;
    }

    /* Original Price - Crossed Out */
    .ebook-promo-original-price {
        font-size: 14px;
        color: #9ca3af;
        text-decoration: line-through;
        font-weight: normal;
        margin-bottom: 12px;
    }

    /* Flash Sale Badge */
    .flash-sale-section {
        margin-top: auto;
    }
    
    .flash-sale-badge {
        display: inline-block;
        background: #FEF3C7;
        color: #92400E;
        padding: 4px 12px;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 600;
        margin-bottom: 8px;
        width: fit-content;
    }

    /* Countdown */
    .promo-countdown {
        font-size: 11px;
        color: #6b7280;
        margin-top: 4px;
    }

    .promo-countdown strong {
        color: #EF4444;
        font-weight: 600;
    }

    /* Responsive - Mobile: back to vertical */
    @media (max-width: 768px) {
        .ebook-promo-card {
            flex-direction: column;
        }
        
        .ebook-promo-cover-wrapper {
            width: 100%;
            max-width: 200px;
            margin: 0 auto;
        }
    }

    /* EMPTY STATE */
    .training-empty {
        text-align: center;
        padding: 80px 20px;
        width: 100%;
        grid-column: 1 / -1;
    }

    .training-empty-icon {
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, #eef2ff, #dbeafe);
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
        font-size: 2.5rem;
        color: #2563eb;
        opacity: 0.6;
    }

    .training-empty h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 8px;
    }

    .training-empty p {
        font-size: 1rem;
        color: #6b7280;
        max-width: 400px;
        margin: 0 auto 24px;
        line-height: 1.6;
    }

    /* PAGINATION (Custom since no Bootstrap) */
    .pagination-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }
    
    .pagination-wrapper nav {
        display: flex;
        gap: 5px;
    }
    
    .pagination-wrapper a, .pagination-wrapper span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        text-decoration: none;
        font-size: 14px;
        color: #4b5563;
        background: #fff;
        border: 1px solid #e5e7eb;
        transition: all 0.2s;
    }
    
    .pagination-wrapper a:hover {
        background: #f3f4f6;
        color: #2563eb;
    }
    
    .pagination-wrapper span[aria-current="page"] {
        background: #2563eb;
        color: #fff;
        border-color: #2563eb;
    }
