@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins";
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
}

/* BERANDA! */
.beranda {
    padding-top: 100px;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* css footer */
.hero-container {
    background-color: #5D7F5A;
    color: white !important;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-control-prev {
    left: 5px !important;
    width: 40px !important;
}

.carousel-control-next {
    width: 40px !important;
    right: 5px !important;
}

.hero-left {
    padding: 40px;
    min-height: 400px;
}

.hero-right {
    padding: 0;
    /* background-image: url('/assets/img/products/banana.png'); */
    background-size: cover;
    background-position: center;
    color: white !important;
    position: relative;
    left: 20px;
    min-height: 400px;
}

.hero-right .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(93,127,90,1), rgba(93, 127, 90, 0));
    pointer-events: none;
}

.pisang {
    width: 100%;
    border-radius: 8px;
}

.hero-container a {
    width: 250px;
}

.kategori-item {
    background-color: #5d7f5a;
    margin: 0px;
    border-radius: 10px;
    text-align: center;
    align-content: center;
    color: rgb(0, 0, 0);
    width: 180px; /* Ukuran default */
    height: 180px; /* Ukuran default */
    text-decoration: none;
}

.kategori-skeleton {
    background-color: #eee;
    border-radius: 10px;
    margin: 0px;
    width: 180px;
    height: 180px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.product-beranda-skeleton {
    background-color: #eee;
    margin: 0px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    width: 200px;
    height: 250px;
}

.kategori-skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.2s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.kategori-item img {
    max-width: 70px;
    max-height: 70px;
    margin-bottom: 10px;
}

.kategori-item h5 {
    margin-bottom: 0px;
    font-size: 14px;
    color: white;
}

.item {
    display: flex;
    width: 175px;
    height: 175px;
    background-color: rgba(93, 127, 90, 1);
    border-radius: 8px;
    justify-content: center;
}

.kategori div.kategoriproduk {
    text-align: center;
    width: 145px;
    height: 34px;
    color: white;
    background-color: rgb(0, 253, 4);
}

.search-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.search-container p {
    color: black;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
}

.search-box {
    display: flex;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.product-search-icon {
    position: absolute;
    top: 18%;
    left: 1%;
    font-size: 22px;
    color: #000;
}

.search-input {
    flex: 1;
    padding: 12px 0px 12px 40px;
    font-size: 16px;
    border: none;
    outline: none;
}

.search-input::placeholder {
    color: #b0b0b0;
}

.search-button {
    padding: 12px 20px;
    background-color: #5d7f5a;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #4e613c;
}

.ukm-card {
    flex: 0 0 auto !important;
    border: 1px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    width: 200px;
}
.ukm-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.ukm-card .ukm-name {
    font-size: 14px !important;
    font-weight: 600;
}
.ukm-card .ukm-price {
    font-size: 16px;
    font-weight: 400;
}

.ukm-card .ukm-location {
    font-size: 12px;
}
.ukm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.UKM h2 {
    margin-bottom: 0;
}

.see-all {
    font-size: 16px;
}

.card-img-top {
    width: 100%;
    height: 175px;
    object-fit: cover;
}

.checked {
    color: orange;
}

.category-card {
    background-color: #5d7f5a; /* Warna hijau */
    color: white;
    border-radius: 8px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.category-text {
    font-size: 16px;
    font-weight: 500;
}

.category-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.text-green {
    color: #5d7f5a !important;
    font-size: 18px !important;
}

.product-beranda-card {
    border: 1px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
    width: 200px;
    color: #000 !important;
}

.product-beranda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-beranda-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-beranda-card .ukm-location {
    font-size: 12px;
}

/* Media Queries untuk tampilan tablet */
@media (max-width: 768px) {
    .beranda {
        font-size: 60px;
        padding: 15px;
    }

    .product-search-icon {
        left: 1.8%;
    }

    .search-box {
        width: 100%; /* Lebar search box pada layar lebih kecil */
    }

    .search-container p {
        font-size: 24px; /* Ukuran font lebih kecil pada layar kecil */
    }

    /* BERANDA! */
    .beranda {
        padding: 100px 0px 0px;
    }

    /* css footer */
    .hero-container {
        height: 200px;
    }

    .hero-left {
        padding: 0px;
        padding-left: 40px;
        min-height: 200px;
    }

    .hero-right {
        left: 20px;
        min-height: 200px;
    }
    .pisang {
        width: 100%;
        border-radius: 8px;
    }
    
    .hero-container h1 {
        font-size: 20px !important;
        margin-top: 0 !important; 
    }

    .hero-container h4 {
        font-size: 14px !important;
    }

    .hero-container a {
        padding: 8px 15px !important;
        width: 150px;
        font-size: 12px !important;
    }
}

@media screen and (max-width: 540px) {
    .kategori-container {
        justify-content: center !important;
    }

    .ukm-wrapper {
        justify-content: center !important;
    }

    .UKM h2 {
        font-size: 18px;
    }

    .text {
        font-size: 16px;
    }

    .search-input {
        font-size: 12px !important;
    }

    .search-button {
        font-size: 12px;
    }

    .text-green {
        font-size: 10px !important;
    }

    .product-search-icon {
        top: 15%;
        left: 2.5%;
    }

    /* BERANDA! */
    .beranda {
        padding: 100px 0px 0px;
    }

    .carousel-control-prev {
        left: 0px !important;
        width: 20px !important;
    }
    
    .carousel-control-next {
        right: 0px !important;
        width: 20px !important;
    }

    /* css footer */
    .hero-container {
        height: 150px;
    }

    .hero-left {
        padding: 0px;
        padding-left: 15px;
        min-height: 150px;
    }

    .hero-right {
        left: 20px;
        min-height: 150px;
    }
    .pisang {
        width: 100%;
        border-radius: 8px;
    }
    
    .hero-container h1 {
        font-size: 12px !important;
        margin-top: 0 !important; 
    }

    .hero-container h4 {
        font-size: 8px !important;
        margin-bottom: 0 !important;
    }

    .hero-container a {
        padding: 4px 10px !important;
        width: 85px;
        margin-top: 10px;
        font-size: 6px !important;
    }

    .product-beranda-skeleton {
        width: 150px;
        height: 180px;
    }

    .ukm-card {
        width: 150px;
    }
    .ukm-card img {
        height: 140px;
    }
    .ukm-card .ukm-name {
        font-size: 10px !important;
    }
    .product-beranda-card .ukm-price {
        font-size: 10px !important;
    }
    
    .ukm-card .ukm-location {
        font-size: 8px !important;
    }

    .product-beranda-card {
        width: 150px;
    }
    
    .product-beranda-card img {
        height: 140px;
    }
    
    .product-beranda-card .ukm-name {
        font-size: 10px !important;
    }

    .product-beranda-card .ukm-location {
        font-size: 10px !important;
    }

    .product-beranda-card .ukm-rating {
        font-size: 10px !important;
    }

    .product-beranda-card .ukm-transaction {
        font-size: 10px !important;
    }
}

/* Media Queries untuk tampilan mobile */
@media (max-width: 480px) {
    .search-container p {
        font-size: 20px; /* Ukuran lebih kecil lagi untuk layar sangat kecil */
    }

    .search-button {
        font-size: 14px; /* Sesuaikan ukuran button */
        padding: 10px 15px; /* Kurangi padding button */
    }

    .kategori-item {
        background-color: #5d7f5a;
        margin: 0px;
        border-radius: 10px;
        text-align: center;
        align-content: center;
        color: rgb(0, 0, 0);
        width: 150px; /* Ukuran default */
        height: 150px; /* Ukuran default */
        text-decoration: none;
    }

    .kategori-skeleton {
        width: 150px;
        height: 150px;
    }
    
    .ukm-card, .product-beranda-card {
    min-width: 55px !important;
    }
    .ukm-card img {
        width: 100%;
    }
    .ukm-card .ukm-name {
        font-size: 12px;
        font-weight: 600;
    }
}

.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5D7F5A;
    color: white;
    font-weight: 500;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-custom:hover {
    background-color: rgb(119, 157, 119);
    color: #ffffff;
}

/* ==========================================================================
   HOMEPAGE & GLOBAL NAVBAR REDESIGN STYLES
   ========================================================================== */

/* Layout & Padding Adjustment */
body {
    padding-top: 110px !important;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 145px !important;
    }

    #navbar-auth-desktop {
        display: none !important;
    }

    #nav-cart-btn,
    #nav-notif-btn {
        display: none !important;
    }

    .profile-pill-btn {
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .profile-pill-btn .profile-avatar-circle {
        width: 36px !important;
        height: 36px !important;
        border: 2px solid #1b4332 !important;
        margin-right: 0 !important;
    }

    .hero-carousel-section {
        padding-top: 15px !important;
        margin-top: 10px !important;
    }
}

@media (min-width: 992px) {
    #navbar-auth-mobile {
        display: none !important;
    }
}

/* Plus Jakarta Sans Base Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, a {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* 1. Global Header & Two-Tier Navbar */
.custom-header-wrapper {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1040;
}

.top-header-row {
    max-width: 1540px;
    margin: 0 auto;
    padding: 10px 1.25rem;
}

.sub-navbar-tier .container-fluid {
    max-width: 1540px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Search Pill Input */
.search-pill-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 3px 5px 3px 20px;
    transition: all 0.25s ease;
    width: 100%;
}

.search-pill-wrapper:focus-within {
    background: #ffffff;
    border-color: #1b4332;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
}

.search-pill-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.92rem;
    color: #1e293b;
    padding: 6px 0;
    width: 100%;
}

.search-pill-input::placeholder {
    color: #94a3b8;
    font-size: 0.88rem;
}

.search-pill-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: #1b4332;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

.search-pill-btn:hover {
    background-color: #2d6a4f;
    transform: scale(1.04);
}

.search-pill-btn i {
    font-size: 0.88rem;
}

/* Nav Action Icons (Cart & Notification) */
.nav-action-icon {
    color: #334155 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: color 0.2s ease !important;
    position: relative !important;
}

/* Ensure d-none always hides nav action icons */
.nav-action-icon.d-none,
#nav-cart-btn.d-none,
#nav-notif-btn.d-none {
    display: none !important;
}

/* User requirement: "kalau di hover cukup ganti warna aja" */
.nav-action-icon:hover,
.nav-action-icon:focus {
    color: #1b4332 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.nav-action-icon i {
    font-size: 1.25rem !important;
    color: inherit !important;
    transition: color 0.2s ease !important;
}

.nav-action-icon:hover i {
    color: #1b4332 !important;
}

/* Remove legacy underlines / red dots from custom.css */
.cart-circle::before,
.cart-circle::after,
.cart-circle.active::before,
.cart-circle.active::after,
.cart-circle.user-has-cart::before,
.cart-circle.user-has-cart::after {
    display: none !important;
    content: none !important;
}

/* Badges for Cart and Notification - Both positioned at top right corner */
#cart-counter,
#notification-count {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    transform: translate(25%, -25%) !important;
    color: #ffffff !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    padding: 2px 5px !important;
    min-width: 17px !important;
    height: 17px !important;
    border-radius: 50px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff !important;
    line-height: 1 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
    z-index: 2 !important;
}

#cart-counter {
    background-color: #1b4332 !important;
}

#notification-count {
    background-color: #e63946 !important;
}

/* User requirement: if empty or zero or d-none, hide the badge container completely */
#cart-counter.d-none,
#notification-count.d-none,
#cart-counter:empty,
#notification-count:empty {
    display: none !important;
}

/* User Profile Pill */
.profile-pill-btn {
    background: #ffffff !important;
    border: 1.5px solid #d8ebd9 !important;
    border-radius: 50px !important;
    padding: 4px 14px 4px 5px !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* User requirement: "kalau di hover cukup ganti warna aja" */
.profile-pill-btn:hover {
    border-color: #1b4332 !important;
    background-color: #f2f7f4 !important;
    transform: none !important;
    box-shadow: none !important;
}

.profile-pill-btn.show,
.profile-pill-btn:active,
.profile-pill-btn:focus {
    background-color: #ffffff !important;
    border-color: #d8ebd9 !important;
    transform: none !important;
    box-shadow: none !important;
}

.profile-pill-btn .profile-avatar-circle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #e2e8f0 !important;
    border: 1.5px solid #1b4332 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.profile-pill-btn .profile-avatar-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.profile-pill-label {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #1b4332 !important;
    letter-spacing: 0.8px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    display: block !important;
}

.profile-pill-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    transition: color 0.2s ease !important;
    display: block !important;
}

.profile-pill-btn:hover .profile-pill-name {
    color: #1b4332 !important;
}

/* Profile Dropdown Menu Redesign to Theme */
.profile .dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #e2ece5 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 28px rgba(27, 67, 50, 0.12) !important;
    padding: 8px 0 !important;
    min-width: 220px !important;
    margin-top: 8px !important;
    right: 0 !important;
}

.profile .dropdown-item {
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    background-color: transparent !important;
}

.profile .dropdown-item i {
    width: 20px !important;
    font-size: 0.95rem !important;
    color: #1b4332 !important;
    margin-right: 10px !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
}

.profile .dropdown-item:hover,
.profile .dropdown-item:focus {
    background-color: #eaf4ee !important;
    color: #1b4332 !important;
    font-weight: 600 !important;
}

.profile .dropdown-item:hover i {
    color: #1b4332 !important;
}

.profile .dropdown-item.dropdown-active {
    background-color: transparent !important;
    color: #334155 !important;
    font-weight: 500 !important;
    border-left: none !important;
}

.profile .dropdown-item.dropdown-active i {
    color: #1b4332 !important;
}

/* Logout Item */
.profile .dropdown-item.btn-logout {
    color: #dc2626 !important;
    font-weight: 500 !important;
}

.profile .dropdown-item.btn-logout i {
    color: #dc2626 !important;
}

.profile .dropdown-item.btn-logout:hover {
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
    font-weight: 600 !important;
}

.profile .dropdown-item.btn-logout:hover i {
    color: #b91c1c !important;
}

.profile .dropdown-divider {
    border-top: 1px solid #f1f5f9 !important;
    margin: 6px 0 !important;
}

/* Notification Dropdown Theme */
#nav-notif-btn .dropdown-menu {
    border: 1px solid #e2ece5 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 28px rgba(27, 67, 50, 0.12) !important;
    min-width: 320px !important;
    overflow: hidden !important;
    margin-top: 8px !important;
}

#nav-notif-btn .dropdown-header h6 {
    color: #1b4332 !important;
    font-weight: 700 !important;
}

#nav-notif-btn .dropdown-menu-footer a {
    color: #1b4332 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: color 0.2s ease !important;
}

#nav-notif-btn .dropdown-menu-footer a:hover {
    color: #2d6a4f !important;
    background-color: #f2f7f4 !important;
}

#nav-notif-btn .bg-label-success {
    background-color: #eaf4ee !important;
    color: #1b4332 !important;
}

/* Auth Buttons (Login & Register) */
.btn-auth-login {
    height: 38px;
    padding: 0 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1b4332 !important;
    background-color: transparent;
    border: 1.5px solid #1b4332;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.btn-auth-login:hover {
    background-color: rgba(27, 67, 50, 0.08);
    color: #143527 !important;
    border-color: #143527;
}

.btn-auth-register {
    height: 38px;
    padding: 0 22px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff !important;
    background-color: #1b4332;
    border: 1.5px solid #1b4332;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.btn-auth-register:hover {
    background-color: #2d6a4f;
    border-color: #2d6a4f;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2);
}

/* Sub-Navbar Tier */
.sub-navbar-tier {
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 6px 0;
}

.sub-nav-link {
    color: #475569;
    font-size: 0.94rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 6px 14px;
    transition: color 0.2s ease;
}

.sub-nav-link:hover {
    color: #1b4332;
}

.sub-nav-link.active {
    color: #1b4332 !important;
    font-weight: 600;
}

.sub-nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 14px;
    right: 14px;
    height: 3px;
    background-color: #1b4332;
    border-radius: 3px;
}

/* Mobile Hamburger Menu Nav Links */
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1b4332;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: transparent;
}

.mobile-nav-link i {
    width: 20px;
    font-size: 1.05rem;
    color: #1b4332;
    text-align: center;
    transition: color 0.2s ease;
}

.mobile-nav-link .mobile-nav-left {
    gap: 12px;
}

.mobile-nav-link:hover {
    color: #1b4332;
    background-color: #f2f7f4;
}

.mobile-nav-link.active {
    color: #1b4332 !important;
    background-color: #eaf4ee !important;
    font-weight: 700;
}

.mobile-nav-link.active i {
    color: #1b4332 !important;
}

#navbarMobileMenu {
    border-bottom: 2px solid #e2ece5;
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.08) !important;
}

/* Homepage Main Wrapper (Capped to max-width 1540px matching Product & Store catalog) */
.home-main-wrapper {
    max-width: 1540px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
}

/* 2. Hero Carousel Banner */
.hero-carousel-section {
    padding-top: 15px;
    margin-bottom: 2.5rem;
}

.hero-carousel-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #0b1a12;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-slide-item {
    min-height: 440px;
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

@media (max-width: 767.98px) {
    .hero-slide-item {
        min-height: 380px;
        background-position: center;
    }
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 20, 13, 0.95) 0%, rgba(8, 20, 13, 0.85) 38%, rgba(8, 20, 13, 0.4) 65%, rgba(8, 20, 13, 0.05) 100%);
    z-index: 1;
}

@media (max-width: 767.98px) {
    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(8, 20, 13, 0.92) 0%, rgba(8, 20, 13, 0.8) 100%);
    }
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 55px 55px;
    max-width: 580px;
}

@media (max-width: 767.98px) {
    .hero-slide-content {
        padding: 35px 22px;
        max-width: 100%;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.85rem;
    }
}

.hero-desc {
    font-size: 1.05rem;
    color: #ffffff !important;
    opacity: 0.92;
    line-height: 1.65;
    max-width: 500px;
    margin-bottom: 26px;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .hero-desc {
        font-size: 0.95rem;
    }
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    background-color: #1b4332;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-hero-cta:hover {
    background-color: #2d6a4f;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Floating Navigation Controls */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-nav-btn:hover {
    background: rgba(27, 67, 50, 0.9);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.hero-nav-prev {
    left: 18px;
}

.hero-nav-next {
    right: 18px;
}

.hero-indicators {
    bottom: 12px;
    margin-bottom: 0;
    z-index: 5;
}

.hero-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.45) !important;
    border: none !important;
    margin: 0 4px !important;
    transition: all 0.3s ease !important;
}

.hero-indicators button.active {
    width: 24px !important;
    border-radius: 20px !important;
    background-color: #ffffff !important;
}

/* 3. Kategori Produk Pilihan (Circular Pastel Icons) */
.kategori-section {
    margin-bottom: 3.5rem;
}

.section-main-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 0;
}

.section-see-all {
    color: #1b4332;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.section-see-all:hover {
    color: #2d6a4f;
    transform: translateX(3px);
}

@media (max-width: 575.98px) {
    .section-main-title {
        font-size: 1.05rem;
        letter-spacing: -0.2px;
        white-space: nowrap;
    }

    .section-see-all {
        font-size: 0.76rem;
        flex-shrink: 0;
    }

    .section-see-all i {
        font-size: 0.7rem;
    }
}

.kategori-pastel-grid {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.kategori-pastel-grid::-webkit-scrollbar {
    display: none;
}

.kategori-circle-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    max-width: 86px;
}

.kategori-circle-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f2f7f4;
    border: 1.5px solid #d8ebd9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.kategori-circle-card:hover .kategori-circle-avatar {
    background-color: #e3efe5;
    border-color: #1b4332;
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.15);
    transform: translateY(-6px);
}

.kategori-circle-avatar .material-symbols-outlined,
.kategori-circle-avatar .material-icons,
.kategori-circle-avatar span {
    font-family: 'Material Symbols Outlined', 'Material Icons' !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-feature-settings: 'liga' 1 !important;
    -webkit-font-feature-settings: 'liga' 1 !important;
    text-rendering: optimizeLegibility !important;
    font-size: 28px !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    word-wrap: normal !important;
    direction: ltr !important;
    -webkit-font-smoothing: antialiased !important;
    color: #1b4332 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.fonts-loaded .kategori-circle-avatar .material-symbols-outlined,
.fonts-loaded .kategori-circle-avatar .material-icons,
.kategori-icons-ready .material-symbols-outlined,
.kategori-icons-ready .material-icons {
    opacity: 1 !important;
    visibility: visible !important;
}

.kategori-circle-card:hover .material-symbols-outlined,
.kategori-circle-card:hover .material-icons {
    transform: scale(1.1);
}

.kategori-circle-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    transition: color 0.2s ease;
    white-space: normal;
    word-break: break-word;
}

.kategori-circle-card:hover .kategori-circle-name {
    color: #1b4332;
}

@media (max-width: 575.98px) {
    .kategori-section {
        margin-bottom: 2rem;
    }

    .kategori-pastel-grid {
        gap: 0.25rem;
        padding: 4px 0;
    }

    .kategori-circle-card {
        max-width: 66px;
    }

    .kategori-circle-avatar {
        width: 48px;
        height: 48px;
        margin-bottom: 5px;
    }

    .kategori-circle-avatar .material-symbols-outlined,
    .kategori-circle-avatar .material-icons {
        font-size: 22px !important;
    }

    .kategori-circle-name {
        font-size: 0.68rem;
        line-height: 1.15;
    }
}

@media (max-width: 360px) {
    .kategori-pastel-grid {
        gap: 0.15rem;
    }

    .kategori-circle-avatar {
        width: 42px;
        height: 42px;
    }

    .kategori-circle-avatar .material-symbols-outlined,
    .kategori-circle-avatar .material-icons {
        font-size: 19px !important;
    }

    .kategori-circle-name {
        font-size: 0.62rem;
    }
}

/* 4. Responsive Product Grid (Rules: 5/4/3/2/1 cols) */
.product-showcase-section {
    margin-bottom: 3.5rem;
}

.home-product-grid {
    display: grid;
    gap: 1.25rem;
    width: 100%;
}

/* Mobile Small & Portrait (< 768px): 2 kolom sebaris */
@media (max-width: 767.98px) {
    .home-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
    }

    .product-modern-card {
        border-radius: 12px;
    }

    .product-body-content {
        padding: 10px 10px 12px 10px;
    }

    .product-origin-tag {
        font-size: 0.8rem !important;
        color: #64748b !important;
        margin-bottom: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        font-weight: 400;
    }

    .product-name-heading {
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1.35;
        height: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        margin-bottom: 5px;
    }

    .product-rating-row {
        font-size: 0.8rem !important;
        gap: 3px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
    }

    .product-rating-row i {
        font-size: 0.74rem !important;
        color: #eab308;
    }

    .product-rating-val {
        font-weight: 600;
        color: #1e293b;
        font-size: 0.8rem !important;
    }

    .product-rating-count {
        font-size: 0.78rem !important;
        color: #64748b !important;
    }

    .product-bottom-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        margin-top: auto;
        padding-top: 2px;
        min-width: 0;
    }

    .product-price-label {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        color: #133e27 !important;
        letter-spacing: -0.25px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        line-height: 1.2 !important;
    }

    .btn-quick-add {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 0.82rem !important;
        flex-shrink: 0 !important;
        border-radius: 50% !important;
    }

    .product-card-skeleton {
        height: 230px;
        border-radius: 12px;
    }
}

@media (max-width: 379.98px) {
    .home-product-grid {
        gap: 0.55rem;
    }

    .product-body-content {
        padding: 8px 8px 10px 8px !important;
    }

    .product-origin-tag {
        font-size: 0.78rem !important;
    }

    .product-name-heading {
        font-size: 0.85rem !important;
    }

    .product-rating-row {
        font-size: 0.78rem !important;
    }

    .product-price-label {
        font-size: 0.88rem !important;
        letter-spacing: -0.25px !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .btn-quick-add {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 0.75rem !important;
    }
}

/* Tablet (768px - 991.98px): 3 kolom -> tampil 12 (4 baris x 3 produk) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .home-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Laptop / Desktop Standar (992px - 1199.98px): 4 kolom -> tampil 12 (3 baris x 4 produk) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.15rem;
    }
}

/* Desktop Lebar (1200px - 1399.98px): 5 kolom -> tampil 10 (2 baris x 5 produk) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .home-product-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
    }
    .home-product-grid .product-modern-card:nth-child(n+11),
    .home-product-grid .product-card-skeleton:nth-child(n+11) {
        display: none !important;
    }
}

/* Desktop Extra Lebar / Monitor Besar (>= 1400px): 6 kolom -> tampil 12 (2 baris x 6 produk) */
@media (min-width: 1400px) {
    .home-product-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem;
    }
}

/* Product Modern Card */
.product-modern-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
}

.product-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #f8fafc;
    overflow: hidden;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-modern-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-body-content {
    padding: 14px 14px 16px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-origin-tag {
    font-size: 0.76rem;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 400;
}

.product-name-heading {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    height: auto;
}

.product-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.product-rating-row i {
    color: #eab308;
    font-size: 0.78rem;
}

.product-rating-val {
    font-weight: 600;
    color: #1e293b;
}

.product-rating-count {
    color: #94a3b8;
    font-size: 0.78rem;
}

.product-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4px;
}

.product-price-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

/* Quick Add to Cart Circle Button */
.btn-quick-add {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: #1b4332;
    color: #ffffff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    z-index: 3;
}

.btn-quick-add:hover {
    background-color: #2d6a4f;
    transform: scale(1.1);
    color: #ffffff;
}

.btn-quick-add:active {
    transform: scale(0.95);
}

/* Skeleton Loading for Modern Card */
.product-card-skeleton {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #f1f5f9;
    height: 330px;
    position: relative;
    overflow: hidden;
}

.product-card-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
    100% {
        transform: translateX(100%);
    }
}

/* 5. Customer Testimonials Section */
.testimonials-section {
    background: #fbfcfb;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 35px 30px;
    margin-bottom: 3.5rem;
}

.testimonial-rating-pill {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.testimonial-rating-pill i {
    color: #eab308;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-stars {
    color: #eab308;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.testimonial-quote {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: normal;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f8fafc;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.testimonial-name i {
    color: #10b981;
    font-size: 0.85rem;
}

.testimonial-role {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

/* 6. Footer Modern Deep Forest Green */
.footer-modern {
    background-color: #11281e !important;
    color: #ffffff !important;
    margin-top: 4rem;
}

.footer-modern > .container-fluid {
    max-width: 1540px;
    margin: 0 auto;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

.footer-heading {
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.footer-desc,
.footer-modern p,
.footer-modern span,
.footer-bottom-bar,
.footer-bottom-bar p,
.footer-bottom-bar a {
    color: rgba(255, 255, 255, 0.82) !important;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-bottom-bar a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.social-icon-btn:hover {
    background-color: #ffffff;
    color: #11281e !important;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .footer-modern {
        margin-top: 3rem !important;
    }

    .footer-modern > .container-fluid {
        padding-top: 2.25rem !important;
        padding-bottom: 2rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 1.5rem !important;
    }

    .footer-brand .footer-logo {
        margin: 0 auto 0.75rem auto;
        display: block;
    }

    .footer-brand .footer-desc {
        max-width: 320px;
        margin: 0 auto;
        font-size: 0.8rem;
        line-height: 1.55;
    }

    .footer-social-icons {
        justify-content: center;
        margin-top: 1rem !important;
    }

    .footer-nav-col {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 1.15rem;
    }

    .footer-heading {
        font-size: 0.82rem;
        letter-spacing: 0.6px;
        margin-bottom: 0.65rem !important;
        color: #a7f3d0 !important;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a {
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .footer-bottom-bar {
        margin-top: 2rem !important;
        padding-top: 1.25rem !important;
        text-align: center;
    }

    .footer-bottom-bar p {
        font-size: 0.74rem;
        margin-bottom: 0.5rem !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .footer-legal-links {
        font-size: 0.74rem;
        gap: 0.4rem 0.65rem !important;
    }

    .footer-legal-links a {
        font-size: 0.74rem;
        color: rgba(255, 255, 255, 0.65) !important;
    }
}

/* ========================================================
   SweetAlert2 Modern Theme Styling (Forest Green Theme)
   ======================================================== */
.swal2-container:not(.swal2-top-end):not(.swal2-top):not(.swal2-top-start):not(.swal2-bottom-end):not(.swal2-bottom):not(.swal2-bottom-start) {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.swal2-container.swal2-top-end,
.swal2-container.swal2-top-right,
.swal2-container.swal2-bottom-end,
.swal2-container.swal2-bottom-right {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Modal Popup ONLY (exclude toast) */
.swal2-popup:not(.swal2-toast),
.tulen-swal-popup {
    font-family: inherit !important;
    border-radius: 20px !important;
    padding: 34px 28px !important;
    border: 1px solid #e2ece5 !important;
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.18) !important;
    background: #ffffff !important;
}

.swal2-popup:not(.swal2-toast) .swal2-title,
.tulen-swal-title {
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: #1b4332 !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
    letter-spacing: -0.01em;
}

.swal2-popup:not(.swal2-toast) .swal2-html-container,
.tulen-swal-text {
    font-size: 0.95rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
    font-weight: 400 !important;
}

/* Info Icon in SweetAlert Modal */
.swal2-popup:not(.swal2-toast) .swal2-icon.swal2-info {
    border-color: #2d6a4f !important;
    color: #1b4332 !important;
    background: linear-gradient(135deg, #eaf4ee 0%, #d8ede1 100%) !important;
    box-shadow: 0 0 0 8px rgba(45, 106, 79, 0.08) !important;
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 20px auto !important;
}

.swal2-popup:not(.swal2-toast) .swal2-icon.swal2-info .swal2-icon-content {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    color: #1b4332 !important;
}

/* Success Icon in SweetAlert Modal */
.swal2-popup:not(.swal2-toast) .swal2-icon.swal2-success {
    border-color: #2d6a4f !important;
    color: #2d6a4f !important;
    width: 5em !important;
    height: 5em !important;
    margin: 0 auto 20px auto !important;
    transform: scale(0.85);
    transform-origin: center center;
}

.swal2-popup:not(.swal2-toast) .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #2d6a4f !important;
}

.swal2-popup:not(.swal2-toast) .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(45, 106, 79, 0.3) !important;
}

/* Warning Icon in SweetAlert Modal */
.swal2-popup:not(.swal2-toast) .swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
    background: #fffbeb !important;
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.08) !important;
    width: 68px !important;
    height: 68px !important;
    margin: 0 auto 20px auto !important;
}

/* Actions Buttons Container */
.swal2-actions,
.tulen-swal-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-top: 6px !important;
    width: 100% !important;
}

/* Confirm Button */
.swal2-confirm,
.tulen-swal-btn-confirm {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.28) !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.swal2-confirm:hover,
.tulen-swal-btn-confirm:hover {
    background: linear-gradient(135deg, #143527 0%, #245741 100%) !important;
    box-shadow: 0 6px 18px rgba(27, 67, 50, 0.38) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Cancel Button */
.swal2-cancel,
.tulen-swal-btn-cancel {
    background-color: #f8fafc !important;
    color: #64748b !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.swal2-cancel:hover,
.tulen-swal-btn-cancel:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
    transform: translateY(-2px);
}

/* Modal Konfirmasi Logout Khusus (Warna Merah untuk Ikon, Judul dan Tombol) */
.swal2-popup.swal-logout-modal .swal2-icon.swal2-warning,
.swal2-popup:not(.swal2-toast).swal-logout-modal .swal2-icon.swal2-warning,
.swal-logout-modal .swal2-icon.swal2-warning {
    border-color: #ef4444 !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.15) !important;
}

.swal2-popup.swal-logout-modal .swal2-icon.swal2-warning .swal2-icon-content,
.swal2-popup:not(.swal2-toast).swal-logout-modal .swal2-icon.swal2-warning .swal2-icon-content,
.swal-logout-modal .swal2-icon.swal2-warning .swal2-icon-content {
    color: #dc2626 !important;
}

.swal2-popup.swal-logout-modal .swal2-title,
.swal-logout-modal .swal2-title,
.swal-logout-modal #swal2-title,
.swal-logout-modal h2 {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.swal-logout-modal .swal2-confirm,
.swal-logout-modal .swal-logout-confirm-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    background-color: #dc2626 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35) !important;
}

.swal-logout-modal .swal2-confirm:hover,
.swal-logout-modal .swal-logout-confirm-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    background-color: #b91c1c !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

/* ========================================================
   SweetAlert2 Compact Toast (Cart Notification)
   ======================================================== */

/* Container fix agar notif tidak terpotong di sisi kiri dan selalu di atas semua modal / backdrop */
body.swal2-toast-shown .swal2-container,
div:where(.swal2-container).swal2-top-end,
div:where(.swal2-container).swal2-top-right,
div:where(.swal2-container).swal2-bottom-end,
div:where(.swal2-container).swal2-bottom-right {
    width: auto !important;
    max-width: 100vw !important;
    overflow: visible !important;
    padding: 16px 20px !important;
    pointer-events: none !important;
    z-index: 100000 !important; /* Jauh di atas modal bootstrap (1090) dan backdrop */
}

.swal2-popup.swal2-toast,
.swal2-popup.tulen-cart-toast-popup {
    position: relative !important;
    box-sizing: border-box !important;
    width: -moz-max-content !important;
    width: -webkit-max-content !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: min(520px, calc(100vw - 32px)) !important;
    padding: 10px 18px 10px 14px !important;
    border-radius: 50px !important;
    border: 1px solid #a3d9b8 !important; /* Outline halus konsisten */
    background: #ffffff !important;
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    overflow: hidden !important;
    pointer-events: all !important;
    grid-template-columns: none !important;
}

.swal2-popup.tulen-cart-toast-popup.tulen-cart-toast-error,
.swal2-popup.swal2-toast.tulen-cart-toast-error {
    border: 1px solid #ef4444 !important; /* Outline merah error */
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15) !important;
}

.swal2-popup.tulen-cart-toast-popup.tulen-cart-toast-warning,
.swal2-popup.swal2-toast.tulen-cart-toast-warning {
    border: 1px solid #f59e0b !important; /* Outline kuning warning */
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.15) !important;
}

/* Animasi Slide dari kanan dan fade out saat hilang */
.swal2-popup.swal2-toast.swal2-show,
.swal2-popup.tulen-cart-toast-popup.swal2-show {
    animation: tulenToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.swal2-popup.swal2-toast.swal2-hide,
.swal2-popup.tulen-cart-toast-popup.swal2-hide {
    animation: tulenToastFadeOut 0.25s ease-out forwards !important;
}

/* Sembunyikan ikon native bawaan SweetAlert jika menggunakan custom content */
.tulen-cart-toast-popup .swal2-icon {
    display: none !important;
}

.tulen-cart-toast-popup .swal2-html-container,
.swal2-popup.swal2-toast .swal2-html-container {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    grid-column: 1 / -1 !important;
    text-align: left !important;
}

.tulen-cart-toast-content {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    box-sizing: border-box !important;
}

/* Ikon Ceklis Status di Sisi Kiri */
.tulen-cart-toast-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    background: #eaf4ee !important;
    color: #1b4332 !important;
    border: 1px solid #a3d9b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
}

/* Judul Notifikasi: Pas membungkus teks tanpa space kosong kanan */
.tulen-cart-toast-title {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #1b4332 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    width: -moz-max-content !important;
    width: -webkit-max-content !important;
    width: max-content !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    text-align: left !important;
}

/* Tombol Silang (×) Disembunyikan agar notif bersih & tidak menabrak teks */
.tulen-cart-toast-popup .swal2-close,
.tulen-cart-toast-close,
.swal2-popup.swal2-toast .swal2-close {
    display: none !important;
}

/* Hapus timer bar di bawah notif */
.swal2-timer-progress-bar,
.swal2-timer-progress-bar-container {
    display: none !important;
}

@media (max-width: 576px) {
    body.swal2-toast-shown .swal2-container,
    div:where(.swal2-container).swal2-top-end,
    div:where(.swal2-container).swal2-top-right,
    .swal2-container.swal2-top-end,
    .swal2-container.swal2-top-right {
        top: 0.75rem !important;
        right: 0.75rem !important;
        left: auto !important;
        width: auto !important;
        max-width: 75vw !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    .swal2-popup.swal2-toast,
    .swal2-popup.tulen-cart-toast-popup {
        width: -moz-max-content !important;
        width: -webkit-max-content !important;
        width: max-content !important;
        max-width: 75vw !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 10px 16px 10px 12px !important;
        border-radius: 50px !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        grid-template-columns: none !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    .swal2-popup.swal2-toast .swal2-html-container,
    .swal2-popup.tulen-cart-toast-popup .swal2-html-container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        text-align: left !important;
    }

    .tulen-cart-toast-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex: 1 1 auto !important;
    }

    .tulen-cart-toast-icon {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 0.7rem !important;
        flex-shrink: 0 !important;
    }

    .tulen-cart-toast-title {
        margin: 0 !important;
        padding: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        hyphens: none !important;
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        display: block !important;
        text-align: left !important;
        color: #1b4332 !important;
    }
}

/* ==========================================================================
   HALAMAN KATALOG PRODUK (MODERN CATALOG & FILTER)
   ========================================================================== */

.catalog-wrapper {
    max-width: 1540px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem 1.25rem;
}

.catalog-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Sidebar Filter Desktop */
.catalog-sidebar {
    width: 255px;
    min-width: 255px;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .catalog-sidebar {
        display: none !important;
    }
}

.product-filter-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    padding: 1.25rem;
}

.filter-section-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.filter-group-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 1.1rem 0;
}

/* Scrollable Container Filter */
.filter-scrollable-container {
    max-height: 195px;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 0.25rem;
}

.filter-scrollable-container::-webkit-scrollbar {
    width: 4px;
}

.filter-scrollable-container::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}

.filter-scrollable-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.filter-scrollable-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Mini Search Input for Category/District */
.filter-mini-search-wrapper {
    position: relative;
    margin-bottom: 0.65rem;
}

.filter-mini-search {
    font-size: 0.8rem !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.35rem 0.65rem 0.35rem 1.85rem !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease !important;
    height: 32px !important;
}

.filter-mini-search:focus {
    background-color: #ffffff !important;
    border-color: #1b4332 !important;
    box-shadow: 0 0 0 0.15rem rgba(27, 67, 50, 0.12) !important;
}

.filter-mini-search-icon {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.72rem;
    color: #94a3b8;
    pointer-events: none;
}

/* Checkbox & Radio Styling */
.product-filter-card .form-check {
    margin-bottom: 0.55rem;
    display: flex;
    align-items: center;
}

.product-filter-card .form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0;
    margin-right: 0.65rem;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Checkbox tidak kotak lancip (rounded 6px) */
.product-filter-card .form-check-input[type="checkbox"],
.checkbox-category,
.checkbox-district {
    border-radius: 6px !important;
}

/* Radio button bulat sempurna */
.product-filter-card .form-check-input[type="radio"],
.product-filter-card .radio-rating {
    border-radius: 50% !important;
}

/* Warna saat dicentang/dipilih sama persis untuk checkbox & radio */
.product-filter-card .form-check-input:checked,
.form-check-input.checkbox-category:checked,
.form-check-input.checkbox-district:checked,
.form-check-input.radio-rating:checked {
    background-color: #1b4332 !important;
    border-color: #1b4332 !important;
}

.product-filter-card .form-check-input:focus,
.form-check-input.checkbox-category:focus,
.form-check-input.checkbox-district:focus,
.form-check-input.radio-rating:focus {
    box-shadow: 0 0 0 0.2rem rgba(27, 67, 50, 0.15) !important;
    border-color: #1b4332 !important;
}

.product-filter-card .form-check-label {
    font-size: 0.85rem;
    color: #334155;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
    line-height: 1.35;
}

.product-filter-card .form-check-label:hover {
    color: #1b4332;
}

.product-filter-card .stars-container {
    color: #eab308;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.85rem;
}

.product-filter-card .stars-container i {
    font-size: 0.82rem;
}

.filter-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.84rem;
    font-weight: 600;
    color: #2d6a4f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.35rem;
    transition: color 0.2s ease;
}

.filter-toggle-btn:hover {
    color: #1b4332;
    text-decoration: underline;
}

.btn-clear-filters {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 12px;
    width: 100%;
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.btn-clear-filters:hover {
    background: #eaf4ee;
    border-color: #1b4332;
    color: #1b4332;
}

/* Main Content Area */
.catalog-main {
    flex-grow: 1;
    min-width: 0;
}

.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.catalog-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.catalog-sort-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-sort-label {
    font-size: 0.86rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
}

/* Desain Dropdown Urutkan Pill Sesuai Tampilan Web Sekarang (Mockup) - Terisolasi Penuh */
.catalog-sort-dropdown {
    position: relative !important;
    display: inline-block !important;
}

.btn-sort-pill {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 9999px !important;
    padding: 0.38rem 1rem !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    line-height: 1.4 !important;
    cursor: pointer !important;
}

.btn-sort-pill::after {
    display: none !important;
}

.btn-sort-pill:hover,
.btn-sort-pill:focus,
.catalog-sort-dropdown.is-open .btn-sort-pill {
    border-color: #94a3b8 !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.btn-sort-pill i {
    font-size: 0.7rem !important;
    color: #64748b !important;
    transition: transform 0.2s ease !important;
}

.catalog-sort-dropdown.is-open .btn-sort-pill i {
    transform: rotate(180deg) !important;
}

/* Menu Dropdown - Terisolasi Penuh & Rata Kanan 100% Persis dengan Tombol */
.catalog-sort-menu {
    position: absolute !important;
    top: calc(100% + 4px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 1050 !important;
    display: none;
    min-width: 145px !important;
    width: max-content !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    padding: 4px !important;
    margin: 0 !important;
    transform: none !important;
}

.catalog-sort-dropdown.is-open .catalog-sort-menu {
    display: block !important;
    animation: dropdownFadeIn 0.15s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-sort-menu .sort-option {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    padding: 0.42rem 0.85rem !important;
    margin: 1px 0 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    user-select: none !important;
}

.catalog-sort-menu .sort-option:hover {
    background-color: #f1f5f9 !important;
    color: #1b4332 !important;
}

.catalog-sort-menu .sort-option.active {
    background-color: #eaf4ee !important;
    color: #1b4332 !important;
    font-weight: 600 !important;
}

.catalog-sort-menu .sort-check-icon {
    font-size: 0.74rem !important;
    color: #1b4332 !important;
}

.catalog-sort-menu .sort-check-icon.invisible {
    visibility: hidden !important;
}

/* Active Filter Chips */
.catalog-active-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    min-height: 32px;
}

.catalog-active-chips-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    margin-right: 4px;
}

.catalog-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #eaf4ee;
    border: 1px solid #c2e2cf;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #1b4332;
    transition: all 0.15s ease;
}

.catalog-chip:hover {
    background: #ddede2;
}

.catalog-chip .btn-remove-chip {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #2d6a4f;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.catalog-chip .btn-remove-chip:hover {
    color: #dc2626;
}

/* Tombol Reset Filter Sesuai Tema Desain Lumajang Tulen */
#emptyStateResetFilter,
.btn-reset-filter {
    background-color: transparent !important;
    border: 1.5px solid #1b4332 !important;
    color: #1b4332 !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    border-radius: 9999px !important;
    padding: 0.48rem 1.6rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

#emptyStateResetFilter:hover,
.btn-reset-filter:hover {
    background-color: #1b4332 !important;
    border-color: #1b4332 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.2) !important;
}

#clearFiltersMobile {
    border: 1.5px solid #1b4332 !important;
    color: #1b4332 !important;
    font-weight: 600 !important;
    background-color: transparent !important;
    transition: all 0.2s ease !important;
}

#clearFiltersMobile:hover {
    background-color: #1b4332 !important;
    color: #ffffff !important;
}

/* Catalog Product Grid - 5 Columns on Large Desktop */
.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.1rem;
    width: 100%;
}

@media (min-width: 1200px) {
    .catalog-product-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.05rem;
    }
    .catalog-product-grid .product-body-content {
        padding: 11px 11px 13px 11px;
    }
    .catalog-product-grid .product-name-heading {
        font-size: 0.88rem;
    }
    .catalog-product-grid .product-price-label {
        font-size: 0.96rem;
    }
    .catalog-product-grid .btn-quick-add {
        width: 33px;
        height: 33px;
        min-width: 33px;
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .catalog-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .catalog-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .catalog-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
    }
}

@media (max-width: 575.98px) {
    .catalog-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
    }
}

/* Modern Pill Pagination */
.catalog-pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.catalog-pagination {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.catalog-pagination .page-item {
    margin: 0;
}

.catalog-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.catalog-pagination .page-link:hover {
    border-color: #1b4332;
    color: #1b4332;
    background: #f8fafc;
}

.catalog-pagination .page-item.active .page-link {
    background: #1b4332 !important;
    border-color: #1b4332 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(27, 67, 50, 0.25);
}

.catalog-pagination .page-link.btn-prev {
    padding: 0 16px;
    border-radius: 20px;
}

.catalog-pagination .page-link.btn-next {
    padding: 0 16px;
    border-radius: 20px;
    background: #1b4332;
    color: #ffffff;
    border-color: #1b4332;
}

.catalog-pagination .page-link.btn-next:hover {
    background: #2d6a4f;
    border-color: #2d6a4f;
    color: #ffffff;
}

.catalog-pagination .page-item.disabled .page-link {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Mobile Filter Trigger Button */
.btn-mobile-filter-trigger {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1b4332;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mobile-filter-trigger:hover {
    background: #eaf4ee;
    border-color: #1b4332;
}

/* ========================================================
   Skeleton Loading Shimmer (Efek Terang Bergerak Kiri ke Kanan)
   ======================================================== */
.skeleton-line,
.skeleton-item,
.skeleton {
    background-color: #e5e7eb !important;
    background-image: linear-gradient(
        90deg,
        #e5e7eb 0%,
        #e5e7eb 25%,
        rgba(255, 255, 255, 0.85) 50%,
        #e5e7eb 75%,
        #e5e7eb 100%
    ) !important;
    background-size: 200% 100% !important;
    background-repeat: no-repeat !important;
    border-radius: 4px;
    animation: skeleton-loading 1.4s ease-in-out infinite !important;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.product-modern-card.skeleton-card-item {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    min-height: 310px;
}

/* ========================================================
   Mobile Filter Drawer (Muncul dari Kiri di Bawah Search Bar)
   ======================================================== */
.filter-wrapper-mobile {
    position: fixed !important;
    top: 110px !important;
    left: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: 86vw !important;
    max-width: 360px !important;
    height: calc(100vh - 110px) !important;
    height: calc(100dvh - 110px) !important;
    background: #ffffff !important;
    z-index: 1050 !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden !important;
}

.filter-wrapper-mobile.is-open {
    transform: translateX(0) !important;
}

.top-filter-mobile {
    flex-shrink: 0 !important;
    background: #ffffff !important;
}

.bottom-filter-mobile {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.25rem 1rem 1.25rem !important;
}

.filter-mobile-footer {
    flex-shrink: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Sembunyikan tombol aksi lama yang nangkring di bawah katalog */
.filter-mobile-button {
    display: none !important;
}

/* Backdrop Overlay di Bawah Search Bar */
.filter-mobile-backdrop {
    position: fixed !important;
    top: 110px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 1045 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
    backdrop-filter: blur(2px);
}

.filter-mobile-backdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

body.mobile-filter-open {
    overflow: hidden !important;
}

/* ========================================================
   Pagination Responsive (Cukup < dan > untuk Mobile)
   ======================================================== */
#pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 2rem 0;
}

#pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    min-width: 38px;
    height: 38px;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    background-color: #ffffff;
}

#pagination .page-item.active .page-link {
    background-color: #1b4332 !important;
    border-color: #1b4332 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

#pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8fafc;
}

#pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    background-color: #eaf4ee;
    color: #1b4332;
    border-color: #c2e2cf;
}

@media (max-width: 767.98px) {
    #pagination {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin: 1.5rem auto !important;
    }

    #pagination .page-item-number {
        display: none !important;
    }

    #pagination .page-link {
        min-width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        font-size: 1rem !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .pagination-mobile-info .page-link {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        font-size: 0.92rem !important;
        min-width: auto !important;
    }
}

/* ========================================================
   Store List (Toko Mitra Daerah) Layout & Cards
   ======================================================== */
.store-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.store-item-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-item-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.store-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.store-card-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.store-avatar-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.store-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    background: #1b4332 !important;
    text-transform: uppercase;
    user-select: none;
    letter-spacing: 0.5px;
    border-radius: 50%;
}

.store-hero-avatar-wrap .store-avatar-initial {
    font-size: 2.2rem;
    font-weight: 800;
}

.store-detail-avatar-wrap .store-avatar-initial {
    font-size: 1.35rem;
    font-weight: 700;
}

.order-store-avatar .store-avatar-initial,
.order-po-avatar .store-avatar-initial {
    font-size: 0.85rem;
    font-weight: 700;
}

.store-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.store-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-name:hover {
    color: #1b4332;
}

.store-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-location .location-pin {
    color: inherit;
    font-size: 0.85rem;
    opacity: 0.9;
}

.btn-visit-store {
    background-color: #1b4332;
    color: #ffffff !important;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.35rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(27, 67, 50, 0.15);
}

.btn-visit-store:hover {
    background-color: #2d6a4f;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.25);
}

.store-products-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.store-product-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    transition: transform 0.2s ease;
    overflow: hidden;
}

.store-product-item:hover .store-product-thumb {
    transform: scale(1.04);
}

.store-product-item:hover .store-product-name {
    color: #1b4332;
}

.store-product-thumb-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f1f5f9;
    margin-bottom: 0.5rem;
    position: relative;
    border: 1px solid #f1f5f9;
}

.store-product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.store-product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-product-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.store-product-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1b4332;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.2px;
}

.store-empty-products {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

.skeleton-store-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

/* ========================================================
   Catalog Header & Mobile Filter Trigger
   ======================================================== */
.catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.catalog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.02em;
}

.btn-mobile-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    color: #1b4332;
    padding: 0.42rem 0.95rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.btn-mobile-filter-trigger:hover,
.btn-mobile-filter-trigger:active {
    background: #eaf4ee;
    border-color: #1b4332;
    color: #1b4332;
}

/* ========================================================
   Mobile Filter Drawer Styles & Pill Buttons
   ======================================================== */
.filter-wrapper-mobile .btn-check:checked + .btn-outline-secondary,
.filter-wrapper-mobile .btn-outline-secondary.active {
    background-color: #1b4332 !important;
    border-color: #1b4332 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(27, 67, 50, 0.2) !important;
}

.filter-wrapper-mobile .btn-outline-secondary {
    border-radius: 8px !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    border: 1px solid #d1d5db !important;
    color: #374151 !important;
    background-color: #f9fafb !important;
    transition: all 0.15s ease !important;
}

.filter-wrapper-mobile .btn-outline-secondary:hover {
    border-color: #1b4332 !important;
    color: #1b4332 !important;
    background-color: #eaf4ee !important;
}

@media (max-width: 767.98px) {
    .catalog-wrapper {
        padding: 1rem 0.85rem 3rem 0.85rem !important;
    }

    .catalog-title {
        font-size: 1.25rem !important;
    }

    .catalog-active-chips {
        margin-bottom: 0.85rem !important;
        gap: 0.35rem !important;
    }

    .store-item-card {
        padding: 1rem !important;
        border-radius: 14px !important;
        margin-bottom: 0.95rem !important;
    }

    .store-card-header {
        gap: 0.65rem !important;
        margin-bottom: 0.85rem !important;
    }

    .store-avatar-box {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
    }

    .store-name {
        font-size: 0.95rem !important;
    }

    .store-location {
        font-size: 0.78rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .btn-visit-store {
        padding: 0.38rem 0.85rem !important;
        font-size: 0.78rem !important;
    }

    .store-products-showcase {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .store-product-thumb-wrapper {
        aspect-ratio: 1 / 1 !important;
        border-radius: 8px !important;
        margin-bottom: 0.35rem !important;
    }

    .store-product-thumb {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .store-product-name {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 2px !important;
    }

    .store-product-price {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: #1b4332 !important;
        white-space: nowrap !important;
        letter-spacing: -0.35px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 379.98px) {
    .store-product-price {
        font-size: 0.68rem !important;
        letter-spacing: -0.4px !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE REDESIGN (Matching Mockup)
   ========================================================================== */

.detail-product-page-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* Breadcrumb */
.product-detail-breadcrumb {
    padding: 0;
    margin-bottom: 20px;
    font-size: 0.88rem;
}

.product-detail-breadcrumb .breadcrumb-item a {
    color: #64748b !important;
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-detail-breadcrumb .breadcrumb-item a:hover {
    color: #1b4332 !important;
}

.product-detail-breadcrumb .breadcrumb-item.active {
    color: #1e293b;
    font-weight: 600;
}

.product-detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #cbd5e1;
    content: "/";
    padding: 0 8px;
}

/* Base Card Style */
.detail-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    padding: 32px;
    margin-bottom: 24px;
}

/* Main Detail Grid Layout */
.product-detail-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Left: Image Gallery */
.product-gallery-wrapper {
    width: 100%;
}

.product-main-image-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    position: relative;
}

.product-main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-thumbs-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-thumb-btn {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    background: #f8fafc;
    padding: 0;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.product-thumb-btn:hover {
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.product-thumb-btn.active {
    border-color: #1b4332;
    box-shadow: 0 0 0 2px rgba(27, 67, 50, 0.15);
}

.product-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right: Product Info */
.product-info-wrapper {
    display: flex;
    flex-direction: column;
}

.product-title-detail {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 10px;
}

.product-stats-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 18px;
}

.product-stats-inline .stars-wrap {
    color: #f59e0b;
    font-size: 0.92rem;
    display: inline-flex;
    gap: 2px;
}

.product-stats-inline .rating-num {
    font-weight: 700;
    color: #0f172a;
    margin-left: 2px;
}

.product-stats-inline .stats-divider {
    color: #cbd5e1;
    user-select: none;
}

.product-stats-inline .stat-item {
    color: #64748b;
}

.product-stats-inline .stat-val {
    font-weight: 600;
    color: #0f172a;
}

/* Price Box */
.product-price-box {
    background: #f2f7f4;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-price-box .price-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-price-box .price-amount {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1b4332;
    margin: 0;
    line-height: 1.15;
}

/* Specifications Table */
.product-specs-list {
    margin-bottom: 20px;
}

.product-spec-row {
    display: flex;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.88rem;
}

.product-spec-row:last-child {
    border-bottom: none;
}

.product-spec-label {
    width: 170px;
    min-width: 150px;
    color: #64748b;
    font-weight: 400;
}

.product-spec-value {
    color: #0f172a;
    font-weight: 500;
    flex-grow: 1;
}

/* Stepper & Stock */
.product-stepper-stock {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.product-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    height: 38px;
    vertical-align: middle;
}

.product-stepper-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: none;
    color: #334155;
    padding: 0;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.product-stepper-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
}

.product-stepper-btn:hover:not(:disabled) {
    background: #e2e8f0;
    color: #0f172a;
}

.product-stepper-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.product-stepper-value {
    width: 50px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    user-select: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.product-stock-status {
    font-size: 0.88rem;
    color: #64748b;
}

.product-stock-status strong {
    color: #0f172a;
}

/* Action Buttons */
.product-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-actions-primary {
    display: flex;
    gap: 12px;
}

.btn-add-cart-detail {
    flex: 1;
    background: #eaf4ee !important;
    color: #1b4332 !important;
    border: 1px solid transparent !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    padding: 12px 18px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    text-decoration: none !important;
}

.btn-add-cart-detail:hover:not(:disabled) {
    background: #d8ede0 !important;
    color: #123325 !important;
    transform: translateY(-1px);
}

.btn-buy-now-detail {
    flex: 1;
    background: #1b4332 !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    padding: 12px 18px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    text-decoration: none !important;
}

.btn-buy-now-detail:hover:not(:disabled) {
    background: #2d6a4f !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-add-cart-detail:disabled,
.btn-buy-now-detail:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

.btn-ask-product-detail {
    width: 100%;
    background: #f2f7f4 !important;
    color: #1b4332 !important;
    border: 1px solid #d1e7dd !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
    text-decoration: none !important;
}

.btn-ask-product-detail:hover {
    background: #e2efe8 !important;
    color: #123325 !important;
    border-color: #b7dac9 !important;
}

/* Store Card */
.store-detail-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 22px 28px;
}

.store-detail-left {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.store-detail-left:hover {
    opacity: 0.92;
}

.store-detail-left:hover h4 {
    color: #1b4332 !important;
}

.store-detail-avatar-wrap {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #eaf4ee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b7dac9;
    flex-shrink: 0;
}

.store-detail-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-detail-avatar-wrap i {
    font-size: 1.45rem;
    color: #1b4332;
}

.store-detail-meta h4,
.store-detail-meta h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.store-detail-meta .store-loc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 2px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.store-detail-meta .store-loc i {
    font-size: 0.85rem;
    color: #64748b;
}

.store-detail-meta .store-desc-short {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0;
}

.btn-visit-store-detail {
    background: #1b4332 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    padding: 8px 22px !important;
    border-radius: 50px !important;
    border: none !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-visit-store-detail:hover {
    background: #2d6a4f !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Section Card Header */
.detail-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.product-desc-content {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #334155;
}

.product-desc-content p {
    margin-bottom: 0.75rem;
}

/* Reviews */
.review-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.review-header-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.review-header-rating .stars-wrap {
    color: #f59e0b;
    display: inline-flex;
    gap: 2px;
}

.review-item-card {
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.review-item-card:last-child {
    border-bottom: none;
}

.review-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.review-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.review-author-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #0f172a;
}

.review-date {
    font-size: 0.78rem;
    color: #94a3b8;
}

.review-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: inline-flex;
    gap: 2px;
}

.review-text {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.55;
    margin-bottom: 10px;
}

.review-photos-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.review-photo-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

/* Seller Reply Box */
.seller-reply-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 10px;
}

.seller-reply-title {
    font-weight: 600;
    font-size: 0.82rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.seller-reply-text {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    line-height: 1.45;
}

/* Pagination */
.detail-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.detail-pagination .page-item .page-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.15s ease;
    text-decoration: none;
}

.detail-pagination .page-item .page-link:hover:not(.disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.detail-pagination .page-item.active .page-link {
    background: #1b4332 !important;
    border-color: #1b4332 !important;
    color: #ffffff !important;
}

.detail-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f8fafc;
}

/* Similar Products Section & Empty State */
#similar-section .similar-products-wrapper,
#similar-section .product-wrapper,
#similarProductWrapper {
    display: block !important;
    width: 100% !important;
}

.similar-empty-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
    background: #f9fbf9 !important;
    border: 1.5px dashed #c2dbcc !important;
    border-radius: 16px !important;
    padding: 42px 24px !important;
    text-align: center !important;
    margin-top: 12px !important;
    box-sizing: border-box !important;
}

.similar-empty-icon {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    border-radius: 50% !important;
    background: #eaf4ee !important;
    color: #133e27 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    margin: 0 auto 16px auto !important;
}

.similar-empty-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 6px !important;
    text-align: center !important;
    width: 100% !important;
}

.similar-empty-subtitle {
    font-size: 0.84rem !important;
    color: #64748b !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    line-height: 1.5 !important;
    text-align: center !important;
    width: 100% !important;
}

/* Similar Products Grid (when items exist) */
.similar-products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 16px !important;
    margin-top: 16px !important;
    width: 100% !important;
}

.similar-products-grid .product-card {
    width: 100% !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 575px) {
    #similar-section {
        padding: 18px 14px !important;
    }

    #similar-section .similar-products-wrapper,
    #similar-section .product-wrapper,
    #similarProductWrapper {
        display: block !important;
        width: 100% !important;
    }

    .similar-empty-card {
        padding: 28px 14px !important;
        border-radius: 14px !important;
    }

    .similar-empty-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }

    .similar-empty-title {
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
    }

    .similar-empty-subtitle {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
    }

    .similar-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .product-actions-primary {
        flex-direction: column;
    }

    .detail-card {
        padding: 20px 16px;
    }
}

/* ========================================================
   STORE PROFILE / DETAIL TOKO PAGE (Modern Refined UI)
   ======================================================== */
.store-profile-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

.store-breadcrumb {
    margin-bottom: 20px;
}

.store-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
}

.store-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.store-breadcrumb .breadcrumb-item a:hover {
    color: #1b4332;
}

.store-breadcrumb .breadcrumb-item.active {
    color: #1e293b;
    font-weight: 600;
}

/* Store Hero Banner Card */
.store-hero-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 26px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.store-hero-main {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
    min-width: 280px;
}

.store-hero-avatar-wrap {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eaf4ee;
    border: 2px solid #d1e7dd;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.08);
}

.store-hero-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-hero-avatar-wrap i.fa-store {
    font-size: 2.2rem;
    color: #1b4332;
}

.store-hero-info {
    flex: 1;
}

.store-hero-name {
    font-size: 1.55rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 5px 0;
    letter-spacing: -0.3px;
}

.store-hero-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0 0 8px 0;
}

.store-hero-submeta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
}

.store-online-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #059669;
    font-weight: 500;
}

.store-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.store-meta-divider {
    color: #cbd5e1;
}

.store-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
}

/* Store Stats Right Side */
.store-hero-stats {
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.store-stat-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px 20px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.store-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.store-stat-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-stat-rating-row .stars-list {
    color: #f59e0b;
    font-size: 0.82rem;
    display: inline-flex;
    gap: 2px;
}

.store-stat-rating-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
}

.store-stat-sub {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 3px;
}

.store-stat-count-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.15;
}

/* Section Header */
.store-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.store-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    letter-spacing: -0.2px;
}

.store-section-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.store-count-badge {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 500;
}

.store-sort-select {
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.84rem;
    color: #334155;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.store-sort-select:focus {
    border-color: #1b4332;
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

/* Products Grid (5 kolom di Desktop) */
.store-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .store-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 991px) {
    .store-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .store-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
    }
}

@media (max-width: 575px) {
    .store-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
    }
    .store-hero-card {
        padding: 20px 18px;
    }
    .store-hero-stats {
        width: 100%;
    }
    .store-stat-box {
        flex: 1;
        min-width: unset;
    }
}

/* Modern Store Product Card */
.store-product-card-modern {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    position: relative;
}

.store-product-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.store-product-img-box {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 square aspect ratio */
    background: #f8fafc;
    overflow: hidden;
}

.store-product-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.store-product-card-modern:hover .store-product-img-box img {
    transform: scale(1.05);
}

.store-product-card-body {
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.store-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.35;
    max-height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.store-product-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.store-product-rating-row .stars-list {
    color: #f59e0b;
    font-size: 0.76rem;
    display: inline-flex;
    gap: 1px;
}

.store-product-rating-row .rating-num {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.store-product-price-stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.store-product-price-val {
    font-size: 1.08rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.2px;
}

.store-product-stock-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 50px;
}

.store-product-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.btn-store-add-cart {
    flex: 1;
    background: #f2f7f4;
    color: #1b4332;
    border: 1px solid #cfe2d5;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 7px 4px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-store-add-cart:hover:not(:disabled) {
    background: #e2f0e6;
    color: #143525;
    border-color: #b3d5be;
}

.btn-store-buy-now {
    flex: 1;
    background: #1b4332;
    color: #ffffff;
    border: 1px solid transparent;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 7px 4px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-store-buy-now:hover:not(:disabled) {
    background: #2d6a4f;
    color: #ffffff;
}

.btn-store-add-cart:disabled,
.btn-store-buy-now:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Empty store products state */
.store-empty-products-box {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 50px 20px;
    text-align: center;
}

.store-empty-products-icon {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.store-empty-products-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.store-empty-products-sub {
    color: #64748b;
    font-size: 0.9rem;
    max-width: 420px;
    margin: 0 auto;
}

/* ==========================================================================
   UNIFIED MOBILE DESIGN SYSTEM & HARMONIZED TYPOGRAPHY (< 768px & < 576px)
   Pages Covered:
   1. Beranda (Home)
   2. Katalog Produk (Catalog)
   3. List Toko (Store List)
   4. Halaman Toko (Store Profile)
   5. Halaman Produk (Product Detail)
   6. Biodata Diri (User Profile)
   7. Alamat (Shipping Address)
   + Modals & Popups (SweetAlert & Bootstrap Tulen Modals)
   ========================================================================== */

@media (max-width: 767.98px) {
    /* Responsive Dialogs & Main Wrappers */
    .catalog-wrapper,
    .store-profile-container,
    .detail-product-page-container,
    .home-main-wrapper {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

@media (max-width: 575.98px) {
    /* ----------------------------------------------------
       1. UNIFIED SUBTEXT & MUTED TEXT (EXACT 0.8rem)
       ---------------------------------------------------- */
    .text-muted.small,
    .text-muted,
    p.text-muted,
    span.text-muted,
    div.text-muted,
    .small,
    small,
    .profile-photo-specs,
    .product-origin-tag,
    .product-rating-count,
    .product-rating-row,
    .store-submeta,
    .store-location,
    .store-location-tag,
    .store-hero-submeta,
    .store-hero-desc,
    .store-meta .text-muted,
    .store-desc-short,
    .store-count-badge,
    .review-meta-date,
    .review-meta-variant,
    .address-card-modern p.text-muted,
    .address-card-modern .text-muted,
    .catalog-active-chips-label,
    .catalog-sort-label,
    .similar-empty-subtitle,
    .store-empty-products-sub,
    .tulen-modal .modal-header p,
    .modal-header p,
    .store-breadcrumb .breadcrumb,
    .product-detail-breadcrumb,
    .filter-section-title.text-uppercase,
    .testimonial-role,
    .hero-desc,
    .product-stats-inline,
    .store-detail-meta .store-loc,
    .swal2-popup:not(.swal2-toast) .swal2-html-container,
    .tulen-swal-text {
        font-size: 0.8rem !important;
        color: #64748b !important;
        line-height: 1.4 !important;
    }

    /* ----------------------------------------------------
       2. PAGE TITLES & MAIN HEADINGS (H1 -> 1.25rem)
       ---------------------------------------------------- */
    .catalog-title,
    .profile-section-title,
    .store-hero-name,
    .product-title-detail,
    .home-main-title {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        letter-spacing: -0.3px !important;
        line-height: 1.3 !important;
        margin-bottom: 0.35rem !important;
    }

    /* ----------------------------------------------------
       3. SECTION TITLES (H2 / H3 -> 1.1rem)
       ---------------------------------------------------- */
    .section-main-title,
    .detail-section-title,
    .store-section-title,
    .tulen-modal .modal-header .modal-title,
    .modal-alamat .modal-header .modal-title,
    .filter-wrapper-mobile h5,
    .similar-empty-title,
    .store-empty-products-title {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        letter-spacing: -0.2px !important;
        line-height: 1.3 !important;
    }

    .section-see-all {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: #133e27 !important;
        text-decoration: none !important;
    }

    /* ----------------------------------------------------
       4. ITEM NAMES & CARD TITLES (0.88rem)
       ---------------------------------------------------- */
    .product-name-heading,
    .store-product-title,
    .store-name,
    .testimonial-name,
    .review-author-name,
    .filter-section-title,
    .store-detail-meta h4,
    .store-detail-meta h5 {
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        color: #0f172a !important;
        line-height: 1.35 !important;
    }

    /* ----------------------------------------------------
       5. FORM LABELS (0.84rem)
       ---------------------------------------------------- */
    .profile-form-label,
    .modal-alamat .profile-form-label,
    label.form-label {
        font-size: 0.84rem !important;
        font-weight: 600 !important;
        color: #334155 !important;
        margin-bottom: 0.35rem !important;
    }

    /* ----------------------------------------------------
       6. PRICES & NUMERICAL VALUES
       ---------------------------------------------------- */
    .product-price-label,
    .store-product-price,
    .store-product-price-val {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        color: #133e27 !important;
        letter-spacing: -0.2px !important;
    }

    .product-price-large {
        font-size: 1.35rem !important;
        font-weight: 700 !important;
        color: #133e27 !important;
    }

    /* ----------------------------------------------------
       7. MICRO BADGES & STATUS PILLS (0.72rem - 0.76rem)
       ---------------------------------------------------- */
    .badge-address-primary,
    .store-online-pill,
    .store-stat-label,
    .store-product-stock-pill,
    .testimonial-rating-pill {
        font-size: 0.74rem !important;
        font-weight: 600 !important;
    }

    .store-stat-value {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: #133e27 !important;
    }

    /* ----------------------------------------------------
       8. FORM INPUTS & DROPDOWNS (UNIFIED 44px)
       ---------------------------------------------------- */
    .form-control,
    .form-select,
    .profile-form-input,
    .profile-form-select,
    .filter-mini-search,
    .location-search-input,
    .modal-alamat .form-control,
    .modal-alamat .form-select,
    .select2-container--default .select2-selection--single {
        height: 44px !important;
        font-size: 0.86rem !important;
        border-radius: 10px !important;
        padding: 0.5rem 0.85rem !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 44px !important;
    }

    /* ----------------------------------------------------
       9. BUTTONS (UNIFIED TOUCH TARGETS >= 42px)
       ---------------------------------------------------- */
    .btn-pill-primary-green,
    .btn-pill-outline-secondary,
    .btn-save-address,
    .btn-save-profile,
    .btn-hero-cta,
    .btn-visit-store-detail,
    .btn-reset-filter,
    .btn-apply-filter-mobile,
    .btn-store-add-cart,
    .btn-store-buy-now {
        min-height: 42px !important;
        font-size: 0.86rem !important;
        font-weight: 600 !important;
        border-radius: 50px !important;
        padding: 0.55rem 1.25rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .btn-sort-pill,
    .btn-mobile-filter-trigger {
        height: 38px !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        border-radius: 50px !important;
        padding: 0 0.95rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .btn-quick-add {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 0.82rem !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* ----------------------------------------------------
       10. CARDS & CONTAINERS PADDING ON MOBILE
       ---------------------------------------------------- */
    .profile-main-card,
    .detail-card,
    .store-hero-card,
    .store-item-card,
    .address-card-modern {
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-bottom: 1rem !important;
    }

    .store-hero-card {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
    }

    .store-hero-main {
        gap: 14px !important;
    }

    .store-hero-avatar-wrap {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
    }

    .store-hero-stats {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }

    .store-stat-box {
        flex: 1 !important;
        padding: 8px 12px !important;
        border-radius: 10px !important;
        min-width: unset !important;
    }

    /* ----------------------------------------------------
       11. SWEETALERT2 POPUPS ON MOBILE
       ---------------------------------------------------- */
    .swal2-popup:not(.swal2-toast) {
        width: calc(100% - 1.5rem) !important;
        max-width: calc(100% - 1.5rem) !important;
        margin: 0 auto !important;
        padding: 24px 18px !important;
        border-radius: 16px !important;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.16) !important;
    }

    .swal2-popup:not(.swal2-toast) .swal2-title,
    .tulen-swal-title {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .swal2-popup:not(.swal2-toast) .swal2-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    .swal2-popup:not(.swal2-toast) .swal2-cancel,
    .swal2-popup:not(.swal2-toast) .swal2-confirm,
    .tulen-swal-btn-cancel,
    .tulen-swal-btn-confirm {
        flex: 1 !important;
        margin: 0 !important;
        height: 42px !important;
        font-size: 0.86rem !important;
        font-weight: 600 !important;
        border-radius: 50px !important;
        padding: 0.5rem 0.75rem !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .swal2-popup:not(.swal2-toast) .swal2-icon {
        margin: 0 auto 12px auto !important;
        transform: scale(0.72);
        transform-origin: center center;
    }

    .swal2-popup:not(.swal2-toast) .swal2-icon:not(.swal2-success) {
        width: 52px !important;
        height: 52px !important;
        transform: none !important;
    }

    .swal2-popup:not(.swal2-toast) .swal2-icon.swal2-info .swal2-icon-content {
        font-size: 1.6rem !important;
    }

    /* SweetAlert2 Toast */
    .swal2-container.swal2-top-end,
    .swal2-container.swal2-top-right {
        top: 0.75rem !important;
        right: 0.75rem !important;
        left: auto !important;
        width: auto !important;
        max-width: 75vw !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    .swal2-popup.swal2-toast,
    .swal2-popup.tulen-cart-toast-popup {
        width: -moz-max-content !important;
        width: -webkit-max-content !important;
        width: max-content !important;
        max-width: 75vw !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        border-radius: 50px !important;
        padding: 10px 16px 10px 12px !important;
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        grid-template-columns: none !important;
        gap: 8px !important;
        overflow: visible !important;
    }

    .swal2-popup.swal2-toast .swal2-html-container,
    .tulen-cart-toast-popup .swal2-html-container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        grid-column: unset !important;
        font-size: 0.78rem !important;
        flex: 1 1 auto !important;
        text-align: left !important;
        overflow: visible !important;
    }

    .tulen-cart-toast-popup .swal2-close,
    .tulen-cart-toast-close,
    .swal2-popup.swal2-toast .swal2-close {
        display: none !important;
    }

    .tulen-cart-toast-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        padding-right: 0 !important;
        gap: 8px !important;
        flex: 1 1 auto !important;
    }

    .tulen-cart-toast-icon {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 0.7rem !important;
        flex-shrink: 0 !important;
    }

    .tulen-cart-toast-title {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
        hyphens: none !important;
        font-size: 0.78rem !important;
        line-height: 1.35 !important;
        width: auto !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 0% !important;
        display: block !important;
        text-align: left !important;
        color: #1b4332 !important;
    }

    /* Store Card on Product Detail Page (Mobile: Sembunyikan tombol Kunjungi Toko) */
    .store-detail-action-wrap,
    .store-detail-card .btn-visit-store-detail,
    #visit-store {
        display: none !important;
    }

    .store-detail-card {
        padding: 14px 16px !important;
    }

    .store-detail-left {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }

    /* ----------------------------------------------------
       12. HERO BANNER CAROUSEL ON BERANDA
       ---------------------------------------------------- */
    .hero-carousel-card {
        border-radius: 14px !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-slide-item {
        min-height: 280px !important;
        padding: 24px 18px !important;
    }

    .hero-title {
        font-size: 1.35rem !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        margin-bottom: 0.5rem !important;
    }

    /* ----------------------------------------------------
       13. BOOTSTRAP TULEN MODALS ON MOBILE
       ---------------------------------------------------- */
    .modal.tulen-modal .modal-dialog,
    .modal-alamat.modal-dialog {
        margin: 0.5rem auto !important;
        max-width: calc(100% - 1rem) !important;
        width: calc(100% - 1rem) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tulen-modal .modal-content {
        border-radius: 16px !important;
    }

    .tulen-modal .modal-header {
        padding: 0.95rem 1.1rem !important;
    }

    .tulen-modal .modal-body {
        padding: 1rem 1.1rem !important;
    }

    .tulen-modal .modal-footer {
        padding: 0.85rem 1.1rem !important;
    }

    /* Crop Modal Mobile Toolbar & Single-Row Footer */
    .crop-toolbar-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        margin: 10px 0 4px 0 !important;
        width: 100% !important;
    }

    .crop-toolbar-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

    .crop-toolbar-btn i {
        font-size: 0.95rem !important;
    }

    .crop-modal-footer,
    #modalCropPhoto .modal-footer,
    #cropModal .modal-footer {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 0.85rem 1.1rem !important;
        width: 100% !important;
    }

    .crop-modal-footer .btn-crop-cancel,
    #modalCropPhoto .btn-pill-outline-secondary,
    #cropModal .btn-pill-outline-secondary {
        flex: 1 1 35% !important;
        width: auto !important;
        padding: 0.65rem 0.5rem !important;
        font-size: 0.88rem !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 50px !important;
    }

    .crop-modal-footer .btn-crop-apply,
    #modalCropPhoto .btn-pill-primary-green,
    #cropModal .btn-pill-primary-green {
        flex: 2 1 65% !important;
        width: auto !important;
        padding: 0.65rem 0.75rem !important;
        font-size: 0.88rem !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        border-radius: 50px !important;
    }

    /* Address Actions Mobile Optimization */
    .address-card-header {
        align-items: center !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.65rem !important;
    }

    .address-card-actions {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .address-action-icon-btn,
    .address-action-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        font-size: 0 !important;
    }

    .address-action-icon-btn i,
    .address-action-btn i {
        font-size: 0.82rem !important;
    }
}

/* ========================================================
   Rekomendasi UMKM Section (Homepage)
   ======================================================== */
.umkm-showcase-section {
    margin-bottom: 3.5rem;
}

.home-umkm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
}

.umkm-modern-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.umkm-modern-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.umkm-card-top {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.umkm-avatar-wrapper {
    position: relative;
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    overflow: visible;
    flex-shrink: 0;
}

.umkm-avatar-wrapper .store-avatar-box {
    width: 100%;
    height: 100%;
}

.umkm-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
}

.umkm-avatar-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    border: 2px solid #e2e8f0;
    text-transform: uppercase;
}

.umkm-verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1b4332;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.umkm-info-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.badge-umkm-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1b4332;
    background: #eaf4ee;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid #c3e6cb;
    line-height: 1.3;
}

.umkm-store-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin: 3px 0 2px 0;
    display: block;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.umkm-modern-card:hover .umkm-store-title {
    color: #1b4332;
}

.umkm-location-meta {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.umkm-products-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 0;
    background: #f8fafc;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.umkm-preview-item {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    position: relative;
}

.umkm-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.umkm-modern-card:hover .umkm-preview-item img {
    transform: scale(1.04);
}

.umkm-preview-empty {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    color: #94a3b8;
    text-align: center;
    padding: 12px 0;
    margin: 0;
}

.umkm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.75rem;
    margin-top: auto;
}

.umkm-product-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.btn-umkm-visit {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1b4332;
    background: #eaf4ee;
    padding: 6px 14px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    border: 1px solid #a3d9b8;
}

.btn-umkm-visit:hover {
    background: #1b4332;
    color: #ffffff !important;
}

@media (max-width: 991.98px) {
    .home-umkm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .umkm-showcase-section {
        margin-bottom: 2.25rem;
    }
}

@media (max-width: 575.98px) {
    .umkm-showcase-section {
        margin-bottom: 2rem;
    }

    .home-umkm-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0.85rem;
        padding-bottom: 0.5rem;
        margin: 0 -0.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .home-umkm-grid::-webkit-scrollbar {
        height: 4px;
    }

    .home-umkm-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

    .umkm-modern-card {
        flex: 0 0 calc(85% - 0.5rem);
        max-width: calc(85% - 0.5rem);
        scroll-snap-align: start;
        padding: 1rem;
    }
}

