/*
Theme Name: Molla Child
Theme URI: https://molla.org/
Author: D-THEMES
Author URI: https://molla.org/about-me/
Description: Molla Responsive WordPress + eCommerce Theme.
Version: 1.0
Template: molla
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/* search feature */
#ajaxsearchpro1_1 .probox .prosettings .innericon svg, 
#ajaxsearchpro1_2 .probox .prosettings .innericon svg, 
div.asp_m.asp_m_1 .probox .prosettings .innericon svg {
    fill: rgb(25 186 191)!important;
}
[class*=searchform] .search-wrapper {
    display: block!important;
}
/* setting filter over the result */
	div.asp_s.asp_s_1.searchsettings, 
	div.asp_s.asp_s_1.searchsettings, 
	div.asp_s.asp_s_1.searchsettings,
#ajaxsearchprobsettings1_1.searchsettings, 
#ajaxsearchprobsettings1_2.searchsettings, 
div.asp_sb.asp_sb_1.searchsettings {
    max-width: none !important;
    width: 514px !important;
/* 	height: 450px !important; */
	height: fit-content!important;
    position: absolute !important;
    overflow: visible !important;
    overflow: auto !important;
    overscroll-behavior: contain !important;
    background-color: #fff !important;
    border-radius: 0px 0px 5px 5px !important;
    box-shadow: 3px 3px 6px 0px #d9d9d94a !important;
	border: solid #17bbc0 !important;
	border-left: 1px!important;
	border-right: 1px!important;
	border-bottom: 1px!important;
	border-top: 0px!important;
		margin-left: 0px !important;
		margin-top: 4px !important;
		
}
#ajaxsearchprores1_1.vertical .results, 
#ajaxsearchprores1_2.vertical .results, 
div.asp_r.asp_r_1.vertical .results {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.5) rgb(255, 255, 255);
    max-height: 300px!important;
}

div.ajaxsearchpro.searchsettings fieldset legend,
div.asp_w.asp_sb.searchsettings fieldset legend {
    padding: 0 0 0 10px!important;
    margin: 0!important;
    font-weight: normal!important;
    font-size: 12px!important;
    min-height: 26px!important;
    line-height: normal!important;
    align-items: center!important;
    align-content: center!important;
}
	div.asp_s.asp_s_1.searchsettings form, 
	div.asp_s.asp_s_1.searchsettings form, 
	div.asp_s.asp_s_1.searchsettings form {
		display: flex!important;
	}
	#ajaxsearchprosettings1_1.searchsettings fieldset, 
	#ajaxsearchprosettings1_2.searchsettings fieldset, 
	div.asp_s.asp_s_1.searchsettings fieldset,
#ajaxsearchprobsettings1_1.searchsettings fieldset, 
#ajaxsearchprobsettings1_2.searchsettings fieldset, 
div.asp_sb.asp_sb_1.searchsettings fieldset {
/*     width: 33.333%!important;
    min-width: 33.333%!important;
    max-width: 33.333%!important;
    height: 135px!important;
    min-height: 135px!important;
    max-height: 135px!important;
    overflow-x: hidden!important; */
	width: 33.333% !important;
    min-width: 33.333% !important;
    height: 80px !important;
    overflow-x: hidden !important;
}
#ajaxsearchprosettings1_1.searchsettings .asp_sett_scroll, 
#ajaxsearchprosettings1_2.searchsettings .asp_sett_scroll, 
div.asp_s.asp_s_1.searchsettings .asp_sett_scroll,
#ajaxsearchprobsettings1_1.searchsettings .asp_sett_scroll, 
#ajaxsearchprobsettings1_2.searchsettings .asp_sett_scroll, 
div.asp_sb.asp_sb_1.searchsettings .asp_sett_scroll {
    max-height: 220px!important;
    overflow: auto!important;
    /* border: solid 1px #000 !important; */
	background-color: #19b9be0d !important;
    padding: 5px 0px !important;
    border-radius: 3px!important;
	margin-right: 5px !important;
}
#ajaxsearchprosettings1_1.searchsettings .asp_option_inner .asp_option_checkbox, #ajaxsearchprosettings1_2.searchsettings .asp_option_inner .asp_option_checkbox, div.asp_sb.asp_sb_1.searchsettings .asp_option_inner .asp_option_checkbox, div.asp_s.asp_s_1.searchsettings .asp_option_inner .asp_option_checkbox {
    background-image: -webkit-linear-gradient(180deg, rgb(25 186 191), rgb(25 186 191))!important;
    background-image: -moz-linear-gradient(180deg,rgb(25 186 191),rgb(25 186 191))!important;
    background-image: -o-linear-gradient(180deg,rgb(25 186 191),rgb(25 186 191))!important;
    background-image: -ms-linear-gradient(180deg,rgb(25 186 191) 0,rgb(25 186 191) 100%)!important;
    background-image: linear-gradient(180deg, rgb(25 186 191), rgb(25 186 191))!important;
}
	#ajaxsearchprosettings1_1.searchsettings div.asp_option_label, #ajaxsearchprosettings1_2.searchsettings div.asp_option_label, #ajaxsearchprosettings1_1.searchsettings .asp_label, #ajaxsearchprosettings1_2.searchsettings .asp_label, div.asp_s.asp_s_1.searchsettings div.asp_option_label, div.asp_s.asp_s_1.searchsettings .asp_label {
		font-weight: normal!important;
		font-family: "Open Sans"!important;
		color: #414b5a!important;
		font-size: 12px!important;
		line-height: 12px!important;
		text-shadow: none!important;
	/*     text-transform: capitalize; */
	}

#ajaxsearchprosettings1_1.searchsettings fieldset.asp_s_btn_container .asp_sr_btn_flex, #ajaxsearchprosettings1_2.searchsettings fieldset.asp_s_btn_container .asp_sr_btn_flex, #ajaxsearchprobsettings1_1.searchsettings fieldset.asp_s_btn_container .asp_sr_btn_flex, #ajaxsearchprobsettings1_2.searchsettings fieldset.asp_s_btn_container .asp_sr_btn_flex, div.asp_s.asp_s_1.searchsettings fieldset.asp_s_btn_container .asp_sr_btn_flex, div.asp_sb.asp_sb_1.searchsettings fieldset.asp_s_btn_container .asp_sr_btn_flex {
    padding: 0 0 0 10px !important;
    justify-content: center !important;
    align-items: center!important;
    bottom: 0px !important;
    height: 100% !important;
}

#ajaxsearchprores1_1, #ajaxsearchprores1_2, div.asp_r.asp_r_1{
	z-index: 11000!important;
}

div.asp_w.asp_sb.searchsettings{
	z-index: 11001!important;
}


@media (max-width: 991px) {
	#ajaxsearchprores1_1.vertical .results, #ajaxsearchprores1_2.vertical .results, div.asp_r.asp_r_1.vertical .results {
		max-height: 600px !important;
	}
	div.asp_s.asp_s_1.searchsettings, div.asp_s.asp_s_1.searchsettings, div.asp_s.asp_s_1.searchsettings, #ajaxsearchprobsettings1_1.searchsettings, #ajaxsearchprobsettings1_2.searchsettings, div.asp_sb.asp_sb_1.searchsettings {
    max-width: none !important;
    width: 90% !important;
	min-height: 600px !important;
	top: 119px !important;
	}
	#ajaxsearchprosettings1_1.searchsettings fieldset, #ajaxsearchprosettings1_2.searchsettings fieldset, div.asp_s.asp_s_1.searchsettings fieldset, #ajaxsearchprobsettings1_1.searchsettings fieldset, #ajaxsearchprobsettings1_2.searchsettings fieldset, div.asp_sb.asp_sb_1.searchsettings fieldset {
    width: 50% !important;
    min-width: 50% !important;
    max-width: 50% !important;
    height: 135px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    overflow-x: hidden !important;
	}
	fieldset.asp_s_btn_container {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
	}
	
	#ajaxsearchpro1_1 .probox .proinput, #ajaxsearchpro1_2 .probox .proinput, div.asp_m.asp_m_1 .probox .proinput {
	    margin: 0px!important;
	}

}


/* multiselect and search */
span.asp_select2-container.asp_select2-container--flat.asp_select2-container--open {
    z-index: 12000!important;
    margin-top: -33px!important;
    margin-left: -25px!important;
}

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
.product-action.label-hidden {
	position: relative!important;
	opacity: 1!important;
	left: 0!important;
	padding: 0 12px!important;
	z-index: 10986!important;
}

.product-body h3.woocommerce-loop-product__title.product-title {
    margin-top: 0!important;
}

figure.product-media a {
    margin-bottom: 10px!important;
}

/* ============================================================
   EcoHomes Header — Child Theme Overrides
   Brand color: change --eh-accent to update all header accents
   ============================================================ */
:root {
    --eh-accent: #19babf;
    --eh-accent-dark: #139399;
    --eh-accent-light: #f1ffff;
}

/* --- Main header row --- */
.header-main {
    background-color: #fff;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* --- Search bar: expand + style --- */
.header-main .header-center .header-search {
    width: 100%;
    max-width: 600px;
}
.header-search .search-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 0;
}
.header-search .form-control {
    height: 46px !important;
    border: 1px solid #d0d0d0 !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    font-size: 13px !important;
    color: #555 !important;
    padding-left: 16px !important;
    box-shadow: none !important;
}
.header-search .form-control::placeholder {
    color: #aaa !important;
    font-size: 13px;
}
/* Search button */
.header-search .btn-primary,
.header-search button.btn {
    background-color: var(--eh-accent) !important;
    border-color: var(--eh-accent) !important;
    color: #fff !important;
    height: 46px !important;
    min-width: 46px;
    border-radius: 0 4px 4px 0 !important;
    padding: 0 14px !important;
    font-size: 1.8rem;
}
.header-search .btn-primary:hover,
.header-search button.btn:hover {
    background-color: var(--eh-accent-dark) !important;
    border-color: var(--eh-accent-dark) !important;
}

/* --- Shop icons (Wishlist / Keranjang / Akun Saya) --- */
.shop-icons .shop-icon i,
.shop-icons .shop-icon .icon {
    color: var(--eh-accent) !important;
    font-size: 2.2rem;
}
.shop-icons .shop-icon [class*="count"] {
    background-color: var(--eh-accent) !important;
}

/* --- Bottom header row: white bg, override inline Molla custom_css --- */
.header-bottom,
.header-row:last-child .header-bottom {
    background-color: #fff !important;
    border-top: 1px solid #e8e8e8;
}

/* Kategori toggle button → solid teal pill */
.header-bottom .dropdown-toggle,
.header-bottom .dropdown-menu-wrapper > a.dropdown-toggle {
    background-color: var(--eh-accent) !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 9px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    text-decoration: none !important;
}
.header-bottom .dropdown-toggle:hover,
.header-bottom .dropdown-menu-wrapper > a.dropdown-toggle:hover {
    background-color: var(--eh-accent-dark) !important;
    color: #fff !important;
}
/* Icon inside Kategori toggle */
.header-bottom .dropdown-toggle i {
    color: #fff !important;
    font-size: 1.6rem;
    order: -1; /* icon before text */
}

/* Nav links in bottom bar — override Molla inline uppercase/white */
.header-bottom .menu > li > a {
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.header-bottom .menu > li > a:hover,
.header-bottom .menu > li.current-menu-item > a {
    color: var(--eh-accent) !important;
}

/* ============================================================
   Artikel & FAQ two-column section — width, centering, padding
   Mirrors the inner-container pattern used by eh-fp__inner /
   eh-pp__inner (max-width 1200px + 24px gutter on each side).
   ============================================================ */
.wp-block-columns.eh-section-artikel-faq {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
}

/* Block-level padding already handled by the column wrapper above;
   zero out left/right on each inner block to avoid double-gutters. */
.wp-block-columns.eh-section-artikel-faq .eh-artikel,
.wp-block-columns.eh-section-artikel-faq .eh-faq {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 600px) {
    .wp-block-columns.eh-section-artikel-faq {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ============================================================
   Mobile Header (≤ 991px) — Ecohomes layout
   Structure on mobile:
     Row 1 (header-main):  [logo]
     Row 2 (header-bottom): [hamburger ←] [shop icons →]
   ============================================================ */
@media (max-width: 991px) {
	[class*=searchform] .search-wrapper{
		display:block!important;
	}
    /* ── Row 1: compact logo bar ─────────────── */
    .header-main {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid #efefef !important;
    }

    /* Mobile logo: fixed height so it never overflows */
    .header-col.hidden-desktop .logo,
    .header-col.hidden-desktop h1.logo {
        margin: 0 !important;
        line-height: 1 !important;
    }

    .header-col.hidden-desktop .logo img {
        height: 34px !important;
        width: auto !important;
        max-width: 120px !important;
    }

    /* Ensure Row 1 inner is a proper flex row */
    .header-main .inner-wrap {
        align-items: center !important;
    }

    /* ── Row 2: hamburger + icons ────────────── */
    .header-bottom {
        background: #ffffff !important;
        border-top: 1px solid #efefef !important;
        padding: 0 !important;
        min-height: 50px;
    }

    .header-bottom .container {
        height: 100%;
    }

    .header-bottom .inner-wrap {
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 0 4px !important;
    }

    /* ── Hamburger button (mobile-visible column) */
    .header-bottom .header-col.hidden-desktop {
        flex-shrink: 0;
        display: flex !important;
        align-items: center;
    }

    .header-bottom .header-col.hidden-desktop .mobile-menu-toggler {
        background: none !important;
        border: 1.5px solid #d8d8d8 !important;
        border-radius: 6px !important;
        padding: 7px 10px !important;
        color: #222 !important;
        font-size: 1.8rem !important;
        cursor: pointer !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        line-height: 1 !important;
        transition: border-color 0.15s, background 0.15s !important;
    }

    .header-bottom .header-col.hidden-desktop .mobile-menu-toggler::after {
        content: 'Menu';
        font-size: 12.5px;
        font-weight: 600;
        color: #333;
        letter-spacing: 0.02em;
    }

    .header-bottom .header-col.hidden-desktop .mobile-menu-toggler:hover {
        background: #f5fafa !important;
        border-color: var(--eh-accent) !important;
        color: var(--eh-accent) !important;
    }

    .header-bottom .header-col.hidden-desktop .mobile-menu-toggler:hover::after {
        color: var(--eh-accent);
    }

    /* ── Mobile shop icons (right side) ──────── */
    .header-bottom .header-right.hidden-desktop {
        display: flex !important;
        align-items: center !important;
        gap: 2px !important;
        flex-shrink: 0;
    }

    /* Hide "Masuk / Daftar" text link on small mobile (icon enough) */
    .header-bottom .account-links {
        display: none !important;
    }

    .header-bottom .header-right.hidden-desktop .shop-icons {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .header-bottom .header-right.hidden-desktop .shop-icon {
        padding: 0 6px !important;
    }

    .header-bottom .header-right.hidden-desktop .shop-icon i {
        font-size: 2rem !important;
        color: #333 !important;
    }

    .header-bottom .header-right.hidden-desktop .shop-icon [class*="count"] {
        font-size: 9px !important;
        min-width: 15px !important;
        height: 15px !important;
        line-height: 15px !important;
        top: -2px !important;
        right: -4px !important;
    }

    /* Hide label text under icons on mobile */
    .header-bottom .header-right.hidden-desktop .custom-label {
        display: none !important;
    }
}

/* ── Mobile Menu Canvas panel ─────────────────────────────── */
.mobile-menu-container {
    width: min(300px, 88vw) !important;
}

.mobile-menu-wrapper {
    padding: 22px 20px 28px !important;
}

/* Close button */
.mobile-menu-container .mobile-menu-close {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    font-size: 1.8rem !important;
    color: #444 !important;
    cursor: pointer;
    z-index: 1;
}

/* Search in mobile panel */
.mobile-search {
    margin-bottom: 20px !important;
}

.mobile-search .form-control {
    height: 40px !important;
    font-size: 13px !important;
    border-radius: 4px 0 0 4px !important;
}

.mobile-search .btn {
    height: 40px !important;
    border-radius: 0 4px 4px 0 !important;
}

/* Nav links inside mobile panel */
.mobile-menus .menu > li > a {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #222 !important;
    padding: 11px 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
    display: block !important;
    text-transform: none !important;
}

.mobile-menus .menu > li > a:hover {
    color: var(--eh-accent) !important;
}

.mobile-menus .menu .sub-menu > li > a {
    font-size: 13.5px !important;
    color: #555 !important;
    padding: 9px 0 9px 16px !important;
}

/* Social icons at bottom */
.mobile-menu-wrapper .social-icons {
    margin-top: 24px !important;
}

/* ============================================================
   CONTENT — Hero Block (#2563eb → accent)
   ============================================================ */
.eh-hero__badge {
    border-color: var(--eh-accent) !important;
    color: var(--eh-accent) !important;
}
.eh-hero__badge-dot {
    background: var(--eh-accent) !important;
}
.eh-hero__cta {
    background: var(--eh-accent) !important;
    color: #fff !important;
}
.eh-hero__cta:hover,
.eh-hero__cta:focus-visible {
    background: var(--eh-accent-dark) !important;
    color: #fff !important;
}
.eh-hero__arrow:hover,
.eh-hero__arrow:focus-visible {
    outline-color: var(--eh-accent) !important;
}
.eh-hero__dot.is-active {
    background: var(--eh-accent) !important;
}
.eh-hero__dot:focus-visible {
    outline-color: var(--eh-accent) !important;
}
.eh-hero__feature-icon {
    background: #e4f8f8 !important;
}

/* ============================================================
   CONTENT — Event Slider (bg → accent, badge → #fff)
   ============================================================ */
.eh-event-slider {
    background: var(--eh-accent) !important;
}
.eh-es__badge {
    background: #fff !important;
    color: var(--eh-accent) !important;
}
.eh-es__cta {
    color: var(--eh-accent) !important;
}
.eh-es__cta:hover,
.eh-es__cta:focus-visible {
    background: #f0fefe !important;
    color: var(--eh-accent-dark) !important;
}

/* ============================================================
   CONTENT — CTA Offer (#0d9488 → accent)
   ============================================================ */
.eh-cta-offer__select:focus {
    border-color: var(--eh-accent) !important;
    box-shadow: 0 0 0 2px rgba(25, 186, 191, .15) !important;
}
.eh-cta-offer__file-label:hover,
.eh-cta-offer__file-label:focus-within {
    border-color: var(--eh-accent) !important;
    background: var(--eh-accent-light) !important;
    box-shadow: 0 0 0 2px rgba(25, 186, 191, .15) !important;
}
.eh-cta-offer__input:focus,
.eh-cta-offer__textarea:focus {
    border-color: var(--eh-accent) !important;
    box-shadow: 0 0 0 2px rgba(25, 186, 191, .15) !important;
}
.eh-cta-offer__btn-open-modal {
    background: var(--eh-accent) !important;
}
.eh-cta-offer__btn-open-modal:hover {
    background: var(--eh-accent-dark) !important;
}
.eh-cta-offer__btn-submit {
    background: var(--eh-accent) !important;
}
.eh-cta-offer__btn-submit:hover {
    background: var(--eh-accent-dark) !important;
}

/* ============================================================
   CONTENT — Layanan CTA (#0d9488 → accent)
   ============================================================ */
.eh-layanan__cta {
    color: var(--eh-accent) !important;
    border-color: var(--eh-accent) !important;
}
.eh-layanan__cta:hover {
    background: var(--eh-accent) !important;
    color: #fff !important;
}

/* ============================================================
   CONTENT — FAQ items → white background + base text
   ============================================================ */
.eh-faq__item {
    background: #fff !important;
    padding: 0 12px !important;
    border-radius: 6px !important;
    margin-bottom: 4px !important;
}
.eh-faq__btn {
    color: var(--faq-text-dark, #1A2332) !important;
}

/* ============================================================
   FOOTER — nav link active / hover → accent
   ============================================================ */
.footer-main .menu > li > a:hover,
.footer-main .menu > li.current-menu-item > a,
.footer-main .widget_nav_menu ul li a:hover,
.footer-main .widget_nav_menu ul li.current-menu-item a,
.footer-bottom .menu > li > a:hover,
.footer-bottom .menu > li.current-menu-item > a {
    color: var(--eh-accent) !important;
}

/* ============================================================
   FOOTER — ecohomes logo wrapper (injected by JS after widget title)
   ============================================================ */
.eh-footer-logo-wrap {
    margin: 10px 0 14px;
    display: block;
    line-height: 1;
}
.eh-footer-logo-wrap img {
    max-height: 36px;
    width: auto;
    display: block;
}

/* ============================================================
   DASHBOARD / SIDEBAR — green → accent overrides
   ============================================================ */

/* ── Sidebar profile header (was green gradient → white with accent text) */
.eh-sidebar-profile {
    background: #fff !important;
    border-bottom: 2px solid var(--eh-accent) !important;
}
.eh-sidebar-name {
    color: var(--eh-accent) !important;
}
.eh-sidebar-type {
    color: var(--eh-accent) !important;
    opacity: .8;
}
.eh-verification-badge {
    color: var(--eh-accent) !important;
}

/* ── Sidebar nav active / hover */
.eh-sidebar-item:hover,
.eh-sidebar-item.eh-active {
    color: var(--eh-accent) !important;
    border-left-color: var(--eh-accent) !important;
}

/* ── Sidebar CTA box */
.eh-sidebar-cta {
    background: var(--eh-accent-light) !important;
}
.eh-sidebar-cta-subtitle {
    font-size: .72rem;
    color: #555;
    line-height: 1.45;
    margin: -4px 0 8px;
}
.eh-btn-konsultasi {
    background: var(--eh-accent) !important;
    color: #fff !important;
}
.eh-btn-konsultasi:hover {
    background: var(--eh-accent-dark) !important;
}

/* ── Dashboard greeting bar (was #27AE60 gradient → accent gradient) */
.eh-dashboard-greeting {
    background: linear-gradient(135deg, var(--eh-accent) 0%, var(--eh-accent-dark) 100%) !important;
}

/* ── Company bar (SolarTech Indonesia / user info) → white bg, accent text */
.eh-company-bar {
    background: #fff !important;
    border-color: rgba(25, 186, 191, .25) !important;
}
.eh-company-bar-name {
    color: var(--eh-accent) !important;
    font-weight: 700 !important;
}

/* ── Table/link accent */
.eh-table a,
.eh-order-number,
.eh-section-link,
.eh-stat-see-all {
    color: var(--eh-accent) !important;
}

/* ── Project card hover */
.eh-project-card-name:hover,
.eh-project-card--link:hover .eh-project-card-name {
    color: var(--eh-accent) !important;
}
.eh-project-card--link:hover {
    border-color: rgba(25, 186, 191, .3) !important;
    box-shadow: 0 3px 12px rgba(25, 186, 191, .12) !important;
}

/* ── Stat card hover */
.eh-stat-card--link:hover {
    border-color: rgba(25, 186, 191, .3) !important;
    box-shadow: 0 4px 20px rgba(25, 186, 191, .12) !important;
}

/* ── Progress bar */
.eh-progress-fill {
    background: linear-gradient(90deg, var(--eh-accent) 0%, var(--eh-accent-dark) 100%) !important;
}
.eh-project-progress-pct {
    color: var(--eh-accent) !important;
}

/* ── Notification */
.eh-notif-unread .eh-notif-dot--project { background: var(--eh-accent) !important; }
a.eh-notif-msg:hover { color: var(--eh-accent) !important; }

/* ── Order card hover */
.eh-order-card--link:hover {
    border-color: rgba(25, 186, 191, .3) !important;
    background: var(--eh-accent-light) !important;
}

/* ── Detail button */
.eh-btn-detail {
    color: var(--eh-accent) !important;
}
.eh-btn-detail:hover {
    background: rgba(25, 186, 191, .1) !important;
    border-color: rgba(25, 186, 191, .3) !important;
    color: var(--eh-accent-dark) !important;
}

/* ── Butuh bantuan / CTA widget → white bg, base text, accent button */
.eh-widget-cta {
    background: #fff !important;
}
.eh-cta-icon {
    color: var(--eh-accent) !important;
}
.eh-cta-text {
    color: #333 !important;
}
.eh-btn-wa {
    background: var(--eh-accent) !important;
    color: #fff !important;
}
.eh-btn-wa:hover {
    background: var(--eh-accent-dark) !important;
    color: #fff !important;
}

/* ── Expand footer action */
.eh-footer-action--expand {
    background: var(--eh-accent-light) !important;
    color: var(--eh-accent-dark) !important;
    border-color: rgba(25, 186, 191, .3) !important;
}
.eh-footer-action--expand:hover {
    background: rgba(25, 186, 191, .15) !important;
}

/* ============================================================
   DASHBOARD FOOTER — 5-column info block (above footer bar)
   ============================================================ */
.eh-dash-info-bar {
    background: var(--eh-accent-light);
    border: 1px solid rgba(25, 186, 191, .18);
    border-radius: 10px;
    padding: 28px 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin-bottom: 14px;
}

.eh-dash-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 0 18px;
    border-right: 1px solid rgba(25, 186, 191, .2);
}
.eh-dash-info-col:first-child { padding-left: 0; }
.eh-dash-info-col:last-child  { border-right: none; padding-right: 0; }

.eh-dash-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(25, 186, 191, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eh-accent);
    flex-shrink: 0;
}
.eh-dash-info-icon svg {
    width: 22px;
    height: 22px;
}

.eh-dash-info-title {
    font-size: .82rem;
    font-weight: 700;
    color: var(--eh-accent);
    line-height: 1.25;
    margin: 0;
}

.eh-dash-info-sub {
    font-size: .72rem;
    color: #555;
    line-height: 1.45;
    margin: 0;
}

@media (max-width: 900px) {
    .eh-dash-info-bar {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 0;
    }
    .eh-dash-info-col:nth-child(3) { border-right: none; }
}

@media (max-width: 600px) {
    .eh-dash-info-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .eh-dash-info-col:nth-child(2) { border-right: none; }
    .eh-dash-info-col:nth-child(4) { border-right: none; }
    .eh-dash-info-col:last-child   { grid-column: 1 / -1; border-right: none; }
}

/* ============================================================
   PAYMENT BAR — logos above 5-column info bar, all side-menu pages
   ============================================================ */
.eh-dash-payment-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    width: 100%;
    padding: 8px 0;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.eh-dash-pay-img {
    height: 15px;
    width: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .eh-dash-payment-bar {
        justify-content: center;
    }
}

/* ── Complaints pagination (Task 4) ────────────────────────────────────────── */
.eh-complaints-tablefoot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--eh-gray-200); background: var(--eh-white); border-radius: 0 0 var(--eh-radius) var(--eh-radius); }
.eh-complaints-tablefoot .eh-result-count { font-size: .8rem; color: var(--eh-gray-500); }
.eh-complaints-tablefoot .eh-pagination { display: inline-flex; gap: 4px; }
.eh-complaints-tablefoot .eh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 9px; border: 1px solid var(--eh-gray-200); border-radius: 8px; text-decoration: none; color: var(--eh-gray-800); font-size: .82rem; background: var(--eh-white); }
.eh-complaints-tablefoot .eh-pagination .page-numbers .dashicons { font-size: 16px; width: 16px; height: 16px; }
.eh-complaints-tablefoot .eh-pagination .page-numbers.current { background: var(--eh-green); color: #fff; border-color: var(--eh-green); }
.eh-complaints-tablefoot .eh-pagination .page-numbers:hover:not(.current) { background: var(--eh-gray-100); }
.eh-complaints-tablefoot .eh-pagination .page-numbers.dots { border: none; background: none; }

/* ── Shipments load-more (Task 5) ─────────────────────────────────────────── */
.eh-ship-row--hidden { display: none; }

/* ── Dashboard block padding / overlap fix ────────────────────────────────── */
.eh-dashboard-section {
    padding: 20px 24px !important;
}
.eh-sidebar-widget {
    padding: 18px 20px !important;
}
.eh-two-col .eh-dashboard-section {
    padding: 18px 20px !important;
}
/* Prevent long project names from overflowing cards in the 2-col sidebar grid */
.eh-project-card--vertical .eh-project-card-name {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}
/* Ensure sections stack cleanly with no z-index bleed */
.eh-dashboard-body > * {
    position: relative;
    z-index: 1;
}
.eh-sidebar-widget,
.eh-dashboard-section {
    overflow: hidden;
}

/* ============================================================
   ASP FILTER — force settings/filter icon visible on desktop
   The .prosettings button is inside .probox on each instance.
   ============================================================ */
#ajaxsearchpro1_1 .probox .prosettings,
#ajaxsearchpro1_2 .probox .prosettings {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ============================================================
   ASP FILTER PANEL — desktop dropdown positioning
   #wpdreams_asp_settings_1 sits inside .search-wrapper (header).
   When JS clones the settings there, it needs to escape the
   header's height constraints and appear as an overlay.
   ============================================================ */

/* Allow the filter dropdown to escape the header row's clipping. */
.header-row,
.header-main .inner-wrap,
.header-search,
.header-search .search-wrapper,
.search-wrapper-wide {
    overflow: visible !important;
}
.search-wrapper-wide {
    position: relative;
}
#wpdreams_asp_settings_1 {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 0 0 6px 6px;
    max-height: 70vh;
    overflow-y: auto;
}
#wpdreams_asp_settings_1:empty {
    display: none;
}

/* ============================================================
   MOBILE LAYOUT — general padding + content fixes (≤768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Container padding */
    .woocommerce-account .container,
    .woocommerce-account .page-content > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Two-column account layout: single column, no gaps */
    .woocommerce-account .dashboard-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .woocommerce-account .dashboard-wrap > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Dashboard sections: tighter padding */
    .eh-dashboard-section {
        padding: 14px 14px !important;
    }
    .eh-sidebar-widget {
        padding: 12px 14px !important;
    }
    .eh-two-col .eh-dashboard-section {
        padding: 14px !important;
    }

    /* Stat cards: 2-column grid */
    .eh-stats-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .eh-stat-card {
        padding: 12px !important;
    }
    .eh-stat-card .eh-stat-value {
        font-size: 1.3rem !important;
    }

    /* Tables: horizontal scroll so nothing overflows */
    .eh-table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .eh-table {
        min-width: 420px;
    }

    /* Dashboard greeting */
    .eh-dashboard-greeting {
        padding: 16px 14px !important;
    }
    .eh-greeting-meta {
        flex-wrap: wrap;
        gap: 6px !important;
    }

    /* 2-col content grid stacks to single column */
    .eh-two-col {
        grid-template-columns: 1fr !important;
    }

    /* Company bar */
    .eh-company-bar {
        flex-wrap: wrap;
        gap: 8px !important;
    }

    /* Page header */
    .eh-page-header {
        flex-wrap: wrap;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }

    /* Info bar: 2 columns on small screens */
    .eh-dash-info-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 16px 12px !important;
        gap: 14px 0 !important;
    }
    .eh-dash-info-col:nth-child(2) { border-right: none !important; }
    .eh-dash-info-col:nth-child(4) { border-right: none !important; }
    .eh-dash-info-col:last-child   { grid-column: 1 / -1 !important; border-right: none !important; }

    /* Dashboard sidebar toggle button — accent on mobile */
    .eh-sidebar-toggle {
        border-color: var(--eh-accent) !important;
        color: var(--eh-accent) !important;
    }
}


.eh-fp__cta {
    color: inherit!important;
}
a.eh-fp__cta:hover {
    color:#16babd;
}
.eh-art__read-more {
    color: inherit!important;
}

a.eh-art__read-more:hover {
    text-decoration: none!important;
    color:#16babd!important;
}

[class*="wp-block"].eh-section-artikel-faq button{
    background-color: #fff!important;
    text-align: left!important;
    padding: 14px 0!important;
    border: none!important;
}

/* ── Dashboard detail modal ─────────────────────────────────────────────── */

@keyframes eh-overlay-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes eh-overlay-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes eh-modal-in    { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes eh-spin        { to { transform: rotate(360deg); } }

.eh-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, .5);
    animation: eh-overlay-in .18s ease;
}
.eh-detail-overlay[hidden] {
    display: none;
}
.eh-detail-overlay--closing {
    animation: eh-overlay-out .22s ease forwards;
}

body.eh-modal-open {
    overflow: hidden;
}

.eh-detail-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    animation: eh-modal-in .22s ease;
}

.eh-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 1;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0,0,0,.07);
    border-radius: 50%;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    color: #555;
    padding: 0;
    transition: background .15s;
}
.eh-modal-close:hover {
    background: rgba(0,0,0,.15);
    color: #111;
}

.eh-modal-inner {
    overflow-y: auto;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
}

/* Header */
.eh-modal-header {
    padding: 20px 24px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.eh-modal-header--has-thumb {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.eh-modal-thumb {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.eh-modal-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #111;
    padding-right: 28px;
}

/* Body */
.eh-modal-body {
    padding: 16px 24px 20px;
}

.eh-modal-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    margin: 0 0 14px;
    font-size: 13.5px;
}
.eh-modal-dl dt {
    color: #888;
    white-space: nowrap;
    font-weight: 500;
}
.eh-modal-dl dd {
    margin: 0;
    color: #222;
    word-break: break-word;
}
.eh-modal-dl--totals {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-top: 10px;
}
.eh-modal-amount {
    font-weight: 700;
    color: #16babd;
}

/* Item list (pesanan / pengiriman) */
.eh-modal-items {
    margin: 0 0 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #555;
}
.eh-modal-item-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}
.eh-modal-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #333;
}
.eh-modal-item:last-child {
    border-bottom: none;
}
.eh-modal-item-name {
    flex: 1 1 auto;
}
.eh-modal-item-qty {
    color: #888;
    white-space: nowrap;
}
.eh-modal-item-price {
    white-space: nowrap;
    font-weight: 600;
}

/* Notes / description */
.eh-modal-notes,
.eh-modal-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 14px;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Progress bar (proyek) */
.eh-modal-progress {
    height: 8px;
    background: #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    margin: 4px 0 6px;
}
.eh-modal-progress > span {
    display: block;
    height: 100%;
    background: #16babd;
    border-radius: 4px;
    transition: width .4s ease;
}
.eh-modal-progress-label {
    font-size: 12px;
    color: #888;
}

/* Footer */
.eh-modal-footer {
    padding: 12px 24px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.eh-modal-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #fff;
    color: #444;
    transition: background .15s, color .15s;
}
.eh-modal-btn:hover {
    background: #f5f5f5;
    color: #111;
    text-decoration: none;
}
.eh-modal-btn--primary {
    background: #16babd;
    border-color: #16babd;
    color: #fff;
}
.eh-modal-btn--primary:hover {
    background: #13a4a7;
    border-color: #13a4a7;
    color: #fff;
}

/* Loading state */
.eh-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 48px 24px;
    color: #888;
    font-size: 14px;
}
.eh-modal-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid #e0e0e0;
    border-top-color: #16babd;
    border-radius: 50%;
    animation: eh-spin .7s linear infinite;
    flex-shrink: 0;
}

/* Error state */
.eh-modal-error {
    padding: 40px 24px;
    text-align: center;
    color: #c0392b;
    font-size: 14px;
}

/* Cursor hint for modal-trigger items */
[data-modal-type] {
    cursor: pointer;
}

/* ── End dashboard detail modal ─────────────────────────────────────────── */

/* Language switcher (Polylang) */
.eh-lang-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.eh-lang-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.eh-lang-switcher a:hover,
.eh-lang-switcher a.lang-item.current-lang {
    opacity: 1;
    text-decoration: underline;
}

