:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --accent: #4cc9f0;
    --light: #f8f9fa;
    --dark: #212529
}

* {
    font-family: Inter, sans-serif
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Inter, sans-serif;
    font-weight: 600
}

.logo-img {
    width: 120px;
    height: auto;
    display: block
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all .8s cubic-bezier(.4, 0, .2, 1);
    -webkit-transition: all .8s cubic-bezier(.4, 0, .2, 1);
    -moz-transition: all .8s cubic-bezier(.4, 0, .2, 1);
    -ms-transition: all .8s cubic-bezier(.4, 0, .2, 1);
    -o-transition: all .8s cubic-bezier(.4, 0, .2, 1);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all .8s cubic-bezier(.4, 0, .2, 1)
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all .8s cubic-bezier(.4, 0, .2, 1)
}

.animate-on-scroll-scale {
    opacity: 0;
    transform: scale(.9);
    transition: all .8s cubic-bezier(.4, 0, .2, 1)
}

.animate-on-scroll-left.animate-visible,
.animate-on-scroll-right.animate-visible,
.animate-on-scroll-scale.animate-visible,
.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translate(0) scale(1)
}

.filter-btn {
    transition: all .25s ease
}

.filter-btn:active {
    transform: scale(.96)
}

.card-hover {
    transition: transform .5s ease, box-shadow .5s ease, opacity .5s ease;
    -webkit-transition: transform .5s ease, box-shadow .5s ease, opacity .5s ease;
    -moz-transition: transform .5s ease, box-shadow .5s ease, opacity .5s ease;
    -ms-transition: transform .5s ease, box-shadow .5s ease, opacity .5s ease;
    -o-transition: transform .5s ease, box-shadow .5s ease, opacity .5s ease
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15)
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: all .4s ease
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    -o-transform: translateY(-1px)
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary))
}

#navbar.navbar-scrolled {
    box-shadow: 0 1px 8px rgba(0, 0, 0, .06)
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0
}

.navbar a {
    text-decoration: none;
    color: #111;
    font-weight: 500
}

.navbar a.active {
    border-bottom: solid #fff
}

.nav-link {
    position: relative
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -.7rem;
    left: .7rem;
    width: .7rem;
    height: .7rem;
    border-radius: .7rem;
    transition: border-radius 2.8ms linear
}

.nav-link:hover::after {
    border-radius: .7rem
}

.floating {
    animation: floating 6s ease-in-out infinite
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(0);
        -webkit-transform: translateY(0) rotate(0);
        -moz-transform: translateY(0) rotate(0);
        -ms-transform: translateY(0) rotate(0);
        -o-transform: translateY(0) rotate(0)
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
        -webkit-transform: translateY(-20px) rotate(2deg);
        -moz-transform: translateY(-20px) rotate(2deg);
        -ms-transform: translateY(-20px) rotate(2deg);
        -o-transform: translateY(-20px) rotate(2deg)
    }

    66% {
        transform: translateY(10px) rotate(-1deg)
    }
}

.pulse-animation {
    animation: pulse 2s infinite
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .7)
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0)
    }
}

.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s cubic-bezier(.4, 0, .2, 1);
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    -o-transform: translateY(20px)
}

.stagger-children.animate-visible>* {
    opacity: 1;
    transform: translateY(0)
}

@keyframes softBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: .85
    }

    50% {
        transform: translateY(8px);
        opacity: 1
    }
}

.scroll-arrow {
    animation: softBounce 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, .45))
}

@media (max-width:768px) {
    #catalog .grid {
        gap: 6px
    }
}

@media (max-width:640px) {
    body {
        overflow-x: hidden
    }

    section {
        padding-left: 8px;
        padding-right: 8px
    }

    h1 {
        font-size: 2.25rem;
        line-height: 1.2
    }

    h2 {
        font-size: 1.75rem
    }

    h3 {
        font-size: 1.25rem
    }

    p {
        font-size: .95rem;
        line-height: 1.7
    }

    #home {
        padding-top: 4rem;
        padding-bottom: 4rem
    }

    .btn-primary,
    a[class*=rounded-full] {
        padding: .75rem 1.5rem;
        font-size: .95rem
    }

    .card-hover {
        transform: none !important
    }

    .card-hover:hover {
        transform: none;
        box-shadow: 0 12px 24px rgba(0, 0, 0, .12)
    }

    footer {
        padding-left: 4px;
        text-align: left
    }

    footer .grid {
        gap: 2rem
    }

    footer h3,
    footer h4 {
        margin-bottom: .5rem
    }

    footer ul {
        padding-left: 0
    }

    footer p {
        max-width: 100%
    }

    .pulse-animation {
        width: 48px;
        height: 48px
    }

    .floating {
        animation-duration: 8s
    }
}

.produk-section {
    padding: 40px 20px
}

.produk-section h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 16px
}

.produk-card {
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all .4s ease !important;
    -webkit-transition: all .4s ease !important;
    -moz-transition: all .4s ease !important;
    -ms-transition: all .4s ease !important;
    -o-transition: all .4s ease !important
}

.produk-card:hover {
    border: 1px solid var(--primary);
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    -webkit-transform: translateY(-2px) !important;
    -moz-transform: translateY(-2px) !important;
    -ms-transform: translateY(-2px) !important;
    -o-transform: translateY(-2px) !important
}

.produk-kategori {
    font-size: 13px;
    color: #777;
    margin-top: 8px
}

.produk-harga {
    font-weight: 700;
    margin: 10px 0
}

.filter-form {
    display: flex;
    gap: 10px;
    margin: 0 auto 30px;
    justify-content: center;
    flex-wrap: wrap
}

.filter-form button,
.filter-form input,
.filter-form select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px
}

.filter-form button {
    background: #111;
    color: #fff;
    cursor: pointer;
    border: none
}

.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 6px
}

.produk-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin-bottom: 15px;
    border-radius: 0
}

.produk-card h3 {
    font-size: 16px;
    margin-bottom: 4px
}

.produk-kategori {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
    text-transform: capitalize
}

.produk-harga {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px
}

.btn-detail {
    display: inline-block;
    padding: 10px 18px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: background .2s ease
}

.btn-detail:hover {
    background: #333;
    transform: translateY(-2px)
}

.footer {
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    font-size: 14px;
    color: #777
}

@media (max-width:768px) {
    .produk-section {
        padding: 16px 8px
    }
}

.kategori-slider {
    overflow-x: auto;
    scrollbar-width: none
}

.kategori-slider::-webkit-scrollbar {
    display: none
}

.sub-btn {
    transition: all .25s ease
}

.sub-btn:hover {
    background: var(--primary);
    color: #fff
}

[data-category] {
    transition: all .4s ease
}

[data-category] {
    transition: opacity .35s ease, transform .35s ease;
    will-change: opacity, transform
}

.product-hide {
    opacity: 0;
    transform: translateY(18px) scale(.97);
    pointer-events: none
}

.product-show {
    opacity: 1;
    transform: translateY(0) scale(1)
}

@media (max-width:640px) {
    table {
        min-width: 100%;
        border-collapse: separate;
        border-spacing: 0 12px
    }

    thead {
        display: block;
        background: #3e7fff
    }

    tbody tr {
        display: block;
        border-radius: 12px;
        padding: 14px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .06)
    }

    tbody td {
        display: block;
        padding: 6px 0;
        font-size: 14px
    }
}

.action a {
    display: inline-block;
    margin-right: 14px;
    margin-top: 4px;
    font-size: 14px
}

.produk-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px
}

.produk-page-grid .produk-card {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important
}

.mobile-brand-square {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    padding: .45rem
}

.mobile-account-avatar {
    width: 2rem;
    height: 2rem;
    display: block;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0
}

.mobile-account-avatar-fallback {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e0f2fe;
    color: var(--primary);
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0
}

.mobile-only-logo {
    display: block
}

.desktop-only-logo {
    display: none
}

@media (min-width:1024px) {
    .mobile-only-logo {
        display: none !important
    }

    .desktop-only-logo {
        display: block !important
    }
}

.cart-badge-anchor {
    overflow: visible
}

.cart-badge-pill {
    top: -4px;
    right: -8px;
    min-width: 14px;
    height: 16px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(67, 97, 238, .12)
}

.mobile-nav-open {
    overflow: hidden
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 70
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(52vw, 320px);
    max-width: 86vw;
    height: 100vh;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 80;
    pointer-events: none;
    display: block
}

.mobile-drawer.is-open {
    transform: translateX(0);
    pointer-events: auto
}

.mobile-drawer-inner {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border-left: 1px solid rgba(226, 232, 240, .9);
    box-shadow: -24px 0 60px rgba(15, 23, 42, .16)
}

.mobile-drawer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(226, 232, 240, .9)
}

.mobile-drawer-label {
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 6px
}

.mobile-drawer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a
}

.mobile-drawer-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, .9);
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 0
}

.menu-item-mobile,
.submenu-item-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    color: #334155;
    font-weight: 600;
    text-align: left;
    border: 0;
    background: transparent;
    transition: background-color .2s ease, color .2s ease
}

.menu-item-mobile:hover,
.submenu-item-mobile:hover {
    background: rgba(67, 97, 238, .08);
    color: var(--primary)
}

.menu-item-mobile-toggle {
    border-top: 1px solid rgba(241, 245, 249, .95);
    border-bottom: 1px solid rgba(241, 245, 249, .95)
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    background: rgba(248, 250, 252, .92)
}

.mobile-submenu.is-open {
    max-height: 220px
}

.submenu-item-mobile {
    padding-left: 34px;
    font-size: .95rem;
    color: #475569
}

.menu-cart-mobile {
    margin-top: 8px;
    border-top: 1px solid rgba(241, 245, 249, .95)
}

.mobile-cart-count {
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700
}

.mobile-drawer-footer {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(226, 232, 240, .9);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.mobile-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    border-radius: .5rem;
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease
}

.mobile-action-button:hover {
    transform: translateY(-1px)
}

.mobile-action-primary {
    background: linear-gradient(135deg, var(--primary), #2847cf);
    color: #fff;
    box-shadow: 0 18px 32px rgba(67, 97, 238, .24)
}

.mobile-action-secondary {
    background: #fff;
    color: #1e293b;
    border: 1px solid rgba(203, 213, 225, .95)
}

.mobile-action-ghost {
    background: #fff5f5;
    color: #e11d48;
    border: 1px solid rgba(254, 205, 211, .95)
}

#zoomImage {
    touch-action: manipulation
}

.image-preview-item {
    position: relative;
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 12px
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.image-preview-item .btn-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 3
}

.image-preview-item .btn-edit {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s ease;
    cursor: pointer;
    z-index: 2
}

.image-preview-item:hover .btn-edit {
    opacity: 1
}

.testimonial-slider .swiper-slide {
    transition: all .6s cubic-bezier(.4, 0, .2, 1);
    transform: scale(.8);
    opacity: .3;
    filter: blur(4px)
}

.testimonial-slider .swiper-slide-active {
    transform: scale(1.1);
    opacity: 1;
    filter: blur(0);
    z-index: 10
}

.testimonial-slider {
    padding-top: 40px !important;
    padding-bottom: 40px !important
}

.testi-card {
    min-height: 380px
}

.swiper-pagination-testi .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, .3);
    opacity: 1;
    transition: all .4s ease;
    border-radius: 20px
}

.swiper-pagination-testi .swiper-pagination-bullet-active {
    background: #ffffff !important;
    width: 30px;
    box-shadow: 0 0 10px rgba(255, 255, 255, .5)
}

.produk-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin: 0 auto;
    padding: 0 20px 60px
}

.filter-sidebar {
    width: 240px;
    min-width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: #fff;
    padding: 18px 16px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent
}

.filter-sidebar::-webkit-scrollbar {
    width: 3px
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px
}

@media (max-width:768px) {
    .filter-sidebar {
        display: none !important
    }

    .produk-layout {
        padding: 0 0 8px
    }

    .produk-count {
        display: none
    }

}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px
}

.sidebar-title {
    font-size: .82rem;
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: .06em;
    display: flex;
    align-items: center;
    gap: 6px
}

.sidebar-title i {
    color: #4361ee
}

.btn-reset-filter {
    display: none;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 700;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    padding: 4px 9px;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap
}

.btn-reset-filter:hover {
    background: #fee2e2
}

.sidebar-section {
    border-top: 1px solid #f3f4f6;
    padding-top: 12px;
    margin-top: 12px
}

.sidebar-section-label {
    font-size: .72rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px
}

.sidebar-section-label i {
    color: #4361ee;
    font-size: .8rem
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 7px;
    border-radius: 4px;
    cursor: pointer;
    font-size: .82rem;
    color: #374151;
    font-weight: 500;
    transition: background .15s;
    user-select: none;
    line-height: 1.4
}

.filter-item:hover {
    background: #f0f5ff
}

.filter-item.active-item {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700
}

.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
    accent-color: #4361ee;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer
}

.filter-scroll-list {
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent
}

.sidebar-search-wrap {
    position: relative
}

.sidebar-search-wrap input {
    width: 100%;
    padding: 8px 10px 8px 32px;
    border: 1.5px solid #e5e7eb;
    border-radius: 4px;
    font-size: .82rem;
    background: #fafafa;
    color: #111;
    outline: none;
    transition: border .2s, box-shadow .2s;
    box-sizing: border-box
}

.sidebar-search-wrap input:focus {
    border-color: #4361ee;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, .08)
}

.sidebar-search-wrap i {
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: .82rem;
    pointer-events: none
}

.price-range-display {
    font-size: .78rem;
    font-weight: 700;
    color: #4361ee;
    text-align: center;
    margin-bottom: 8px
}

.produk-main {
    flex: 1
}

.produk-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 28px
}

.produk-count {
    font-size: .8rem;
    color: #6b7280;
    font-weight: 500
}

.active-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 2px 8px 2px 10px;
    font-size: .72rem;
    font-weight: 600
}

.filter-tag i {
    cursor: pointer;
    font-size: .75rem;
    opacity: .6;
    transition: opacity .15s;
    padding: 0 2px
}

.filter-tag i:hover {
    opacity: 1
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 4px
}

.badge-bekas {
    font-size: .62rem;
    background: #fef9c3;
    color: #854d0e;
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid #fde68a
}

.badge-po {
    font-size: .62rem;
    background: #fff7ed;
    color: #c2410c;
    padding: 1px 6px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid #fed7aa
}

.harga-coret-kecil {
    font-size: .72rem;
    text-decoration: line-through;
    color: #9ca3af;
    line-height: 1.2
}

.stok-habis-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center
}

.stok-habis-overlay span {
    background: #ef4444;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px
}

.no-result-wrap {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af
}

.btn-filter-mobile {
    display: none
}

@media (max-width:768px) {
    .btn-filter-mobile {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--primary);
        color: #fff;
        border: none;
        border-radius: 4px;
        padding: 7px 14px;
        font-size: .8rem;
        font-weight: 600;
        cursor: pointer;
        transition: background .2s
    }

    .btn-filter-mobile:active {
        background: var(--secondary)
    }

    .produk-count {
        display: none !important
    }
}

.filter-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1200;
    backdrop-filter: blur(3px)
}

.filter-drawer-overlay.active {
    display: block
}

.filter-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    z-index: 1300;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .15)
}

.filter-drawer.open {
    transform: translateY(0)
}

.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: .9rem;
    font-weight: 700;
    color: #111827;
    flex-shrink: 0
}

.filter-drawer-header i {
    color: var(--primary);
    margin-right: 6px
}

.filter-drawer-header button {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px
}

.filter-drawer-header button:hover {
    background: #f3f4f6
}

.filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 20px 8px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent
}

.filter-drawer-footer {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0
}

.btn-drawer-reset {
    flex: 1;
    padding: 10px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s
}

.btn-drawer-reset:hover {
    background: #fee2e2
}

.btn-drawer-apply {
    flex: 2;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s
}

.btn-drawer-apply:hover {
    background: var(--secondary)
}

/* ── Wrapper tombol akun desktop: tersembunyi di mobile, tampil di md+ ─ */
.desktop-account-wrapper {
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    .desktop-account-wrapper {
        display: block;
    }
}

/* ── Desktop account dropdown ──────────────────────────────────────── */
#user-account-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    pointer-events: none;
    z-index: 100;
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    width: 15rem;
}

#user-account-menu.account-menu-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#user-account-menu .account-dropdown-item,
#user-account-menu .account-dropdown-logout {
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

#user-account-menu .account-dropdown-item {
    color: #475569;
}

#user-account-menu .account-dropdown-logout {
    color: #f43f5e;
}

#user-account-menu .account-dropdown-item i,
#user-account-menu .account-dropdown-logout i {
    color: inherit;
}

#user-account-menu .account-dropdown-item:hover,
#user-account-menu .account-dropdown-item:focus-visible {
    background-color: #f8fafc;
    color: var(--primary);
}

#user-account-menu .account-dropdown-logout:hover,
#user-account-menu .account-dropdown-logout:focus-visible {
    background-color: #fff1f2;
    color: #e11d48;
}