/* ==========================================================================
   BACAAN HATI — PAGE SPECIFIC STYLES
   ========================================================================== */

/* --- CSS from index --- */
        /* —— CATEGORY NAV ————————————————————————————————————— */
        .cat-nav {
            background: var(--white);
            border-bottom: 1.5px solid var(--border);
        }

        .cat-nav-inner {
            display: flex;
            gap: 4px;
            overflow-x: auto;
            scrollbar-width: none;
            padding: 10px 0;
        }

        .cat-nav-inner::-webkit-scrollbar {
            display: none;
        }

        .cat-pill {
            white-space: nowrap;
            padding: 7px 18px;
            border-radius: 40px;
            border: 1.5px solid transparent;
            font-size: 13px;
            font-weight: 500;
            color: var(--text-muted);
            cursor: pointer;
            transition: all .2s;
            background: transparent;
        }

        .cat-pill:hover {
            background: var(--rose-pale);
            color: var(--rose-dark);
            border-color: var(--border);
        }

        .cat-pill.active {
            background: var(--rose);
            color: #fff;
            border-color: var(--rose);
        }

        /* —— HERO ————————————————————————————————————————————— */
        .hero {
            background: linear-gradient(135deg, var(--plum) 0%, #5C2F49 50%, var(--rose-dark) 100%);
            min-height: 500px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .heart-float {
            position: absolute;
            color: rgba(242, 164, 183, .3);
            animation: floatHeartUp linear infinite;
            pointer-events: none;
            z-index: 1;
        }

        @keyframes floatHeartUp {
            0% {
                transform: translateY(100%) rotate(0deg);
                opacity: 0;
            }

            10% {
                opacity: 1;
            }

            90% {
                opacity: .5;
            }

            100% {
                transform: translateY(-600px) rotate(360deg);
                opacity: 0;
            }
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: rgba(242, 164, 183, .18);
            border: 1px solid rgba(242, 164, 183, .35);
            color: var(--rose-light);
            border-radius: 40px;
            padding: 6px 16px;
            font-size: 12.5px;
            font-weight: 500;
            letter-spacing: .4px;
            margin-bottom: 20px;
        }

        .hero h1 {
            font-size: clamp(2rem, 4.5vw, 3.2rem);
            color: #fff;
            line-height: 1.2;
            margin-bottom: 18px;
        }

        .hero h1 em {
            color: var(--rose-light);
            font-style: italic;
        }

        .hero p.lead {
            color: rgba(255, 255, 255, .7);
            font-size: 16px;
            max-width: 440px;
            margin-bottom: 30px;
        }

        .btn-hero-primary {
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 40px;
            padding: 13px 32px;
            font-size: 15px;
            font-weight: 600;
            transition: all .25s;
            box-shadow: 0 4px 20px rgba(216, 88, 122, .4);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-hero-primary:hover {
            background: var(--rose-light);
            color: var(--plum);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(216, 88, 122, .5);
        }

        .btn-hero-secondary {
            border: 1.5px solid rgba(255, 255, 255, .35);
            color: rgba(255, 255, 255, .85);
            border-radius: 40px;
            padding: 12px 28px;
            font-size: 15px;
            font-weight: 500;
            transition: all .25s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: transparent;
        }

        .btn-hero-secondary:hover {
            background: rgba(255, 255, 255, .1);
            color: #fff;
            border-color: rgba(255, 255, 255, .6);
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat .num {
            font-family: 'Fraunces', serif;
            font-size: 1.7rem;
            font-weight: 700;
            color: #fff;
        }

        .hero-stat .lbl {
            font-size: 12px;
            color: rgba(255, 255, 255, .55);
            margin-top: 2px;
        }

        .stat-divider {
            width: 1px;
            background: rgba(255, 255, 255, .15);
        }

        /* Book stack visual */
        .hero-visual {
            position: relative;
            height: 320px;
        }

        .book-stack {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: flex-end;
            justify-content: center;
        }

        .book-card-hero {
            position: absolute;
            border-radius: 10px;
            box-shadow: var(--shadow-lg);
            transition: transform .3s;
        }

        .book-card-hero:hover {
            transform: translateY(-8px) !important;
        }

        .book-cover-hero {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 16px;
            text-align: center;
            border-radius: inherit;
            overflow: hidden;
        }

        .book-cover-hero .title {
            font-family: 'Fraunces', serif;
            font-weight: 700;
            color: #fff;
            margin-top: 10px;
        }

        .book-cover-hero .author {
            font-size: 11px;
            color: rgba(255, 255, 255, .7);
            margin-top: 4px;
        }

        .sticky-note-hero {
            position: absolute;
            top: -14px;
            right: -28px;
            background: var(--gold);
            color: #3a2c10;
            padding: 7px 12px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 700;
            box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
            transform: rotate(8deg);
            z-index: 3;
        }

        /* —— SECTION COMMONS ————————————————————————————————— */
        .section-eyebrow {
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--rose);
            margin-bottom: 6px;
        }

        .section-title {
            font-size: clamp(1.4rem, 2.5vw, 1.9rem);
            font-weight: 700;
            color: var(--plum);
            margin-bottom: 6px;
        }

        .section-sub {
            color: var(--text-muted);
            font-size: 14.5px;
        }

        .btn-see-all {
            border: 1.5px solid var(--border);
            background: transparent;
            color: var(--rose-dark);
            border-radius: 40px;
            padding: 8px 22px;
            font-size: 13.5px;
            font-weight: 500;
            transition: all .2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .btn-see-all:hover {
            background: var(--rose);
            color: #fff;
            border-color: var(--rose);
        }

        /* —— BOOK CARD ———————————————————————————————————————— */
        .book-card {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: all .25s;
            cursor: pointer;
            height: 100%;
        }

        .book-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--rose-light);
            transform: translateY(-4px);
        }

        .book-cover-wrap {
            position: relative;
            overflow: hidden;
            height: 210px;
        }

        .book-cover {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 20px;
            text-align: center;
            transition: transform .3s;
        }

        .book-card:hover .book-cover {
            transform: scale(1.04);
        }

        .book-cover-icon {
            font-size: 2.4rem;
            opacity: .85;
            margin-bottom: 10px;
        }

        .book-cover-title {
            font-family: 'Fraunces', serif;
            font-size: .85rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.3;
        }

        .book-cover-author {
            font-size: .7rem;
            color: rgba(255, 255, 255, .7);
            margin-top: 4px;
        }

        .book-badge-overlay {
            position: absolute;
            top: 12px;
            left: 12px;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .badge-tag {
            font-size: 10.5px;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 40px;
            letter-spacing: .3px;
        }

        .badge-new {
            background: var(--rose);
            color: #fff;
        }

        .badge-best {
            background: var(--gold);
            color: #fff;
        }

        .badge-free {
            background: #FCE9EE;
            color: var(--rose-dark);
            border: 1px solid var(--rose-light);
        }

        .badge-locked {
            background: linear-gradient(120deg, var(--gold), #C9842F);
            color: #fff;
        }

        .badge-included {
            background: rgba(255, 255, 255, .95);
            color: var(--rose-dark);
            border: 1px solid var(--rose-light);
        }

        .book-wishlist {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, .92);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #bbb;
            font-size: 14px;
            cursor: pointer;
            transition: all .2s;
            border: none;
        }

        .book-wishlist:hover {
            color: #e74c3c;
            background: #fff;
        }

        .book-body {
            padding: 16px;
        }

        .book-category {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: .8px;
            text-transform: uppercase;
            color: var(--rose);
            margin-bottom: 5px;
        }

        .book-title {
            font-family: 'Fraunces', serif;
            font-size: .92rem;
            font-weight: 700;
            color: var(--plum);
            line-height: 1.35;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .book-author {
            font-size: 12.5px;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .book-stars {
            color: var(--gold);
            font-size: 11px;
            gap: 1px;
        }

        .book-reviews {
            font-size: 11px;
            color: var(--text-muted);
            margin-left: 4px;
        }

        .book-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid var(--border);
        }

        .book-price {
            font-family: 'Fraunces', serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--plum);
            line-height: 1.15;
        }

        .book-price small {
            display: block;
            font-size: 10.5px;
            color: var(--text-muted);
            font-family: 'Nunito', sans-serif;
            font-weight: 700;
            letter-spacing: .2px;
            margin-top: 2px;
        }

        .book-price small.tag-included {
            color: #3E8A5E;
        }

        .book-price small.tag-premium {
            color: var(--gold);
        }

        .btn-buy {
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 40px;
            padding: 7px 16px;
            font-size: 12.5px;
            font-weight: 600;
            transition: all .2s;
            display: flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
        }

        .btn-buy:hover {
            background: var(--rose-dark);
            color: #fff;
        }

        .btn-buy.btn-buy-premium {
            background: linear-gradient(120deg, var(--gold), #C9842F);
        }

        .btn-buy.btn-buy-premium:hover {
            background: #C9842F;
        }

        /* —— FEATURED BANNER (langganan) ————————————————————— */
        .featured-banner {
            background: linear-gradient(120deg, var(--plum) 0%, #5C2F49 100%);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
            padding: 48px;
        }

        .featured-banner::after {
            content: '';
            position: absolute;
            right: -40px;
            top: -40px;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: rgba(216, 88, 122, .15);
        }

        .featured-banner::before {
            content: '';
            position: absolute;
            right: 80px;
            bottom: -60px;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(216, 88, 122, .1);
        }

        .featured-eyebrow {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--rose-light);
            margin-bottom: 12px;
        }

        .featured-banner h2 {
            color: #fff;
            font-size: clamp(1.6rem, 3vw, 2.3rem);
            margin-bottom: 16px;
        }

        .featured-banner p {
            color: rgba(255, 255, 255, .65);
            font-size: 15px;
            max-width: 420px;
            margin-bottom: 28px;
        }

        .featured-list {
            list-style: none;
            padding: 0;
            margin: 0 0 28px;
        }

        .featured-list li {
            color: rgba(255, 255, 255, .8);
            font-size: 14px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .featured-list i {
            color: var(--rose-light);
        }

        .featured-book-wrap {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .featured-book-3d {
            width: 160px;
            height: 210px;
            background: linear-gradient(135deg, #C25876, #9C3B57);
            border-radius: 6px 12px 12px 6px;
            margin: 0 auto;
            position: relative;
            box-shadow: -6px 6px 0 #7A2D44, -12px 12px 0 rgba(122, 45, 68, .4), 8px 8px 30px rgba(0, 0, 0, .4);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 20px;
            text-align: center;
            animation: bookFloat 3s ease-in-out infinite;
        }

        @keyframes bookFloat {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        .featured-book-3d::before {
            content: '';
            position: absolute;
            left: -4px;
            top: 0;
            bottom: 0;
            width: 8px;
            background: rgba(0, 0, 0, .3);
            border-radius: 6px 0 0 6px;
        }

        .featured-book-3d i {
            color: rgba(255, 255, 255, .85);
            font-size: 2.5rem;
            margin-bottom: 12px;
        }

        .featured-book-3d .ft {
            font-family: 'Fraunces', serif;
            color: #fff;
            font-weight: 700;
            font-size: .8rem;
        }

        .featured-book-3d .fa-sub {
            font-size: .65rem;
            color: rgba(255, 255, 255, .6);
            margin-top: 4px;
        }

        .note-pin {
            position: absolute;
            top: -10px;
            left: -30px;
            background: var(--rose-pale);
            color: var(--rose-dark);
            padding: 6px 10px;
            border-radius: 8px;
            font-size: 10.5px;
            font-weight: 700;
            transform: rotate(-8deg);
            box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
        }

        /* —— PRICING (per buku vs langganan) ————————————————— */
        .pricing-intro-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: var(--rose-pale);
            border: 1px solid var(--rose-light);
            color: var(--rose-dark);
            border-radius: 40px;
            padding: 6px 16px;
            font-size: 12.5px;
            font-weight: 600;
        }

        .pricing-card {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: 18px;
            padding: 32px 28px;
            height: 100%;
            position: relative;
            transition: all .25s;
        }

        .pricing-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .pricing-card.featured {
            background: linear-gradient(150deg, var(--plum) 0%, #5C2F49 55%, var(--rose-dark) 100%);
            border-color: transparent;
            box-shadow: var(--shadow-lg);
        }

        .pricing-ribbon {
            position: absolute;
            top: -13px;
            right: 24px;
            background: var(--gold);
            color: #3a2c10;
            font-size: 11px;
            font-weight: 700;
            padding: 5px 14px;
            border-radius: 40px;
            box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
            letter-spacing: .3px;
        }

        .pricing-plan-name {
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--rose);
            margin-bottom: 10px;
        }

        .pricing-card.featured .pricing-plan-name {
            color: var(--rose-light);
        }

        .pricing-card h3 {
            font-family: 'Fraunces', serif;
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--plum);
            margin-bottom: 4px;
        }

        .pricing-card.featured h3 {
            color: #fff;
        }

        .pricing-card .pricing-desc {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 18px;
            min-height: 38px;
        }

        .pricing-card.featured .pricing-desc {
            color: rgba(255, 255, 255, .65);
        }

        .pricing-amount {
            display: flex;
            align-items: baseline;
            gap: 6px;
            margin-bottom: 22px;
        }

        .pricing-amount .amt {
            font-family: 'Fraunces', serif;
            font-size: 2.1rem;
            font-weight: 700;
            color: var(--plum);
        }

        .pricing-card.featured .pricing-amount .amt {
            color: #fff;
        }

        .pricing-amount .per {
            font-size: 13px;
            color: var(--text-muted);
        }

        .pricing-card.featured .pricing-amount .per {
            color: rgba(255, 255, 255, .6);
        }

        .pricing-features {
            list-style: none;
            padding: 0;
            margin: 0 0 26px;
        }

        .pricing-features li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 13.5px;
            color: var(--plum);
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .pricing-card.featured .pricing-features li {
            color: rgba(255, 255, 255, .88);
        }

        .pricing-features li i.fa-circle-check {
            color: #3E8A5E;
            margin-top: 2px;
        }

        .pricing-features li i.fa-circle-xmark {
            color: #C7788C;
            margin-top: 2px;
        }

        .pricing-card.featured .pricing-features li i.fa-circle-check {
            color: var(--rose-light);
        }

        .btn-plan {
            display: block;
            width: 100%;
            text-align: center;
            border-radius: 40px;
            padding: 12px 20px;
            font-size: 14px;
            font-weight: 600;
            transition: all .2s;
            border: 1.5px solid var(--rose);
            color: var(--rose-dark);
            background: transparent;
        }

        .btn-plan:hover {
            background: var(--rose);
            color: #fff;
        }

        .btn-plan.btn-plan-primary {
            background: var(--rose);
            border-color: var(--rose);
            color: #fff;
            box-shadow: 0 4px 20px rgba(216, 88, 122, .35);
        }

        .btn-plan.btn-plan-primary:hover {
            background: var(--rose-light);
            color: var(--plum);
        }

        .btn-plan.btn-plan-light {
            border-color: rgba(255, 255, 255, .4);
            color: #fff;
        }

        .btn-plan.btn-plan-light:hover {
            background: #fff;
            color: var(--plum);
        }

        .pricing-note {
            font-size: 12.5px;
            color: var(--text-muted);
            display: flex;
            align-items: flex-start;
            gap: 8px;
            max-width: 640px;
            margin: 22px auto 0;
            text-align: left;
            background: var(--rose-pale);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 12px 16px;
        }

        .pricing-note i {
            color: var(--gold);
            margin-top: 2px;
        }

        /* —— PENULIS / SELLER CARD ———————————————————————————— */
        .seller-card {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            padding: 24px;
            text-align: center;
            transition: all .25s;
        }

        .seller-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--rose-light);
            transform: translateY(-3px);
        }

        .seller-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            border: 3px solid var(--rose-pale);
            margin: 0 auto 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            background: var(--rose-pale);
        }

        .seller-name {
            font-family: 'Fraunces', serif;
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 3px;
        }

        .seller-meta {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 12px;
        }

        .seller-stat {
            font-size: 12px;
            color: var(--text-muted);
        }

        .seller-stat strong {
            color: var(--plum);
            font-weight: 600;
        }

        .btn-follow {
            border: 1.5px solid var(--rose);
            background: transparent;
            color: var(--rose-dark);
            border-radius: 40px;
            padding: 6px 20px;
            font-size: 12.5px;
            font-weight: 500;
            transition: all .2s;
            margin-top: 14px;
            width: 100%;
        }

        .btn-follow:hover {
            background: var(--rose);
            color: #fff;
        }

        /* —— TAG CLOUD ———————————————————————————————————————— */
        .tag-pill {
            display: inline-block;
            border: 1.5px solid var(--border);
            background: var(--white);
            color: var(--text-muted);
            padding: 8px 18px;
            border-radius: 40px;
            font-size: 13px;
            font-weight: 500;
            transition: all .2s;
        }

        .tag-pill:hover {
            background: var(--rose);
            color: #fff;
            border-color: var(--rose);
        }

        /* —— CARA KERJA ——————————————————————————————————————— */
        .how-card {
            text-align: center;
            padding: 0 1rem;
        }

        .how-num {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--rose-pale);
            border: 2px dashed var(--rose);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Fraunces', serif;
            font-weight: 700;
            font-size: 1.3rem;
            color: var(--rose-dark);
            margin: 0 auto 16px;
        }

        .how-card h6 {
            font-weight: 800;
        }

        .how-card p {
            color: var(--text-muted);
            font-size: 13.5px;
        }

        /* —— NEWSLETTER ——————————————————————————————————————— */
        .newsletter-section {
            background: var(--rose-pale);
            border-radius: 24px;
            margin: 0 0 0;
        }

        .newsletter-input-wrap {
            display: flex;
            gap: 10px;
        }

        .newsletter-input-wrap input {
            flex: 1;
            border: 1.5px solid var(--border);
            border-radius: 40px;
            padding: 12px 20px;
            font-size: 14px;
            background: #fff;
        }

        .newsletter-input-wrap input:focus {
            outline: none;
            border-color: var(--rose);
        }

        .btn-subscribe {
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 40px;
            padding: 12px 26px;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            transition: all .2s;
        }

        .btn-subscribe:hover {
            background: var(--rose-dark);
        }

        /* —— PROMO STRIP —————————————————————————————————————— */
        .promo-strip {
            background: var(--rose-pale);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            padding: 20px 24px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all .2s;
        }

        .promo-strip:hover {
            border-color: var(--rose);
            box-shadow: var(--shadow-sm);
        }

        .promo-icon {
            width: 48px;
            height: 48px;
            background: var(--rose);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.3rem;
            flex-shrink: 0;
        }

        .promo-strip h6 {
            font-family: 'Fraunces', serif;
            font-weight: 700;
            margin-bottom: 2px;
            color: var(--plum);
            font-size: .95rem;
        }

        .promo-strip p {
            margin: 0;
            font-size: 12.5px;
            color: var(--text-muted);
        }

        /* —— FOOTER ——————————————————————————————————————————— */
        footer {
            background: var(--plum);
            color: rgba(255, 255, 255, .65);
            padding: 60px 0 0;
        }

        .footer-brand {
            font-family: 'Fraunces', serif;
            font-size: 1.4rem;
            color: #fff;
            font-weight: 700;
        }

        .footer-brand span {
            color: var(--rose-light);
        }

        .footer-desc {
            font-size: 13.5px;
            line-height: 1.7;
            margin-top: 12px;
            max-width: 260px;
        }

        .footer-social {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .social-btn {
            width: 36px;
            height: 36px;
            border: 1px solid rgba(255, 255, 255, .2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, .6);
            font-size: 14px;
            transition: all .2s;
        }

        .social-btn:hover {
            background: var(--rose);
            border-color: var(--rose);
            color: #fff;
        }

        .footer-heading {
            color: #fff;
            font-size: 13.5px;
            font-weight: 600;
            letter-spacing: .5px;
            margin-bottom: 18px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, .55);
            font-size: 13.5px;
            transition: color .2s;
        }

        .footer-links a:hover {
            color: var(--rose-light);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, .1);
            margin-top: 48px;
            padding: 20px 0;
            font-size: 12.5px;
        }

        .payment-logos {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .pay-badge {
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .15);
            color: rgba(255, 255, 255, .75);
            font-size: 11.5px;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: 8px;
        }

        .pay-badge.midtrans {
            background: var(--rose);
            color: #fff;
            border-color: var(--rose);
        }

        /* —— SCROLL TOP ——————————————————————————————————————— */
        .scroll-top-btn {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 46px;
            height: 46px;
            background: var(--rose);
            color: #fff;
            border: none;
            border-radius: 50%;
            box-shadow: var(--shadow-md);
            z-index: 999;
            font-size: 14px;
        }

        @media (max-width: 991px) {
            .hero {
                text-align: center;
            }

            .hero p.lead {
                margin: 0 auto 30px;
            }

            .hero-visual {
                display: none;
            }
        }


/* --- CSS from search --- */
/* —— PAGE HEADER —————————————————————————————————————— */
        .page-header {
            background: linear-gradient(135deg, var(--plum) 0%, #5C2F49 50%, var(--rose-dark) 100%);
            padding: 56px 0 48px;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .page-header .container {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .page-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: rgba(242, 164, 183, .18);
            border: 1px solid rgba(242, 164, 183, .35);
            color: var(--rose-light);
            border-radius: 40px;
            padding: 6px 16px;
            font-size: 12.5px;
            font-weight: 500;
            letter-spacing: .4px;
            margin-bottom: 16px;
        }

        .page-header h1 {
            font-size: clamp(1.8rem, 4vw, 2.6rem);
            color: #fff;
            line-height: 1.2;
            margin-bottom: 24px;
        }

        /* Large search bar variant for hero/header */
        .page-header .search-bar-lg {
            max-width: 640px;
            margin: 0 auto;
            position: relative;
        }

        .page-header .search-bar-lg input {
            width: 100%;
            border: none;
            border-radius: 50px;
            padding: 17px 150px 17px 54px;
            font-size: 15.5px;
            background: #fff;
            color: var(--plum);
            box-shadow: var(--shadow-lg);
        }

        .page-header .search-bar-lg input:focus {
            outline: none;
            box-shadow: var(--shadow-lg), 0 0 0 3px rgba(216, 88, 122, .35);
        }

        .page-header .search-bar-lg .search-icon-lg {
            position: absolute;
            left: 22px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 17px;
        }

        .page-header .search-bar-lg .btn-search-lg {
            position: absolute;
            right: 6px;
            top: 6px;
            bottom: 6px;
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 40px;
            padding: 0 22px;
            font-size: 14px;
            font-weight: 600;
            transition: background .2s;
        }

        .page-header .search-bar-lg .btn-search-lg:hover {
            background: var(--rose-dark);
        }

        .search-suggest {
            margin-top: 16px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
        }

        .search-suggest span {
            font-size: 12.5px;
            color: rgba(255, 255, 255, .55);
            margin-right: 2px;
        }

        .search-suggest a {
            font-size: 12.5px;
            color: rgba(255, 255, 255, .85);
            background: rgba(255, 255, 255, .1);
            border: 1px solid rgba(255, 255, 255, .2);
            padding: 4px 14px;
            border-radius: 40px;
            transition: all .2s;
        }

        .search-suggest a:hover {
            background: rgba(255, 255, 255, .2);
            color: #fff;
        }

        /* —— SIDEBAR FILTER ——————————————————————————————————— */
        .filter-card {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            margin-bottom: 20px;
        }

        .filter-title {
            font-family: 'Fraunces', serif;
            font-size: 1rem;
            font-weight: 700;
            color: var(--plum);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-title i {
            color: var(--rose);
            font-size: 14px;
        }

        .filter-check {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 7px 0;
            cursor: pointer;
        }

        .filter-check input {
            width: 17px;
            height: 17px;
            accent-color: var(--rose);
            cursor: pointer;
        }

        .filter-check label {
            font-size: 13.5px;
            color: var(--plum);
            cursor: pointer;
            flex: 1;
        }

        .filter-check .count {
            font-size: 11.5px;
            color: var(--text-muted);
        }

        .filter-radio {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 7px 0;
            cursor: pointer;
        }

        .filter-radio input {
            width: 17px;
            height: 17px;
            accent-color: var(--rose);
            cursor: pointer;
        }

        .filter-radio label {
            font-size: 13.5px;
            color: var(--plum);
            cursor: pointer;
        }

        .filter-divider {
            border: none;
            border-top: 1px solid var(--border);
            margin: 4px 0 14px;
        }

        .price-range-wrap input[type="range"] {
            width: 100%;
            accent-color: var(--rose);
            margin-top: 6px;
        }

        .price-range-labels {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: var(--text-muted);
            font-weight: 600;
            margin-top: 4px;
        }

        .btn-apply-filter {
            width: 100%;
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 40px;
            padding: 10px;
            font-size: 13.5px;
            font-weight: 600;
            transition: background .2s;
        }

        .btn-apply-filter:hover {
            background: var(--rose-dark);
            color: #fff;
        }

        .btn-reset-filter {
            width: 100%;
            background: transparent;
            border: 1.5px solid var(--border);
            color: var(--text-muted);
            border-radius: 40px;
            padding: 9px;
            font-size: 13px;
            font-weight: 600;
            margin-top: 8px;
            transition: all .2s;
        }

        .btn-reset-filter:hover {
            border-color: var(--rose);
            color: var(--rose-dark);
        }

        /* —— RESULT HEADER ———————————————————————————————————— */
        .result-info h5 {
            font-family: 'Fraunces', serif;
            font-weight: 700;
            color: var(--plum);
            margin-bottom: 2px;
        }

        .result-info h5 em {
            color: var(--rose);
            font-style: italic;
        }

        .result-info p {
            font-size: 12.5px;
            color: var(--text-muted);
            margin-bottom: 0;
        }

        .result-sort select {
            border: 1.5px solid var(--border);
            border-radius: 40px;
            padding: 8px 16px;
            font-size: 13px;
            color: var(--plum);
            background: #fff;
        }

        .result-sort select:focus {
            outline: none;
            border-color: var(--rose);
        }

        @media (max-width: 991px) {
            .page-header .search-bar-lg input {
                padding-right: 20px;
            }

            .page-header .search-bar-lg .btn-search-lg {
                position: static;
                width: 100%;
                margin-top: 10px;
                padding: 12px;
            }
        }


/* --- CSS from library --- */
/* —— PAGE HEADER —————————————————————————————————————— */
        .page-header {
            background: linear-gradient(135deg, var(--plum) 0%, #5C2F49 50%, var(--rose-dark) 100%);
            padding: 56px 0 44px;
            position: relative;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .page-header .container {
            position: relative;
            z-index: 2;
        }

        .page-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: rgba(242, 164, 183, .18);
            border: 1px solid rgba(242, 164, 183, .35);
            color: var(--rose-light);
            border-radius: 40px;
            padding: 6px 16px;
            font-size: 12.5px;
            font-weight: 500;
            letter-spacing: .4px;
            margin-bottom: 16px;
        }

        .page-header h1 {
            font-size: clamp(1.8rem, 4vw, 2.6rem);
            color: #fff;
            line-height: 1.2;
            margin-bottom: 0;
        }

        .page-header p.page-sub {
            color: rgba(255, 255, 255, .7);
            font-size: 15px;
            max-width: 520px;
            margin: 12px 0 0;
        }

        /* —— READ PROGRESS ———————————————————————————————————— */
        .book-progress-wrap {
            margin-top: 12px;
        }

        .book-progress-track {
            width: 100%;
            height: 7px;
            background: var(--rose-pale);
            border-radius: 40px;
            overflow: hidden;
        }

        .book-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--rose-light), var(--rose));
            border-radius: 40px;
            transition: width .3s;
        }

        .book-progress-label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 11.5px;
            font-weight: 700;
            color: var(--text-muted);
            margin-top: 6px;
        }

        .book-progress-label .pct {
            color: var(--rose-dark);
        }

        .book-progress-label .status-done {
            color: #3E8A5E;
        }

        /* Continue reading button (btn-buy modifier) */
        .btn-buy.btn-continue {
            width: 100%;
            justify-content: center;
            margin-top: 10px;
            padding: 9px 16px;
        }

        /* Footer of book card without price row (progress version) */
        .book-footer.book-footer-progress {
            display: block;
            padding-top: 12px;
        }

        /* Empty state */
        .empty-state {
            text-align: center;
            padding: 70px 20px;
        }

        .empty-state i {
            font-size: 2.6rem;
            color: var(--rose-light);
            margin-bottom: 16px;
        }

        .empty-state h5 {
            font-family: 'Fraunces', serif;
            color: var(--plum);
            margin-bottom: 6px;
        }

        .empty-state p {
            color: var(--text-muted);
            font-size: 13.5px;
        }


        /* —— BREADCRUMB ——————————————————————————————————————— */
        .breadcrumb-bar {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            padding: 14px 0;
        }

        .breadcrumb-bar a {
            color: var(--text-muted);
            font-size: 13px;
        }

        .breadcrumb-bar a:hover {
            color: var(--rose-dark);
        }

        .breadcrumb-bar i {
            font-size: 10px;
            color: var(--text-muted);
            margin: 0 8px;
        }

        .breadcrumb-bar .current {
            color: var(--plum);
            font-weight: 600;
            font-size: 13px;
        }

        /* —— HERO DETAIL ——————————————————————————————————————— */
        .detail-hero {
            background: linear-gradient(135deg, var(--plum) 0%, #5C2F49 55%, var(--rose-dark) 100%);
            padding: 56px 0 80px;
            position: relative;
            overflow: hidden;
        }

        .detail-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .det-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: rgba(242, 164, 183, .18);
            border: 1px solid rgba(242, 164, 183, .35);
            color: var(--rose-light);
            border-radius: 40px;
            padding: 5px 14px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: .3px;
            margin-right: 8px;
            margin-bottom: 14px;
        }

        .detail-hero h1 {
            color: #fff;
            font-size: clamp(1.7rem, 3.2vw, 2.5rem);
            line-height: 1.25;
            margin-bottom: 10px;
        }

        .detail-hero .author-line {
            color: rgba(255, 255, 255, .75);
            font-size: 14.5px;
            margin-bottom: 18px;
        }

        .detail-hero .author-line a {
            color: var(--rose-light);
            font-weight: 600;
        }

        .detail-hero .rating-line {
            color: rgba(255, 255, 255, .85);
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 22px;
        }

        .detail-hero .rating-line .stars {
            color: var(--gold);
        }

        .detail-hero .desc {
            color: rgba(255, 255, 255, .68);
            max-width: 520px;
            margin-bottom: 26px;
        }

        .meta-chip {
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .15);
            border-radius: 10px;
            padding: 10px 16px;
            text-align: center;
            min-width: 90px;
        }

        .meta-chip .v {
            color: #fff;
            font-weight: 800;
            font-family: 'Fraunces', serif;
            font-size: 1.05rem;
        }

        .meta-chip .l {
            color: rgba(255, 255, 255, .55);
            font-size: 10.5px;
            text-transform: uppercase;
            letter-spacing: .5px;
            margin-top: 2px;
        }

        /* —— COVER CARD (floating diatas hero) ———————————————— */
        .cover-card {
            background: #fff;
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
            padding: 22px;
            margin-top: -150px;
            position: relative;
            z-index: 5;
        }

        .cover-3d {
            height: 280px;
            border-radius: 12px;
            background: linear-gradient(160deg, #D8587A, #9C3B57);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 24px;
            position: relative;
            overflow: hidden;
        }

        .cover-3d::before {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 20px);
        }

        .cover-3d i {
            color: #fff;
            font-size: 2.6rem;
            margin-bottom: 14px;
            opacity: .9;
        }

        .cover-3d .ct {
            font-family: 'Fraunces', serif;
            color: #fff;
            font-weight: 700;
            font-size: 1.05rem;
        }

        .cover-3d .ca {
            color: rgba(255, 255, 255, .7);
            font-size: .78rem;
            margin-top: 6px;
        }

        .sticky-note-cover {
            position: absolute;
            top: -12px;
            right: 6px;
            background: var(--gold);
            color: #3a2c10;
            padding: 6px 12px;
            border-radius: 8px;
            font-size: 11px;
            font-weight: 700;
            box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
            transform: rotate(7deg);
            z-index: 2;
        }

        .lock-banner {
            background: var(--rose-pale);
            border: 1.5px dashed var(--rose);
            border-radius: 12px;
            padding: 14px 16px;
            margin-top: 18px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .lock-banner i {
            color: var(--rose-dark);
            font-size: 1.1rem;
            margin-top: 2px;
        }

        .lock-banner strong {
            display: block;
            font-size: 13.5px;
            color: var(--plum);
        }

        .lock-banner span {
            font-size: 12.5px;
            color: var(--text-muted);
        }

        .price-box {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 10px;
            background: var(--surface);
            border: 1.5px solid var(--border);
            border-radius: 12px;
            padding: 14px 16px;
            margin-top: 6px;
        }

        .price-box .price-main {
            font-family: 'Fraunces', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--plum);
        }

        .price-box .price-sub {
            font-size: 11.5px;
            color: var(--text-muted);
            text-align: right;
            line-height: 1.4;
        }

        .price-box .price-sub .tag-included {
            display: block;
            color: #3E8A5E;
            font-weight: 700;
        }

        .btn-subscribe-alt {
            border-color: var(--rose-light);
            color: var(--rose-dark);
            background: var(--rose-pale);
        }

        .btn-subscribe-alt:hover {
            background: var(--rose);
            border-color: var(--rose);
            color: #fff;
        }

        .btn-wishlist-cta {
            border: 1.5px solid var(--border);
            background: #fff;
            color: var(--plum);
            border-radius: 40px;
            padding: 11px 0;
            font-size: 14px;
            font-weight: 600;
            width: 100%;
            transition: all .2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-wishlist-cta:hover {
            background: var(--rose-pale);
            border-color: var(--rose);
            color: var(--rose-dark);
        }

        .btn-wishlist-cta.active i {
            color: #e74c3c;
        }

        .det-badge.badge-included-det {
            background: rgba(62, 138, 94, .12);
            border-color: rgba(62, 138, 94, .35);
            color: #3E8A5E;
        }

        .btn-primary-cta {
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 40px;
            padding: 13px 0;
            font-size: 15px;
            font-weight: 700;
            width: 100%;
            transition: all .25s;
            box-shadow: 0 4px 20px rgba(216, 88, 122, .35);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-primary-cta:hover {
            background: var(--rose-dark);
            color: #fff;
            transform: translateY(-2px);
        }

        .btn-secondary-cta {
            border: 1.5px solid var(--border);
            background: #fff;
            color: var(--plum);
            border-radius: 40px;
            padding: 11px 0;
            font-size: 14px;
            font-weight: 600;
            width: 100%;
            transition: all .2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-secondary-cta:hover {
            background: var(--rose-pale);
            border-color: var(--rose);
            color: var(--rose-dark);
        }

        .btn-secondary-cta.active i {
            color: #e74c3c;
        }

        .included-list {
            list-style: none;
            padding: 0;
            margin: 18px 0 0;
        }

        .included-list li {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 9px;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        .included-list i {
            color: var(--rose);
            margin-top: 2px;
        }

        /* —— TABS —————————————————————————————————————————————— */
        .detail-tabs {
            background: #fff;
            border-bottom: 1.5px solid var(--border);
            position: sticky;
            top: 69px;
            z-index: 90;
        }

        .detail-tabs .nav-link {
            color: var(--text-muted);
            font-weight: 600;
            font-size: 14px;
            border: none;
            padding: 16px 4px;
            margin-right: 28px;
            border-bottom: 3px solid transparent;
            border-radius: 0;
        }

        .detail-tabs .nav-link.active {
            color: var(--rose-dark);
            border-bottom-color: var(--rose);
            background: transparent;
        }

        /* —— CONTENT SECTIONS —————————————————————————————————— */
        .content-block {
            padding: 40px 0;
            border-bottom: 1px solid var(--border);
        }

        .content-block:last-child {
            border-bottom: none;
        }

        .block-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .toc-list li {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 13px 0;
            border-bottom: 1px dashed var(--border);
            font-size: 14px;
        }

        .toc-list li:last-child {
            border-bottom: none;
        }

        .toc-num {
            color: var(--rose);
            font-weight: 700;
            font-family: 'Fraunces', serif;
            margin-right: 12px;
        }

        .toc-lock {
            color: var(--text-muted);
            font-size: 12px;
        }

        .toc-lock i {
            margin-right: 4px;
        }

        .quote-card {
            background: var(--rose-pale);
            border-radius: 14px;
            padding: 24px 28px;
            position: relative;
            margin: 20px 0;
        }

        .quote-card i.fa-quote-left {
            color: var(--rose-light);
            font-size: 1.6rem;
            position: absolute;
            top: 16px;
            left: 18px;
            opacity: .6;
        }

        .quote-card p {
            font-family: 'Fraunces', serif;
            font-style: italic;
            font-size: 1.05rem;
            color: var(--plum);
            margin: 0 0 0 30px;
        }

        .author-box {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            padding: 22px;
            display: flex;
            gap: 16px;
            align-items: center;
        }

        .author-avatar {
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: var(--rose-pale);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            flex-shrink: 0;
        }

        .author-box h6 {
            font-family: 'Fraunces', serif;
            font-weight: 700;
            margin-bottom: 3px;
        }

        .author-box p {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }

        /* Note teaser */
        .note-teaser {
            background: linear-gradient(120deg, var(--plum) 0%, #5C2F49 100%);
            border-radius: 18px;
            padding: 28px;
            color: #fff;
            position: relative;
            overflow: hidden;
        }

        .note-teaser::after {
            content: '';
            position: absolute;
            right: -30px;
            top: -30px;
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background: rgba(216, 88, 122, .15);
        }

        .note-teaser h6 {
            color: #fff;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .note-teaser p {
            color: rgba(255, 255, 255, .65);
            font-size: 13.5px;
            margin-bottom: 16px;
        }

        .note-mini {
            background: rgba(255, 255, 255, .08);
            border: 1px solid rgba(255, 255, 255, .15);
            border-radius: 10px;
            padding: 12px 14px;
            font-size: 12.5px;
            color: rgba(255, 255, 255, .8);
            margin-bottom: 10px;
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

        .note-mini i {
            color: var(--rose-light);
            margin-top: 2px;
        }

        /* —— REVIEW ———————————————————————————————————————————— */
        .review-summary {
            display: flex;
            align-items: center;
            gap: 24px;
            flex-wrap: wrap;
        }

        .review-score {
            text-align: center;
        }

        .review-score .big {
            font-family: 'Fraunces', serif;
            font-size: 2.6rem;
            font-weight: 700;
            color: var(--plum);
        }

        .review-score .stars {
            color: var(--gold);
            font-size: 14px;
            margin: 4px 0;
        }

        .review-score .sub {
            font-size: 12px;
            color: var(--text-muted);
        }

        .bar-row {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12.5px;
            color: var(--text-muted);
            margin-bottom: 6px;
        }

        .bar-track {
            flex: 1;
            height: 7px;
            background: var(--border);
            border-radius: 10px;
            overflow: hidden;
        }

        .bar-fill {
            height: 100%;
            background: var(--rose);
        }

        .review-item {
            padding: 20px 0;
            border-bottom: 1px solid var(--border);
        }

        .review-item:last-child {
            border-bottom: none;
        }

        .review-user {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-bottom: 8px;
        }

        .review-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: var(--rose-pale);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: var(--rose-dark);
            font-size: .9rem;
        }

        .review-name {
            font-weight: 700;
            font-size: 13.5px;
            margin: 0;
        }

        .review-date {
            font-size: 11.5px;
            color: var(--text-muted);
            margin: 0;
        }

        .review-item .stars {
            color: var(--gold);
            font-size: 12px;
            margin-bottom: 6px;
        }

        .review-item p.body-text {
            font-size: 13.5px;
            color: var(--plum);
            margin: 0;
        }

        /* —— RELATED BOOKS (pakai style sama dgn landing) —————— */
        .book-card {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            transition: all .25s;
            height: 100%;
        }

        .book-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--rose-light);
            transform: translateY(-4px);
        }

        .book-cover-wrap {
            position: relative;
            overflow: hidden;
            height: 170px;
        }

        .book-cover {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 16px;
            text-align: center;
        }

        .book-cover-icon {
            font-size: 2rem;
            opacity: .85;
            margin-bottom: 8px;
        }

        .book-cover-title {
            font-family: 'Fraunces', serif;
            font-size: .8rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.3;
        }

        .book-cover-author {
            font-size: .68rem;
            color: rgba(255, 255, 255, .7);
            margin-top: 4px;
        }

        .book-body {
            padding: 14px;
        }

        .book-category {
            font-size: 10.5px;
            font-weight: 600;
            letter-spacing: .6px;
            text-transform: uppercase;
            color: var(--rose);
            margin-bottom: 4px;
        }

        .book-title {
            font-family: 'Fraunces', serif;
            font-size: .85rem;
            font-weight: 700;
            color: var(--plum);
            line-height: 1.3;
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .book-stars {
            color: var(--gold);
            font-size: 10.5px;
        }

        .book-reviews {
            font-size: 10.5px;
            color: var(--text-muted);
            margin-left: 4px;
        }

        .book-badge-overlay {
            position: absolute;
            top: 10px;
            left: 10px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            z-index: 2;
        }

        .badge-tag {
            font-size: 9.5px;
            font-weight: 700;
            padding: 3px 9px;
            border-radius: 40px;
            letter-spacing: .3px;
        }

        .badge-new {
            background: var(--rose);
            color: #fff;
        }

        .badge-best {
            background: var(--gold);
            color: #fff;
        }

        .badge-included {
            background: rgba(255, 255, 255, .95);
            color: #3E8A5E;
            border: 1px solid rgba(62, 138, 94, .35);
        }

        .badge-locked {
            background: linear-gradient(120deg, var(--gold), #C9842F);
            color: #fff;
        }

        .book-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 6px;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid var(--border);
        }

        .book-price {
            font-family: 'Fraunces', serif;
            font-size: .92rem;
            font-weight: 700;
            color: var(--plum);
            line-height: 1.1;
        }

        .book-price small {
            display: block;
            font-size: 9.5px;
            color: var(--text-muted);
            font-family: 'Nunito', sans-serif;
            font-weight: 700;
            margin-top: 2px;
        }

        .book-price small.tag-included {
            color: #3E8A5E;
        }

        .book-price small.tag-premium {
            color: var(--gold);
        }

        .btn-buy {
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 40px;
            padding: 6px 13px;
            font-size: 11.5px;
            font-weight: 600;
            transition: all .2s;
            display: flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }

        .btn-buy:hover {
            background: var(--rose-dark);
            color: #fff;
        }

        .btn-buy.btn-buy-premium {
            background: linear-gradient(120deg, var(--gold), #C9842F);
        }

        .btn-buy.btn-buy-premium:hover {
            background: #C9842F;
        }

        /* —— FOOTER (ringkas) ————————————————————————————————— */
        footer {
            background: var(--plum);
            color: rgba(255, 255, 255, .6);
            padding: 40px 0 20px;
            font-size: 13px;
        }

        footer a {
            color: rgba(255, 255, 255, .55);
        }

        footer a:hover {
            color: var(--rose-light);
        }

        .scroll-top-btn {
            position: fixed;
            bottom: 24px;
            right: 24px;
            width: 46px;
            height: 46px;
            background: var(--rose);
            color: #fff;
            border: none;
            border-radius: 50%;
            box-shadow: var(--shadow-md);
            z-index: 999;
            font-size: 14px;
        }

        @media (max-width: 991px) {
            .cover-card {
                margin-top: 24px;
            }

            .detail-tabs {
                position: static;
            }
        }


/* --- CSS from admin --- */
:root {
    --plum-light: #5C2F49;
    --green: #4C9A6E;
    --green-pale: #E8F5EC;
    --sidebar-w: 264px;
}

        ::-webkit-scrollbar {
            width: 7px;
            height: 7px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--rose-light);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        /* â•â•â•â•â•â•â•â•â•â•â•â•â•═SIDEBAR â•â•â•â•â•â•â•â•â•â•â•â•â•═*/
        .sidebar {
            width: var(--sidebar-w);
            background: linear-gradient(195deg, var(--plum) 0%, #2C1E31 100%);
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            z-index: 1040;
            display: flex;
            flex-direction: column;
            transition: transform .25s ease;
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 22px 22px 18px;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }

        .brand-heart-adm {
            width: 36px;
            height: 36px;
            background: var(--rose);
            border-radius: 50% 50% 50% 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 16px;
            transform: rotate(-10deg);
            flex-shrink: 0;
        }

        .sidebar-brand-text {
            font-family: 'Fraunces', serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.1;
        }

        .sidebar-brand-text span {
            color: var(--rose-light);
        }

        .sidebar-brand-sub {
            font-size: 10.5px;
            color: rgba(255, 255, 255, .45);
            letter-spacing: .5px;
            text-transform: uppercase;
        }

        .sidebar-nav {
            flex: 1;
            overflow-y: auto;
            padding: 18px 14px;
        }

        .nav-group-label {
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, .32);
            padding: 14px 12px 8px;
        }

        .nav-group-label:first-child {
            padding-top: 2px;
        }

        .side-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 12px;
            border-radius: 10px;
            color: rgba(255, 255, 255, .65);
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 2px;
            transition: all .18s;
            position: relative;
        }

        .side-link i {
            width: 18px;
            text-align: center;
            font-size: 14.5px;
        }

        .side-link:hover {
            background: rgba(255, 255, 255, .06);
            color: #fff;
        }

        .side-link.active {
            background: var(--rose);
            color: #fff;
            box-shadow: 0 6px 18px rgba(216, 88, 122, .35);
        }

        .side-link .nav-count {
            margin-left: auto;
            background: rgba(255, 255, 255, .15);
            font-size: 10.5px;
            font-weight: 700;
            padding: 2px 7px;
            border-radius: 20px;
        }

        .side-link.active .nav-count {
            background: rgba(255, 255, 255, .25);
        }

        .sidebar-foot {
            padding: 16px;
            border-top: 1px solid rgba(255, 255, 255, .08);
        }

        .sidebar-user {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px;
            border-radius: 10px;
            cursor: pointer;
            transition: background .18s;
        }

        .sidebar-user:hover {
            background: rgba(255, 255, 255, .06);
        }

        .sidebar-user img {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 2px solid var(--rose-light);
            object-fit: cover;
        }

        .sidebar-user-name {
            font-size: 13px;
            font-weight: 700;
            color: #fff;
        }

        .sidebar-user-role {
            font-size: 11px;
            color: rgba(255, 255, 255, .45);
        }

        /* â•â•â•â•â•â•â•â•â•â•â•â•â•═MAIN LAYOUT â•â•â•â•â•â•â•â•â•â•â•â•â•═*/
        .main-wrap {
            margin-left: var(--sidebar-w);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: margin .25s ease;
        }

        /* —— TOPBAR —— */
        .topbar-adm {
            background: var(--white);
            border-bottom: 1.5px solid var(--border);
            padding: 14px 28px;
            display: flex;
            align-items: center;
            gap: 18px;
            position: sticky;
            top: 0;
            z-index: 1020;
            box-shadow: var(--shadow-sm);
        }

        .sidebar-toggle-btn {
            border: 1.5px solid var(--border);
            background: transparent;
            width: 38px;
            height: 38px;
            border-radius: 10px;
            color: var(--plum);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .topbar-search {
            position: relative;
            flex: 1;
            max-width: 380px;
        }

        .topbar-search input {
            border: 1.5px solid var(--border);
            border-radius: 40px;
            padding: 9px 18px 9px 42px;
            font-size: 13.5px;
            background: var(--surface);
            width: 100%;
            color: var(--plum);
        }

        .topbar-search input:focus {
            outline: none;
            border-color: var(--rose);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(216, 88, 122, .15);
        }

        .topbar-search i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 13px;
        }

        .topbar-right {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .icon-btn-adm {
            position: relative;
            width: 40px;
            height: 40px;
            border: 1.5px solid var(--border);
            border-radius: 50%;
            background: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--plum);
            font-size: 15px;
            transition: all .2s;
        }

        .icon-btn-adm:hover {
            background: var(--rose-pale);
            border-color: var(--rose);
            color: var(--rose-dark);
        }

        .icon-btn-adm .ping-dot {
            position: absolute;
            top: -3px;
            right: -3px;
            width: 9px;
            height: 9px;
            background: var(--rose);
            border: 2px solid #fff;
            border-radius: 50%;
        }

        .topbar-profile {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 5px 12px 5px 6px;
            border: 1.5px solid var(--border);
            border-radius: 40px;
            cursor: pointer;
            transition: all .2s;
        }

        .topbar-profile:hover {
            border-color: var(--rose);
            background: var(--rose-pale);
        }

        .topbar-profile img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            object-fit: cover;
        }

        .topbar-profile-name {
            font-size: 13px;
            font-weight: 700;
            color: var(--plum);
        }

        /* —— CONTENT —— */
        .content-adm {
            padding: 26px 28px 50px;
        }

        .page-eyebrow {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.3px;
            text-transform: uppercase;
            color: var(--rose);
            margin-bottom: 4px;
        }

        .page-title-adm {
            font-size: 1.7rem;
            font-weight: 700;
            color: var(--plum);
            margin-bottom: 0;
        }

        .page-sub-adm {
            color: var(--text-muted);
            font-size: 13.5px;
        }

        .btn-rose {
            background: var(--rose);
            border: none;
            color: #fff;
            border-radius: 10px;
            padding: 10px 20px;
            font-size: 13.5px;
            font-weight: 700;
            transition: all .2s;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .btn-rose:hover {
            background: var(--rose-dark);
            color: #fff;
        }

        .btn-outline-adm {
            border: 1.5px solid var(--border);
            background: var(--white);
            color: var(--plum);
            border-radius: 10px;
            padding: 10px 18px;
            font-size: 13.5px;
            font-weight: 600;
            transition: all .2s;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .btn-outline-adm:hover {
            border-color: var(--rose);
            color: var(--rose-dark);
            background: var(--rose-pale);
        }

        /* —— STAT CARDS —— */
        .stat-card-adm {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            padding: 20px 22px;
            box-shadow: var(--shadow-sm);
            height: 100%;
            transition: all .2s;
        }

        .stat-card-adm:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .stat-icon-wrap {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            margin-bottom: 14px;
        }

        .stat-icon-wrap.rose {
            background: var(--rose-pale);
            color: var(--rose-dark);
        }

        .stat-icon-wrap.gold {
            background: #FBF1E2;
            color: var(--gold);
        }

        .stat-icon-wrap.green {
            background: var(--green-pale);
            color: var(--green);
        }

        .stat-icon-wrap.plum {
            background: #EFE9F0;
            color: var(--plum);
        }

        .stat-label-adm {
            font-size: 12.5px;
            color: var(--text-muted);
            font-weight: 600;
            margin-bottom: 4px;
        }

        .stat-value-adm {
            font-family: 'Fraunces', serif;
            font-size: 1.65rem;
            font-weight: 700;
            color: var(--plum);
        }

        .stat-trend {
            font-size: 12px;
            font-weight: 700;
            margin-top: 6px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .stat-trend.up {
            color: var(--green);
        }

        .stat-trend.down {
            color: var(--rose);
        }

        .stat-trend-period {
            color: var(--text-muted);
            font-weight: 500;
            margin-left: 3px;
        }

        /* —— PANEL —— */
        .panel-adm {
            background: var(--white);
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow-sm);
        }

        .panel-head {
            padding: 18px 22px;
            border-bottom: 1.5px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: between;
            gap: 12px;
        }

        .panel-title {
            font-family: 'Fraunces', serif;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--plum);
            margin: 0;
        }

        .panel-body-adm {
            padding: 22px;
        }

        /* —— TABLE —— */
        .table-adm {
            width: 100%;
            font-size: 13.5px;
        }

        .table-adm thead th {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: .6px;
            color: var(--text-muted);
            font-weight: 700;
            border-bottom: 1.5px solid var(--border);
            padding: 10px 14px;
            white-space: nowrap;
        }

        .table-adm tbody td {
            padding: 13px 14px;
            border-bottom: 1px solid var(--border);
            color: var(--plum);
            vertical-align: middle;
        }

        .table-adm tbody tr:hover {
            background: var(--rose-pale);
        }

        .table-adm tbody tr:last-child td {
            border-bottom: none;
        }

        .cell-book {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .cell-cover {
            width: 38px;
            height: 50px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 16px;
            flex-shrink: 0;
            box-shadow: var(--shadow-sm);
        }

        .cell-book-title {
            font-weight: 700;
            color: var(--plum);
            font-size: 13.5px;
        }

        .cell-book-author {
            font-size: 11.5px;
            color: var(--text-muted);
        }

        .status-pill {
            font-size: 11px;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 40px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            white-space: nowrap;
        }

        .status-pill::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .status-aktif {
            background: var(--green-pale);
            color: var(--green);
        }

        .status-aktif::before {
            background: var(--green);
        }

        .status-nonaktif {
            background: #F1ECF0;
            color: var(--text-muted);
        }

        .status-nonaktif::before {
            background: var(--text-muted);
        }

        .status-lunas {
            background: var(--green-pale);
            color: var(--green);
        }

        .status-lunas::before {
            background: var(--green);
        }

        .status-pending {
            background: #FBF1E2;
            color: var(--gold);
        }

        .status-pending::before {
            background: var(--gold);
        }

        .status-gagal {
            background: var(--rose-pale);
            color: var(--rose-dark);
        }

        .status-gagal::before {
            background: var(--rose);
        }

        .row-action-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 1.5px solid var(--border);
            background: transparent;
            color: var(--text-muted);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12.5px;
            transition: all .18s;
        }

        .row-action-btn:hover {
            border-color: var(--rose);
            color: var(--rose-dark);
            background: var(--rose-pale);
        }

        .row-action-btn.danger:hover {
            border-color: var(--rose);
            color: #fff;
            background: var(--rose);
        }

        .table-foot-adm {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 22px;
            border-top: 1.5px solid var(--border);
            font-size: 12.5px;
            color: var(--text-muted);
        }

        .pg-btn {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            border: 1.5px solid var(--border);
            background: transparent;
            color: var(--plum);
            font-size: 12.5px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .pg-btn.active {
            background: var(--rose);
            color: #fff;
            border-color: var(--rose);
        }

        .pg-btn:hover:not(.active) {
            background: var(--rose-pale);
            border-color: var(--rose-light);
        }

        /* —— FILTER PILLS —— */
        .filter-pill-adm {
            border: 1.5px solid var(--border);
            background: var(--white);
            color: var(--text-muted);
            border-radius: 40px;
            padding: 7px 16px;
            font-size: 12.5px;
            font-weight: 600;
            transition: all .18s;
        }

        .filter-pill-adm.active,
        .filter-pill-adm:hover {
            background: var(--rose);
            color: #fff;
            border-color: var(--rose);
        }

        /* —— TABS (sections) —— */
        .section-page {
            display: none;
        }

        .section-page.active {
            display: block;
            animation: fadeInPage .25s ease;
        }

        @keyframes fadeInPage {
            from {
                opacity: 0;
                transform: translateY(6px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* —— PROGRESS —— */
        .mini-progress {
            height: 6px;
            border-radius: 10px;
            background: var(--border);
            overflow: hidden;
        }

        .mini-progress-bar {
            height: 100%;
            background: var(--rose);
            border-radius: 10px;
        }

        /* —— MODAL —— */
        .modal-content {
            border-radius: 18px;
            border: none;
            box-shadow: var(--shadow-lg);
        }

        .modal-header {
            border-bottom: 1.5px solid var(--border);
            padding: 20px 24px;
        }

        .modal-header .modal-title {
            font-family: 'Fraunces', serif;
            font-weight: 700;
            color: var(--plum);
        }

        .modal-body {
            padding: 22px 24px;
        }

        .modal-footer {
            border-top: 1.5px solid var(--border);
            padding: 16px 24px;
        }

        .form-label-adm {
            font-size: 12.5px;
            font-weight: 700;
            color: var(--plum);
            margin-bottom: 6px;
        }

        .form-control,
        .form-select {
            border: 1.5px solid var(--border);
            border-radius: 10px;
            padding: 9px 14px;
            font-size: 13.5px;
            color: var(--plum);
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--rose);
            box-shadow: 0 0 0 3px rgba(216, 88, 122, .15);
        }

        .upload-box-adm {
            border: 1.5px dashed var(--border);
            border-radius: 12px;
            padding: 26px;
            text-align: center;
            color: var(--text-muted);
            background: var(--surface);
            cursor: pointer;
            transition: all .2s;
        }

        .upload-box-adm:hover {
            border-color: var(--rose);
            color: var(--rose-dark);
            background: var(--rose-pale);
        }

        .upload-box-adm.dragover {
            border-color: var(--rose);
            color: var(--rose-dark);
            background: var(--rose-pale);
            box-shadow: 0 0 0 3px rgba(216, 88, 122, .15);
        }

        .upload-box-adm.has-file {
            padding: 10px;
        }

        .upload-box-adm input[type="file"] {
            display: none;
        }

        /* —— COVER PREVIEW —— */
        .cover-preview-wrap {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            aspect-ratio: 3/4;
        }

        .cover-preview-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .cover-preview-remove {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: none;
            background: rgba(58, 39, 64, .75);
            color: #fff;
            font-size: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(2px);
        }

        .cover-preview-remove:hover {
            background: var(--rose);
        }

        /* —— PDF UPLOAD —— */
        .pdf-upload-box {
            border: 1.5px dashed var(--border);
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            color: var(--text-muted);
            background: var(--surface);
            cursor: pointer;
            transition: all .2s;
        }

        .pdf-upload-box:hover,
        .pdf-upload-box.dragover {
            border-color: var(--rose);
            color: var(--rose-dark);
            background: var(--rose-pale);
        }

        .pdf-upload-box input[type="file"] {
            display: none;
        }

        .pdf-file-card {
            display: none;
            align-items: center;
            gap: 12px;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            padding: 12px 14px;
            background: var(--white);
        }

        .pdf-file-card.show {
            display: flex;
        }

        .pdf-file-icon {
            width: 42px;
            height: 42px;
            border-radius: 10px;
            background: linear-gradient(160deg, var(--rose), var(--rose-dark));
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .pdf-file-info {
            flex: 1;
            min-width: 0;
        }

        .pdf-file-name {
            font-size: 13px;
            font-weight: 700;
            color: var(--plum);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .pdf-file-meta {
            font-size: 11.5px;
            color: var(--text-muted);
        }

        .pdf-file-remove {
            border: none;
            background: var(--rose-pale);
            color: var(--rose-dark);
            width: 30px;
            height: 30px;
            border-radius: 8px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pdf-file-remove:hover {
            background: var(--rose);
            color: #fff;
        }

        /* —— EBOOK CHAPTER EDITOR —— */
        .ebook-editor-shell {
            display: flex;
            gap: 16px;
            height: 480px;
            border: 1.5px solid var(--border);
            border-radius: 14px;
            overflow: hidden;
            background: var(--white);
        }

        .chapter-panel {
            width: 232px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            background: var(--rose-pale);
            border-right: 1.5px solid var(--border);
        }

        .chapter-panel-head {
            padding: 12px 14px 10px;
            border-bottom: 1px solid var(--border);
        }

        .chapter-panel-head .cp-label {
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .04em;
            color: var(--rose-dark);
        }

        .chapter-panel-head .cp-sub {
            font-size: 11px;
            color: var(--text-muted);
            margin-top: 1px;
        }

        .chapter-list-adm {
            flex: 1;
            overflow-y: auto;
            padding: 8px;
        }

        .chapter-item-adm {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            padding: 9px 9px;
            border-radius: 10px;
            cursor: pointer;
            margin-bottom: 5px;
            border: 1.5px solid transparent;
            background: var(--white);
            transition: all .15s;
            position: relative;
        }

        .chapter-item-adm:hover {
            border-color: var(--rose-light);
        }

        .chapter-item-adm.active {
            border-color: var(--rose);
            background: #fff;
            box-shadow: var(--shadow-sm);
        }

        .chapter-item-adm .ci-num {
            width: 22px;
            height: 22px;
            border-radius: 7px;
            background: var(--rose-pale);
            color: var(--rose-dark);
            font-size: 10.5px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 1px;
        }

        .chapter-item-adm.active .ci-num {
            background: var(--rose);
            color: #fff;
        }

        .chapter-item-adm .ci-body {
            flex: 1;
            min-width: 0;
        }

        .chapter-item-adm .ci-title {
            font-size: 12.5px;
            font-weight: 700;
            color: var(--plum);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .chapter-item-adm .ci-meta {
            font-size: 10.5px;
            color: var(--text-muted);
            margin-top: 1px;
        }

        .chapter-item-adm .ci-actions {
            display: flex;
            flex-direction: column;
            gap: 2px;
            opacity: 0;
            transition: opacity .15s;
        }

        .chapter-item-adm:hover .ci-actions {
            opacity: 1;
        }

        .chapter-item-adm .ci-actions button {
            border: none;
            background: transparent;
            color: var(--text-muted);
            width: 18px;
            height: 18px;
            font-size: 9.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
        }

        .chapter-item-adm .ci-actions button:hover {
            background: var(--rose-pale);
            color: var(--rose-dark);
        }

        .chapter-item-adm .ci-actions .ci-del:hover {
            background: var(--red-pale);
            color: var(--red);
        }

        .btn-add-chapter {
            margin: 8px;
            border: 1.5px dashed var(--rose-light);
            background: #fff;
            color: var(--rose-dark);
            font-size: 12px;
            font-weight: 700;
            padding: 9px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all .15s;
        }

        .btn-add-chapter:hover {
            background: var(--rose-pale);
            border-color: var(--rose);
        }

        .chapter-panel-foot {
            padding: 10px 14px;
            border-top: 1px solid var(--border);
            font-size: 10.5px;
            color: var(--text-muted);
            background: #fff;
        }

        .chapter-panel-foot strong {
            color: var(--plum);
        }

        .editor-panel-adm {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-width: 0;
        }

        .editor-toolbar-adm {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 2px;
            padding: 7px 10px;
            border-bottom: 1.5px solid var(--border);
            background: var(--surface);
        }

        .editor-toolbar-adm .tb-btn {
            border: none;
            background: transparent;
            color: var(--plum);
            width: 28px;
            height: 28px;
            border-radius: 7px;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all .12s;
        }

        .editor-toolbar-adm .tb-btn:hover {
            background: var(--rose-pale);
            color: var(--rose-dark);
        }

        .editor-toolbar-adm .tb-btn.active {
            background: var(--rose);
            color: #fff;
        }

        .editor-toolbar-adm .tb-sep {
            width: 1px;
            height: 20px;
            background: var(--border);
            margin: 0 5px;
            flex-shrink: 0;
        }

        .editor-toolbar-adm select.tb-select {
            border: 1.5px solid var(--border);
            border-radius: 7px;
            font-size: 11.5px;
            padding: 4px 6px;
            color: var(--plum);
            background: #fff;
            font-weight: 600;
        }

        .chapter-title-input {
            border: none;
            border-bottom: 1.5px solid var(--border);
            padding: 12px 22px;
            font-family: 'Fraunces', serif;
            font-size: 19px;
            font-weight: 600;
            color: var(--plum);
            background: #fff;
        }

        .chapter-title-input:focus {
            outline: none;
            border-color: var(--rose);
            background: var(--rose-pale);
        }

        .chapter-title-input::placeholder {
            color: #C9AFAF;
            font-weight: 500;
        }

        .editor-content-wrap {
            flex: 1;
            overflow-y: auto;
            background: #FBF7F4;
            padding: 26px 30px;
        }

        .editor-content-adm {
            background: #fff;
            max-width: 640px;
            margin: 0 auto;
            min-height: 100%;
            padding: 34px 40px;
            border-radius: 4px;
            box-shadow: 0 1px 4px rgba(58, 39, 64, .08), 0 0 0 1px rgba(244, 222, 227, .8);
            font-family: 'Fraunces', Georgia, serif;
            font-size: 15.5px;
            line-height: 1.85;
            color: #2E2130;
        }

        .editor-content-adm:focus {
            outline: none;
        }

        .editor-content-adm h2 {
            font-family: 'Fraunces', serif;
            font-size: 22px;
            font-weight: 700;
            color: var(--plum);
            margin: 0 0 12px;
        }

        .editor-content-adm h3 {
            font-family: 'Fraunces', serif;
            font-size: 18px;
            font-weight: 600;
            color: var(--plum);
            margin: 18px 0 10px;
        }

        .editor-content-adm p {
            margin: 0 0 14px;
        }

        .editor-content-adm blockquote {
            border-left: 3px solid var(--rose);
            margin: 16px 0;
            padding: 4px 0 4px 16px;
            color: var(--rose-dark);
            font-style: italic;
        }

        .editor-content-adm ul,
        .editor-content-adm ol {
            margin: 0 0 14px;
            padding-left: 22px;
        }

        .editor-content-adm hr.page-break-adm {
            border: none;
            border-top: 1.5px dashed var(--rose-light);
            margin: 26px 0;
            position: relative;
        }

        .editor-content-adm hr.page-break-adm::after {
            content: 'HALAMAN BARU';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            background: #fff;
            padding: 0 10px;
            font-family: 'Nunito', sans-serif;
            font-size: 9px;
            font-weight: 800;
            letter-spacing: .06em;
            color: var(--rose-light);
        }

        .editor-content-adm:empty::before {
            content: attr(data-placeholder);
            color: #C9AFAF;
            font-style: italic;
        }

        .editor-stats-bar {
            display: flex;
            gap: 16px;
            padding: 8px 22px;
            border-top: 1px solid var(--border);
            background: var(--surface);
            font-size: 11px;
            color: var(--text-muted);
        }

        .editor-stats-bar span strong {
            color: var(--plum);
        }

        .upload-progress-track {
            height: 5px;
            border-radius: 10px;
            background: var(--border);
            overflow: hidden;
            margin-top: 8px;
        }

        .upload-progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--rose), var(--rose-dark));
            border-radius: 10px;
            transition: width .12s linear;
        }

        .field-hint {
            font-size: 11.5px;
            color: var(--text-muted);
            margin-top: 5px;
        }

        .field-error {
            font-size: 11.5px;
            color: var(--rose-dark);
            margin-top: 5px;
            display: none;
            align-items: center;
            gap: 5px;
        }

        .is-invalid-adm {
            border-color: var(--rose) !important;
            background: var(--rose-pale);
        }

        .is-invalid-adm~.field-error,
        .field-error.show {
            display: flex;
        }

        /* —— MODAL TABS —— */
        .modal-tabs-adm {
            display: flex;
            gap: 6px;
            padding: 0 24px;
            border-bottom: 1.5px solid var(--border);
            background: var(--surface);
        }

        .modal-tab-btn {
            border: none;
            background: transparent;
            padding: 13px 6px;
            font-size: 13px;
            font-weight: 700;
            color: var(--text-muted);
            position: relative;
            display: flex;
            align-items: center;
            gap: 7px;
            margin-right: 18px;
        }

        .modal-tab-btn i {
            font-size: 12px;
        }

        .modal-tab-btn .tab-step-num {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--border);
            color: var(--text-muted);
            font-size: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
        }

        .modal-tab-btn.active {
            color: var(--rose-dark);
        }

        .modal-tab-btn.active .tab-step-num {
            background: var(--rose);
            color: #fff;
        }

        .modal-tab-btn.active::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -1.5px;
            height: 2.5px;
            background: var(--rose);
            border-radius: 3px 3px 0 0;
        }

        .modal-tab-pane {
            display: none;
        }

        .modal-tab-pane.active {
            display: block;
        }

        /* —— TOGGLE SWITCH —— */
        .toggle-row-adm {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            border: 1.5px solid var(--border);
            border-radius: 12px;
            padding: 12px 14px;
            background: var(--surface);
        }

        .toggle-row-adm+.toggle-row-adm {
            margin-top: 10px;
        }

        .toggle-row-text strong {
            display: block;
            font-size: 13px;
            color: var(--plum);
        }

        .toggle-row-text span {
            font-size: 11.5px;
            color: var(--text-muted);
        }

        .switch-adm {
            position: relative;
            width: 40px;
            height: 22px;
            flex-shrink: 0;
        }

        .switch-adm input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .switch-slider-adm {
            position: absolute;
            inset: 0;
            background: var(--border);
            border-radius: 30px;
            cursor: pointer;
            transition: all .2s;
        }

        .switch-slider-adm::before {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            left: 3px;
            top: 3px;
            background: #fff;
            border-radius: 50%;
            transition: all .2s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
        }

        .switch-adm input:checked+.switch-slider-adm {
            background: var(--rose);
        }

        .switch-adm input:checked+.switch-slider-adm::before {
            transform: translateX(18px);
        }

        /* —— TAG INPUT —— */
        .tag-input-adm {
            border: 1.5px solid var(--border);
            border-radius: 10px;
            padding: 7px 8px;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
        }

        .tag-input-adm:focus-within {
            border-color: var(--rose);
            box-shadow: 0 0 0 3px rgba(216, 88, 122, .15);
        }

        .tag-chip-adm {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--rose-pale);
            color: var(--rose-dark);
            font-size: 12px;
            font-weight: 700;
            padding: 4px 6px 4px 10px;
            border-radius: 20px;
        }

        .tag-chip-adm button {
            border: none;
            background: rgba(156, 59, 87, .15);
            color: var(--rose-dark);
            width: 16px;
            height: 16px;
            border-radius: 50%;
            font-size: 9px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tag-input-adm input {
            border: none;
            outline: none;
            flex: 1;
            min-width: 90px;
            font-size: 13px;
            padding: 4px;
            background: transparent;
            color: var(--plum);
        }

        .price-input-adm {
            position: relative;
        }

        .price-input-adm .price-prefix {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 13.5px;
            font-weight: 700;
            color: var(--text-muted);
        }

        .price-input-adm input {
            padding-left: 34px !important;
        }

        .toast-adm {
            position: fixed;
            top: 22px;
            right: 22px;
            z-index: 2000;
            background: var(--white);
            border: 1.5px solid var(--border);
            border-left: 4px solid var(--green);
            border-radius: 12px;
            box-shadow: var(--shadow-lg);
            padding: 14px 18px;
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 280px;
            transform: translateX(400px);
            opacity: 0;
            transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
        }

        .toast-adm.show {
            transform: translateX(0);
            opacity: 1;
        }

        .toast-adm i.toast-icon-adm {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: var(--green-pale);
            color: var(--green);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .toast-adm strong {
            display: block;
            font-size: 13.5px;
            color: var(--plum);
        }

        .toast-adm span {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* —— ACTIVITY —— */
        .activity-item {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }

        .activity-item:last-child {
            border-bottom: none;
        }

        .activity-icon {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            flex-shrink: 0;
        }

        .activity-text {
            font-size: 13px;
            color: var(--plum);
        }

        .activity-text strong {
            font-weight: 700;
        }

        .activity-time {
            font-size: 11.5px;
            color: var(--text-muted);
            margin-top: 2px;
        }

        /* —— TOP BOOK ITEM —— */
        .top-book-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            border-bottom: 1px solid var(--border);
        }

        .top-book-item:last-child {
            border-bottom: none;
        }

        .top-book-rank {
            width: 26px;
            height: 26px;
            border-radius: 8px;
            background: var(--rose-pale);
            color: var(--rose-dark);
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* —— RESPONSIVE —— */
        @media (max-width: 991px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.show {
                transform: translateX(0);
                box-shadow: var(--shadow-lg);
            }

            .main-wrap {
                margin-left: 0;
            }

            .topbar-search {
                display: none;
            }
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .4);
            z-index: 1030;
        }

        .sidebar-overlay.show {
            display: block;
        }

@media (max-width: 991px) { .cover-card { margin-top: -50px; } .detail-hero { padding-bottom: 70px; } }
