/* Shared Teman PDF header and footer */

.site-header,
.site-header * ,
.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid #edf0f2;
    color: #0f172a;
}

.site-header-inner {
    width: 100%;
    max-width: 1320px;
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-brand img {
    display: block;
    width: auto;
    max-width: 220px;
    height: 40px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.site-nav > a,
.site-nav-dropdown > summary {
    color: #374151;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.site-nav > a:hover,
.site-nav-dropdown > summary:hover {
    color: #0d9488;
}

.site-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.site-nav-dropdown > summary {
    list-style: none;
}

.site-nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.site-nav-dropdown > summary::after {
    content: "▾";
    display: inline-block;
    margin-left: 6px;
}


.site-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 220px;
    padding: 8px;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,.1),
                0 8px 10px -6px rgba(0,0,0,.05);
}

.site-nav-dropdown[open] .site-nav-dropdown-menu {
    display: flex;
}

.site-nav-dropdown-menu a.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    color: #4b5563;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
    transition: all .2s ease;
}

.site-nav-dropdown-menu a.dropdown-item:hover {
    background: #f0fdf4;
    color: #059669;
}

.site-nav-dropdown-menu .icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 6px;
}

.site-nav-dropdown-menu .icon-box svg {
    display: block;
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
    max-height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-nav-dropdown-menu .icon-merge {
    background: #e0f2fe;
    color: #0284c7;
}

.site-nav-dropdown-menu .icon-split {
    background: #fee2e2;
    color: #ef4444;
}

.site-nav-dropdown-menu .icon-compress {
    background: #e0f2fe;
    color: #0369a1;
}

.site-nav-dropdown-menu .icon-organize {
    background: #f3e8ff;
    color: #9333ea;
}

.site-nav-dropdown-menu .icon-sign {
    background: #d1fae5;
    color: #10b981;
}

.site-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 9px 22px;
    border: 1px solid #0d9488;
    border-radius: 8px;
    color: #0f766e;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-login:hover {
    color: #fff;
    background: #0d9488;
}

.site-footer {
    width: 100%;
    margin-top: 48px;
    padding: 22px 24px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.site-footer-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

@media (max-width: 900px) {
    .site-header {
        padding-right: 16px;
        padding-left: 16px;
    }

    .site-header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 12px;
        padding-bottom: 12px;
        gap: 14px;
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .site-nav-dropdown-menu {
        left: auto;
        right: 0;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .site-brand img {
        max-width: 170px;
        height: 34px;
    }

    .site-login {
        padding: 8px 14px;
    }

    .site-nav {
        gap: 12px 16px;
    }

    .site-nav > a,
    .site-nav-dropdown > summary {
        font-size: 13px;
    }

    .site-footer {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* ===== Responsive viewport layout: sticky footer ===== */
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
    width: 100%;
}

body > .site-footer,
body > footer.site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* ===== Responsive layout for laptop and desktop ===== */
@media (max-width: 900px) {
    .site-header-inner {
        min-width: 0;
    }

    .site-nav {
        row-gap: 12px;
    }
}

@media (max-width: 480px) {
    .site-footer-inner {
        overflow-wrap: anywhere;
    }
}

/* ===== Laptop: optimize layout for short viewport ===== */
@media screen and (min-width: 721px) and (max-height: 800px) {
    .site-header-inner {
        min-height: 56px;
    }

    .site-brand img {
        height: 34px;
    }

    .site-footer {
        margin-top: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-footer-inner {
        font-size: 12px;
    }

    /* Reduce excessive vertical spacing on PDF tool pages */
    body > main {
        margin-top: 16px;
        margin-bottom: 16px;
    }

    body > main .intro {
        margin-bottom: 16px;
    }

    body > main .workspace {
        min-height: 0;
    }

    body > main .preview-area {
        min-height: 0;
    }

    body > main .preview-placeholder {
        min-height: 220px;
    }
}

@media screen and (min-width: 721px) and (max-height: 680px) {
    body > main {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    body > main .intro {
        margin-bottom: 10px;
    }

    body > main .preview-placeholder {
        min-height: 170px;
    }
}

/* ===== Split and Compress: short laptop viewport ===== */
@media screen and (min-width: 701px) and (max-height: 800px) {
    /* Split page */
    body > main .workspace {
        min-height: 0;
        margin-bottom: 16px;
    }

    body > main .intro {
        padding-top: 16px;
        padding-bottom: 14px;
    }

    body > main .dropzone {
        min-height: 190px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Compress page */
    body > main .workspace {
        min-height: 0;
    }

    body > main .preview-area {
        min-height: 0;
    }

    body > main .preview-placeholder {
        min-height: 190px;
    }
}

@media screen and (min-width: 701px) and (max-height: 680px) {
    body > main .intro {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    body > main .dropzone {
        min-height: 150px;
    }

    body > main .preview-placeholder {
        min-height: 150px;
    }
}

/* ===== Fix tinggi Split dan Compress pada laptop ===== */
@media screen and (min-width: 701px) and (max-height: 800px) {
    /* Split: workspace berada langsung di dalam body */
    body > .workspace {
        min-height: 0 !important;
        margin-bottom: 16px !important;
    }

    body > .intro {
        padding-top: 16px !important;
        padding-bottom: 14px !important;
    }

    body > #upload-zone.dropzone {
        min-height: 190px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    /* Compress: workspace berada di dalam main */
    body > main .workspace {
        min-height: 0 !important;
    }

    body > main .preview-area {
        min-height: 0 !important;
    }

    body > main .preview-placeholder {
        min-height: 190px !important;
    }
}

@media screen and (min-width: 701px) and (max-height: 680px) {
    body > .intro {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    body > #upload-zone.dropzone {
        min-height: 150px !important;
    }

    body > main .preview-placeholder {
        min-height: 150px !important;
    }
}

/* ===== Perbaikan tinggi Split PDF pada layar laptop ===== */
@media screen and (min-width: 701px) and (max-height: 800px) {
    body > form#split-form {
        margin-bottom: 0;
    }

    body > form#split-form .workspace {
        min-height: 0 !important;
        margin-bottom: 16px !important;
    }

    body > form#split-form .preview-panel,
    body > form#split-form .settings-panel {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    body > form#split-form #upload-zone.dropzone {
        min-height: 170px !important;
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }

    body > form#split-form .empty-state {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    body > form#split-form .hint-box {
        margin-top: 12px;
        margin-bottom: 12px;
    }

    body > form#split-form .server-note {
        margin-top: 8px;
        margin-bottom: 0;
    }
}

@media screen and (min-width: 701px) and (max-height: 680px) {
    body > form#split-form .preview-panel,
    body > form#split-form .settings-panel {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    body > form#split-form #upload-zone.dropzone {
        min-height: 130px !important;
    }

    body > form#split-form .empty-state {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

/* ===== Footer di bawah viewport, tetapi mengikuti konten ===== */
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Halaman dengan main: main mengisi ruang kosong yang tersedia */
body > main {
    flex: 1 0 auto;
    width: 100%;
}

/* Split menggunakan form sebagai pembungkus konten utama */
body > form#split-form {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

/* Workspace mengisi ruang kosong jika konten Split pendek */
body > form#split-form .workspace {
    flex: 1 0 auto;
}

/* Footer tetap setelah konten dan berada di bawah viewport jika pendek */
body > footer.site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* ===== Shared sticky footer layout ===== */
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Halaman yang menggunakan elemen main */
body > main {
    flex: 1 0 auto;
    width: 100%;
}

/* Halaman Split tidak menggunakan main, jadi workspace mengisi ruang */
body:has(> .site-header) > form#split-form {
    flex: 1 0 auto;
    width: 100%;
}

/* Footer berada setelah konten dan tidak menutupi halaman */
body > .site-footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* ===== Layout konsisten Split PDF dan footer ===== */
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body > main {
    flex: 1 0 auto;
    width: 100%;
}

/* Split belum memakai elemen main, jadi intro dan form menjadi area fleksibel */
body > form#split-form {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

body > form#split-form > .workspace {
    width: calc(100% - 48px);
    max-width: 1210px;
    min-height: 0;
    flex: 1 0 auto;
    margin: 0 auto 24px;
}

body > form#split-form .preview-panel,
body > form#split-form .settings-panel {
    min-width: 0;
}

@media (max-width: 1000px) {
    body > form#split-form > .workspace {
        width: calc(100% - 24px);
    }
}

@media (max-width: 700px) {
    body > form#split-form > .workspace {
        width: calc(100% - 24px);
        margin-bottom: 20px;
    }
}

/* ===== Compress PDF: footer di bawah viewport ===== */
body:has(#compress-form) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:has(#compress-form) > main {
    flex: 1 0 auto;
    width: 100%;
}

body:has(#compress-form) > .site-footer {
    margin-top: 0;
}

/* ===== COMPRESS PDF: FINAL STICKY FOOTER + WORKSPACE ===== */
body:has(#compress-form) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:has(#compress-form) > .site-header {
    flex: 0 0 auto;
}

body:has(#compress-form) > main {
    flex: 1 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 20px 16px;
}

body:has(#compress-form) > main > .intro {
    padding: 24px 0 20px;
    margin: 0;
}

body:has(#compress-form) > main > .workspace {
    width: 100%;
    max-width: 1500px;
    min-height: 420px;
    margin: 0 auto;
}

body:has(#compress-form) > main > .workspace > .preview-area {
    min-height: 420px;
    padding: 24px;
}

body:has(#compress-form) > .site-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

@media (max-width: 700px) {
    body:has(#compress-form) > main {
        padding: 0 14px 16px;
    }

    body:has(#compress-form) > main > .intro {
        padding: 24px 0 20px;
    }

    body:has(#compress-form) > main > .workspace {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    body:has(#compress-form) > main > .workspace > .preview-area {
        min-height: 260px;
        padding: 18px;
    }
}

/* ===== RESTORE UKURAN AREA KERJA COMPRESS PDF ===== */
@media screen and (min-width: 701px) {
    body:has(#compress-form) > main > .workspace {
        width: 100%;
        max-width: 1210px;
        min-height: 400px;
        margin: 0 auto;
    }

    body:has(#compress-form) > main > .workspace > .preview-area {
        min-height: 250px;
        padding: 24px;
    }

    body:has(#compress-form) > main > .workspace > .preview-placeholder {
        min-height: 230px;
    }
}

/* ===== FIX ORGANIZE PDF: PANEL KANAN DAN TOMBOL AKSI ===== */
body:has(#organizeForm) > main {
    max-width: 1320px;
    margin: 16px auto 24px;
    padding: 0 20px;
}

body:has(#organizeForm) > main > .intro {
    margin-bottom: 22px;
}

body:has(#organizeForm) #organizeForm {
    width: 100%;
}

body:has(#organizeForm) .workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: stretch;
    min-height: 0;
    margin: 0;
}

body:has(#organizeForm) .left-panel,
body:has(#organizeForm) .right-panel {
    min-width: 0;
}

body:has(#organizeForm) .right-panel {
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

body:has(#organizeForm) .right-bottom {
    position: sticky;
    bottom: 0;
    margin-top: 24px;
    padding-top: 16px;
    background: #fff;
}

body:has(#organizeForm) .right-bottom .divider {
    margin-bottom: 16px;
}

body:has(#organizeForm) .primary-button {
    display: block;
    width: 100%;
    min-height: 54px;
}

@media (max-width: 900px) {
    body:has(#organizeForm) .workspace {
        grid-template-columns: minmax(0, 1fr) 350px;
    }

    body:has(#organizeForm) .right-panel {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    body:has(#organizeForm) > main {
        margin: 12px auto 20px;
        padding: 0 14px;
    }

    body:has(#organizeForm) .workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    body:has(#organizeForm) .right-panel {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    body:has(#organizeForm) .right-bottom {
        position: static;
        margin-top: 20px;
    }
}

/* ===== Organize PDF: sticky footer final ===== */
body:has(#organizeForm) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:has(#organizeForm) > .site-header {
    flex: 0 0 auto;
}

body:has(#organizeForm) > main {
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
}

body:has(#organizeForm) > .site-footer {
    flex: 0 0 auto;
    margin-top: auto;
    width: 100%;
}

/* FIX FINAL: ukuran ikon dropdown TemanPDF */
.site-header .site-nav-dropdown .site-nav-dropdown-menu a.dropdown-item .icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    flex: 0 0 28px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 6px !important;
}

.site-header .site-nav-dropdown .site-nav-dropdown-menu a.dropdown-item .icon-box svg {
    display: block !important;
    position: static !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    overflow: hidden !important;
}

/* Header kanan: badge gratis dan tombol login */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.badge-free {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    user-select: none;
}

.badge-free svg {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #10b981;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pulse-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    background: #10b981;
    border: 1px solid #fff;
    border-radius: 50%;
    animation: temanpdf-pulse 1.8s infinite;
}

@keyframes temanpdf-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16,185,129,.55);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16,185,129,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16,185,129,0);
    }
}

@media (max-width: 480px) {
    .header-right {
        gap: 7px;
    }

    .badge-free {
        padding: 7px 9px;
        gap: 5px;
        font-size: 11px;
    }

    .badge-free svg {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .site-login {
        padding: 8px 12px;
        font-size: 12px;
    }
}


/* FIX FINAL: posisi badge gratis dan login */
.site-header .site-header-inner {
    min-height: 72px !important;
    height: 72px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Area kanan harus selalu horizontal */
.site-header .header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    width: auto !important;
    height: auto !important;
    min-width: max-content !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

/* Badge 100% Gratis */
.site-header .badge-free {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: auto !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 6px 14px !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 22px !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

/* KUNCI ukuran dan warna ikon Sparkles */
.site-header .badge-free svg {
    display: block !important;
    position: static !important;
    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    fill: none !important;
    stroke: #10b981 !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* Titik hijau */
.site-header .badge-free .pulse-dot {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    width: 9px !important;
    min-width: 9px !important;
    height: 9px !important;
    min-height: 9px !important;
    padding: 0 !important;
    background: #10b981 !important;
    border: 1px solid #fff !important;
    border-radius: 50% !important;
    flex: none !important;
}

/* Login tetap sejajar */
.site-header .header-right .site-login {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 8px 22px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}


/* HEADER FINAL: logo kiri, menu tengah, badge dan login kanan */
@media screen and (min-width: 901px) {
    .site-header-inner {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        justify-content: initial !important;
        min-height: 72px !important;
        height: 72px !important;
        gap: 16px !important;
    }

    .site-brand {
        grid-column: 1;
        justify-self: start;
    }

    .site-nav {
        grid-column: 2;
        justify-self: center;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        order: initial !important;
        gap: 28px !important;
    }

    .header-right {
        grid-column: 3;
        justify-self: end;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        margin: 0 !important;
        gap: 12px !important;
    }
}



/* ==================================================
   TEMANPDF GLOBAL HEADER
   Logo kiri | Menu tengah | Gratis + Login kanan
   Berlaku untuk semua halaman
================================================== */

@media screen and (min-width: 901px) {
    .site-header .site-header-inner {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 72px !important;
        min-height: 72px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        gap: 0 !important;
    }

    .site-header .site-brand {
        position: relative !important;
        z-index: 2 !important;
        flex: 0 0 auto !important;
        margin-right: auto !important;
    }

    .site-header .site-nav {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 28px !important;
        order: initial !important;
        z-index: 3 !important;
    }

    .site-header .header-right {
        position: relative !important;
        z-index: 4 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        height: auto !important;
        margin-left: auto !important;
        flex: 0 0 auto !important;
        gap: 12px !important;
    }
}
