/* ==========================================================================
   TRIPGO THEME - MODERN HEADER, TOP HEADER PROMO & MOBILE ACCORDION STYLES
   ========================================================================== */

:root {
    --tg-primary: #0d6efd;
    --tg-primary-hover: #0b5ed7;
    --tg-dark: #0f172a;
    --tg-text: #1e293b;
    --tg-text-muted: #64748b;
    --tg-border: #e2e8f0;
    --tg-border-light: #f1f5f9;
    --tg-bg-light: #f8fafc;
    --tg-wa-green: #25d366;
    --tg-font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset Box Sizing */
.herbie-top-header,
.herbie-top-header *,
.tripgo-site-header,
.tripgo-site-header *,
.tripgo-drawer-panel,
.tripgo-drawer-panel * {
    box-sizing: border-box;
    font-family: var(--tg-font-family);
}

/* ==========================================================================
   0. TOP HEADER PROMO BANNER (SEMPURNA MENGIKUTI PENGATURAN CUSTOMIZER)
   ========================================================================== */
.herbie-top-header {
    width: 100% !important;
    background-color: var(--rb-topheader-bg, #b30000) !important;
    color: var(--rb-topheader-text, #ffffff) !important;
    padding: 8px 20px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    position: relative !important;
    z-index: 995 !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    line-height: 1.5 !important;
}

.herbie-top-header-container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Pengaturan Penataan Posisi (Kiri, Tengah, Kanan) */
.herbie-top-header[data-align="left"],
.herbie-top-header[data-align="left"] .herbie-top-header-container {
    justify-content: flex-start !important;
    text-align: left !important;
}

.herbie-top-header[data-align="center"],
.herbie-top-header[data-align="center"] .herbie-top-header-container {
    justify-content: center !important;
    text-align: center !important;
}

.herbie-top-header[data-align="right"],
.herbie-top-header[data-align="right"] .herbie-top-header-container {
    justify-content: flex-end !important;
    text-align: right !important;
}

/* Rotator Kontainer */
.herbie-text-rotator {
    position: relative;
    height: 22px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.herbie-top-header[data-align="left"] .herbie-text-rotator { justify-content: flex-start; text-align: left; }
.herbie-top-header[data-align="center"] .herbie-text-rotator { justify-content: center; text-align: center; }
.herbie-top-header[data-align="right"] .herbie-text-rotator { justify-content: flex-end; text-align: right; }

.herbie-text-rotator span {
    color: inherit !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

/* Animasi Fade */
.herbie-text-rotator.anim-fade span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.5s ease;
    width: 100%;
    text-align: inherit;
}
.herbie-text-rotator.anim-fade span.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animasi Blink (Berkedip) */
.herbie-text-rotator.anim-blink span {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    text-align: inherit;
}
.herbie-text-rotator.anim-blink span.active {
    opacity: 1;
    animation: rbTopBlink 1.2s ease-in-out infinite;
}
@keyframes rbTopBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.15; }
}

/* Animasi Marquee (Teks Berjalan) */
.herbie-top-marquee {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}
.herbie-top-marquee span {
    display: inline-block;
    padding-left: 100%;
    color: inherit !important;
    animation: rbTopMarquee 16s linear infinite;
}
@keyframes rbTopMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Animasi Typewriter */
.herbie-top-typewriter {
    display: inline-block;
    color: inherit !important;
}
.tw-cursor {
    animation: rbTopBlink 0.8s infinite;
    margin-left: 2px;
    font-weight: normal;
}

/* --------------------------------------------------------------------------
   1. SITE HEADER CONTAINER
   -------------------------------------------------------------------------- */
.tripgo-site-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 990;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tripgo-header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --------------------------------------------------------------------------
   2. BRANDING & LOGO
   -------------------------------------------------------------------------- */
.tripgo-brand-col {
    display: flex;
    align-items: center;
}

.tripgo-logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.tripgo-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
}

.tripgo-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tripgo-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    color: #0f172a;
    border-radius: 10px;
    border: 1px solid var(--tg-border);
}

.tripgo-logo-text-group {
    display: flex;
    flex-direction: column;
}

.tripgo-brand-name {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.tripgo-brand-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--tg-text-muted);
}

/* --------------------------------------------------------------------------
   3. DESKTOP TIER 1 (TOP BAR): SEARCH PILL & UTILITIES
   -------------------------------------------------------------------------- */
.tripgo-top-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--tg-border-light);
    padding: 12px 0;
}

.tripgo-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* Search Bar Capsule */
.tripgo-search-col {
    flex: 1;
    max-width: 460px;
}

.tripgo-search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--tg-bg-light);
    border: 1px solid var(--tg-border);
    border-radius: 50px;
    padding: 2px 16px;
    transition: all 0.25s ease;
}

.tripgo-search-form:focus-within {
    background: #ffffff;
    border-color: var(--tg-primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.tripgo-search-icon {
    display: flex;
    align-items: center;
    color: var(--tg-text-muted);
    margin-right: 10px;
    flex-shrink: 0;
}

.tripgo-search-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tg-text);
    padding: 8px 0;
}

.tripgo-search-input::placeholder {
    color: #94a3b8;
}

/* Right Actions (Need Help, Language, Login) */
.tripgo-actions-col {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tripgo-help-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--rb-color-primary, var(--tg-primary)) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tripgo-help-link:hover {
    color: var(--rb-color-secondary, var(--tg-primary-hover)) !important;
    text-decoration: underline;
}

/* Language Dropdown */
.tripgo-lang-dropdown {
    position: relative;
}

.tripgo-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tg-text);
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.tripgo-lang-btn:hover {
    background: var(--tg-bg-light);
}

.tripgo-caret {
    font-size: 10px;
    margin-left: 2px;
    color: var(--tg-text-muted);
}

.tripgo-lang-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid var(--tg-border);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 160px;
    display: none;
    z-index: 1000;
}

.tripgo-lang-dropdown.active .tripgo-lang-menu {
    display: block;
    animation: tgFadeDown 0.2s ease forwards;
}

.tripgo-lang-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tg-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.tripgo-lang-menu li a:hover,
.tripgo-lang-menu li a.active {
    background: #f1f5f9;
    color: var(--tg-primary);
}

/* Tombol Login (MENGIKUTI PENGATURAN TEMA: --rb-btn-bg & --rb-btn-text) */
.tripgo-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--rb-btn-bg, #FFD700) !important;
    color: var(--rb-btn-text, #000000) !important;
    font-size: var(--rb-btn-size, 14px) !important;
    font-weight: var(--rb-btn-weight, 700) !important;
    text-decoration: none !important;
    padding: 9px 24px;
    border-radius: 50px;
    transition: all 0.25s ease;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tripgo-btn-login:hover {
    background-color: var(--rb-color-primary, #0d6efd) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   4. DESKTOP TIER 2 (NAVBAR): PENGATURAN POSISI KIRI / TENGAH / KANAN
   -------------------------------------------------------------------------- */
.tripgo-nav-bar {
    background: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid var(--tg-border-light);
    position: relative;
}

.tripgo-nav-bar-inner {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* 4.1 Posisi Menu: KIRI (Default) */
.tripgo-nav-bar[data-menu-align="left"] .tripgo-nav-bar-inner {
    justify-content: space-between;
}
.tripgo-nav-bar[data-menu-align="left"] .tripgo-desktop-nav {
    margin-right: auto;
}

/* 4.2 Posisi Menu: TENGAH */
.tripgo-nav-bar[data-menu-align="center"] .tripgo-nav-bar-inner {
    justify-content: center;
}
.tripgo-nav-bar[data-menu-align="center"] .tripgo-desktop-nav {
    margin: 0 auto;
}
.tripgo-nav-bar[data-menu-align="center"] .tripgo-wa-card {
    position: absolute;
    right: 20px;
}

/* 4.3 Posisi Menu: KANAN */
.tripgo-nav-bar[data-menu-align="right"] .tripgo-nav-bar-inner {
    justify-content: flex-end;
    gap: 30px;
}
.tripgo-nav-bar[data-menu-align="right"] .tripgo-desktop-nav {
    margin-left: auto;
}

/* Desktop Horizontal Menu List */
.tripgo-desktop-nav {
    display: flex;
    align-items: center;
}

.tripgo-desktop-nav ul.tripgo-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 28px;
}

.tripgo-desktop-nav ul.tripgo-menu > li {
    position: relative;
    padding: 10px 0;
}

.tripgo-desktop-nav ul.tripgo-menu > li > a {
    color: var(--rb-menu-text, #334155);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 50px;
}

.tripgo-desktop-nav ul.tripgo-menu > li.current-menu-item > a,
.tripgo-desktop-nav ul.tripgo-menu > li > a:hover {
    color: var(--rb-menu-text-hover, var(--tg-primary)) !important;
    background: var(--rb-menu-bg-hover, transparent) !important;
}

.tripgo-desktop-nav ul.tripgo-menu > li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 11px;
    margin-left: 5px;
    color: var(--tg-text-muted);
}

/* Desktop Dropdown Submenu */
.tripgo-desktop-nav ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    border: 1px solid var(--tg-border);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 210px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 999;
}

.tripgo-desktop-nav ul.tripgo-menu > li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tripgo-desktop-nav ul.sub-menu li {
    position: relative;
    padding: 0;
}

.tripgo-desktop-nav ul.sub-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--tg-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
}

.tripgo-desktop-nav ul.sub-menu li a:hover {
    background: var(--tg-bg-light);
    color: var(--tg-primary);
    padding-left: 24px;
}

/* WhatsApp Hotline Card Widget */
.tripgo-wa-card {
    display: inline-flex;
    align-items: center;
}

.tripgo-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--tg-bg-light);
    border: 1px solid var(--tg-border);
    border-radius: 8px;
    padding: 6px 14px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.tripgo-wa-link:hover {
    border-color: var(--tg-wa-green);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.tripgo-wa-icon-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--tg-wa-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.35);
}

.tripgo-wa-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tripgo-wa-tag {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--tg-text-muted);
    line-height: 1.2;
}

.tripgo-wa-phone {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tg-dark);
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   5. MOBILE HEADER BAR (< 992px)
   -------------------------------------------------------------------------- */
.tripgo-mobile-bar {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid var(--tg-border);
    padding: 12px 0;
    position: relative;
}

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

.tripgo-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tombol Search Mobile */
.tripgo-mobile-search-toggle {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--tg-border);
    background: #ffffff;
    color: var(--tg-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tripgo-mobile-search-toggle:hover {
    background: var(--tg-bg-light);
    border-color: var(--tg-primary);
    color: var(--tg-primary);
}

/* Tombol Hamburger Mobile */
.tripgo-mobile-hamburger {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--tg-border);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.tripgo-mobile-hamburger:hover {
    background: var(--tg-bg-light);
    border-color: var(--tg-dark);
}

.tripgo-ham-bar {
    width: 18px;
    height: 2px;
    background: var(--tg-dark);
    border-radius: 2px;
    transition: all 0.25s;
}

.tripgo-ham-bar.short {
    width: 13px;
    align-self: flex-start;
    margin-left: 10px;
}

/* Mobile Search Dropdown Tray */
.tripgo-mobile-search-tray {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    background: var(--tg-bg-light);
    border-bottom: 1px solid var(--tg-border);
    padding: 0 20px;
}

.tripgo-mobile-search-tray.is-open {
    max-height: 80px;
    opacity: 1;
    padding: 12px 20px;
}

/* --------------------------------------------------------------------------
   6. OFF-CANVAS DRAWER MOBILE (SLIDE-IN FROM LEFT)
   -------------------------------------------------------------------------- */
.tripgo-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tripgo-drawer-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

body.tripgo-drawer-locked {
    overflow: hidden !important;
}

.tripgo-drawer-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 82%;
    max-width: 320px;
    background: #ffffff;
    z-index: 999999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.15);
}

.tripgo-drawer-panel.is-open {
    transform: translateX(0);
}

/* Drawer Head */
.tripgo-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--tg-border);
}

.tripgo-drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--tg-border);
    background: #ffffff;
    color: var(--tg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tripgo-drawer-close-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
}

/* Drawer Body (Navigation with Accordion) */
.tripgo-drawer-nav-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
    -webkit-overflow-scrolling: touch;
}

.tripgo-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tripgo-drawer-menu > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f8fafc;
}

.tripgo-drawer-menu > li > a {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.tripgo-drawer-menu > li.current-menu-item > a {
    color: var(--tg-primary);
}

/* Accordion (+) Button */
.tripgo-acc-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-primary);
    font-size: 20px;
    font-weight: 600;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
    user-select: none;
}

.tripgo-acc-btn:hover {
    background: rgba(13, 110, 253, 0.08);
}

/* Drawer Submenu Accordion Style */
.tripgo-drawer-menu ul.sub-menu {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
    border-left: 2px solid var(--tg-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

.tripgo-drawer-menu ul.sub-menu li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    width: 100%;
}

.tripgo-drawer-menu ul.sub-menu li a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s ease;
}

.tripgo-drawer-menu ul.sub-menu li a:hover {
    color: var(--tg-primary);
}

/* Drawer Footer */
.tripgo-drawer-foot {
    padding: 20px;
    border-top: 1px solid var(--tg-border);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tripgo-wa-drawer-style {
    width: 100%;
}

.tripgo-wa-drawer-style .tripgo-wa-link {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 14px;
}

.tripgo-btn-login-drawer {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: var(--rb-btn-size, 14px) !important;
    font-weight: var(--rb-btn-weight, 700) !important;
    background-color: var(--rb-btn-bg, #FFD700) !important;
    color: var(--rb-btn-text, #000000) !important;
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE BREAKPOINT SWITCHING
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .tripgo-top-bar,
    .tripgo-nav-bar {
        display: none !important;
    }

    .tripgo-mobile-bar {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .tripgo-mobile-bar,
    .tripgo-drawer-panel,
    .tripgo-drawer-backdrop {
        display: none !important;
    }
}

/* Subtle Animation Keyframes */
@keyframes tgFadeDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================= */
/* --- AUTO POPUP STYLES (3 TIPE: GAMBAR, TEKS & KONTAK) --- */
/* ========================================================= */
.herbie-popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.herbie-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}
.herbie-popup-content {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}
.herbie-popup-overlay.show .herbie-popup-content {
    transform: scale(1) translateY(0);
}
.herbie-popup-content.herbie-popup-mode-image {
    max-width: 580px;
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
}
.herbie-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.herbie-popup-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.1);
}
.herbie-popup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Tipe Teks */
.herbie-popup-card-box {
    padding: 35px 28px 30px;
    text-align: center;
}
.herbie-popup-icon-badge {
    font-size: 42px;
    margin-bottom: 12px;
    line-height: 1;
}
.herbie-popup-title {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}
.herbie-popup-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 20px 0;
}
.herbie-popup-desc p {
    margin: 0 0 10px 0;
}
.herbie-popup-desc p:last-child {
    margin-bottom: 0;
}
.herbie-popup-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rb-btn-bg, #1d72fe);
    color: var(--rb-btn-text, #ffffff) !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.herbie-popup-cta-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

/* Tipe Kontak */
.herbie-popup-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 16px;
}
.herbie-popup-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: 0.25s;
}
.herbie-popup-wa-btn:hover {
    background: #1eb956;
    transform: translateY(-2px);
}
.herbie-popup-phone-btn, .herbie-popup-email-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    color: #1e293b !important;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #e2e8f0;
    transition: 0.25s;
}
.herbie-popup-phone-btn:hover, .herbie-popup-email-btn:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}
.herbie-popup-address {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 12px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.herbie-popup-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}
.herbie-pop-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    text-decoration: none !important;
    transition: all 0.2s;
}
.herbie-pop-social:hover {
    background: var(--rb-btn-bg, #1d72fe);
    color: var(--rb-btn-text, #ffffff) !important;
    border-color: var(--rb-btn-bg, #1d72fe);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .herbie-popup-content {
        max-width: 95%;
        border-radius: 16px;
    }
    .herbie-popup-card-box {
        padding: 28px 18px 22px;
    }
    .herbie-popup-title {
        font-size: 18px !important;
    }
    .herbie-popup-desc {
        font-size: 13px;
    }
    .herbie-popup-cta-btn {
        width: 100%;
        box-sizing: border-box;
    }
}
