/* ============================================================================
FLORIST STARTER THEME - HEADER STYLES
Path: /assets/css/02-layout/header.css
Version: 2.0.0 (Design System 2.0.0 Compliant - Two-Tier Architecture)
============================================================================ */

/* --- 0. TOPBAR INFO (Desktop Only: 36px, Surface Ivory, Stone-200) --- */
.st-topbar {
    height: 36px;
    background: var(--st-surface-ivory, #F7F4F2);
    border-bottom: 1px solid var(--st-stone-200, #e7e5e4);
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1001;
}

.st-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.st-topbar-left,
.st-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.st-topbar-item {
    font-size: 12px;
    font-weight: 500;
    color: var(--st-charcoal-700, #374151);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.015em;
}

.st-topbar-link {
    text-decoration: none;
    color: var(--st-charcoal-700, #374151);
    transition: color 0.2s ease;
}

.st-topbar-link:hover {
    color: var(--st-brand-700, #be0038);
}

.st-topbar-icon {
    flex-shrink: 0;
    color: var(--st-charcoal-500, #6b7280);
}

.st-topbar-icon.st-icon-wa {
    color: var(--st-whatsapp, #25D366);
}

/* --- 1. CORE & STICKY HEADER (76px, Glassmorphism, Stone-200) --- */
.st-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    background: var(--st-header-glass, rgba(255, 255, 255, 0.96));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--st-stone-200, #e7e5e4);
    box-shadow: 0 4px 20px -4px rgba(17, 24, 39, 0.04);
    display: flex;
    align-items: center;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* --- 2. LAYOUT LOGIC (Desktop) --- */
/* Layout Standard (Logo Kiri - Nav Tengah - Actions Kanan) */
.st-header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: clamp(1.5rem, 2.5vw, 3rem);
    padding: 10px 0;
}

/* Layout Search-Focused (Row 1: Logo - Prominent Search - Actions | Row 2: Navigation) */
.st-header-search-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding: 10px 0;
}

.st-search-top-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    gap: clamp(1rem, 2vw, 2rem);
}

.st-search-bar-wrapper {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.st-prominent-search-form {
    width: 100%;
}

.st-search-input-group {
    display: flex;
    align-items: center;
    height: 42px;
    background: var(--st-surface-subtle, #FAF8F7);
    border: 1px solid var(--st-stone-200, #e7e5e4);
    border-radius: var(--st-radius-full, 9999px);
    padding: 0 6px 0 16px;
    transition: all 0.2s ease;
}

.st-search-input-group:focus-within {
    background: var(--st-surface-card, #ffffff);
    border-color: var(--st-brand-700, #be0038);
    box-shadow: 0 0 0 3px rgba(190, 0, 56, 0.12);
}

.st-search-icon {
    color: var(--st-charcoal-500, #6b7280);
    margin-right: 8px;
    flex-shrink: 0;
}

.st-search-field {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: var(--st-text-sm, 0.875rem);
    color: var(--st-charcoal-900, #111827);
    padding: 8px 0;
    min-width: 0;
}

.st-search-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--st-brand-50, #fff1f2);
    color: var(--st-brand-700, #be0038);
    border: 1px solid var(--st-brand-200, #fecdd3);
    border-radius: var(--st-radius-full, 9999px);
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.st-search-filter-badge:hover {
    background: var(--st-brand-700, #be0038);
    color: #ffffff;
}

/* Row 2: Nav Strip for Search Layout */
.st-search-nav-row {
    border-top: 1px solid var(--st-stone-200, #e7e5e4);
    padding-top: 0.5rem;
    display: flex;
    justify-content: center;
}

.st-menu-spread {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 1.2vw, 20px);
}

/* --- 3. LOGO & BRANDING (Akila Atelier) --- */
.st-logo {
    flex-shrink: 0;
}

.st-logo img,
.custom-logo-link img {
    max-height: 52px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    filter: contrast(1.06);
    image-rendering: -webkit-optimize-contrast;
}

.custom-logo-link {
    text-decoration: none;
    display: block;
}

.st-brand-block {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.st-brand-text {
    display: flex;
    align-items: center;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--st-charcoal-900, #111827);
    letter-spacing: -0.03em;
}

.st-brand-text span {
    color: var(--st-brand-700, #be0038);
    margin-left: 4px;
}

.st-brand-sub {
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--st-brand-700, #be0038);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Ikon Mawar SVG Sidebar/Brand */
.st-rose-icon-sidebar {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 8px;
    color: var(--st-brand-700, #be0038);
    display: inline-block;
    transition: transform 0.3s ease;
}

/* --- 4. NAVIGASI GLOBAL --- */
.st-main-nav,
.st-main-nav-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.st-menu,
.st-menu-bottom {
    display: flex;
    list-style: none !important;
    padding: 0;
    margin: 0 auto;
    gap: clamp(16px, 1.8vw, 28px);
    align-items: center;
}

.st-menu li,
.st-menu-bottom li {
    position: relative;
    list-style: none !important;
}

.st-menu li a,
.st-menu-bottom li a {
    text-decoration: none;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-weight: 600;
    white-space: nowrap;
    color: var(--st-charcoal-800, #1f2937);
    font-size: 14.5px;
    letter-spacing: -0.01em;
    padding: 8px 14px;
    border-radius: var(--st-radius-md, 12px);
    display: inline-flex;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-menu li a:hover,
.st-menu-bottom li a:hover {
    color: var(--st-brand-700, #be0038);
    background: var(--st-brand-50, #fff1f2);
}

.st-menu li.current-menu-item > a,
.st-menu-bottom li.current-menu-item > a {
    color: var(--st-brand-700, #be0038);
    background: var(--st-brand-50, #fff1f2);
    font-weight: 700;
}

/* --- 5. SUB MENU / DROPDOWN (Hover Bridge, Zero Dead-Zone) --- */
.st-menu .sub-menu,
.st-menu-bottom .sub-menu,
.st-megamenu-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--st-surface-card, #ffffff);
    min-width: 240px;
    border: 1px solid var(--st-stone-200, #e7e5e4);
    box-shadow: 0 16px 36px -6px rgba(17, 24, 39, 0.1), 0 4px 12px -2px rgba(17, 24, 39, 0.04);
    border-radius: var(--st-radius-lg, 16px);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
    z-index: 1050;
    margin: 0;
    list-style: none !important;
}

/* Invisible Hover Bridge Pseudo-Element: guarantees continuous hover between trigger & panel */
.st-menu li::after,
.st-menu-bottom li::after,
.st-megamenu-nav li::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    display: block;
    pointer-events: auto;
}

.st-menu li:hover > .sub-menu,
.st-menu li:focus-within > .sub-menu,
.st-menu-bottom li:hover > .sub-menu,
.st-menu-bottom li:focus-within > .sub-menu,
.st-megamenu-nav li:hover > .sub-menu,
.st-megamenu-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.st-menu .sub-menu li,
.st-menu-bottom .sub-menu li,
.st-megamenu-nav .sub-menu li {
    position: relative;
    list-style: none !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

.st-menu .sub-menu li a,
.st-menu-bottom .sub-menu li a,
.st-megamenu-nav .sub-menu li a {
    padding: 9px 14px;
    font-weight: 500;
    font-size: var(--st-text-sm, 0.875rem);
    border-radius: var(--st-radius-sm, 8px);
    color: var(--st-charcoal-800, #1f2937);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.st-menu .sub-menu li a:hover,
.st-menu-bottom .sub-menu li a:hover,
.st-megamenu-nav .sub-menu li a:hover {
    background: var(--st-brand-50, #fff1f2);
    color: var(--st-brand-700, #be0038);
    transform: translateX(2px);
}

/* Keep first child aligned cleanly to left of parent trigger to prevent screen cutoff */
.st-menu > li:first-child > .sub-menu,
.st-megamenu-nav > li:first-child > .sub-menu {
    left: 0;
    transform: translateX(0) translateY(4px);
}

.st-menu > li:first-child:hover > .sub-menu,
.st-menu > li:first-child:focus-within > .sub-menu,
.st-megamenu-nav > li:first-child:hover > .sub-menu,
.st-megamenu-nav > li:first-child:focus-within > .sub-menu {
    transform: translateX(0) translateY(0);
}

/* Multi-Column Submenu layout when containing > 5 items (e.g. Buket, Momen Spesial) */
.st-menu > li > .sub-menu:has(> li:nth-child(6)),
.st-megamenu-nav > li > .sub-menu:has(> li:nth-child(6)) {
    min-width: 420px;
    width: max-content;
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 4px;
}

/* ============================================================================
   LEVEL 3 FLYOUT SUB-MENU (Desktop Multi-Tier Navigation)
   ============================================================================ */
.st-menu .sub-menu .menu-item-has-children,
.st-megamenu-nav .sub-menu .menu-item-has-children,
.st-concept-b-layout .st-ribbon-chip-list .sub-menu .menu-item-has-children {
    position: relative;
}

/* Flyout dropdown panel for Level 3 items */
.st-menu .sub-menu .sub-menu,
.st-megamenu-nav .sub-menu .sub-menu,
.st-concept-b-layout .st-ribbon-chip-list .sub-menu .sub-menu {
    position: absolute;
    top: -4px;
    left: calc(100% + 4px);
    transform: translateX(4px);
    min-width: 210px;
    background: var(--st-surface-card, #FFFFFF);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    box-shadow: 0 14px 32px -4px rgba(17, 24, 39, 0.1), 0 4px 12px -2px rgba(17, 24, 39, 0.04);
    border-radius: var(--st-radius-lg, 14px);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
    z-index: 1060;
    list-style: none !important;
    display: block;
}

/* Hover bridge for flyout (Continuous diagonal corridor) */
.st-menu .sub-menu .sub-menu::before,
.st-megamenu-nav .sub-menu .sub-menu::before,
.st-concept-b-layout .st-ribbon-chip-list .sub-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -16px;
    bottom: -16px;
    left: -24px;
    width: 28px;
    display: block;
    pointer-events: auto;
    background: transparent;
}

.st-menu .sub-menu .menu-item-has-children::before,
.st-megamenu-nav .sub-menu .menu-item-has-children::before,
.st-concept-b-layout .st-ribbon-chip-list .sub-menu .menu-item-has-children::before {
    content: '';
    position: absolute;
    top: -6px;
    bottom: -6px;
    right: -16px;
    width: 22px;
    display: block;
    pointer-events: auto;
    z-index: 1055;
}

/* Show Level 3 flyout on hover / focus */
.st-menu .sub-menu .menu-item-has-children:hover > .sub-menu,
.st-menu .sub-menu .menu-item-has-children:focus-within > .sub-menu,
.st-megamenu-nav .sub-menu .menu-item-has-children:hover > .sub-menu,
.st-megamenu-nav .sub-menu .menu-item-has-children:focus-within > .sub-menu,
.st-concept-b-layout .st-ribbon-chip-list .sub-menu .menu-item-has-children:hover > .sub-menu,
.st-concept-b-layout .st-ribbon-chip-list .sub-menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

/* Level 3 items styling */
.st-menu .sub-menu .sub-menu li a,
.st-megamenu-nav .sub-menu .sub-menu li a {
    padding: 8px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--st-charcoal-700, #374151);
    border-radius: var(--st-radius-sm, 6px);
}

.st-menu .sub-menu .sub-menu li a:hover,
.st-megamenu-nav .sub-menu .sub-menu li a:hover {
    color: var(--st-brand-700, #BE0038);
    background: var(--st-brand-50, #FFF1F2);
    transform: translateX(3px);
}

/* Sewa Highlight Badge & Link Styling */
.menu-item-sewa > a {
    font-weight: 600 !important;
}

.st-sewa-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: var(--st-radius-full, 9999px);
    background: #FEF3C7;
    color: #92400E;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    border: 1px solid #FDE68A;
    vertical-align: middle;
    transition: background 0.15s ease, color 0.15s ease;
}

.st-menu .sub-menu li.menu-item-sewa > a,
.st-megamenu-nav .sub-menu li.menu-item-sewa > a {
    background: #FFFDF5;
    color: #92400E;
    border: 1px solid #FEF3C7;
}

.st-menu .sub-menu li.menu-item-sewa > a:hover,
.st-megamenu-nav .sub-menu li.menu-item-sewa > a:hover {
    background: #FEF3C7;
    color: #78350F;
    border-color: #FDE68A;
}

.st-menu .sub-menu li.menu-item-sewa > a:hover .st-sewa-badge,
.st-megamenu-nav .sub-menu li.menu-item-sewa > a:hover .st-sewa-badge {
    background: #FDE68A;
    color: #78350F;
}

/* --- 6. LUXURY ELEMENTS (Desktop Only) --- */
.st-luxury-contact {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    justify-content: flex-start;
}

.st-luxury-social {
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    justify-content: flex-end;
}

.st-luxury-contact,
.st-luxury-social {
    padding-left: 0;
    padding-right: 0;
}

.st-luxury-item {
    text-decoration: none;
    color: var(--st-charcoal-700, #374151);
    font-size: var(--st-text-sm, 0.875rem);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    padding: 5px 12px;
    border-radius: var(--st-radius-full, 9999px);
}

.st-luxury-item:hover {
    background: var(--st-brand-50, #fff1f2);
    color: var(--st-brand-700, #be0038);
}

/* --- 7. HEADER ACTIONS & CTA --- */
.st-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.st-search-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--st-radius-full, 9999px);
    background: var(--st-surface-subtle, #FAF8F7);
    border: 1px solid var(--st-stone-200, #e7e5e4);
    color: var(--st-charcoal-700, #374151);
    cursor: pointer;
    font-weight: 500;
    font-size: 13.5px;
    box-shadow: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-search-trigger .st-header-icon {
    color: var(--st-brand-700, #be0038);
    transition: transform 0.2s ease;
}

.st-search-teks {
    font-weight: 600;
    white-space: nowrap;
    color: inherit;
    font-size: 13.5px;
    line-height: 1;
}

.st-search-trigger:hover {
    background: var(--st-surface-card, #ffffff);
    border-color: var(--st-brand-700, #be0038);
    color: var(--st-brand-700, #be0038);
    box-shadow: 0 2px 8px rgba(190, 0, 56, 0.1);
    transform: translateY(-1px);
}

.st-search-trigger:hover .st-header-icon {
    transform: scale(1.1);
}

.st-search-trigger:active {
    transform: scale(0.97);
}

/* CTA Header: Pesan Cepat Button (Design System 6.3) */
.st-header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    background-color: var(--st-brand-700, #be0038);
    color: #ffffff !important;
    border: none;
    border-radius: var(--st-radius-full, 9999px);
    padding: 0 20px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(190, 0, 56, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.st-header-cta-btn:hover {
    background-color: var(--st-brand-800, #9f1239);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(190, 0, 56, 0.35);
}

.st-header-cta-btn:active {
    transform: translateY(0) scale(0.98);
}

.st-cta-arrow {
    transition: transform 0.2s ease;
}

.st-header-cta-btn:hover .st-cta-arrow {
    transform: translateX(3px);
}

/* ============================================================================
8. RESPONSIVE BREAKPOINT - CONSISTENT 1024px
============================================================================ */

/* A. TABLET & DESKTOP (>= 768px) - Show Desktop Header */
@media (min-width: 768px) {

    .desktop-only,
    .st-site-header {
        display: block !important;
    }

    .mobile-only,
    .st-mobile-app-header,
    .st-mobile-trigger,
    #mobile-menu-trigger {
        display: none !important;
    }

    /* Memastikan layout header tetap sejajar di desktop */
    .st-header-grid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: clamp(1.5rem, 2vw, 2.5rem) !important;
    }

    .st-header-stacked {
        display: flex !important;
    }
}

/* B. MOBILE APP (< 768px) - Hide Desktop Header & Show Mobile Header */
@media (max-width: 767px) {
    .st-site-header.desktop-only,
    .st-topbar.desktop-only {
        display: none !important;
    }

    .mobile-only,
    .st-mobile-app-header {
        display: block !important;
    }
}

/* --- 9. MEGA MENU FIX (Hanya Aktif di Desktop) --- */
@media (min-width: 1025px) {
    .st-header-grid .st-menu li.mega-menu:hover>.sub-menu {
        display: flex !important;
    }
}

/* --- SIMPLE MEGA MENU FIX --- */
/* 1. Membuat Sub Menu pada Mega Menu menjadi lebar */
.st-menu-bottom li.mega-menu:hover>.sub-menu {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 25px;
    min-width: 500px;
    left: auto;
    right: 0;
    transform: translateY(0);
}

/* 2. Menghilangkan efek 'absolute' pada sub-menu level 3 agar tidak menumpuk */
.st-menu-bottom li.mega-menu .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0 0 0 15px;
    transform: none;
    display: block;
    min-width: auto;
    background: transparent;
}

/* 3. Merapikan tampilan teks */
.st-menu-bottom li.mega-menu .sub-menu li {
    margin-bottom: 10px;
}

.st-menu-bottom li.mega-menu .sub-menu li a {
    padding: 5px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Judul Kategori (Flower Decoration, Parcel) dibuat lebih tegas */
.st-menu-bottom li.mega-menu>.sub-menu>li>a {
    font-weight: 800;
    color: var(--st-brand-700, #be0038);
    text-transform: uppercase;
    border-bottom: 2px solid var(--st-brand-700, #be0038);
    margin-bottom: 10px;
}

/* --- MEGA MENU KHUSUS STANDARD LAYOUT --- */
/* 1. Pastikan Container Standard Layout bisa menampung dropdown lebar */
.st-header-grid {
    position: relative;
}

/* 2. Style Sub-Menu Utama (Level 2) pada Mega Menu */
.st-header-grid .st-menu li.mega-menu:hover>.sub-menu {
    display: flex !important;
    flex-direction: row;
    gap: 40px;
    padding: 30px;
    min-width: 600px;
    left: auto;
    right: 0;
    transform: translateY(0);
    border-top: 3px solid var(--st-brand-700, #be0038);
    border-radius: 0 0 10px 10px;
}

/* 3. Style Sub-Menu di Dalamnya (Level 3 - Flower Decoration, Parcel, dll) */
.st-header-grid .st-menu li.mega-menu .sub-menu .sub-menu {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    padding: 10px 0 0 0 !important;
    margin: 0 !important;
    transform: none !important;
    background: transparent !important;
    min-width: auto !important;
}

/* 4. Merapikan Teks Judul Kategori di dalam Mega Menu */
.st-header-grid .st-menu li.mega-menu>.sub-menu>li>a {
    font-weight: 800 !important;
    color: var(--st-charcoal-900, #111827) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--st-brand-700, #be0038);
    margin-bottom: 10px;
    padding-bottom: 5px;
}

/* 5. Merapikan Teks Anak Menu (Level 3) */
.st-header-grid .st-menu li.mega-menu .sub-menu .sub-menu li a {
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    color: var(--st-charcoal-700, #374151) !important;
    padding: 5px 0 !important;
    border: none !important;
}

.st-header-grid .st-menu li.mega-menu .sub-menu .sub-menu li a:hover {
    color: var(--st-brand-700, #be0038) !important;
    padding-left: 5px !important;
}

/* Clean Dropdown Indicator without external icon fonts */
.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.8px solid var(--st-charcoal-500, #6B7280);
    border-bottom: 1.8px solid var(--st-charcoal-500, #6B7280);
    transform: rotate(45deg) translateY(-2px);
    margin-left: 8px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
    flex-shrink: 0;
}

.menu-item-has-children:hover > a::after,
.menu-item-has-children:focus-within > a::after {
    transform: rotate(225deg) translateY(-2px);
    border-color: var(--st-brand-700, #BE0038);
}

.sub-menu .menu-item-has-children > a::after {
    transform: rotate(-45deg);
}

.sub-menu .menu-item-has-children:hover > a::after {
    transform: rotate(-45deg) translateX(2px);
}

/* ============================================================================
   KONSEP A: LUXURY ATELIER MAIN NAVIGATION (1-ROW CLEAN WP NAV)
   ============================================================================ */
.st-header-megamenu-layout {
    position: relative;
    min-height: 76px;
}

.st-megamenu-nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.4vw, 22px);
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.st-megamenu-nav > li {
    position: relative;
    list-style: none !important;
}

.st-megamenu-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.9125rem;
    font-weight: 600;
    color: var(--st-charcoal-800, #1F2937);
    text-decoration: none;
    border-radius: var(--st-radius-md, 12px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.st-megamenu-nav > li > a:hover {
    color: var(--st-brand-700, #BE0038);
    background: var(--st-brand-50, #FFF1F2);
}

.st-megamenu-nav > li.current-menu-item > a,
.st-megamenu-nav > li.current-menu-parent > a {
    color: var(--st-brand-700, #BE0038);
    background: var(--st-brand-50, #FFF1F2);
    font-weight: 700;
}

/* ============================================================================
   KONSEP B: TWO-TIER DISCOVERY SHELL STYLES (TIER-1 ENTERPRISE BENCHMARK)
   ============================================================================ */
.st-concept-b-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0 2px 0;
}

.st-concept-b-layout .st-search-top-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    gap: clamp(1rem, 2.5vw, 2.5rem);
}

/* Tier-1 Omni-Search Pill Group */
.st-search-bar-wrapper {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.st-prominent-search-form {
    width: 100%;
}

.st-omni-input-group {
    background: #FFFFFF;
    border: 1.5px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-full, 9999px);
    height: 46px;
    padding: 0 5px 0 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px -2px rgba(17, 24, 39, 0.05), 0 1px 3px rgba(17, 24, 39, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.st-omni-input-group:hover {
    border-color: var(--st-brand-300, #FDA4AF);
    box-shadow: 0 4px 14px -3px rgba(190, 0, 56, 0.12), 0 1px 3px rgba(17, 24, 39, 0.04);
}

.st-omni-input-group:focus-within {
    background: #FFFFFF;
    border-color: var(--st-brand-700, #BE0038);
    box-shadow: 0 4px 20px -4px rgba(190, 0, 56, 0.16), 0 0 0 3px rgba(190, 0, 56, 0.08);
    transform: translateY(-0.5px);
}

.st-search-icon-wrap {
    display: flex;
    align-items: center;
    color: var(--st-charcoal-500, #6B7280);
    margin-right: 10px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.st-omni-input-group:focus-within .st-search-icon-wrap {
    color: var(--st-brand-700, #BE0038);
}

.st-omni-input-group .st-search-field {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--st-charcoal-900, #111827);
    padding: 10px 10px 10px 4px;
    min-width: 0;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.st-omni-input-group .st-search-field::placeholder {
    color: var(--st-charcoal-500, #6B7280);
    font-weight: 400;
}

/* Secondary Filter Trigger Button */
.st-omni-input-group .st-search-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--st-surface-subtle, #FAF8F7);
    color: var(--st-charcoal-700, #374151);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-full, 9999px);
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
    margin-right: 4px;
    height: 32px;
}

.st-omni-input-group .st-search-filter-badge:hover {
    background: var(--st-brand-50, #FFF1F2);
    border-color: var(--st-brand-200, #FECDD3);
    color: var(--st-brand-700, #BE0038);
}

/* Circular Instant Submit Button (Airbnb / Nike search icon button) */
.st-search-submit-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--st-brand-700, #BE0038);
    border: none;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-search-submit-btn:hover {
    background: var(--st-brand-800, #9F1239);
    transform: scale(1.05);
}

.st-search-submit-btn:active {
    transform: scale(0.95);
}

/* Store 24H Pulse Pill */
.st-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--st-radius-full, 9999px);
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(22, 101, 52, 0.05);
}

.st-status-pulse {
    width: 7px;
    height: 7px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    animation: pulseStatus 1.8s infinite;
}

@keyframes pulseStatus {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ============================================================================
   BARIS 2: CATEGORY DISCOVERY RIBBON (Klook / Airbnb Inspired Pill Navigation)
   ============================================================================ */
.st-concept-b-layout .st-category-ribbon-row {
    background: transparent;
    border-top: 1px solid var(--st-stone-200, #E7E5E4);
    margin: 4px -24px -6px -24px;
    padding: 4px 24px 0 24px;
    display: flex;
    justify-content: flex-start;
}

.st-concept-b-layout .st-category-ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.st-concept-b-layout .st-ribbon-chip-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.st-concept-b-layout .st-ribbon-chip-list > li {
    position: relative;
    list-style: none !important;
}

.st-concept-b-layout .st-ribbon-chip-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px 9px 12px;
    background: transparent;
    color: var(--st-charcoal-700, #374151);
    text-decoration: none;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.8375rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.st-concept-b-layout .st-ribbon-chip-list > li > a:hover {
    color: var(--st-brand-700, #BE0038);
    border-bottom-color: var(--st-brand-300, #FDA4AF);
    background: transparent;
}

.st-concept-b-layout .st-ribbon-chip-list > li.current-menu-item > a,
.st-concept-b-layout .st-ribbon-chip-list > li.current-menu-parent > a,
.st-concept-b-layout .st-ribbon-chip-list > li.current-menu-ancestor > a {
    background: transparent !important;
    color: var(--st-brand-700, #BE0038) !important;
    border-bottom: 2px solid var(--st-brand-700, #BE0038) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: 700;
}

/* Dropdown alignment for Concept B ribbon (Level 2 only) */
.st-concept-b-layout .st-ribbon-chip-list > li > .sub-menu {
    top: calc(100% + 4px);
}

/* ============================================================================
   8. LANGUAGE SWITCHER DROPDOWN (ID / EN) COMPONENT
   ============================================================================ */
.st-lang-dropdown {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

/* 1. Trigger Button (Translate Icon Squircle) */
.st-lang-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--st-surface-subtle, #FAF8F7);
    border: 1px solid var(--st-stone-200, #E7E5E4);
    border-radius: var(--st-radius-md, 12px);
    color: var(--st-charcoal-800, #1F2937);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    outline: none;
    box-sizing: border-box;
    padding: 0;
}

.st-lang-trigger-btn:hover,
.st-lang-dropdown.is-open .st-lang-trigger-btn {
    background: #FFFFFF;
    border-color: var(--st-brand-700, #BE0038);
    color: var(--st-brand-700, #BE0038);
    box-shadow: 0 2px 8px rgba(190, 0, 56, 0.08);
}

.st-lang-trigger-icon {
    width: 19px;
    height: 19px;
    transition: transform 0.2s ease;
    display: block;
}

.st-lang-dropdown.is-open .st-lang-trigger-icon {
    transform: scale(1.08);
}

/* Badge dot indicator of current language */
.st-lang-badge-dot {
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 8.5px;
    font-weight: 800;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--st-brand-700, #BE0038);
    text-transform: uppercase;
}

/* 2. Floating Popover Card with Tooltip Arrow Caret */
.st-lang-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 5px;
    box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.96);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    white-space: nowrap;
}

/* Caret Arrow pointing to trigger */
.st-lang-popover::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    transform: rotate(45deg);
    box-shadow: -2px -2px 3px rgba(0, 0, 0, 0.03);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.st-lang-dropdown.is-open .st-lang-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* 3. Popover Options (Horizontal Segmented Pills) */
.st-lang-opt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
    color: var(--st-charcoal-500, #6B7280);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.15s ease;
    position: relative;
    z-index: 1;
    line-height: 1;
}

.st-lang-opt:hover {
    color: var(--st-charcoal-900, #111827);
    background: var(--st-stone-100, #F5F5F4);
}

.st-lang-opt.is-active {
    background: var(--st-surface-subtle, #FAF8F7);
    color: var(--st-charcoal-900, #111827);
    font-weight: 800;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07), inset 0 0 0 1px var(--st-stone-200, #E7E5E4);
}

.st-lang-opt-flag {
    font-size: 14px;
    line-height: 1;
}

/* Mobile Sidebar Language Row */
.st-mobile-lang-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--st-stone-200, #E7E5E4);
}

.st-mobile-lang-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--st-charcoal-700, #374151);
}

/* ============================================================================
⚠️ IMPORTANT: FILTER OVERLAY CSS ADA DI filter-overlay-container.php
Jangan tambahkan CSS filter overlay di file ini untuk menghindari duplikasi!
============================================================================ */