/* ==========================================================
   JUAL BELI LOKAL (JBL) - UMKM JAKARTA TIMUR
   Ultra Modern Design System: Pink Jakarta Timur + Black + Crisp White
   Full Production-Ready CSS
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
    /* Primary Brand Color: Vibrant Pink #EB30A2 */
    --primary: #EB30A2;
    --primary-hover: #D01B8B;
    --primary-dark: #A80E6E;
    --primary-light: #FFF0F7;
    --primary-soft: #FFE2F0;
    --primary-border: #FBCFE8;
    --primary-glow: transparent;

    /* Secondary Brand Color: Radiant Orange #FF8826 */
    --secondary: #FF8826;
    --secondary-hover: #E66E0A;
    --secondary-dark: #C75700;
    --secondary-light: #FFF7ED;
    --secondary-soft: #FFEDD5;
    --secondary-border: #FED7AA;
    --secondary-glow: transparent;

    /* Rich Gradients: Primary Pink & Secondary Orange */
    --pink-gradient: linear-gradient(135deg, #EB30A2 0%, #FF8826 100%);
    --pink-hero-gradient: linear-gradient(135deg, #FFF0F7 0%, #FFF7ED 50%, #FFE2F0 100%);
    --gradient-primary: linear-gradient(135deg, #EB30A2 0%, #D01B8B 100%);
    --gradient-secondary: linear-gradient(135deg, #FF8826 0%, #E66E0A 100%);
    --gradient-primary-secondary: linear-gradient(135deg, #EB30A2 0%, #FF8826 100%);
    --gradient-secondary-primary: linear-gradient(135deg, #FF8826 0%, #EB30A2 100%);

    /* Dark & Slate Palette (Institutional & Authoritative) */
    --dark: #0F172A;
    --dark-surface: #1E293B;
    --dark-border: #334155;
    --black: #020617;

    /* Light, Grays & Clean Surfaces */
    --white: #FFFFFF;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-subtle: #F1F5F9;
    --border-color: #E2E8F0;
    --border-subtle: #E2E8F0;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;

    /* Status Colors (Semantic & Accessible) */
    --success: #059669;
    --success-light: #ECFDF5;
    --success-border: #A7F3D0;
    --warning: #FF8826;
    --warning-light: #FFF7ED;
    --warning-border: #FED7AA;
    --danger: #DC2626;
    --danger-light: #FEF2F2;
    --info: #0284C7;
    --info-light: #F0F9FF;

    /* Radius & Professional Clean Shadows */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-full: 9999px;
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 8px 18px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 4px 14px rgba(15, 23, 42, 0.09);
    --shadow-pink: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-secondary: 0 1px 3px rgba(15, 23, 42, 0.06);

    /* Typography System: 100% Unified Plus Jakarta Sans (Sans-Serif) */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* Smooth Micro-Interactions */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base - 100% Unified Modern Sans-Serif Everywhere */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 13.5px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6,
p, span, a, label, li, ul, ol,
button, input, select, textarea,
table, th, td, tr, thead, tbody, tfoot,
strong, b, em, small, div,
code, pre, kbd, samp {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Explicitly preserve Bootstrap Icons glyph font */
.bi, [class^="bi-"], [class*=" bi-"] {
    font-family: bootstrap-icons !important;
}

/* ==========================================================================
   HOMEPAGE BACKGROUND: ILUSTRASI ONDEL-ONDEL & SENI BUDAYA BETAWI
   Watermark estetik gambar khas Betawi (Transparan & Non-Intrusive)
   ========================================================================== */
body.page-home,
body.page-cart,
body.page-orders,
body.page-order-detail,
body.page-account,
body.page-contact,
body.page-help,
body.page-checkout,
body.page-payment,
body.page-payment-success {
    background-color: #F8FAFC;
}

body.page-home::before,
body.page-cart::before,
body.page-orders::before,
body.page-order-detail::before,
body.page-account::before,
body.page-account-settings::before,
body.page-contact::before,
body.page-help::before,
body.page-checkout::before,
body.page-payment::before,
body.page-payment-success::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/bg-betawi-pattern.jpg?v=20261011');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    opacity: 0.085; /* Transparan estetik agar tidak mengganggu keterbacaan teks dan kartu produk */
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    body.page-home::before,
    body.page-cart::before,
    body.page-orders::before,
    body.page-order-detail::before,
    body.page-account::before,
    body.page-account-settings::before,
    body.page-contact::before,
    body.page-help::before,
    body.page-checkout::before,
    body.page-payment::before,
    body.page-payment-success::before {
        background-position: 28% top;
        background-size: cover;
        opacity: 0.08;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1480px;
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================================
   TOP NAVBAR (MOCKUP MATCH)
   ========================================================== */
/* Top Utility Bar (Desktop Only) */
.top-utility-bar {
    position: relative;
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
    padding: 6px 0;
    font-size: 11.5px;
    color: #475569;
}

.top-utility-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #FF8826 0%, #EB30A2 100%);
}

.utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gov-official-tag {
    font-weight: 700;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: -0.1px;
}

.gov-official-tag i {
    color: #EB30A2;
    font-size: 13px;
}

.utility-sep {
    color: #CBD5E1;
}

.utility-sub {
    color: #64748B;
    font-weight: 500;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.utility-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.utility-link:hover {
    color: #EB30A2;
}

.utility-link i {
    color: #94A3B8;
    transition: color 0.15s ease;
}

.utility-link:hover i {
    color: #EB30A2;
}

.utility-link-highlight {
    color: #0F172A;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.utility-link-highlight i {
    color: #EB30A2;
    font-size: 13px;
    transition: transform 0.15s ease;
}

.utility-link-highlight:hover {
    color: #EB30A2;
}

.utility-link-highlight:hover i {
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .top-utility-bar {
        display: none;
    }
}

/* ==========================================================
   MAIN HEADER: STICKY FLOATING AT TOP (IKUT TAYANG SAAT SCROLL)
   ========================================================== */
.main-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    padding: 10px 0;
    margin: 0;
    transition: box-shadow 0.25s ease, padding 0.2s ease, border-color 0.2s ease;
}

.main-header .container {
    width: 100%;
    max-width: 1360px;
    padding-left: 20px;
    padding-right: 20px;
}

/* KETIKA DI-SCROLL KE BAWAH: TETAP TAYANG DI ATAS DENGAN EFEK ELEVASI MENGAMBANG */
.main-header.is-floating {
    top: 0;
    box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

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

.brand-logo-img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-official-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.brand-main-title {
    font-size: 18.5px;
    font-weight: 900;
    color: #0F172A;
    line-height: 1.1;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 6px; /* Spasi jelas antara JAMUR dan BETAWI */
    margin-bottom: 2px;
}

.brand-main-title .brand-title-jamur {
    color: #0F172A !important;
}

.brand-main-title .brand-title-betawi {
    color: var(--primary, #EB30A2) !important;
}

.brand-mascot-badge {
    height: 28px;
    width: auto;
    object-fit: contain;
    margin-left: 6px; /* Jarak proporsional setelah kata BETAWI ke maskot */
    vertical-align: middle;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
    display: inline-block;
}

.brand-logo:hover .brand-mascot-badge {
    transform: scale(1.15) rotate(-3deg);
    filter: drop-shadow(0 4px 10px rgba(235, 48, 162, 0.28));
}

.brand-sub-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.2;
}

.brand-mobile-subtitle {
    display: none;
}

.region-text {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: normal;
    white-space: nowrap;
}

/* Slogan dengan Efek Cahaya Bergerak (Moving Light Beam / Ray) */
.slogan-animated {
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    letter-spacing: normal;
    word-spacing: normal;
    position: relative;
    overflow: hidden;
    padding: 1px 4px;
    border-radius: 4px;
    white-space: nowrap;
}

.brand-jt-initial {
    color: var(--primary, #EB30A2) !important;
    font-weight: 900 !important;
    font-size: 1.08em;
    display: inline-block;
    animation: jtGlowPulse 8.0s ease-in-out infinite;
}

/* Cahaya Bergerak / Silky Soft Ambient Light Beam (Gerak Lambat 6s, Jeda Pas 2s) */
.slogan-animated::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -140%;
    width: 110px;
    height: 200%;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.06) 15%,
        rgba(255, 255, 255, 0.7) 45%,
        rgba(255, 220, 240, 0.95) 50%,
        rgba(235, 48, 162, 0.6) 58%,
        rgba(255, 255, 255, 0.06) 85%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-18deg);
    filter: blur(2px);
    pointer-events: none;
    animation: sloganLightSweep 8.0s cubic-bezier(0.25, 0.45, 0.35, 1) infinite;
}

@keyframes sloganLightSweep {
    0% {
        left: -140%;
        opacity: 0;
    }
    6% {
        opacity: 1;
    }
    71% {
        left: 210%;
        opacity: 1;
    }
    75% {
        left: 220%;
        opacity: 0;
    }
    100% {
        left: 220%;
        opacity: 0;
    }
}

@keyframes jtGlowPulse {
    0%, 6% {
        text-shadow: 0 0 4px rgba(235, 48, 162, 0.25);
        transform: scale(1);
    }
    18% {
        text-shadow: 0 0 12px rgba(235, 48, 162, 0.8), 0 0 3px #EB30A2;
        transform: scale(1.04);
    }
    32%, 100% {
        text-shadow: 0 0 4px rgba(235, 48, 162, 0.25);
        transform: scale(1);
    }
}

.brand-slogan-special {
    color: #0369A1;
    font-weight: 800;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid #BAE6FD;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    letter-spacing: 0.2px;
    display: inline-block;
}

.official-pill {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.official-pill i {
    font-size: 10px;
    color: #10B981;
}

/* Search Bar */
.header-search-box {
    flex: 1;
    max-width: 480px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 3px 4px 3px 14px;
    transition: var(--transition-fast);
}

.search-lead-icon {
    font-size: 15px;
    color: #94A3B8;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.12);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: var(--dark);
    padding: 6px 0;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-size: 12.5px;
}

.search-btn {
    background: var(--primary);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-full);
    padding: 7px 18px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-hover);
}

.search-popular-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    padding-left: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}
.search-popular-tags::-webkit-scrollbar {
    display: none;
}
.search-popular-tags .tags-label {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
}
.search-popular-tags a {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    background: #F1F5F9;
    padding: 1px 7px;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.search-popular-tags a:hover {
    background: rgba(235, 48, 162, 0.1);
    color: var(--primary);
}
@media (max-width: 768px) {
    .search-popular-tags {
        display: none;
    }
}

/* Header Nav Icons */
.header-nav-items {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

@media (max-width: 1240px) {
    .header-inner {
        gap: 14px;
    }
    .header-nav-items {
        gap: 12px;
    }
    .region-text .slogan-animated {
        font-size: 10.5px;
    }
}

@media (max-width: 992px) {
    .header-inner {
        gap: 10px;
    }
    .header-nav-items {
        gap: 8px;
    }
    .header-nav-items .nav-icon-link span {
        display: none;
    }
}

.nav-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    text-decoration: none;
    position: relative;
    padding: 2px 4px;
    transition: var(--transition);
}

.nav-icon-link i {
    font-size: 18px;
    color: #334155;
    margin-bottom: 2px;
    transition: var(--transition);
}

.nav-icon-link span {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-icon-link:hover i, .nav-icon-link:hover span {
    color: var(--primary);
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -3px;
    right: 4px;
    background: var(--primary);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

/* Masuk / Daftar Pill Button */
.btn-auth-pill {
    background: var(--primary);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 12.5px;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 3px 8px rgba(235, 48, 162, 0.25);
    transition: var(--transition);
}

.btn-auth-pill:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* User Menu & Dropdown Popup */
.user-menu-box {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 6px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-subtle);
    background: #FFFFFF;
    cursor: pointer;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--dark);
    transition: var(--transition);
}

.user-menu-trigger:hover, .user-menu-box.active .user-menu-trigger {
    border-color: var(--primary);
    background: #FFF0F7;
}

.user-menu-trigger img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #FFF0F7;
}

/* User Dropdown Popup Menu */
.user-dropdown-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    padding: 12px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.user-menu-box.active .user-dropdown-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px 10px;
}

.dropdown-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--border-subtle);
    flex-shrink: 0;
    background: #FFF0F7;
}

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

.dropdown-user-name {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-email {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-pill-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.role-pill-badge.admin {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.role-pill-badge.seller {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.role-pill-badge.buyer {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.dropdown-divider {
    height: 1px;
    background: #F1F5F9;
    margin: 6px 0;
}

.dropdown-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
    background: #F8FAFC;
    color: var(--primary);
}

.dropdown-item i {
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.dropdown-item.logout {
    color: #EB30A2;
}

.dropdown-item.logout:hover {
    background: #FFF0F7;
    color: #EB30A2;
}

/* ==========================================================
   HOMEPAGE 2-COLUMN MAIN LAYOUT
   ========================================================== */

.home-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    margin-top: 16px;
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.home-main-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Hero Carousel Banner Container */
.hero-banner-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    background: transparent;
    aspect-ratio: 3750 / 1313;
    min-height: 280px;
}

.hero-slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
}

.hero-ad-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.hero-ad-media-wrap {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

.hero-ad-img,
.hero-ad-video {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: fill;
    display: block;
    border-radius: 16px;
}

.hero-banner-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Hero Content Overlay (Text, CTAs & Branding) */
.hero-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 320px;
    padding: 34px 42px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.96) 0%, 
        rgba(255, 255, 255, 0.90) 42%, 
        rgba(255, 255, 255, 0.50) 65%, 
        rgba(255, 255, 255, 0.10) 85%, 
        rgba(255, 255, 255, 0) 100%
    );
}

.hero-text-block {
    max-width: 480px;
    min-width: 0;
    flex: 1;
}

.hero-headline {
    font-size: 34px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.18;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.hero-headline-pink {
    color: #EB30A2;
    display: inline-block;
}

.hero-subtitle {
    font-size: 13.5px;
    color: #475569;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 420px;
}

/* Hero Slide Link (Full Clickable Slide) */
.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Minimalist Editorial Action Link (Clean, Elegant & Non-AI) */
.hero-editorial-action {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
}

.hero-editorial-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #EB30A2;
    transition: all 0.22s ease;
    letter-spacing: -0.1px;
}

.hero-editorial-link i {
    font-size: 14px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide-link:hover .hero-editorial-link {
    color: #D01B8B;
}

.hero-slide-link:hover .hero-editorial-link i {
    transform: translateX(6px);
}

/* Backward compatibility helper */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Nav arrows explicitly hidden/removed */
.carousel-nav-btn {
    display: none !important;
}

/* Subtle Carousel Indicator Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    background: rgba(15, 23, 42, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
}

.hero-dot.active {
    width: 20px;
    background: #EB30A2;
}

/* Responsive: Mobile Hero Banner 100% Full Edge-to-Edge Tanpa Garis Batas & Tanpa Terpotong */
@media (max-width: 768px) {
    .hero-banner-container {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3750 / 1313 !important;
        border-radius: 12px;
        overflow: hidden;
        background: transparent !important;
        border: none !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        margin: 0;
    }

    .hero-slides-wrapper {
        width: 100% !important;
        height: 100% !important;
    }

    .hero-slide {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3750 / 1313 !important;
        border-radius: 12px;
        background: transparent !important;
        border: none !important;
        overflow: hidden;
    }

    .hero-ad-slide-link {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        text-decoration: none;
    }

    .hero-ad-media-wrap {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3750 / 1313 !important;
        border-radius: 12px;
        overflow: hidden;
        background: transparent !important;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-ad-media-wrap::before {
        display: none !important;
    }

    .hero-ad-img {
        position: relative;
        z-index: 1;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: fill !important; /* Full 100% utuh tanpa garis batas/letterbox */
        object-position: center;
        border-radius: 12px;
        display: block !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .hero-ad-video {
        position: relative;
        z-index: 1;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover !important;
        border-radius: 12px;
        border: none !important;
    }

    .hero-slide-ad .ad-badge-label {
        top: 8px !important;
        right: 8px !important;
        font-size: 9.5px !important;
        padding: 2px 7px !important;
    }

    .hero-banner-img {
        object-fit: cover;
        object-position: right center;
    }

    .hero-content-overlay {
        height: 100%;
        min-height: 0 !important;
        padding: 10px 14px;
        align-items: center;
        background: linear-gradient(90deg, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.88) 46%, 
            rgba(255, 255, 255, 0.25) 72%, 
            rgba(255, 255, 255, 0) 100%
        );
    }

    .hero-text-block {
        max-width: 215px;
    }

    .hero-headline {
        font-size: 16.5px;
        line-height: 1.2;
        margin-bottom: 3px;
        letter-spacing: -0.3px;
    }

    .hero-headline-pink {
        font-size: 16.5px;
    }

    .hero-subtitle {
        font-size: 10px;
        line-height: 1.35;
        margin-bottom: 8px;
        color: #475569;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-editorial-action {
        margin-top: 2px;
    }

    .hero-editorial-link {
        font-size: 11.5px;
        gap: 5px;
        font-weight: 700;
        color: #EB30A2;
    }

    .hero-editorial-link i {
        font-size: 11.5px;
    }

    .hero-carousel-dots {
        bottom: 8px;
        padding: 3px 8px;
        gap: 5px;
    }

    .hero-dot {
        width: 5px;
        height: 5px;
    }

    .hero-dot.active {
        width: 14px;
    }
}

@media (max-width: 380px) {
    .hero-banner-container,
    .hero-slide,
    .hero-ad-media-wrap {
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 3750 / 1313 !important;
    }

    .hero-content-overlay {
        min-height: 0 !important;
        padding: 8px 10px;
    }

    .hero-text-block {
        max-width: 185px;
    }

    .hero-headline {
        font-size: 14px;
    }

    .hero-headline-pink {
        font-size: 14px;
    }

    .hero-subtitle {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .hero-editorial-action {
        margin-top: 2px;
    }

    .hero-editorial-link {
        font-size: 10.5px;
        gap: 4px;
    }

    .hero-editorial-link i {
        font-size: 10.5px;
    }
}

/* ==========================================================
   AUTHENTIC MARKETPLACE CATEGORY SHOWCASE (TOKOPEDIA / SHOPEE STYLE)
   Clean circular icon badges, sharp typography, human e-commerce feel
   ========================================================== */

.category-showcase-container {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    padding: 18px 20px 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

.category-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-main-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.2px;
    margin: 0;
    line-height: 1.3;
}

.category-sub-heading {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 2px;
    display: block;
    line-height: 1.35;
}

.category-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.category-explore-link:hover {
    color: var(--primary-hover, #D01B8B);
    text-decoration: underline;
}

.category-explore-link i {
    font-size: 11px;
}

/* ==========================================================
   CATEGORY PAVILION: COMPACT & SLICK
   Compact height, sleek circular avatars, smooth next arrow navigation
   ========================================================== */

.category-pavilion-container {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    padding: 12px 18px 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

.category-pavilion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 8px;
}

.category-pavilion-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary);
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 2px;
}

.category-pavilion-heading {
    font-size: 14.5px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.2px;
    margin: 0;
    line-height: 1.25;
}

.category-pavilion-subheading {
    font-size: 11px;
    color: #64748B;
    font-weight: 400;
    margin-top: 1px;
    display: block;
}

.category-pavilion-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.category-pavilion-more:hover {
    background: transparent !important;
    color: var(--primary-hover, #D01B8B) !important;
    border-color: transparent !important;
    transform: translateX(3px);
    text-decoration: underline;
}

.category-pavilion-more i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.category-pavilion-more:hover i {
    transform: translateX(3px);
}

/* Slider Wrap with Next/Prev Arrow Navigation */
.category-pavilion-slider-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Horizontal Track with Smooth Scrolling */
.category-pavilion-grid {
    display: flex;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 3px 2px 3px;
    align-items: stretch;
}

.category-pavilion-grid::-webkit-scrollbar {
    display: none;
}

/* Circular Next / Prev Navigation Buttons */
.cat-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    padding: 0;
}

.cat-nav-arrow:hover {
    background: #EB30A2;
    color: #FFFFFF;
    border-color: #EB30A2;
    box-shadow: 0 4px 14px rgba(235, 48, 162, 0.38);
    transform: translateY(-50%) scale(1.1);
}

.cat-nav-arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.cat-nav-arrow i {
    font-size: 13px;
    font-weight: 700;
}

.cat-nav-arrow.cat-nav-next {
    right: -10px;
}

.cat-nav-arrow.cat-nav-prev {
    left: -10px;
}

/* Individual Category Item (Compact Circular Style) */
.cat-pavilion-card {
    flex: 0 0 calc((100% - 7 * 12px) / 8);
    min-width: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3px 2px 2px;
    background: transparent;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}

.cat-pavilion-card:hover {
    transform: translateY(-3px);
}

.cat-pavilion-thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
    position: relative;
    margin-bottom: 5px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-thumb-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.cat-pavilion-card:hover .cat-thumb-img {
    transform: scale(1.08);
}

.cat-pavilion-card:hover .cat-pavilion-thumb {
    border-color: #EB30A2;
    box-shadow: 0 6px 14px rgba(235, 48, 162, 0.22);
}

.cat-pavilion-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.cat-pavilion-name {
    font-size: 11.5px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    transition: color 0.2s ease;
}

.cat-pavilion-card:hover .cat-pavilion-name {
    color: var(--primary);
}

.cat-pavilion-desc {
    font-size: 9.5px;
    color: #64748B;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    text-align: center;
}

.cat-badge-hot {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFFFFF;
    font-size: 7.5px;
    font-weight: 800;
    padding: 1.5px 4.5px;
    border-radius: 999px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    z-index: 3;
    border: 1px solid #FFFFFF;
}

/* Harmonious Curated Color Themes */
.cat-pavilion-card.theme-amber {
    --pav-bg: #FFF7ED;
    --pav-border: #FED7AA;
    --pav-color: #EA580C;
}

.cat-pavilion-card.theme-pink {
    --pav-bg: #FDF2F8;
    --pav-border: #FBCFE8;
    --pav-color: #EB30A2;
}

.cat-pavilion-card.theme-purple {
    --pav-bg: #F5F3FF;
    --pav-border: #DDD6FE;
    --pav-color: #7C3AED;
}

.cat-pavilion-card.theme-green {
    --pav-bg: #ECFDF5;
    --pav-border: #A7F3D0;
    --pav-color: #059669;
}

.cat-pavilion-card.theme-red {
    --pav-bg: #FEF2F2;
    --pav-border: #FECDD3;
    --pav-color: #DC2626;
}

.cat-pavilion-card.theme-blue {
    --pav-bg: #EFF6FF;
    --pav-border: #BFDBFE;
    --pav-color: #0284C7;
}

.cat-pavilion-card.theme-teal {
    --pav-bg: #F0FDFA;
    --pav-border: #99F6E4;
    --pav-color: #0D9488;
}

.cat-pavilion-card.theme-slate {
    --pav-bg: #F8FAFC;
    --pav-border: #E2E8F0;
    --pav-color: #475569;
}

/* ==========================================================
   STICKY FLOATING CATEGORY BAR (PROFESSIONAL & SEAMLESS)
   Ultra-slick frosted glass backdrop, polished pill chips, smooth arrow rail
   ========================================================== */
.sticky-category-bar {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.07);
    z-index: 990;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.28s;
}

.sticky-category-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.sticky-cat-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    min-height: 46px;
    box-sizing: border-box;
}

.sticky-cat-lead {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #1E293B;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 5px 10px 5px 8px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.1px;
}

.sticky-cat-lead i {
    color: #EB30A2;
    font-size: 13px;
    line-height: 1;
}

/* Track Wrapper with Integrated Navigation Arrows */
.sticky-cat-track-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.sticky-cat-track {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding: 5px 4px; /* Ruang vertikal aman agar badge hot tidak terpotong */
    box-sizing: border-box;
}

.sticky-cat-track::-webkit-scrollbar {
    display: none;
}

/* Mini Arrow Navigation Buttons on Sticky Bar */
.sticky-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    padding: 0;
    font-size: 11px;
}

.sticky-arrow-btn:hover {
    background: #EB30A2;
    color: #FFFFFF;
    border-color: #EB30A2;
    box-shadow: 0 4px 10px rgba(235, 48, 162, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.sticky-arrow-btn.sticky-arrow-prev {
    left: 0;
}

.sticky-arrow-btn.sticky-arrow-next {
    right: 0;
}

/* Refined Category Chips (Professional Pill Look) */
.sticky-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px 4px 5px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.sticky-cat-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.sticky-chip-badge {
    position: absolute;
    top: -5px;
    right: -2px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #FFFFFF;
    font-size: 7.5px;
    font-weight: 800;
    padding: 1.5px 5px;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.35);
    border: 1px solid #FFFFFF;
    z-index: 2;
}

.sticky-all-icon {
    font-size: 13.5px;
    color: #EB30A2;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.sticky-cat-chip:hover {
    background: #FFF0F8;
    border-color: #F472B6;
    color: #DB2777;
    transform: translateY(-1.5px);
    box-shadow: 0 3px 8px rgba(235, 48, 162, 0.15);
}

.sticky-cat-chip:hover .sticky-all-icon {
    transform: translateX(2px);
}

.sticky-cat-chip.sticky-cat-all {
    background: #FAF5FF;
    border-color: #E9D5FF;
    color: #7E22CE;
}

.sticky-cat-chip.sticky-cat-all:hover {
    background: #7E22CE;
    color: #FFFFFF;
    border-color: #7E22CE;
}

.sticky-cat-chip.sticky-cat-all:hover .sticky-all-icon {
    color: #FFFFFF;
}

/* Polished Katalog CTA on Far Right */
.sticky-cat-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #DB2777;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #FFF0F8 0%, #FDF2F8 100%);
    border: 1px solid #FBCFE8;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(235, 48, 162, 0.08);
}

.sticky-cat-more-btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.sticky-cat-more-btn:hover {
    background: #EB30A2;
    color: #FFFFFF;
    border-color: #EB30A2;
    box-shadow: 0 3px 10px rgba(235, 48, 162, 0.3);
    transform: translateY(-1px);
}

.sticky-cat-more-btn:hover i {
    transform: translateX(2px);
}

/* Mobile Adjustments for Sticky Category Bar */
@media (max-width: 768px) {
    .sticky-cat-inner {
        padding: 5px 0;
        min-height: 40px;
        gap: 8px;
    }

    .sticky-cat-lead {
        padding: 4px 6px;
        font-size: 11px;
    }

    .sticky-cat-lead span {
        display: none;
    }

    .sticky-cat-lead i {
        font-size: 14px;
    }

    .sticky-arrow-btn {
        display: none !important;
    }

    .sticky-cat-chip {
        padding: 3px 10px 3px 4px;
        font-size: 11px;
        gap: 5px;
    }

    .sticky-cat-thumb {
        width: 19px;
        height: 19px;
    }

    .sticky-cat-more-btn {
        display: none;
    }
}

/* Section Titles */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.2px;
}

.section-more-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-more-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.product-carousel-wrapper {
    position: relative;
}

/* ==========================================================================
   2.5 FLASH SALE / PROMO SPESIAL HERO SHOWCASE (High-End & Energetic)
   ========================================================================== */
.flash-sale-hero-wrapper {
    background: linear-gradient(135deg, #FFF1F5 0%, #FFF8F0 50%, #FFFDF5 100%);
    border: 1.5px solid #FECDD3;
    border-radius: 20px;
    padding: 22px 24px;
    margin-bottom: 0;
    box-shadow: 0 10px 30px -4px rgba(235, 48, 162, 0.08), 0 2px 8px rgba(255, 136, 38, 0.04);
    position: relative;
    overflow: hidden;
}

.flash-sale-hero-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 0, 122, 0.12) 0%, rgba(255, 136, 38, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.flash-sale-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.flash-sale-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.flash-badge-fire {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #FF007A 0%, #FF5500 50%, #FF8800 100%);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(255, 0, 122, 0.35);
}

.flash-fire-anim {
    display: inline-block;
    color: #EA580C;
}

.flash-timer-cluster {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 4px 10px 4px 12px;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.flash-timer-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.flash-flip-boxes {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.flash-digit {
    background: #0F172A;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 24px;
    text-align: center;
}

.flash-colon {
    font-weight: 900;
    color: #0F172A;
    font-size: 13px;
}

.flash-see-all-btn {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(235, 48, 162, 0.2);
    border-radius: 999px;
    transition: all 0.22s ease;
}

.flash-see-all-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(235, 48, 162, 0.25);
}

/* Flash Grid & Cards */
.flash-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.flash-deal-card {
    background: #FFFFFF;
    border: 1px solid rgba(254, 205, 211, 0.7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.flash-deal-card:hover {
    transform: translateY(-2px);
    border-color: #FDA4AF;
    box-shadow: 0 6px 18px rgba(235, 48, 162, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.flash-card-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.flash-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.flash-deal-card:hover .flash-card-media img {
    transform: scale(1.03);
}

.flash-discount-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #E11D48;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: -0.2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.flash-badge-store {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.85);
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

.flash-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.flash-prod-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.35;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.flash-deal-card:hover .flash-prod-title {
    color: var(--primary);
}

.flash-prod-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.flash-price-current {
    font-size: 15px;
    font-weight: 900;
    color: #E11D48;
    letter-spacing: -0.3px;
}

.flash-price-original {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    text-decoration: line-through;
}

/* Stock Urgency Progress Track */
.flash-stock-box {
    margin-top: auto;
}

.flash-progress-track {
    height: 7px;
    background: #FEE2E2;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-bottom: 4px;
}

.flash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF007A 0%, #FF5500 50%, #FFB800 100%);
    border-radius: 999px;
    transition: width 0.6s ease;
}

.flash-stock-labels {
    font-size: 10px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-urgency-note {
    color: #FF5500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.flash-sold-note {
    color: #64748B;
    font-weight: 600;
}

/* Product Grid & Sleek Cards */
.product-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.mockup-product-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    height: 100%;
}

.mockup-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(235, 48, 162, 0.14), 0 6px 12px -4px rgba(15, 23, 42, 0.06);
    border-color: rgba(235, 48, 162, 0.45);
}

.prod-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #F8FAFC;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #F1F5F9;
}

.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mockup-product-card:hover .prod-img-wrap img {
    transform: scale(1.06);
}

/* Official / Binaan Badge - Hidden per user request */
.prod-badge-binaan {
    display: none !important;
}

/* Discount Badge */
.discount-badge-pink {
    position: absolute;
    top: 8px;
    right: 8px;
    left: auto;
    background: linear-gradient(135deg, #EB30A2 0%, #FF8826 100%);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    padding: 2.5px 6.5px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(235, 48, 162, 0.35);
    z-index: 2;
}

.prod-info-wrap {
    padding: 11px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 3px;
    background: #FFFFFF;
}

.prod-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    margin-bottom: 3px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mockup-product-card:hover .prod-title,
.prod-title:hover {
    color: var(--primary);
}

.prod-store-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: #64748B;
    line-height: 1.25;
    margin-bottom: 4px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.prod-store-row:hover {
    color: var(--primary);
}

.prod-store-row i {
    color: #94A3B8;
    font-size: 11.5px;
    flex-shrink: 0;
}

.prod-store-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.prod-price-now {
    font-size: 16.5px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.2px;
}

.prod-price-old {
    font-size: 11px;
    color: #94A3B8;
    text-decoration: line-through;
}

.prod-meta-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    font-size: 11px;
    color: #64748B;
    padding-top: 6px;
    border-top: 1px dashed #CBD5E1;
    margin-bottom: 2px;
}

.prod-meta-left {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    white-space: nowrap;
}

.prod-rating {
    display: inline-flex;
    align-items: center;
    gap: 2.5px;
    font-weight: 800;
    color: #0F172A;
}

.prod-rating i {
    color: #F59E0B;
    font-size: 11px;
}

.prod-meta-sep {
    color: #CBD5E1;
    font-size: 9px;
}

.prod-sold-count {
    color: #64748B;
    font-size: 10.5px;
    font-weight: 500;
}

.prod-location-text {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #64748B;
    font-size: 10.5px;
    white-space: nowrap;
    margin-left: auto;
}
.prod-location-text i {
    color: #EB30A2;
    font-size: 10px;
}

/* Add to Cart Button on Product Card */
.btn-card-add-cart,
button.btn-card-add-cart,
a.btn-card-add-cart {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 8.5px 12px !important;
    background: linear-gradient(135deg, #FF339F 0%, #FF1493 45%, #EB007A 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9px !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 3px 14px rgba(255, 20, 147, 0.42), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.2 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-card-add-cart:hover,
button.btn-card-add-cart:hover,
a.btn-card-add-cart:hover {
    background: linear-gradient(135deg, #FF4DB3 0%, #FF269E 45%, #F50082 100%) !important;
    color: #FFFFFF !important;
    filter: brightness(1.06) !important;
    box-shadow: 0 6px 20px rgba(255, 20, 147, 0.65), 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-1.5px) !important;
}

.btn-card-add-cart:active,
button.btn-card-add-cart:active {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(255, 20, 147, 0.35) !important;
}

.btn-card-add-cart i {
    font-size: 13.5px !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
}

.btn-card-add-cart span {
    color: #FFFFFF !important;
}

.btn-card-add-cart:disabled {
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Spinner for AJAX button */
.btn-spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: btn-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================
   TOKO PILIHAN (FEATURED STORES GRID)
   ========================================================== */

.store-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.store-chip-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: var(--transition);
}

.store-chip-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(235, 48, 162, 0.4);
}

.store-chip-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-subtle);
    flex-shrink: 0;
    background: #F8FAFC;
}

.store-chip-info {
    overflow: hidden;
    flex: 1;
}

.store-chip-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-chip-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.store-chip-rating i {
    color: #F59E0B;
    font-size: 11px;
}

.store-chip-loc {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================
   PRODUCT DETAIL PAGE STYLES
   ========================================================== */

.product-detail-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr) 300px;
    gap: 24px;
    margin-top: 16px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.gallery-container {
    display: flex;
    flex-direction: column;
}

.main-image-view {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.main-image-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-strip {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.thumb-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: #FFFFFF;
}

.thumb-item.active {
    border-color: var(--primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info-center h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 10px;
}

.detail-price-highlight {
    background: #FFF0F7;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.detail-price-now {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

.detail-price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

.seller-shop-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sticky-buy-box {
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
    height: fit-content;
}

.qty-picker, .qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border-subtle);
    border-radius: 8px;
    width: fit-content;
    overflow: hidden;
    background: #FFFFFF;
}

.qty-btn {
    background: #F8FAFC;
    border: none;
    width: 34px;
    height: 34px;
    font-weight: 800;
    font-size: 16px;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #E2E8F0;
    color: var(--primary);
}

.qty-input {
    width: 44px;
    height: 34px;
    border: none;
    text-align: center;
    font-weight: 800;
    font-size: 13.5px;
    outline: none;
    color: var(--dark);
    background: #FFFFFF;
}

/* Detail Meta Row & Price Card */
.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.detail-price-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 12px 0 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #F1F5F9;
}

.big-price {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.seller-box-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    box-shadow: none;
}

.seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-subtle);
    flex-shrink: 0;
}

.verified-badge {
    font-size: 11px;
    font-weight: 700;
    color: #065F46;
    background: #ECFDF5;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
    border: 1px solid #A7F3D0;
}

.btn-primary-action {
    background: var(--primary);
    color: #FFFFFF;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(235, 48, 162, 0.25);
}

.btn-primary-action:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(235, 48, 162, 0.35);
}

/* Radiant Signature Betawi Pink - Add to Cart Button (Product Detail) */
#btnDetailAddToCart,
.btn-detail-add-cart {
    background: linear-gradient(135deg, #FF339F 0%, #FF1493 45%, #EB007A 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 13px 18px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 0.2px !important;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.45), 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#btnDetailAddToCart::after,
.btn-detail-add-cart::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: none;
}

#btnDetailAddToCart:hover,
.btn-detail-add-cart:hover {
    background: linear-gradient(135deg, #FF4DB3 0%, #FF269E 45%, #F50082 100%) !important;
    box-shadow: 0 7px 26px rgba(255, 20, 147, 0.65), 0 3px 8px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px) !important;
    filter: brightness(1.05) !important;
}

#btnDetailAddToCart:hover::after,
.btn-detail-add-cart:hover::after {
    left: 140%;
    transition: all 0.65s ease-in-out;
}

#btnDetailAddToCart:active,
.btn-detail-add-cart:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 10px rgba(255, 20, 147, 0.4) !important;
}

#btnDetailAddToCart i,
.btn-detail-add-cart i {
    color: #FFFFFF !important;
    font-size: 16px !important;
}

.btn-secondary-action {
    background: #FFFFFF;
    color: var(--dark);
    border: 1.5px solid var(--dark);
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary-action:hover {
    background: #F8FAFC;
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================
   CART & CHECKOUT STYLES
   ========================================================== */

.cart-layout,
.cart-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    margin-top: 20px;
    margin-bottom: 50px;
    align-items: start;
}

.seller-cart-group,
.store-cart-group {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 18px;
}

.seller-cart-header,
.store-cart-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 16px;
    font-weight: 700;
}

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #F1F5F9;
}

.cart-item-img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1 1 auto;
    min-width: 0;
}

.cart-item-actions-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cart-summary-box {
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

@media (max-width: 1024px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .cart-layout,
    .cart-layout-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .seller-cart-group,
    .store-cart-group {
        padding: 14px !important;
        border-radius: 14px !important;
        margin-bottom: 14px !important;
    }
    .seller-cart-header,
    .store-cart-header {
        font-size: 13px !important;
        padding-bottom: 10px !important;
        margin-bottom: 12px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .cart-item-row {
        display: grid !important;
        grid-template-columns: 68px 1fr !important;
        gap: 12px !important;
        padding-bottom: 14px !important;
        margin-bottom: 14px !important;
        align-items: start !important;
    }
    .cart-item-img {
        width: 68px !important;
        height: 68px !important;
        border-radius: 10px !important;
    }
    .cart-item-actions-col {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 10px !important;
        border-top: 1px dashed #F1F5F9 !important;
        margin-top: 2px !important;
    }
    .cart-summary-box {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }
}

/* Store Chips */
.store-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.store-chip-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.store-chip-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 48, 162, 0.08);
}

.store-chip-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border-subtle);
    flex-shrink: 0;
}

.store-chip-info {
    flex: 1;
    overflow: hidden;
}

.store-chip-title {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.store-chip-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.store-chip-rating i {
    color: #F59E0B;
    font-size: 11px;
}

.store-chip-loc {
    font-size: 10.5px;
    color: var(--text-secondary);
}

/* Right Sidebar Cards */
.home-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.side-feature-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.side-feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.side-card-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.side-card-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-card-desc {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-card-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================
   OFFICIAL GOVERNMENT PARTNERSHIP BANNER (SUDIN PPKUKM JAKTIM)
   ========================================================== */
.gov-partnership-card {
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.gov-partnership-card:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.11);
}

.gov-partner-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.gov-presented-by-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}

.gov-presented-by-label i {
    color: var(--primary);
    font-size: 11px;
}

.umiba-institute-header {
    display: flex;
    align-items: center;
    gap: 13px;
    background: transparent;
    border: none;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.umiba-institute-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.umiba-institute-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.umiba-institute-program {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    text-transform: none;
    letter-spacing: 0.1px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.umiba-institute-name {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    margin: 0;
    line-height: 1.25;
}

.gov-supported-by-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    margin-bottom: -2px;
}

.gov-supported-by-label i {
    color: var(--primary);
    font-size: 11px;
}

.gov-partner-logos-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #F8FAFC;
    border: none;
    border-radius: 12px;
    padding: 8px 10px;
}

.gov-partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.gov-partner-logo {
    height: 30px;
    max-height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.22s ease;
}

.gov-partner-logo-item:hover .gov-partner-logo {
    transform: translateY(-2px) scale(1.08);
}

.gov-partner-logo-item.gov-logo-wide {
    flex: 1.3;
}

.gov-partner-logo-item.gov-logo-wide .gov-partner-logo {
    height: 25px;
    max-height: 26px;
}

.gov-partner-titles {
    display: flex;
    flex-direction: column;
}

.gov-partner-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--primary);
    background: #FFF0F8;
    border: none;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gov-partner-heading {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin: 0 0 2px 0;
}

.gov-partner-sub {
    font-size: 11px;
    color: #64748B;
    display: block;
    line-height: 1.2;
}

.gov-partner-intro {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 10px;
}

.gov-services-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.gov-service-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
}

.gov-service-item i {
    font-size: 13px;
    color: var(--primary);
    flex-shrink: 0;
}

.gov-helpdesk-box {
    background: #F8FAFC;
    border: none;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 12px;
}

.gov-helpdesk-title {
    font-size: 11px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.gov-helpdesk-title i {
    color: var(--primary);
}

.gov-helpdesk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10.5px;
    line-height: 1.5;
}

.gov-helpdesk-label {
    color: #64748B;
}

.gov-helpdesk-val {
    color: #0F172A;
    font-weight: 700;
}

/* Authentic Government Action Strip (CTA Card Concept) */
.gov-partner-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #FFF5FA;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(235, 48, 162, 0.06);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.gov-partner-cta-strip:hover {
    background: #FFEAF5;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(235, 48, 162, 0.12);
}

.cta-strip-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.cta-strip-sub {
    font-size: 10px;
    color: #64748B;
    font-weight: 500;
    line-height: 1.2;
}

.cta-strip-main {
    font-size: 12.5px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
}

.cta-strip-action {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FFFFFF;
    border: none;
    color: #EB30A2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.gov-partner-cta-strip:hover .cta-strip-action {
    background: #EB30A2;
    color: #FFFFFF;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(235, 48, 162, 0.25);
}

/* ==========================================================
   OFFICIAL ZONING HUB (SENTRA 10 KECAMATAN)
   ========================================================== */
.gov-zoning-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 18px 18px 20px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.gov-zoning-card:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.gov-zoning-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gov-zoning-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gov-zoning-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #FFF0F8;
    color: #EB30A2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.gov-zoning-card:hover .gov-zoning-icon-badge {
    transform: scale(1.05);
}

.gov-zoning-title-block {
    display: flex;
    flex-direction: column;
}

.gov-zoning-title {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 2px 0;
    line-height: 1.25;
    letter-spacing: -0.2px;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.gov-zoning-sub {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
    line-height: 1.3;
}

.gov-zoning-all-link {
    font-size: 13px;
    font-weight: 700;
    color: #EB30A2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.gov-zoning-all-link:hover {
    color: #D01B8B;
    transform: translateX(3px);
}

.gov-zoning-divider {
    height: 1px;
    background: #F1F5F9;
    margin: 12px 0 14px 0;
    width: 100%;
}

.gov-zoning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px 6px;
}

.gov-zoning-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 7px 9px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    position: relative;
}

.gov-zoning-item .gov-zoning-icon {
    color: #CBD5E1;
    font-size: 13px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.gov-zoning-item .zoning-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    letter-spacing: -0.1px;
}

.gov-zoning-item:hover {
    background: #FFF0F8;
    color: #EB30A2;
    transform: translateX(3px);
    box-shadow: none;
}

.gov-zoning-item:hover .gov-zoning-icon {
    color: #EB30A2;
    transform: scale(1.15);
}

.gov-zoning-footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px dashed #F1F5F9;
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.35;
}

.gov-zoning-footer i {
    color: #EB30A2;
    font-size: 13px;
    flex-shrink: 0;
}

.side-card-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.side-card-img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    object-fit: contain;
}

.why-shop-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.why-shop-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.why-shop-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: -0.2px;
}

.why-shop-title i {
    color: #059669;
    font-size: 16px;
}

.why-shop-subtitle {
    font-size: 11.5px;
    color: #64748B;
    margin: 0;
    line-height: 1.35;
}

.why-shop-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 0;
}

.why-item-icon {
    font-size: 15px;
    color: #EB30A2;
    flex-shrink: 0;
    margin-top: 1px;
}

.why-info {
    flex: 1;
    min-width: 0;
}

.why-info-title {
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    line-height: 1.3;
    margin-bottom: 2px;
    display: block;
}

.why-info-desc {
    font-size: 11.5px;
    color: #64748B;
    line-height: 1.4;
    margin: 0;
    display: block;
}

.why-guarantee-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px dashed #F1F5F9;
    font-size: 12px;
    font-weight: 600;
    color: #EB30A2;
    text-decoration: none;
    transition: color 0.15s ease;
}

.why-guarantee-link:hover {
    color: #D01B8B;
    text-decoration: underline;
}

.why-guarantee-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.why-guarantee-link:hover i {
    transform: translateX(3px);
}

.promo-pink-card {
    background: linear-gradient(135deg, #EB30A2 0%, #FF8826 100%);
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(235, 48, 162, 0.28);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.promo-card-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.promo-card-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.promo-card-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
    margin-bottom: 12px;
}

.promo-card-btn {
    background: #FFFFFF;
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-block;
    transition: var(--transition);
}

.promo-card-btn:hover {
    background: #FFF0F7;
    transform: translateY(-1px);
}

.promo-card-img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ==========================================================
   CATALOG & PROMO PAGE (PRODUCTS.PHP) RESPONSIVE STYLES
   ========================================================== */

.catalog-layout-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.catalog-sidebar {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 24px 20px 0;
    border-right: 1px solid #E2E8F0;
    box-shadow: none;
    position: sticky;
    top: 90px;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
}

/* ==========================================================
   HUMAN-CRAFTED CATALOG NAVIGATION & ACTION TOOLBAR (CLEAN & PROFESSIONAL)
   ========================================================== */

/* 1. Horizontal Category Nav Pills */
.catalog-category-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid #E2E8F0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
    .catalog-category-nav {
        justify-content: flex-start;
    }
}

.catalog-category-nav::-webkit-scrollbar {
    display: none;
}

.cat-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: none;
}

.cat-nav-pill i {
    font-size: 13.5px;
    color: #64748B;
    transition: color 0.2s ease;
}

.cat-nav-pill:hover {
    background: #F1F5F9;
    border-color: #94A3B8;
    color: #0F172A;
}

.cat-nav-pill:hover i {
    color: var(--primary);
}

.cat-nav-pill.active {
    background: #0F172A;
    color: #FFFFFF !important;
    font-weight: 700;
    border-color: #0F172A;
    box-shadow: none;
}

.cat-nav-pill.active i {
    color: #FFFFFF !important;
}

.cat-nav-pill.pill-promo {
    background: #FFFFFF;
    border-color: #FED7AA;
    color: #EA580C;
    box-shadow: none;
}

.cat-nav-pill.pill-promo i {
    color: #EA580C;
}

.cat-nav-pill.pill-promo:hover {
    background: #FFF7ED;
    border-color: #FDBA74;
    color: #C2410C;
}

.cat-nav-pill.pill-promo.active {
    background: #EA580C;
    color: #FFFFFF !important;
    border-color: #EA580C;
    box-shadow: none;
}

.cat-nav-pill.pill-promo.active i {
    color: #FFFFFF !important;
}

/* 2. Unified Professional Action Toolbar (No Box / Clean Divider) */
.catalog-action-toolbar {
    background: transparent;
    border: none;
    border-bottom: 1px solid #E2E8F0;
    border-radius: 0;
    padding: 6px 0 16px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: none;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-product-counter {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.catalog-product-counter strong {
    color: #0F172A;
    font-weight: 700;
    margin: 0 4px;
}

.toolbar-active-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.active-filter-tag a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: all 0.15s ease;
    margin-left: 2px;
}

.active-filter-tag a:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.active-filter-tag.tag-promo {
    background: #FFF7ED;
    border-color: #FED7AA;
    color: #C2410C;
}

.toolbar-reset-link {
    font-size: 12px;
    font-weight: 600;
    color: #EF4444;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 4px;
    transition: color 0.15s ease;
}

.toolbar-reset-link:hover {
    color: #DC2626;
}

.filter-clean-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.filter-clean-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.filter-clean-icon {
    font-size: 11px;
    color: #64748B;
    pointer-events: none;
    flex-shrink: 0;
}

.filter-clean-select {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 11.5px;
    font-weight: 600;
    color: #1E293B;
    cursor: pointer;
    padding: 2px 14px 2px 2px;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%2364748B' d='M0 0l4 5 4-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 7px 4.5px;
    transition: color 0.15s ease;
}

.filter-clean-select:hover {
    color: var(--primary, #EB30A2);
}

.filter-clean-select option {
    background: #FFFFFF;
    color: #0F172A;
    font-size: 12px;
}

.filter-clean-sep {
    color: #CBD5E1;
    font-size: 9px;
    user-select: none;
}

@media (max-width: 768px) {
    .catalog-action-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 6px 0 12px;
        border-bottom: 1px solid #E2E8F0;
    }

    .toolbar-left {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .filter-clean-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 14px;
        width: 100%;
        margin-left: 0;
        padding-top: 2px;
    }

    .filter-clean-item {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
        padding: 4px 0;
        border-bottom: 1px solid #F1F5F9;
    }

    .filter-clean-icon {
        font-size: 12px;
        color: #64748B;
        flex-shrink: 0;
    }

    .filter-clean-select {
        width: 100%;
        min-width: 0;
        font-size: 11.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 14px;
    }

    .filter-clean-sep {
        display: none !important;
    }
}

/* Horizontal Scrollable Quick Category Chips Bar (Mobile & Desktop) */
.quick-category-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.quick-category-scroll::-webkit-scrollbar {
    display: none;
}

.quick-cat-chip {
    white-space: nowrap;
    padding: 7px 16px;
    border-radius: 999px;
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    flex-shrink: 0;
}

.quick-cat-chip:hover, .quick-cat-chip.active {
    background: var(--primary);
    color: #FFFFFF !important;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(235, 48, 162, 0.25);
}

.quick-cat-chip.jumat-chip {
    background: #FFF0F7;
    border-color: #FED7AA;
    color: var(--primary);
}

.quick-cat-chip.jumat-chip.active {
    background: linear-gradient(135deg, #EB30A2, #FF8826);
    color: #FFFFFF !important;
}

/* Promo Banner Header Card */
.promo-jumat-banner-card {
    background: linear-gradient(135deg, #FFF0F7 0%, #FFE2F0 30%, #EB30A2 70%, #FF8826 100%);
    border-radius: 18px;
    padding: 24px 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 16px rgba(235, 48, 162, 0.1);
    position: relative;
    overflow: hidden;
}

/* Mobile Category Explorer Hub Styles */
.mobile-category-hub {
    display: none; /* hidden on desktop */
}

.mobile-cat-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.mob-cat-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.mob-cat-card:hover, .mob-cat-card:active {
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 48, 162, 0.12);
}

.mob-cat-card.promo-highlight {
    background: linear-gradient(135deg, #FFF0F7, #FFE2F0);
    border-color: #FED7AA;
}

.mob-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.mob-cat-info {
    flex: 1;
    overflow: hidden;
}

.mob-cat-info h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.mob-cat-info p {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mob-cat-arrow {
    color: var(--text-muted);
    font-size: 16px;
}

.mob-kecamatan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mob-kec-chip {
    padding: 8px 10px;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
}

.mob-kec-chip:hover, .mob-kec-chip:active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.btn-back-to-categories {
    padding: 6px 12px;
    background: #FFF0F7;
    color: var(--primary);
    border: 1px solid #FED7AA;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-back-to-categories:hover {
    background: var(--primary);
    color: #FFFFFF;
}

/* Standard Product Grid & Cards (for products.php) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #F8FAFC;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.04);
}

.jumat-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.discount-ribbon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #0F172A;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.product-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-kecamatan-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.product-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 6px;
}

.current-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.old-price {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: var(--dark);
}

.product-rating i {
    color: #F59E0B;
}

.btn-quick-add:not(.btn-card-add-cart) {
    width: 100%;
    padding: 7px 10px;
    background: #FFFFFF;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quick-add:not(.btn-card-add-cart):hover {
    background: var(--primary);
    color: #FFFFFF;
}

/* Standard Content Box */
.content-box {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}

.status-pending { background: #FEF3C7; color: #92400E; }
.status-paid { background: #ECFDF5; color: #065F46; }
.status-processing { background: #E0F2FE; color: #075985; }
.status-shipped { background: #EEF2FF; color: #3730A3; }
.status-completed { background: #ECFDF5; color: #065F46; }
.status-cancelled { background: #FEF2F2; color: #991B1B; }

/* Action Buttons */
.btn-primary-action {
    background: var(--primary);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary-action:hover {
    background: var(--primary-hover);
    color: #FFFFFF;
}

.btn-simulate-pay {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.btn-simulate-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

/* Courier & Payment Option Radio Cards */
.courier-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.courier-card:hover {
    border-color: var(--primary);
    background: #FFF0F7;
}

.courier-card.selected {
    border-color: var(--primary);
    background: #FFF0F7;
    box-shadow: 0 0 0 2px rgba(235, 48, 162, 0.15);
}

/* Main Footer */
.main-footer {
    background: #0F172A;
    color: #F8FAFC;
    padding: 48px 0 24px;
    margin-top: 60px;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 36px;
}

.footer-brand h3 {
    font-size: 20px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    font-size: 12.5px;
    color: #94A3B8;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    font-size: 12.5px;
    color: #94A3B8;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #FED7AA;
    transform: translateX(3px);
    display: inline-block;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 12px;
    color: #64748B;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================
   AUTHENTICATION EXPERIENCE (ULTRA MODERN & HARMONIOUS)
   JAMUR BETAWI x PROGRAM P2M UNIVERSITAS MITRA BANGSA (UMIBA)
   ========================================================== */

.auth-modern-wrapper {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 32px 16px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.auth-master-card {
    width: 100%;
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 20px 60px -15px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.1);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    overflow: hidden;
    position: relative;
}

/* ----------------------------------------------------------
   LEFT SHOWCASE: EXECUTIVE DARK SLATE & AMBIENT BRAND LIGHT
   ---------------------------------------------------------- */
.auth-showcase-panel {
    background: linear-gradient(155deg, #090E1E 0%, #0F172A 55%, #18142A 100%);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

/* Ambient Radial Glows (Modern Depth) */
.auth-ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.45;
}

.orb-1 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(235, 48, 162, 0.45) 0%, transparent 70%);
    top: -60px;
    right: -40px;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 136, 38, 0.35) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
}

.auth-panel-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

/* Top Partnership Lockup */
.auth-partnership-lockup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.auth-logos-capsule {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 999px;
}

.capsule-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.capsule-logo img {
    height: 26px;
    width: auto;
    max-width: 32px;
    object-fit: contain;
}

.capsule-logo.logo-umiba {
    background: #FFFFFF;
    border-radius: 6px;
    padding: 2px;
}

.capsule-logo.logo-umiba img {
    height: 22px;
}

.capsule-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.25);
}

.auth-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #FED7AA;
    background: rgba(255, 136, 38, 0.12);
    border: 1px solid rgba(255, 136, 38, 0.25);
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}

.live-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF8826;
    box-shadow: 0 0 8px #FF8826;
}

/* Hero Typography */
.auth-hero-headline {
    margin-bottom: 24px;
}

.auth-kicker-text {
    font-size: 11.5px;
    font-weight: 800;
    color: #A7F3D0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.auth-brand-heading {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    color: #FFFFFF;
    margin: 0 0 6px;
    letter-spacing: -0.6px;
}

.auth-brand-heading .gradient-text {
    color: var(--primary, #EB30A2);
}

.auth-acronym-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #CBD5E1;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-acronym-badge .acronym-letter {
    color: #EB30A2;
    font-weight: 900;
}

.auth-mission-desc {
    font-size: 12.5px;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

.auth-mission-desc strong {
    color: #E2E8F0;
}

/* Precision Glass Feature Tiles */
.auth-value-tiles {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.value-tile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 14px;
    transition: var(--transition-fast);
}

.value-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.tile-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tile-icon-wrap.icon-umiba {
    background: #FFFFFF;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tile-icon-wrap.icon-umiba img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.tile-icon-wrap.icon-jamur {
    background: rgba(235, 48, 162, 0.15);
    border: 1px solid rgba(235, 48, 162, 0.3);
    padding: 3px;
}

.tile-icon-wrap.icon-jamur img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.tile-icon-wrap.icon-shield {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34D399;
    font-size: 18px;
}

.tile-content {
    flex: 1;
}

.tile-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 2px;
    letter-spacing: -0.1px;
}

.tile-text {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.45;
    margin: 0;
}

/* Left Showcase Footer */
.auth-panel-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.collab-tagline {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 5px;
}

.collab-tagline .text-emerald {
    color: #10B981;
}

.collab-institutions {
    font-size: 11px;
    color: #CBD5E1;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.collab-institutions .sep {
    color: #64748B;
}

/* ----------------------------------------------------------
   RIGHT SIDE: CLEAN, PRECISE, EXECUTIVE AUTH FORM
   ---------------------------------------------------------- */
.auth-form-panel {
    background: #FFFFFF;
    padding: 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Segmented Control Switcher */
.auth-segmented-control {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: #F1F5F9;
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #E2E8F0;
}

.segment-btn {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    color: #64748B;
}

.segment-btn.active {
    background: #FFFFFF;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.segment-btn:hover:not(.active) {
    color: #0F172A;
}

/* Form Header */
.form-header-box {
    margin-bottom: 20px;
}

.form-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF0F7;
    border: 1px solid rgba(235, 48, 162, 0.2);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.badge-icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.form-title {
    font-size: 23px;
    font-weight: 900;
    color: #0F172A;
    margin: 0 0 4px;
    letter-spacing: -0.4px;
}

.form-subtitle {
    font-size: 12.5px;
    color: #64748B;
    margin: 0;
    line-height: 1.45;
}

/* Error Alert */
.auth-error-alert {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Form Fields */
.auth-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-label {
    font-size: 12px;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: -0.1px;
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forgot-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #C01878;
    text-decoration: underline;
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    color: #94A3B8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.form-modern-input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 13.5px;
    color: #0F172A;
    background: #F8FAFC;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    box-sizing: border-box;
}

.form-modern-input:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(235, 48, 162, 0.1);
}

.form-modern-input:focus + .field-icon,
.form-input-wrapper:focus-within .field-icon {
    color: var(--primary);
}

.form-modern-input.has-toggle {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: #0F172A;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #EB30A2 0%, #FF8826 100%);
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(235, 48, 162, 0.28);
    margin-top: 4px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(235, 48, 162, 0.38);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* Bottom Academic Credit Card */
.auth-academic-credit-card {
    margin-top: 20px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.credit-logo-box {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 2px;
}

.credit-logo-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.credit-text-box {
    flex: 1;
}

.credit-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #1E293B;
    line-height: 1.25;
}

.credit-sub {
    font-size: 10.5px;
    color: #64748B;
    line-height: 1.35;
}

/* Alternative Link */
.auth-alt-switch {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
}

.alt-label {
    color: #64748B;
}

.alt-link {
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    margin-left: 4px;
}

.alt-link:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------
   REGISTER FORM: AUTH-FORM-INPUT (Unified Input Style)
   ---------------------------------------------------------- */
.auth-form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px 0 40px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit;
    color: #0F172A;
    background: #F8FAFC;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-form-input:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.1);
}

.auth-form-input::placeholder {
    color: #94A3B8;
    font-size: 12.5px;
}

/* Input tanpa icon (field area/lokasi) */
.auth-form-input.no-icon {
    padding-left: 14px;
}

/* Dropdown Select Styles for Auth Form */
select.auth-form-input,
.auth-form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    padding-right: 36px !important;
}

select.auth-form-input:disabled,
.auth-form-select:disabled {
    background-color: #F1F5F9;
    color: #94A3B8;
    cursor: not-allowed;
    border-color: #E2E8F0;
    opacity: 0.75;
}

select.auth-form-input:focus,
.auth-form-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23EB30A2' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Subtle spinner during loading state */
.auth-form-select.is-loading {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23EB30A2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E");
    background-size: 16px 16px;
    animation: authSelectSpin 0.8s linear infinite;
}

@keyframes authSelectSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Textarea untuk form modern (register) */
.auth-modern-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit;
    color: #0F172A;
    background: #F8FAFC;
    outline: none;
    resize: vertical;
    min-height: 72px;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modern-textarea:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.1);
}

.auth-modern-textarea::placeholder {
    color: #94A3B8;
    font-size: 12.5px;
}

/* Section divider dalam form register */
.reg-section-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
}

.reg-section-divider span {
    font-size: 11px;
    font-weight: 800;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.reg-section-divider::before,
.reg-section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

/* Form row grid (2 kolom) */
.reg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Field wrapper untuk form register */
.reg-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reg-field label {
    font-size: 11.5px;
    font-weight: 800;
    color: #1E293B;
    letter-spacing: -0.1px;
}

.reg-field label .req {
    color: var(--primary);
    margin-left: 2px;
}

.reg-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.reg-input-wrap > i {
    position: absolute;
    left: 13px;
    font-size: 15px;
    color: #94A3B8;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 1;
}

.reg-input-wrap:focus-within > i {
    color: var(--primary);
}

.reg-input-wrap .auth-form-input {
    padding-left: 38px;
}

/* Textarea register */
.reg-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit;
    color: #0F172A;
    background: #F8FAFC;
    outline: none;
    resize: vertical;
    min-height: 72px;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reg-textarea:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.1);
}

.reg-textarea::placeholder {
    color: #94A3B8;
    font-size: 12.5px;
}

@media (max-width: 580px) {
    .reg-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .auth-modern-wrapper {
        padding: 16px 12px 60px;
    }
    .auth-master-card {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
    .auth-showcase-panel {
        padding: 28px 20px 24px;
    }
    .auth-form-panel {
        padding: 28px 20px;
    }
    .auth-brand-heading {
        font-size: 26px;
    }
    .orb-1, .orb-2 {
        display: none;
    }
}

/* ==========================================================
   MOBILE HEADER & BOTTOM NAVIGATION STYLES
   ========================================================== */

.mobile-header-actions {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}

/* ==========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE / ANDROID)
   ========================================================== */

@media (max-width: 1280px) {
    .home-layout-grid {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 16px;
    }
    .product-grid-5 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
    .store-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .category-icon-bar {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .home-layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .home-sidebar-col {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 14px;
    }
    .product-grid-5 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .store-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .category-icon-bar {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
    .hero-floating-seal {
        display: none;
    }
}

@media (max-width: 1024px) {
    .home-layout-grid {
        grid-template-columns: 1fr;
    }
    .home-sidebar-col {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 12px;
    }
    .category-icon-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .product-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .category-pavilion-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        margin: 0 -12px;
        padding: 4px 12px 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }
    .category-pavilion-grid::-webkit-scrollbar {
        display: none;
    }
    .cat-pavilion-card {
        flex: 0 0 84px;
        width: 84px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 4px;
        scroll-snap-align: start;
    }
    .cat-pavilion-thumb {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        border: 2px solid #E2E8F0;
    }
    .cat-thumb-img {
        border-radius: 50%;
    }
    .store-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .catalog-layout-grid {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    .catalog-sidebar {
        display: none !important;
    }
    .catalog-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 68px; /* space for mobile bottom nav */
    }

    .home-layout-grid {
        margin-top: 10px !important;
        margin-bottom: 16px !important;
        gap: 14px !important;
    }
    .home-main-col {
        gap: 14px !important;
    }

    /* Catalog Full Width & Sidebar Hidden on Mobile */
    .catalog-layout-grid {
        display: block !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    .catalog-sidebar {
        display: none !important;
    }
    .catalog-product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* Mobile Header: Sticky Floating at Top */
    .main-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #E2E8F0;
        padding: 8px 0 10px;
        background: #FFFFFF;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        z-index: 1000;
        transition: box-shadow 0.2s ease;
    }
    .main-header .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Mengambang Ketika di-Scroll ke Bawah di Ponsel */
    .main-header.is-floating {
        top: 0;
        box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.12);
        border-bottom: 1px solid #E2E8F0;
        background: #FFFFFF;
    }
    .header-inner {
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }
    .brand-logo {
        max-width: calc(100% - 95px);
        min-width: 0;
        gap: 9px;
    }
    .brand-official-logo {
        height: 34px;
        width: auto;
    }
    .brand-mascot-badge {
        height: 22px;
        width: auto;
        margin-left: 6px;
    }
    .brand-main-title {
        font-size: 16px;
        font-weight: 900;
        line-height: 1.1;
        letter-spacing: -0.2px;
        white-space: nowrap;
        gap: 5px; /* Spasi jelas antara JAMUR dan BETAWI di HP */
        margin-bottom: 2px;
    }
    .brand-sub-badge {
        font-size: 9.5px;
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }
    .region-text {
        font-size: 9.5px;
        display: inline-flex;
        align-items: center;
    }
    .slogan-animated {
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
        font-size: 9.5px;
        letter-spacing: normal;
        padding: 0 2px;
        white-space: nowrap;
    }
    .brand-jt-initial {
        font-size: 10.5px !important;
    }
    .brand-mobile-subtitle {
        display: none !important;
    }
    .official-pill {
        font-size: 8.5px;
        font-weight: 700;
        padding: 1px 4px;
        border-radius: 4px;
        background: #ECFDF5;
        color: #059669;
        border: 1px solid #A7F3D0;
    }
    @media (max-width: 480px) {
        .brand-sub-badge {
            gap: 3px;
        }
        .region-text,
        .slogan-animated {
            font-size: 8.8px !important;
            letter-spacing: normal;
            gap: 3.5px;
        }
        .brand-jt-initial {
            font-size: 9.8px !important;
        }
        .official-pill {
            font-size: 8px;
            padding: 1px 3px;
        }
    }
    @media (max-width: 380px) {
        .region-text,
        .slogan-animated {
            font-size: 8.2px !important;
            letter-spacing: normal;
            gap: 3px;
        }
        .brand-jt-initial {
            font-size: 9.2px !important;
        }
        .official-pill {
            display: none !important;
        }
    }
    .header-nav-items {
        display: none;
    }
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .mobile-icon-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        color: #0F172A;
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        text-decoration: none;
        transition: var(--transition-fast);
    }
    .mobile-icon-btn:active {
        background: #F1F5F9;
        transform: scale(0.96);
    }
    .mobile-cart-badge {
        position: absolute;
        top: -3px;
        right: -3px;
        background: var(--primary);
        color: #FFFFFF;
        font-size: 9px;
        font-weight: 800;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
        border-radius: 999px;
        text-align: center;
        padding: 0 3px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }
    .mobile-login-pill {
        background: var(--primary);
        color: #FFFFFF !important;
        font-size: 12px;
        font-weight: 700;
        padding: 6px 14px;
        border-radius: 6px;
        text-decoration: none;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
        white-space: nowrap;
    }
    .mobile-user-avatar img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
        border: 1.5px solid var(--border-subtle);
    }
    .header-search-box {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
    }
    .search-wrapper {
        background: #F8FAFC;
        border: 1px solid #CBD5E1;
        border-radius: 8px;
        padding: 2px 4px 2px 11px;
        box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    }
    .search-wrapper:focus-within {
        background: #FFFFFF;
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(235, 48, 162, 0.1);
    }
    .search-lead-icon {
        font-size: 14px;
        color: #94A3B8;
        margin-right: 8px;
    }
    .search-input {
        font-size: 12.5px;
        padding: 7px 0;
        color: var(--dark);
    }
    .search-input::placeholder {
        font-size: 12px;
        color: #94A3B8;
    }
    .search-btn {
        background: var(--primary);
        color: #FFFFFF;
        border: none;
        border-radius: 6px;
        padding: 6px 14px;
        font-size: 12px;
        font-weight: 700;
    }

    /* Flash Sale Mobile */
    .flash-sale-hero-wrapper {
        padding: 16px 14px;
        border-radius: 16px;
        margin-bottom: 0 !important;
    }
    .flash-sale-header-bar {
        gap: 10px;
        margin-bottom: 14px;
    }
    .flash-badge-fire {
        font-size: 10.5px;
        padding: 4px 10px;
    }
    .flash-timer-cluster {
        padding: 3px 8px 3px 10px;
    }
    .flash-digit {
        font-size: 11.5px;
        padding: 2px 5px;
        min-width: 20px;
    }
    .flash-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Grids on mobile */
    .product-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    /* Mobile Category Pavilion: Sleek, Compact & Clearly Smaller Than Hero Banner */
    .category-pavilion-container {
        padding: 9px 10px 8px;
        border-radius: 10px;
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        box-shadow: none;
        margin-bottom: 0 !important;
    }
    .category-pavilion-header {
        margin-bottom: 6px;
        padding-bottom: 4px;
        gap: 6px;
    }
    .category-pavilion-badge {
        font-size: 9px;
        margin-bottom: 1px;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }
    .category-pavilion-heading {
        font-size: 13.5px;
    }
    .category-pavilion-subheading {
        display: none;
    }
    .category-pavilion-more {
        font-size: 10.5px;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    /* 1-Row Smooth Horizontal Rail on Mobile */
    .category-pavilion-grid {
        display: flex;
        flex-direction: row;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: auto;
        margin: 0 -10px;
        padding: 2px 10px 6px;
        box-sizing: border-box;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }
    .category-pavilion-grid::-webkit-scrollbar {
        display: none;
    }
    .cat-pavilion-card {
        flex: 0 0 58px;
        width: 58px;
        padding: 2px 1px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        scroll-snap-align: start;
    }
    .cat-pavilion-card:active {
        transform: scale(0.95);
    }
    .cat-pavilion-thumb {
        width: 38px;
        height: 38px;
        border-radius: 50% !important;
        margin-bottom: 3px !important;
        border: 1.5px solid #E2E8F0 !important;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05) !important;
    }
    .cat-thumb-img {
        border-radius: 50% !important;
    }
    .cat-pavilion-name {
        font-size: 9.5px !important;
        font-weight: 700;
        line-height: 1.15;
    }
    .cat-pavilion-desc {
        display: none !important;
    }
    .store-grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile Category Explorer Hub */
    .mobile-category-hub {
        display: block !important;
    }
    .catalog-section-wrapper.desktop-only {
        display: none !important;
    }

    /* Auth Page Mobile (Login & Register) */
    .auth-page-container {
        padding: 16px 12px 60px;
    }
    .auth-split-card {
        grid-template-columns: 1fr;
        border-radius: 18px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }
    .auth-showcase-side {
        padding: 22px 18px;
    }
    .auth-showcase-side h2 {
        font-size: 19px !important;
        margin-bottom: 6px !important;
    }
    .auth-partner-strip {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
        padding: 12px 14px;
        margin-bottom: 14px;
    }
    .partner-divider {
        margin: 2px 0;
    }
    .auth-showcase-brand-badge {
        flex-direction: column;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }
    .auth-feature-list {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 14px;
    }
    .auth-feat-card {
        padding: 8px 10px;
    }
    .auth-showcase-footer {
        display: flex !important;
        justify-content: center;
        gap: 12px;
        font-size: 10.5px;
    }
    .auth-form-brand-top {
        text-align: center;
    }
    .auth-form-logos-row {
        justify-content: center;
    }
    .auth-form-side {
        padding: 22px 18px 26px;
    }
    .auth-form-side h1 {
        font-size: 20px !important;
    }
    .auth-switch-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* Mobile Bottom Navigation Bar (Tokopedia/Shopee Mobile App Style) */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60px;
        background: #FFFFFF;
        border-top: 1px solid var(--border-subtle);
        box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.06);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .mobile-bottom-nav .nav-item,
    .mobile-bottom-nav .mob-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748B;
        font-size: 10.5px;
        font-weight: 600;
        text-decoration: none;
        flex: 1;
        padding: 6px 0;
        transition: var(--transition-fast);
        position: relative;
    }
    .mobile-bottom-nav .nav-item i,
    .mobile-bottom-nav .mob-nav-item i {
        font-size: 19px;
        margin-bottom: 2px;
        transition: var(--transition-fast);
    }
    .mobile-bottom-nav .nav-item.active,
    .mobile-bottom-nav .nav-item:hover,
    .mobile-bottom-nav .mob-nav-item.active,
    .mobile-bottom-nav .mob-nav-item:hover {
        color: var(--primary);
        font-weight: 800;
    }
    .mobile-bottom-nav .nav-item.active i,
    .mobile-bottom-nav .mob-nav-item.active i {
        color: var(--primary);
        transform: translateY(-1px);
    }
    .mobile-nav-badge {
        position: absolute;
        top: 4px;
        right: calc(50% - 18px);
        background: var(--primary);
        color: #FFFFFF;
        font-size: 9.5px;
        font-weight: 800;
        min-width: 17px;
        height: 17px;
        line-height: 17px;
        border-radius: 999px;
        text-align: center;
        padding: 0 4px;
        box-shadow: 0 2px 6px rgba(235, 48, 162, 0.4);
    }

    /* Mobile Product Detail Floating Sticky Bar */
    body.product-detail-page .mobile-bottom-nav {
        display: none !important;
    }

    .mobile-buy-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #FFFFFF;
        border-top: 1px solid var(--border-subtle);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0));
        z-index: 10000;
        box-shadow: 0 -2px 10px rgba(15, 23, 42, 0.07);
        gap: 8px;
        align-items: center;
    }
    .mobile-buy-icon-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748B;
        text-decoration: none;
        font-size: 10px;
        font-weight: 700;
        padding: 4px 6px;
        border-radius: 8px;
        min-width: 44px;
        transition: color 0.15s ease;
    }
    .mobile-buy-icon-btn i {
        font-size: 18px;
        margin-bottom: 2px;
    }
    .mobile-buy-btn-cart {
        flex: 1;
        background: linear-gradient(135deg, #FF339F 0%, #FF1493 45%, #EB007A 100%);
        color: #FFFFFF;
        border: none;
        border-radius: 10px;
        padding: 10px 8px;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        box-shadow: 0 4px 15px rgba(255, 20, 147, 0.45);
        transition: all 0.2s ease;
    }
    .mobile-buy-btn-cart i {
        color: #FFFFFF;
    }
    .mobile-buy-btn-now {
        flex: 1;
        background: linear-gradient(135deg, #EB30A2 0%, #FF8826 100%);
        color: #FFFFFF;
        border: none;
        border-radius: 10px;
        padding: 10px 8px;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        box-shadow: 0 3px 10px rgba(235, 48, 162, 0.3);
        transition: all 0.2s ease;
    }
}

@media (min-width: 769px) {
    .mobile-buy-bar {
        display: none !important;
    }
}

/* Global Overflow Prevention for Mobile / Android */
html, body {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================================
   AUTH PAGES: LOGIN & REGISTER (MODERN PREMIUM FORM DESIGN)
   ========================================================== */

/* ==========================================================
   NEXT-GEN CYBER-BETAWI 2FA SECURITY PORTAL (LOGIN.PHP)
   Konsep Eksklusif Belum Ada di Situs Manapun:
   Ondel-Ondel Guard Crown + Gmail 2-Step Verification
   ========================================================== */

/* ==========================================================
   PORTAL LOGIN ENTERPRISE - JAMUR BETAWI JAKARTA TIMUR
   Clean, Corporate, Professional Standard UI
   ========================================================== */

/* Outer Stage */
.jb-security-stage {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 16px 56px;
    background-color: #0F172A;
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.38) 0%, rgba(15, 23, 42, 0.60) 100%), url('../img/bg-login-ondel-hall.jpg?v=20261011');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    box-sizing: border-box;
    position: relative;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.jb-security-stage * {
    font-family: inherit;
    box-sizing: border-box;
}

/* Master Portal Card */
.jb-portal-card {
    width: 100%;
    max-width: 410px;
    background-color: #FFFFFF;
    background-image: 
        linear-gradient(180deg, rgba(255, 255, 255, 0.91) 0%, rgba(255, 255, 255, 0.86) 45%, rgba(255, 255, 255, 0.92) 100%),
        url('../img/bg-login-ondel-card.jpg?v=20261011');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.48), 0 10px 25px -5px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Header Brand Section */
.jb-portal-crest {
    padding: 26px 24px 10px;
    text-align: center;
    background: transparent;
}

.jb-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
}

.jb-portal-title {
    font-size: 19px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.3px;
    margin: 0 0 4px;
}

.jb-portal-subtitle {
    font-size: 12.5px;
    color: #475569;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Tab Switcher */
.jb-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: rgba(241, 245, 249, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
    padding: 3px;
    margin: 14px 24px 16px;
}

.jb-auth-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    transition: all 0.15s ease;
}

.jb-auth-tab.is-active {
    background: #FFFFFF;
    color: #0F172A;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.jb-auth-tab:not(.is-active):hover {
    color: #0F172A;
}

/* Alerts */
.jb-alert {
    margin: 0 24px 14px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.jb-alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.jb-alert-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
}

/* Interactive Form */
.jb-interactive-form {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jb-input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jb-input-label {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.jb-label-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jb-forgot-btn {
    font-size: 11.5px;
    font-weight: 600;
    color: #EB30A2;
    text-decoration: none;
}

.jb-forgot-btn:hover {
    text-decoration: underline;
}

.jb-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.jb-box-icon {
    position: absolute;
    left: 12px;
    font-size: 14px;
    color: #94A3B8;
    pointer-events: none;
}

.jb-field-input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 36px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 13px;
    color: #0F172A;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jb-field-input:hover {
    border-color: #94A3B8;
}

.jb-field-input:focus {
    border-color: #EB30A2;
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.12);
}

.jb-field-input.has-toggle {
    padding-right: 36px;
}

.jb-toggle-eye {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

.jb-toggle-eye:hover {
    color: #475569;
}

/* Submit Buttons */
.jb-submit-btn {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #EB30A2;
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background-color 0.15s ease, transform 0.1s ease;
    margin-top: 4px;
}

.jb-submit-btn:hover {
    background: #D92391;
}

.jb-submit-btn:active {
    transform: scale(0.99);
}

.jb-auth-alt-links {
    margin: 14px 24px 0;
    padding-top: 12px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.jb-alt-row {
    font-size: 12px;
    color: #64748B;
}

.jb-alt-row a {
    color: #EB30A2;
    font-weight: 600;
    text-decoration: none;
}

.jb-alt-row a:hover {
    text-decoration: underline;
}

/* Step 2: 2FA Verification Panel */
.jb-2fa-verify-panel {
    padding: 4px 24px 0;
    text-align: center;
}

.jb-2fa-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}

.jb-target-email-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #334155;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* Local / Diagnostic Alert */
.jb-local-smtp-alert {
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    border-radius: 8px;
    padding: 10px 12px;
    margin: 12px 0;
    text-align: left;
}

.smtp-alert-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #0369A1;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.smtp-alert-desc {
    font-size: 11.5px;
    color: #0C4A6E;
    line-height: 1.4;
    margin: 0 0 6px;
}

.smtp-alert-code-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px dashed #0284C7;
    border-radius: 6px;
    padding: 6px;
}

.smtp-alert-code {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #0369A1;
    font-family: monospace;
}

.jb-otp-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.jb-otp-input-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.jb-otp-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.otp-box-digit {
    width: 38px;
    height: 46px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #0F172A;
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.otp-box-digit:focus {
    border-color: #EB30A2;
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.12);
}

.jb-timer-resend-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-box {
    font-size: 11.5px;
    color: #64748B;
}

.jb-submit-verify {
    background: #059669;
}

.jb-submit-verify:hover {
    background: #047857;
}

.jb-2fa-secondary-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
}

.jb-resend-btn,
.jb-cancel-2fa-btn {
    background: none;
    border: none;
    font-size: 11.5px;
    cursor: pointer;
    padding: 0;
}

.jb-resend-btn {
    color: #EB30A2;
    font-weight: 600;
}

.jb-cancel-2fa-btn {
    color: #64748B;
}

.jb-resend-btn:hover,
.jb-cancel-2fa-btn:hover {
    text-decoration: underline;
}

/* Trust Ribbon (Footer Kemitraan Pemerintah & Akademisi) */
.jb-portal-trust-ribbon {
    margin-top: 22px;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    padding: 14px 20px;
    text-align: center;
}

.trust-caption {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.trust-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.trust-logo-img {
    height: 18px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

.trust-logo-img:hover {
    opacity: 1;
}

/* ==========================================================
   REGISTER EXTENSION STYLES (MATCH LOGIN & CLEAN CORPORATE)
   ========================================================== */
.jb-portal-card-register {
    max-width: 480px;
}

.jb-role-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 0 24px 14px;
    padding: 3px;
    background: rgba(241, 245, 249, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 8px;
}

.jb-role-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    transition: all 0.15s ease;
}

.jb-role-tab.is-active {
    background: #FFFFFF;
    color: #EB30A2;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.jb-role-tab.is-disabled {
    color: #94A3B8;
    cursor: default;
}

.jb-role-badge-closed {
    font-size: 9.5px;
    background: #FEF2F2;
    color: #DC2626;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
}

.jb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.jb-field-select {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 34px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 12.5px;
    color: #0F172A;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.jb-field-select:focus {
    background: #FFFFFF;
    border-color: #EB30A2;
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.12);
}

.jb-field-select:disabled {
    background: #F1F5F9;
    color: #94A3B8;
    cursor: not-allowed;
}

.jb-field-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 12.5px;
    color: #0F172A;
    background: rgba(255, 255, 255, 0.95);
    outline: none;
    resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    min-height: 54px;
    box-sizing: border-box;
}

.jb-field-textarea:focus {
    background: #FFFFFF;
    border-color: #EB30A2;
    box-shadow: 0 0 0 3px rgba(235, 48, 162, 0.12);
}

.jb-section-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 2px;
}

.jb-section-divider::before,
.jb-section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(226, 232, 240, 0.7);
}

.jb-section-divider-title {
    font-size: 10px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jb-seller-closed-box {
    background: #FFFBEB;
    border: 1px solid #FCD34D;
    border-radius: 10px;
    padding: 18px 16px;
    margin: 0 24px 16px;
    text-align: center;
}

.jb-seller-closed-title {
    font-size: 14px;
    font-weight: 700;
    color: #92400E;
    margin: 0 0 4px;
}

.jb-seller-closed-desc {
    font-size: 12px;
    color: #B45309;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* Address Guidance Card & Completeness Meter in Register (Formal Executive) */
.jb-address-guide-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.jb-address-guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    gap: 8px;
}
.jb-address-guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.1px;
}
.jb-address-guide-badge i {
    color: #0284C7;
    font-size: 13px;
}
.jb-address-guide-sub {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
}
.jb-address-guide-desc {
    font-size: 11.5px;
    color: #334155;
    line-height: 1.5;
    margin: 0 0 9px;
}
.jb-address-guide-desc strong {
    color: #0F172A;
    font-weight: 600;
}
.jb-address-guide-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.jb-addr-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: #334155;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    padding: 3px 8px;
    border-radius: 5px;
}
.jb-addr-chip i {
    color: #0284C7;
    font-size: 11px;
}
.jb-input-box-textarea {
    position: relative;
    display: block;
}
.jb-input-box-textarea .jb-box-icon {
    top: 11px;
    transform: none;
}
.jb-field-textarea-icon {
    padding-left: 34px !important;
}
.jb-address-quality-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 500;
    padding: 6px 9px;
    margin-top: 5px;
    border-radius: 6px;
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
}
.jb-address-quality-pill i {
    font-size: 13px;
    flex-shrink: 0;
}
.jb-address-quality-pill.is-warning {
    background: #FEF2F2;
    border-color: #FECACA;
    color: #B91C1C;
}
.jb-address-quality-pill.is-warning i {
    color: #EF4444;
}
.jb-address-quality-pill.is-tip {
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #92400E;
}
.jb-address-quality-pill.is-tip i {
    color: #F59E0B;
}
.jb-address-quality-pill.is-good {
    background: #F0FDF4;
    border-color: #BBF7D0;
    color: #166534;
}
.jb-address-quality-pill.is-good i {
    color: #10B981;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .jb-security-stage {
        padding: 16px 10px 28px;
        background-position: center top;
    }
    .jb-portal-card {
        border-radius: 14px;
        background-position: center 10%;
    }
    .jb-portal-crest {
        padding: 20px 18px 8px;
    }
    .jb-brand-logo {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
    }
    .jb-portal-title {
        font-size: 17px;
    }
    .jb-auth-tabs,
    .jb-interactive-form,
    .jb-auth-alt-links,
    .jb-2fa-verify-panel,
    .jb-alert {
        padding-left: 18px;
        padding-right: 18px;
        margin-left: 0;
        margin-right: 0;
    }
    .otp-box-digit {
        width: 34px;
        height: 42px;
        font-size: 18px;
    }
    .jb-portal-trust-ribbon {
        padding: 12px 14px;
    }
    .trust-logos-row {
        gap: 8px;
    }
    .trust-logo-img {
        height: 16px;
    }
    .jb-portal-card-register {
        max-width: 100%;
    }
    .jb-form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .jb-role-tabs {
        margin: 0 18px 12px;
    }
    .jb-seller-closed-box {
        margin: 0 18px 14px;
    }
}

/* Wrapper: Center the card vertically with fresh Jamur Betawi pastel ambient */
.auth-modern-wrapper {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 16px 72px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #FFF0F7 0%, #F8FAFC 50%, #FFF7ED 100%);
}

/* ---------- Two-panel card (Login) ---------- */
.auth-master-card {
    display: grid;
    grid-template-columns: 1fr 480px;
    min-height: 600px;
    width: 100%;
    max-width: 1040px;
    background: #FFFFFF;
    border-radius: 28px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 60px -12px rgba(235, 48, 162, 0.12), 0 8px 24px -6px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

/* ---------- Showcase/Brand Panel (Left) - Khas Jamur Betawi (Pink & Orange) & Ondel-Ondel ---------- */
.auth-showcase-panel {
    position: relative;
    background: linear-gradient(135deg, #EB30A2 0%, #F53685 45%, #FF8826 100%);
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #FFFFFF;
}

.auth-ambient-orb {
    display: none !important;
}

.auth-panel-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
}

/* 1. Top Brand Lockup */
.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
}

.auth-brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
    background: rgba(255, 255, 255, 0.95);
    padding: 3px;
    border-radius: 12px;
}

.auth-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.auth-brand-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #FFF3C4;
}

.auth-brand-sub {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

/* 2. Ondel-Ondel Khas Betawi Centerpiece */
.auth-ondel-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0 2px;
    padding: 4px 0;
}

.auth-ondel-img {
    max-width: 215px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
    transition: transform 0.3s ease;
}

.auth-ondel-img:hover {
    transform: scale(1.03);
}

/* 3. Hero Headline & Natural Copy (Authentic Jamur Betawi) */
.auth-hero-copy {
    text-align: center;
}

.auth-main-title {
    font-size: 32px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin: 0 0 5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.auth-main-title .text-pink,
.auth-main-title .text-gold {
    color: #FFF3C4;
}

.auth-acronym-line {
    font-size: 12.5px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.auth-hero-desc {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.94);
    max-width: 420px;
    margin: 0 auto;
}

/* 4. Sinergi Resmi: Dipersembahkan oleh & Didukung oleh */
.auth-partners-footer {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.auth-partner-subgroup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.auth-partners-label {
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.auth-partners-label i {
    font-size: 11px;
    color: #FFF3C4;
}

.auth-partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.partner-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #FFFFFF;
    padding: 3px 9px;
    border-radius: 8px;
    height: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.partner-item:hover {
    transform: translateY(-2px);
}

.partner-item img {
    height: 18px;
    width: auto;
    max-width: 65px;
    object-fit: contain;
}

.partner-umiba-text {
    font-size: 11px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.2px;
}

/* ---------- Form Panel (Right) - Rapi, Bersih, Khas Betawi ---------- */
.auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 40px;
    background: #FFFFFF;
    overflow-y: auto;
    gap: 0;
}

/* Segmented Tab Switcher (Login / Register) */
.auth-segmented-control,
.auth-tab-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    background: #F8FAFC;
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 24px;
    border: 1.5px solid #E2E8F0;
}

.segment-btn,
.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.segment-btn.active,
.tab-btn.active {
    background: #FFFFFF;
    color: #EB30A2;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.segment-btn:not(.active):hover,
.tab-btn:not(.active):hover {
    color: #0F172A;
    background: rgba(255, 255, 255, 0.6);
}

/* Form Header */
.form-header-box,
.auth-form-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.form-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-light);
    border: 1px solid rgba(235, 48, 162, 0.2);
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.badge-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.form-title,
.auth-form-title {
    font-size: 24px;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: -0.7px;
    margin-bottom: 5px;
}

.form-subtitle,
.auth-form-subtitle {
    font-size: 13px;
    color: #64748B;
    line-height: 1.55;
}

/* Error Alert */
.auth-error-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FEF2F2;
    border: 1.5px solid #FECACA;
    color: #991B1B;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    animation: shakeError 0.4s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-5px); }
    75%       { transform: translateX(5px); }
}

/* Form Body */
.auth-form-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Field Groups */
.form-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forgot-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.forgot-link:hover {
    opacity: 0.75;
}

/* Input Wrapper with Icon */
.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

/* ---------- Unified Auth Form Input ---------- */
.auth-form-input,
.form-modern-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark);
    background: #FAFBFC;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
}

.auth-form-input:focus,
.form-modern-input:focus {
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3.5px rgba(235, 48, 162, 0.10);
}

.auth-form-input:hover:not(:focus),
.form-modern-input:hover:not(:focus) {
    border-color: #CBD5E1;
    background: #FFFFFF;
}

.auth-form-input::placeholder,
.form-modern-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
}

/* Password input: extra right padding for toggle button */
.form-modern-input.has-toggle {
    padding-right: 44px;
}

/* Password Toggle Button */
.password-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.15s ease;
    z-index: 2;
    line-height: 1;
}

.password-toggle-btn:hover {
    color: var(--dark);
}

/* Textarea (Alamat Lengkap) */
.auth-modern-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark);
    background: #FAFBFC;
    outline: none;
    resize: vertical;
    min-height: 76px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.auth-modern-textarea:focus {
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3.5px rgba(235, 48, 162, 0.10);
}

.auth-modern-textarea::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--pink-gradient);
    color: #FFFFFF;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(235, 48, 162, 0.30);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 4px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(235, 48, 162, 0.38);
    filter: brightness(1.04);
}

.auth-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(235, 48, 162, 0.25);
}

/* Academic Credit Card */
.auth-academic-credit-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 12px 16px;
    margin-top: 18px;
}

.credit-logo-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 3px;
}

.credit-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.credit-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.credit-sub {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Alternate Switch Link */
.auth-alt-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
}

.alt-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.alt-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.alt-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* Auth Footer Links & Notes */
.auth-footer-links {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid #F1F5F9;
}

.auth-footer-text {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

.auth-footer-link {
    color: #EB30A2;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.auth-footer-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.auth-partner-note {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.5;
    margin-top: 6px;
}

/* ---------- Responsive Auth Layout ---------- */
@media (max-width: 960px) {
    .auth-master-card {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
    .auth-showcase-panel {
        padding: 28px 24px 22px;
        border-right: none;
        border-bottom: 1px solid rgba(235, 48, 162, 0.2);
    }
    .auth-ondel-img {
        max-width: 130px;
    }
    .auth-main-title {
        font-size: 24px;
    }
    .auth-hero-desc {
        display: none;
    }
    .auth-partners-footer {
        display: none;
    }
    .auth-form-panel {
        padding: 32px 24px;
    }
}

@media (max-width: 580px) {
    .auth-modern-wrapper {
        padding: 20px 12px 80px;
    }
    .auth-form-panel,
    .auth-master-card > div {
        padding: 24px 18px;
    }
    .auth-master-card {
        border-radius: 20px;
    }
    .form-title,
    .auth-form-title {
        font-size: 20px;
    }
    .auth-submit-btn {
        font-size: 14px;
        padding: 13px 20px;
    }
}

/* ==========================================================
   ADVERTISEMENT SYSTEM (MANAJEMEN IKLAN)
   Responsive, modern, elegant ad slots with zero layout shifts
   ========================================================== */
.ad-slot-wrapper {
    display: block;
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.ad-slot-wrapper:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(235, 48, 162, 0.25);
}

.ad-slot-link,
.ad-slot-inner {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    position: relative;
}

.ad-media-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
}

.ad-video-container {
    background: #020617;
}

.ad-media-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-slot-wrapper:hover .ad-media-image {
    transform: scale(1.018);
}

.ad-media-video {
    width: 100%;
    height: auto;
    max-height: 440px;
    display: block;
    object-fit: cover;
}

.ad-badge-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.4px;
    z-index: 2;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ad-badge-label i {
    font-size: 13px;
    color: #FBBF24;
}

/* Slot Specific Layout Helpers */
.ad-slot-home-top-leaderboard {
    margin-bottom: 24px;
}

.ad-slot-home-top-leaderboard .ad-media-image {
    max-height: 160px;
}

.ad-slot-home-middle-banner {
    margin: 32px 0;
    border-radius: var(--radius-xl);
}

.ad-slot-home-middle-banner .ad-media-image {
    max-height: 280px;
}

.ad-slot-home-sidebar-widget {
    margin-bottom: 20px;
}

.ad-slot-home-sidebar-widget .ad-media-image {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
}

.ad-slot-catalog-top-banner {
    margin-bottom: 24px;
    border-radius: var(--radius-md);
}

.ad-slot-catalog-top-banner .ad-media-image {
    max-height: 180px;
}

.ad-slot-product-detail-banner {
    margin-top: 20px;
    border-radius: var(--radius-md);
}

.ad-slot-product-detail-banner .ad-media-image {
    max-height: 150px;
}

@media (max-width: 768px) {
    .ad-media-image {
        object-fit: contain !important;
        width: 100%;
        height: auto;
    }

    .ad-slot-home-sidebar-widget .ad-media-image {
        object-fit: contain !important;
        max-height: none;
    }

    .ad-slot-home-top-leaderboard .ad-media-image,
    .ad-slot-catalog-top-banner .ad-media-image {
        max-height: 130px;
        object-fit: contain !important;
    }
    
    .ad-slot-home-middle-banner .ad-media-image {
        max-height: 200px;
        object-fit: contain !important;
    }
    
    .ad-media-video {
        max-height: 260px;
    }
    
    .ad-badge-label {
        top: 6px;
        right: 6px;
        font-size: 10px;
        padding: 2px 7px;
    }
}

/* ==========================================================
   Store Front & Profile Header Banner (Tokopedia Style)
   ========================================================== */
.store-header-banner-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #FFF0F7 0%, #FCE7F3 40%, #FB7185 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 24px;
    z-index: 1;
}

.store-info-bar {
    position: relative;
    z-index: 10;
    background: #FFFFFF;
    padding: 0 32px 24px;
}

.store-avatar-circle {
    margin-top: -50px;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
}

.store-avatar-circle img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FFFFFF;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    background: #FFFFFF;
    display: block;
}

.store-text-details {
    padding-top: 12px;
    flex: 1;
}

@media (max-width: 768px) {
    .store-header-banner-wrap {
        height: 140px !important;
        padding: 12px 14px !important;
    }
    .store-info-bar {
        padding: 0 16px 20px !important;
    }
    .store-avatar-circle {
        margin-top: -36px !important;
    }
    .store-avatar-circle img {
        width: 72px !important;
        height: 72px !important;
        border-width: 3px !important;
    }
    .store-text-details {
        padding-top: 6px !important;
    }
    .store-text-details h1 {
        font-size: 18px !important;
    }
}

/* ==========================================================================
   ADVANCED MOBILE & RESPONSIVE POLISH SUITE (ALL SCREENS & SMARTPHONES)
   Platform: Jamur Betawi Marketplace UMKM Jakarta Timur
   Optimized for: Android (Chrome, Samsung Internet), iOS (Safari), Tablets
   ========================================================================== */

/* 1. Global Touch & Viewport Adaptations */
html, body {
    overflow-x: clip;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* 2. Order Tracking Stepper (Responsive) */
.order-stepper-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    text-align: center;
    position: relative;
}

/* 3. Order Information (2-Column Grid) */
.order-info-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

/* 4. Order Action Buttons */
.order-action-btn-group {
    border-top: 1px solid var(--border-light, #E2E8F0);
    padding-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 5. Payment Page Elements */
.payment-card-body {
    padding: 24px;
}
.payment-mayar-box {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.mayar-portal-wrapper {
    width: 100%;
    max-width: 640px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    margin-bottom: 14px;
}
.mayar-iframe-box {
    position: relative;
    width: 100%;
    height: 680px;
    background: #F8FAFC;
}

/* 6. Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* 7. General Responsive Media Queries for Mobile Screens (< 768px & < 480px) */
@media (max-width: 768px) {
    /* Safe container gutters */
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Stack checkout layout */
    .checkout-layout {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Cart summary un-stick on mobile */
    .cart-summary-box {
        position: static !important;
        top: auto !important;
        margin-top: 8px !important;
    }

    /* Stack order details two columns */
    .order-info-two-col {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    /* Stepper on tablet/mobile */
    .order-stepper-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding: 6px 4px 14px !important;
        text-align: center !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .order-stepper-grid::-webkit-scrollbar {
        display: none !important;
    }
    .order-stepper-grid > div {
        flex: 0 0 100px !important;
        scroll-snap-align: center !important;
    }

    /* Order actions full width on touch devices */
    .order-action-btn-group {
        flex-direction: column !important;
        width: 100% !important;
    }
    .order-action-btn-group a,
    .order-action-btn-group button,
    .order-action-btn-group form {
        width: 100% !important;
        margin: 0 !important;
    }
    .order-action-btn-group a,
    .order-action-btn-group button {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        min-height: 40px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    /* Payment container optimization */
    .payment-card-body {
        padding: 16px 12px !important;
    }
    .payment-mayar-box {
        padding: 16px 12px !important;
        border-radius: 14px !important;
    }
    .mayar-portal-wrapper {
        border-radius: 12px !important;
    }
    .mayar-iframe-box {
        height: 580px !important;
    }
    #btn-mayar-pay {
        width: 100% !important;
        padding: 12px 18px !important;
        font-size: 13.5px !important;
    }

    /* Forms & Inputs: Ensure readable font without zooming */
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea {
        font-size: 14px !important;
    }

    /* Modals & Dialogs on Mobile */
    .modal-content, 
    .custom-modal-box {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        padding: 18px !important;
        border-radius: 16px !important;
    }

    /* Order cards on orders.php */
    .order-item-flex-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    /* Bottom space for phones to prevent content cutoff by mobile navigation */
    body {
        padding-bottom: 76px !important;
    }
}

@media (max-width: 480px) {
    /* Extreme small phones (360px - 400px, e.g. Samsung Galaxy A series, Redmi) */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Product cards 2-column with crisp spacing */
    .product-grid-5, 
    .catalog-product-grid,
    .flash-product-grid {
        gap: 8px !important;
    }
    .mockup-product-card {
        border-radius: 12px !important;
    }
    .prod-info-wrap {
        padding: 8px 9px 9px 9px !important;
        gap: 2px !important;
    }
    .prod-title {
        font-size: 12px !important;
        line-height: 1.3 !important;
        height: 32px !important;
        margin-bottom: 1px !important;
    }
    .prod-store-row {
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }
    .prod-store-row i {
        font-size: 9.5px !important;
    }
    .prod-price-now {
        font-size: 13.5px !important;
    }
    .prod-badge-binaan {
        display: none !important;
    }
    .prod-meta-footer {
        font-size: 9.5px !important;
        padding-top: 4px !important;
    }
    .prod-location-text {
        font-size: 9.5px !important;
    }
    .btn-card-add-cart {
        font-size: 10.5px !important;
        padding: 7px 6px !important;
        margin-top: 6px !important;
        border-radius: 8px !important;
    }

    /* Compact Stepper */
    .order-stepper-grid > div {
        flex: 0 0 92px !important;
    }
    .order-stepper-grid > div > div:first-child {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }

    /* Mayar Iframe */
    .mayar-iframe-box {
        height: 520px !important;
    }
}

@media (max-width: 600px) {
    .order-card-prod-row {
        flex-wrap: wrap !important;
    }
    .order-card-prod-row > div:last-child {
        width: 100% !important;
        text-align: left !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 8px !important;
        border-top: 1px dashed #F1F5F9 !important;
        margin-top: 6px !important;
    }

    /* Checkout Courier Pills */
    .seller-courier-pill {
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 10px 12px !important;
    }
    .seller-courier-pill > div:first-child {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .seller-courier-pill > div:last-child {
        margin-left: auto !important;
    }

    /* Store Page Header & Banner on Mobile */
    .store-header-banner-wrap {
        padding: 12px 14px !important;
        min-height: 110px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .store-info-bar {
        padding: 0 16px 20px !important;
    }
    .store-avatar-circle {
        margin-top: -36px !important;
    }
    .store-avatar-circle img {
        width: 72px !important;
        height: 72px !important;
        border-width: 3px !important;
    }
    .store-text-details h1 {
        font-size: 19px !important;
    }

    /* Orders History Tabs & Actions on Mobile */
    .orders-status-tabs {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .orders-status-tabs::-webkit-scrollbar {
        display: none !important;
    }
}

/* ==========================================================================
   PRODUCT DETAIL ULTRA RESPONSIVE SUITE (SMARTPHONES & TABLETS)
   ========================================================================== */
.product-breadcrumb-bar {
    font-size: 12.5px;
    color: var(--text-muted);
    padding: 16px 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.review-summary-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 22px;
}

.review-score-box {
    text-align: center;
    border-right: 1px solid #CBD5E1;
    padding-right: 20px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Guarantee Box on Desktop - Minimal Callout */
.gallery-guarantee-box {
    background: transparent;
    border: none;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    padding: 6px 0 6px 14px;
    margin-top: 18px;
}
.gallery-guarantee-box .guarantee-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #EB30A2;
    margin-bottom: 4px;
    font-size: 13px;
}
.gallery-guarantee-box .guarantee-desc {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
}

/* Desktop Defaults for Section Cards - Clean Flat Minimal */
.product-specs-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    box-shadow: none;
}
.detail-section-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}
.specs-table {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
}
.specs-table tr {
    border-bottom: 1px solid #F1F5F9;
}
.specs-table td {
    padding: 9px 0;
}
.specs-table td:first-child {
    color: var(--text-secondary);
    width: 150px;
}

.product-desc-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #F1F5F9;
    box-shadow: none;
}
.product-desc-box .detail-section-title {
    margin-bottom: 8px;
}
.product-desc-content {
    font-size: 13.5px;
    color: var(--text-primary);
    line-height: 1.6;
}

.product-reviews-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 24px;
}

.rev-filter-scroller {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Hidden by default on Desktop */
.product-detail-qty-box {
    display: none;
}
.mobile-escrow-badge {
    display: none;
}

@media (max-width: 1024px) {
    .product-detail-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }
}

@media (max-width: 768px) {
    body.product-detail-page {
        padding-bottom: 88px !important;
        background-color: #F8FAFC !important;
    }

    body.product-detail-page .mobile-bottom-nav {
        display: none !important;
    }

    /* Container adjustments on mobile */
    .product-detail-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-bottom: 20px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Breadcrumbs on phone */
    .product-breadcrumb-bar {
        font-size: 11.5px !important;
        padding: 10px 0 !important;
        white-space: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 8px !important;
        gap: 6px !important;
        display: flex !important;
        align-items: center !important;
    }
    .product-breadcrumb-bar::-webkit-scrollbar {
        display: none !important;
    }

    /* Layout column ordering */
    .product-detail-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        margin-top: 6px !important;
        margin-bottom: 24px !important;
    }

    /* Column 1 Gallery */
    .gallery-container {
        width: 100% !important;
    }
    .main-image-view {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        max-height: 420px !important;
        border-radius: 16px !important;
        background: #FFFFFF !important;
        border: 1.5px solid var(--border-subtle) !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
    }
    .thumb-strip {
        gap: 8px !important;
        margin-top: 10px !important;
        overflow-x: auto !important;
    }
    .thumb-item {
        width: 52px !important;
        height: 52px !important;
        border-radius: 8px !important;
    }

    /* Hide the desktop guarantee box under the gallery on mobile */
    .gallery-guarantee-box {
        display: none !important;
    }

    /* Hide desktop aside sidebar */
    .product-detail-sidebar,
    .sticky-buy-box {
        display: none !important;
    }

    /* Badges */
    .product-meta-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-bottom: 10px !important;
    }
    .product-meta-badges span {
        font-size: 11.5px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        font-weight: 700 !important;
        background: transparent !important;
        border: none !important;
    }

    /* Product Title */
    .product-headline {
        font-size: 18px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
        font-weight: 900 !important;
        color: var(--dark) !important;
    }

    /* Meta Stats */
    .detail-meta-row {
        font-size: 12px !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    /* Price Card - Clean Flat */
    .detail-price-card {
        padding: 10px 0 14px !important;
        border-radius: 0 !important;
        margin-bottom: 12px !important;
        border: none !important;
        border-bottom: 1px solid #F1F5F9 !important;
        background: transparent !important;
    }
    .big-price {
        font-size: 24px !important;
        letter-spacing: -0.5px !important;
    }

    /* Mobile Quantity & Subtotal Stepper Box (Inlined on mobile) - Light Minimal */
    .product-detail-qty-box {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        background: #FFFFFF !important;
        border: 1px solid #F1F5F9 !important;
        border-radius: 12px !important;
        padding: 10px 14px !important;
        margin-bottom: 12px !important;
        box-shadow: none !important;
    }
    .mobile-qty-stepper-row {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }
    .mobile-qty-label {
        font-size: 12px !important;
        font-weight: 800 !important;
        color: var(--dark) !important;
    }
    .mobile-qty-stock {
        font-size: 11.5px !important;
        color: var(--text-secondary) !important;
    }
    .mobile-subtotal-row {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .mobile-subtotal-label {
        font-size: 12px !important;
        color: var(--text-secondary) !important;
        font-weight: 700 !important;
    }
    .mobile-subtotal-value {
        font-size: 16px !important;
        font-weight: 900 !important;
        color: var(--primary) !important;
    }

    /* Mobile Trust & Escrow Badge - Minimal Accent Strip */
    .mobile-escrow-badge {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
        background: transparent !important;
        border: none !important;
        border-left: 3px solid var(--primary) !important;
        border-radius: 0 !important;
        padding: 4px 0 4px 10px !important;
        margin-bottom: 14px !important;
    }
    .mobile-escrow-badge > i {
        font-size: 18px !important;
        color: var(--primary) !important;
        margin-top: 1px !important;
        flex-shrink: 0 !important;
    }
    .escrow-badge-content {
        flex: 1 !important;
    }
    .escrow-badge-title {
        font-size: 12px !important;
        font-weight: 800 !important;
        color: var(--primary) !important;
        margin-bottom: 2px !important;
    }
    .escrow-badge-desc {
        font-size: 11px !important;
        color: var(--text-secondary) !important;
        line-height: 1.4 !important;
    }

    /* Seller Store Card */
    .seller-box-card {
        padding: 12px 14px !important;
        border-radius: 12px !important;
        margin-bottom: 16px !important;
        border: 1px solid #F1F5F9 !important;
        box-shadow: none !important;
        gap: 10px !important;
    }
    .seller-avatar {
        width: 44px !important;
        height: 44px !important;
    }
    .seller-box-card h4 {
        font-size: 13.5px !important;
    }
    .seller-box-card a {
        padding: 7px 12px !important;
        font-size: 11.5px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    /* Specifications Box - Flat Borderless */
    .product-specs-box {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #F1F5F9 !important;
        border-radius: 0 !important;
        padding: 0 0 16px !important;
        margin-bottom: 16px !important;
        box-shadow: none !important;
    }
    .detail-section-title {
        font-size: 14.5px !important;
        font-weight: 800 !important;
        color: var(--dark) !important;
        margin-bottom: 10px !important;
    }
    .specs-table {
        width: 100% !important;
        font-size: 12.5px !important;
        border-collapse: collapse !important;
    }
    .specs-table tr {
        border-bottom: 1px solid #F1F5F9 !important;
    }
    .specs-table td {
        padding: 8px 0 !important;
    }
    .specs-table td:first-child {
        width: 38% !important;
        min-width: 105px !important;
        color: var(--text-secondary) !important;
    }

    /* Description Box - Flat Borderless */
    .product-desc-box {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #F1F5F9 !important;
        border-radius: 0 !important;
        padding: 0 0 16px !important;
        margin-bottom: 16px !important;
        box-shadow: none !important;
    }
    .product-desc-content {
        font-size: 13px !important;
        line-height: 1.65 !important;
    }

    /* Reviews Card - Flat Borderless */
    .product-reviews-card {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-bottom: 16px !important;
        box-shadow: none !important;
    }
    .review-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 12px !important;
    }
    .review-score-box {
        border-right: none !important;
        border-bottom: 1px solid #CBD5E1 !important;
        padding-right: 0 !important;
        padding-bottom: 12px !important;
    }
    .rev-filter-scroller {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 16px !important;
        padding-bottom: 4px !important;
    }
    .rev-filter-scroller::-webkit-scrollbar {
        display: none !important;
    }
    .rev-filter-btn {
        padding: 6px 12px !important;
        font-size: 11.5px !important;
        border-radius: 20px !important;
        flex-shrink: 0 !important;
    }

    /* Related products: 2 crisp columns on mobile */
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .related-products-grid .product-card {
        padding: 0 !important;
    }

    /* Floating sticky action bar at bottom of screen */
    .mobile-buy-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #FFFFFF !important;
        border-top: 1px solid #E2E8F0 !important;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 99999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        gap: 6px !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .mobile-buy-icon-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: #64748B !important;
        text-decoration: none !important;
        font-size: 9.5px !important;
        font-weight: 700 !important;
        padding: 2px 4px !important;
        border-radius: 8px !important;
        min-width: 38px !important;
        flex-shrink: 0 !important;
        line-height: 1.1 !important;
        position: relative !important;
    }
    .mobile-buy-icon-btn i {
        font-size: 17px !important;
        margin-bottom: 2px !important;
    }
    .mobile-cart-badge {
        position: absolute !important;
        top: 0px !important;
        right: 2px !important;
        background: var(--primary) !important;
        color: #FFFFFF !important;
        font-size: 9px !important;
        font-weight: 800 !important;
        min-width: 15px !important;
        height: 15px !important;
        line-height: 15px !important;
        border-radius: 999px !important;
        text-align: center !important;
        padding: 0 3px !important;
        box-shadow: 0 2px 6px rgba(235, 48, 162, 0.4) !important;
    }

    .mobile-buy-btn-cart {
        flex: 1 !important;
        background: linear-gradient(135deg, #FF339F 0%, #FF1493 45%, #EB007A 100%) !important;
        color: #FFFFFF !important;
        border: none !important;
        border-radius: 10px !important;
        padding: 9px 5px !important;
        font-size: 11.5px !important;
        font-weight: 800 !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        height: 42px !important;
        white-space: nowrap !important;
        box-shadow: 0 4px 15px rgba(255, 20, 147, 0.45) !important;
        transition: all 0.2s ease !important;
    }
    .mobile-buy-btn-cart i {
        color: #FFFFFF !important;
    }

    .mobile-buy-btn-now {
        flex: 1.15 !important;
        background: linear-gradient(135deg, #EB30A2 0%, #D01B8B 100%) !important;
        color: #FFFFFF !important;
        border: none !important;
        border-radius: 10px !important;
        padding: 9px 6px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        cursor: pointer !important;
        box-shadow: 0 3px 12px rgba(235, 48, 162, 0.35) !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        white-space: nowrap !important;
        transition: all 0.2s ease !important;
    }
}

@media (max-width: 480px) {
    .product-headline {
        font-size: 16.5px !important;
    }
    .big-price {
        font-size: 22px !important;
    }
    .main-image-view {
        max-height: 340px !important;
    }
    .mobile-buy-icon-btn {
        min-width: 35px !important;
        font-size: 9px !important;
    }
    .mobile-buy-btn-cart {
        font-size: 11px !important;
        padding: 8px 3px !important;
    }
    .mobile-buy-btn-now {
        font-size: 11.5px !important;
        padding: 8px 4px !important;
    }
    .hero-institution-tag {
        font-size: 8.5px !important;
        padding: 2px 7px !important;
        gap: 3px !important;
        margin-bottom: 6px !important;
    }
    .hero-institution-tag i {
        font-size: 9px !important;
    }
    .hero-browse-link {
        font-size: 11px !important;
        margin-top: 0 !important;
    }
}

/* ==========================================================
   APP ANIMATED PRELOADER & SKELETON LOADERS
   ========================================================== */
.app-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    will-change: opacity;
}

.app-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.preloader-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3.5px solid rgba(235, 48, 162, 0.12);
    border-top-color: #EB30A2;
    border-right-color: #FF8826;
    animation: preloaderSpin 0.9s linear infinite;
    z-index: 1;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button Animated Spinner */
.btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: preloaderSpin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

/* Animated Shimmer for Thumbnails & Cards */
.cat-pavilion-thumb,
.product-card-img-wrap {
    background: linear-gradient(90deg, #F8FAFC 0%, #F1F5F9 50%, #F8FAFC 100%);
    background-size: 200% 100%;
    animation: shimmerWave 1.6s ease-in-out infinite;
}

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

/* ==========================================================================
   PUSAT BANTUAN (HELP CENTER) FORMAL DESIGN SYSTEM
   Standardized layout, typography, navigation pills, and card components
   ========================================================================== */
.help-page-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 16px 16px 36px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0F172A;
    letter-spacing: -0.011em;
    box-sizing: border-box;
}

.help-breadcrumb {
    font-size: 12.5px;
    color: #64748B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.help-breadcrumb a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.15s;
}
.help-breadcrumb a:hover {
    color: #EB30A2;
}

.help-hero-banner {
    background: #0F172A;
    border-radius: 12px;
    padding: 22px 24px 18px;
    color: #FFFFFF;
    margin-bottom: 14px;
    border: 1px solid #1E293B;
}
.help-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(235, 48, 162, 0.15);
    border: 1px solid rgba(235, 48, 162, 0.35);
    color: #F472B6;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.help-hero-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.help-hero-title i {
    color: #EB30A2;
    font-size: 18px;
}
.help-hero-sub {
    font-size: 13px;
    color: #94A3B8;
    max-width: 720px;
    line-height: 1.5;
    margin: 0;
}

/* Sub-nav Pills (Wrap gracefully on all devices, never clipped) */
.help-nav-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 0;
    overflow: visible;
}
.help-nav-pills::-webkit-scrollbar {
    display: none;
}
.help-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
    background: #FFFFFF;
    color: #475569;
    border: 1px solid #E2E8F0;
    flex-shrink: 0;
}
.help-pill-btn:hover {
    background: #F8FAFC;
    color: #0F172A;
    border-color: #CBD5E1;
}
.help-pill-btn.active {
    background: #EB30A2;
    color: #FFFFFF;
    border-color: #EB30A2;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(235, 48, 162, 0.25);
}

/* Content Cards */
.help-card {
    background: #FFFFFF;
    border: 1px solid #EAEFF4;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.help-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.help-card-title i {
    color: #EB30A2;
    font-size: 16px;
}

/* FAQ Accordions */
.help-faq-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.help-faq-item {
    background: #F8FAFC;
    border: 1px solid #EAEFF4;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s, background-color 0.15s;
}
.help-faq-item[open] {
    background: #FFFFFF;
    border-color: #CBD5E1;
}
.help-faq-item summary {
    padding: 13px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0F172A;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}
.help-faq-item summary::-webkit-details-marker {
    display: none;
}
.help-faq-item summary::after {
    content: '\F282';
    font-family: bootstrap-icons;
    font-size: 13px;
    color: #94A3B8;
    transition: transform 0.2s ease;
}
.help-faq-item[open] summary::after {
    transform: rotate(180deg);
    color: #EB30A2;
}
.help-faq-body {
    padding: 0 16px 14px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    border-top: 1px solid #F1F5F9;
    margin-top: -2px;
    padding-top: 12px;
}
.help-faq-body ul, .help-faq-body ol {
    margin: 6px 0 0;
    padding-left: 20px;
}

/* Legal & Terms Body Typography */
.help-legal-body {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.75;
}
.help-legal-body h2 {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 22px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.help-legal-body h2:first-of-type {
    margin-top: 0;
}
.help-legal-body ul, .help-legal-body ol {
    padding-left: 20px;
    margin: 8px 0 16px;
}
.help-legal-body li {
    margin-bottom: 6px;
}
.help-legal-body p {
    margin: 0 0 12px;
}
.help-legal-body .highlight-box {
    background: #F8FAFC;
    border-left: 3px solid #10B981;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 14px 0;
}

/* Step Grid Cards (Panduan Belanja) */
.help-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}
.help-step-card {
    background: #FFFFFF;
    border: 1px solid #EAEFF4;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    transition: border-color 0.15s;
}
.help-step-card:hover {
    border-color: #CBD5E1;
}
.help-step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.help-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.help-step-num.primary {
    background: #EB30A2;
}
.help-step-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}
.help-step-desc {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 10px 0;
}
.help-step-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Feature/Pillar Cards */
.help-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.help-feature-card {
    background: #FFFFFF;
    border: 1px solid #EAEFF4;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.help-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.help-feature-title {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin: 0;
}
.help-feature-desc {
    font-size: 11.5px;
    color: #64748B;
    margin: 2px 0 0 0;
}

/* Callout & Footer CTA */
.help-footer-box {
    background: #FFF0F7;
    border: 1px solid #FECDD3;
    border-radius: 12px;
    padding: 20px 22px;
    text-align: center;
    margin-top: 18px;
}
.help-footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #D01B8B;
    margin: 0 0 6px 0;
}
.help-footer-sub {
    font-size: 13px;
    color: #9D174D;
    margin: 0 0 14px 0;
    line-height: 1.45;
}
.btn-help-contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #EB30A2;
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}
.btn-help-contact:hover {
    background: #D01B8B;
    color: #FFFFFF !important;
}

@media (max-width: 768px) {
    .help-page-wrapper {
        padding: 14px 14px 30px;
    }
    .help-nav-pills {
        gap: 6px;
        margin-bottom: 14px;
    }
    .help-pill-btn {
        padding: 6px 12px;
        font-size: 12px;
        gap: 5px;
    }
}

@media (max-width: 640px) {
    .help-page-wrapper {
        padding: 12px 12px 28px;
    }
    .help-nav-pills {
        gap: 6px;
        margin-bottom: 14px;
    }
    .help-pill-btn {
        padding: 6px 11px;
        font-size: 11.5px;
        gap: 5px;
    }
    .help-hero-banner {
        padding: 16px 16px 14px;
        border-radius: 10px;
    }
    .help-hero-title {
        font-size: 16px;
    }
    .help-hero-sub {
        font-size: 12px;
    }
    .help-card {
        padding: 16px;
        border-radius: 10px;
    }
    .help-feature-grid, .help-steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .help-nav-pills {
        gap: 5px;
    }
    .help-pill-btn {
        padding: 5px 9px;
        font-size: 11px;
        gap: 4px;
    }
}





