@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:wght@600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
    --navy-950: #6f1d46;
    --navy-800: #8e2f5f;

    --paper: #ffddea;
    --surface: #ffd2e2;
    --white: #fff3f8;
    --soft: #ffc9dc;

    --border: #e8a9c1;
    --border-strong: #d989aa;

    --text: #2f1822;
    --muted: #755866;

    --success: #256354;
    --success-bg: #dcf3eb;

    --warning: #8a5a00;
    --warning-bg: #fff0c2;

    --danger: #b4234f;
    --danger-bg: #ffd9e4;

    --shadow:
        0 5px 16px rgba(111, 29, 70, 0.08);

    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        linear-gradient(
            180deg,
            #ffd6e6 0%,
            #ffe2ec 42%,
            #ffd1e2 100%
        );
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 450,
        "GRAD" 0,
        "opsz" 24;
    line-height: 1;
}

.material-symbols-outlined.is-filled {
    font-variation-settings:
        "FILL" 1,
        "wght" 450,
        "GRAD" 0,
        "opsz" 24;
}

.container {
    width: min(
        100% - 64px,
        var(--container)
    );
    margin-inline: auto;
}

.page {
    flex: 1;
    padding-block: 40px 64px;
}

.page-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.eyebrow {
    margin: 0 0 8px;
    color: #936a7b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.display,
.page-title,
.section-title,
.brand-name,
.book-title {
    font-family:
        "Source Serif 4",
        Georgia,
        serif;
}

.display {
    margin: 0;
    color: #4f1731;
    font-size: clamp(
        36px,
        5vw,
        56px
    );
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.page-title {
    margin: 0;
    color: #4f1731;
    font-size: clamp(
        28px,
        4vw,
        40px
    );
    line-height: 1.15;
}

.section-title {
    margin: 0;
    color: #4f1731;
    font-size: 24px;
    line-height: 1.25;
}

.detail-section-title {
    margin: 0 0 12px;
    color: #4f1731;
    font-family:
        "Source Serif 4",
        Georgia,
        serif;
    font-size: 22px;
    line-height: 1.3;
}

.lead {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.muted {
    color: var(--muted);
}

/*
|--------------------------------------------------------------------------
| Navbar
|--------------------------------------------------------------------------
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 64px;
    background:
        rgba(255, 221, 234, 0.96);
    border-bottom:
        1px solid var(--border);
    box-shadow:
        0 2px 12px rgba(111, 29, 70, 0.05);
    backdrop-filter: blur(12px);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    color: var(--navy-950);
}

.brand .material-symbols-outlined {
    font-size: 30px;
}

.brand-name {
    color: #4f1731;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: stretch;
    gap: 28px;
    height: 100%;
    margin-left: 12px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--navy-950);
}

.nav-link.is-active::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--navy-950);
    content: "";
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.nav-actions form {
    margin: 0;
}

.nav-search {
    position: relative;
    width: 260px;
}

.nav-search .material-symbols-outlined {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #956b7c;
    font-size: 20px;
    transform: translateY(-50%);
}

.nav-search input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 40px;
    color: var(--text);
    background: #fff3f8;
    border:
        1px solid var(--border);
    border-radius: 6px;
}

.mobile-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--navy-950);
    background: transparent;
    border: 0;
    border-radius: 6px;
}

.mobile-menu-button:hover {
    background: #f8bed5;
}

.mobile-drawer {
    display: none;
}

/*
|--------------------------------------------------------------------------
| Tombol
|--------------------------------------------------------------------------
*/

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    border:
        1px solid transparent;
    border-radius: 6px;
    transition: 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible,
.nav-search input:focus-visible,
.search-panel input:focus-visible {
    outline:
        3px solid rgba(142, 47, 95, 0.2);
    outline-offset: 2px;
}

.button-primary {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #6f1d46,
            #a03b69
        );
    border-color: #6f1d46;
    box-shadow:
        0 4px 10px rgba(111, 29, 70, 0.16);
}

.button-primary:hover {
    background:
        linear-gradient(
            135deg,
            #581438,
            #8e2f5f
        );
}

.button-secondary {
    color: var(--navy-950);
    background: #fff3f8;
    border-color: #a84d75;
}

.button-secondary:hover {
    color: #ffffff;
    background: #8e2f5f;
    border-color: #8e2f5f;
}

.button-ghost {
    color: var(--navy-950);
    background: transparent;
}

.button-ghost:hover {
    background: #f8bed5;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--navy-950);
    background: #fff3f8;
    border:
        1px solid var(--border);
    border-radius: 6px;
}

/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero {
    padding: 88px 0 72px;
    text-align: center;
    background:
        radial-gradient(
            circle at top,
            rgba(247, 204, 221, 0.55),
            transparent 55%
        );
}

.hero-inner {
    max-width: 800px;
    margin-inline: auto;
}

.hero .lead {
    max-width: 650px;
    margin: 18px auto 28px;
}

.search-panel {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
}

.search-panel > .material-symbols-outlined {
    position: absolute;
    top: 50%;
    left: 18px;
    color: #956b7c;
    transform: translateY(-50%);
}

.search-panel input {
    width: 100%;
    height: 58px;
    padding: 0 150px 0 52px;
    color: var(--text);
    background: #fff3f8;
    border:
        1px solid var(--border-strong);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.search-panel .button {
    position: absolute;
    top: 7px;
    right: 7px;
    height: 44px;
}

/*
|--------------------------------------------------------------------------
| Section
|--------------------------------------------------------------------------
*/

.section {
    padding-block: 30px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom:
        1px solid var(--border);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--navy-950);
    font-size: 14px;
    font-weight: 700;
}

.text-link:hover {
    color: #b4235a;
}

/*
|--------------------------------------------------------------------------
| Kategori
|--------------------------------------------------------------------------
*/

.category-grid {
    display: grid;
    grid-template-columns:
        repeat(6, 1fr);
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 120px;
    padding: 20px;
    color: var(--navy-950);
    background:
        linear-gradient(
            145deg,
            #fff3f8,
            #ffd4e4
        );
    border:
        1px solid var(--border);
    border-radius: 8px;
    box-shadow:
        0 3px 12px rgba(111, 29, 70, 0.04);
    transition: 0.18s ease;
}

.category-card:hover {
    border-color: #a03b69;
    box-shadow:
        0 8px 22px rgba(111, 29, 70, 0.12);
    transform: translateY(-2px);
}

.category-card .material-symbols-outlined {
    color: #8e2f5f;
    font-size: 30px;
}

.category-card strong {
    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| Book Grid dan Card
|--------------------------------------------------------------------------
*/

.book-grid {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 24px;
}

.book-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 239, 246, 0.98);
    border:
        1px solid var(--border);
    border-radius: 8px;
    box-shadow:
        0 4px 14px rgba(111, 29, 70, 0.05);
    transition: 0.18s ease;
}

.book-card:hover {
    border-color: #a03b69;
    box-shadow:
        0 9px 24px rgba(111, 29, 70, 0.13);
    transform: translateY(-2px);
}

.book-cover-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    padding: 16px;
    background:
        linear-gradient(
            145deg,
            #ffcfe0,
            #ffe7f0
        );
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f4bdd2;
    border:
        1px solid var(--border);
}

.book-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #8e2f5f;
    background:
        linear-gradient(
            145deg,
            #f3b7cf,
            #fff3f8
        );
    border:
        1px solid var(--border);
}

.book-cover-placeholder
.material-symbols-outlined {
    font-size: 48px;
}

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

.book-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.book-category {
    color: var(--muted);
    font-size: 12px;
}

.book-title {
    margin: 0;
    color: #4f1731;
    font-size: 21px;
    line-height: 1.28;
}

.book-title a:hover {
    color: #9e3765;
}

.book-author {
    margin: 7px 0 14px;
    color: var(--muted);
    font-size: 14px;
}

.book-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top:
        1px solid var(--border);
}

.book-card-footer > span {
    color: var(--muted);
    font-size: 12px;
}

/*
|--------------------------------------------------------------------------
| Badge
|--------------------------------------------------------------------------
*/

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    border-radius: 999px;
}

.badge-success {
    color: var(--success);
    background: var(--success-bg);
}

.badge-danger {
    color: var(--danger);
    background: var(--danger-bg);
}

.badge-warning {
    color: var(--warning);
    background: var(--warning-bg);
}

.badge-neutral {
    color: #6f1d46;
    background: #f1b9d0;
}

/*
|--------------------------------------------------------------------------
| Proses Peminjaman
|--------------------------------------------------------------------------
*/

.process-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 24px;
}

.process-card {
    padding: 24px;
    background:
        linear-gradient(
            145deg,
            #fff3f8,
            #ffdce9
        );
    border:
        1px solid var(--border);
    border-radius: 8px;
    box-shadow:
        0 4px 14px rgba(111, 29, 70, 0.05);
}

.process-number {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 800;
    background:
        linear-gradient(
            135deg,
            #6f1d46,
            #a03b69
        );
    border-radius: 50%;
}

.process-card h3 {
    margin: 0 0 8px;
    color: #4f1731;
    font-family:
        "Source Serif 4",
        serif;
    font-size: 20px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
}

/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer {
    margin-top: auto;
    background:
        linear-gradient(
            180deg,
            #f8bed5,
            #efa9c5
        );
    border-top:
        1px solid var(--border-strong);
}

.footer-grid {
    display: grid;
    grid-template-columns:
        1.2fr 1fr 1fr;
    gap: 36px;
    padding-block: 36px;
}

.footer-grid h3,
.footer-grid h4 {
    margin: 0 0 10px;
    color: #5f1d3b;
}

.footer-grid p,
.footer-grid li {
    margin: 0;
    color: #684b58;
}

.footer-grid a:hover {
    color: #8e2f5f;
}

.footer-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-bottom {
    padding-block: 14px;
    color: #765866;
    font-size: 12px;
    border-top:
        1px solid var(--border-strong);
}

/*
|--------------------------------------------------------------------------
| Katalog
|--------------------------------------------------------------------------
*/

.catalog-page-header {
    margin-bottom: 28px;
}

.catalog-description {
    margin: 10px 0 0;
}

.catalog-layout {
    display: grid;
    grid-template-columns:
        250px minmax(0, 1fr);
    gap: 28px;
}

.filter-panel {
    position: sticky;
    top: 92px;
    height: max-content;
    padding: 20px;
    background:
        linear-gradient(
            180deg,
            #fff3f8,
            #ffdce9
        );
    border:
        1px solid var(--border);
    border-radius: 8px;
    box-shadow:
        0 4px 14px rgba(111, 29, 70, 0.06);
}

.filter-panel h2 {
    margin: 0 0 18px;
    color: #4f1731;
    font-family:
        "Source Serif 4",
        serif;
}

.filter-group {
    padding-block: 16px;
    border-top:
        1px solid var(--border);
}

.filter-group:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy-950);
    font-size: 13px;
    font-weight: 700;
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--text);
    background: #fff3f8;
    border:
        1px solid var(--border-strong);
    border-radius: 6px;
}

.input:focus,
.select:focus,
.textarea:focus,
.nav-search input:focus,
.search-panel input:focus {
    border-color: #a03b69;
    box-shadow:
        0 0 0 3px rgba(160, 59, 105, 0.13);
    outline: none;
}

.textarea {
    min-height: 110px;
    resize: vertical;
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 9px;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.checkbox-row input {
    width: 17px;
    height: 17px;
    accent-color: #8e2f5f;
}

.filter-actions {
    display: grid;
    gap: 8px;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: rgba(255, 239, 246, 0.98);
    border:
        1px solid var(--border);
    border-radius: 8px;
    box-shadow:
        0 4px 14px rgba(111, 29, 70, 0.05);
}

.catalog-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-toolbar .select {
    width: 190px;
    min-height: 40px;
}

.mobile-filter-button {
    display: none;
}

.pagination-wrap {
    margin-top: 32px;
}

.pagination-wrap nav > div:first-child {
    display: none;
}

.pagination-wrap nav > div:last-child {
    display: flex;
    justify-content: center;
}

.pagination-wrap
nav
span[aria-current="page"]
> span {
    color: #ffffff !important;
    background:
        var(--navy-950) !important;
    border-color:
        var(--navy-950) !important;
}

/*
|--------------------------------------------------------------------------
| Breadcrumb
|--------------------------------------------------------------------------
*/

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 28px;
    color: #80616e;
    font-size: 13px;
}

.breadcrumb a:hover {
    color: #8e2f5f;
}

/*
|--------------------------------------------------------------------------
| Detail Buku
|--------------------------------------------------------------------------
*/

.book-detail {
    display: grid;
    grid-template-columns:
        minmax(280px, 380px)
        minmax(0, 1fr);
    align-items: start;
    gap: 48px;
}

.book-detail-cover {
    aspect-ratio: 2 / 3;
    padding: 18px;
    background:
        linear-gradient(
            145deg,
            #f8bed5,
            #fff7fa
        );
    border:
        1px solid var(--border);
    border-radius: 8px;
    box-shadow:
        0 5px 16px rgba(111, 29, 70, 0.07);
}

.book-detail-cover img,
.book-detail-cover
.book-cover-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-header {
    padding-bottom: 22px;
    border-bottom:
        1px solid var(--border);
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.detail-title {
    margin: 0;
    color: #4f1731;
    font-family:
        "Source Serif 4",
        serif;
    font-size: clamp(
        36px,
        4vw,
        52px
    );
    line-height: 1.08;
}

.detail-author {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.detail-meta {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 18px;
    margin-block: 24px;
}

.meta-item small {
    display: block;
    color: #936a7b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.meta-item strong {
    display: block;
    margin-top: 5px;
    color: var(--text);
    font-size: 15px;
}

.synopsis {
    max-width: 72ch;
    color: #654b57;
    line-height: 1.75;
    white-space: pre-line;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.detail-actions form {
    margin: 0;
}

.related-section {
    margin-top: 42px;
}

/*
|--------------------------------------------------------------------------
| Empty State
|--------------------------------------------------------------------------
*/

.empty-state {
    padding: 56px 24px;
    text-align: center;
    background:
        linear-gradient(
            145deg,
            #fff3f8,
            #ffdce9
        );
    border:
        1px dashed var(--border-strong);
    border-radius: 8px;
}

.empty-state .material-symbols-outlined {
    color: #9a6f80;
    font-size: 48px;
}

.empty-state h3 {
    margin: 12px 0 6px;
    color: #4f1731;
    font-family:
        "Source Serif 4",
        serif;
}

.empty-state p {
    max-width: 480px;
    margin: 0 auto 18px;
    color: var(--muted);
}

/*
|--------------------------------------------------------------------------
| Tentang
|--------------------------------------------------------------------------
*/

.about-header {
    max-width: 760px;
    margin-bottom: 36px;
}

.about-grid {
    display: grid;
    grid-template-columns:
        1.1fr 0.9fr;
    gap: 32px;
}

.info-card {
    padding: 24px;
    background:
        linear-gradient(
            145deg,
            #fff3f8,
            #ffdce9
        );
    border:
        1px solid var(--border);
    border-radius: 8px;
    box-shadow:
        0 4px 14px rgba(111, 29, 70, 0.05);
}

.info-card > p {
    margin: 16px 0 0;
}

.info-list {
    display: grid;
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
}

.info-list .material-symbols-outlined {
    color: var(--navy-950);
}

/*
|--------------------------------------------------------------------------
| Drawer
|--------------------------------------------------------------------------
*/

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    background:
        rgba(71, 22, 45, 0.46);
}

.drawer-backdrop.is-open {
    display: block;
}

.filter-drawer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    max-height: 85vh;
    overflow: auto;
    padding: 20px 16px 24px;
    background:
        linear-gradient(
            180deg,
            #fff3f8,
            #ffdce9
        );
    border-radius: 14px 14px 0 0;
    transform: translateY(102%);
    transition:
        transform 0.22s ease;
}

.filter-drawer.is-open {
    transform: translateY(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.drawer-head h2 {
    margin: 0;
    color: #4f1731;
    font-family:
        "Source Serif 4",
        serif;
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .book-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .nav-search {
        display: none;
    }

    .detail-meta {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 820px) {
    .container {
        width: min(
            100% - 32px,
            var(--container)
        );
    }

    .site-header,
    .navbar {
        height: 60px;
    }

    .brand-name {
        font-size: 20px;
    }

    .brand .material-symbols-outlined {
        font-size: 26px;
    }

    .nav-links,
    .nav-actions .button,
    .nav-actions form {
        display: none;
    }

    .mobile-menu-button {
        display: inline-flex;
    }

    .mobile-drawer {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: block;
        width: min(86vw, 340px);
        padding: 20px;
        background:
            linear-gradient(
                180deg,
                #fff3f8,
                #ffdce9
            );
        border-left:
            1px solid var(--border);
        box-shadow:
            -10px 0 30px rgba(111, 29, 70, 0.12);
        transform: translateX(105%);
        transition:
            transform 0.22s ease;
    }

    .mobile-drawer.is-open {
        transform: translateX(0);
    }

    .mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        border-bottom:
            1px solid var(--border);
    }

    .mobile-drawer-nav {
        display: grid;
        gap: 6px;
        margin-top: 18px;
    }

    .mobile-drawer-nav a,
    .mobile-drawer-nav button {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
        color: var(--text);
        text-align: left;
        background: transparent;
        border: 0;
        border-radius: 6px;
    }

    .mobile-drawer-nav a:hover,
    .mobile-drawer-nav button:hover {
        background: #f8bed5;
    }

    .mobile-drawer-nav a.is-active {
        color: #6f1d46;
        font-weight: 700;
        background: #f1b9d0;
    }

    .hero {
        padding: 58px 0 48px;
    }

    .search-panel input {
        padding-right: 52px;
    }

    .search-panel .button {
        width: 44px;
        padding: 0;
    }

    .search-panel
    .button
    span:last-child {
        display: none;
    }

    .book-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 16px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .catalog-layout {
        display: block;
    }

    .filter-panel {
        display: none;
    }

    .mobile-filter-button {
        display: inline-flex;
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .catalog-toolbar-right {
        width: 100%;
    }

    .catalog-toolbar .select {
        flex: 1;
        width: auto;
    }

    .book-detail {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .book-detail-cover {
        width: 100%;
        max-width: 360px;
        margin-inline: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/*
|--------------------------------------------------------------------------
| Mobile Kecil
|--------------------------------------------------------------------------
*/

@media (max-width: 560px) {
    .page {
        padding-block: 28px 48px;
    }

    .category-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .book-grid {
        grid-template-columns: 1fr;
    }

    .book-card {
        display: grid;
        grid-template-columns:
            104px minmax(0, 1fr);
    }

    .book-cover-wrap {
        height: 156px;
        padding: 10px;
        aspect-ratio: auto;
    }

    .book-card-body {
        padding: 14px;
    }

    .book-title {
        font-size: 18px;
    }

    .book-card-footer {
        padding-top: 10px;
    }

    .book-card-footer > span {
        display: none;
    }

    .section {
        padding-block: 22px;
    }

    .section-head {
        align-items: center;
    }

    .detail-meta {
        grid-template-columns:
            1fr 1fr;
    }

    .detail-actions {
        display: grid;
    }

    .detail-actions .button {
        width: 100%;
    }

    .detail-actions form {
        width: 100%;
    }
}

/*
|--------------------------------------------------------------------------
| Final Pink Background Override
|--------------------------------------------------------------------------
*/

html,
body {
    background:
        linear-gradient(
            180deg,
            #ffd4e4 0%,
            #ffe0eb 48%,
            #ffcfe0 100%
        ) !important;
}

.page-shell,
.page,
.section,
.catalog-layout,
.book-detail,
.about-grid {
    background: transparent !important;
}

.hero {
    background:
        radial-gradient(
            circle at top,
            rgba(255, 183, 211, 0.72),
            rgba(255, 220, 233, 0.72) 52%,
            transparent 78%
        ) !important;
}

.site-header {
    background: rgba(255, 218, 232, 0.96) !important;
}

.category-card,
.book-card,
.process-card,
.info-card,
.filter-panel,
.catalog-toolbar,
.book-detail-cover,
.empty-state {
    background:
        linear-gradient(
            145deg,
            #fff2f7,
            #ffdbe8
        ) !important;
}

.site-footer {
    background:
        linear-gradient(
            180deg,
            #f6b8d0,
            #ec9fbe
        ) !important;
}
