/* ----------------------------------------- */
/* Header Search Bar Advanced                */
/* ----------------------------------------- */
.ehf-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #1a2e46;
    border-radius: 4px;
    height: 48px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: normal !important;
}

.ehf-search-input {
    flex: 1;
    background: transparent;
    padding: 0 16px;
    color: #5c6a7a;
    font-size: 15px;
    outline: none;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
}

.ehf-search-input::placeholder {
    color: #5c6a7a;
}

.ehf-search-submit {
    width: auto !important;
    height: 100% !important;
    min-height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: #0b1f3c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.ehf-search-submit:hover,
.ehf-search-submit:focus,
.ehf-search-submit:active {
    background: transparent !important;
    color: #085499 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.ehf-search-submit svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
}

/* ----------------------------------------- */
/* Header Stars                              */
/* ----------------------------------------- */
.ehf-header-stars {
    display: flex;
    align-items: center;
}

/* ----------------------------------------- */
/* Moving Text Ticker                        */
/* ----------------------------------------- */
.ehf-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
}

.ehf-ticker-wrapper.is-fullscreen {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    transform: none !important;
}

.ehf-ticker-track {
    display: flex;
    animation: ehf-scroll-ticker linear infinite;
    width: max-content;
}

.ehf-ticker-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-right: 40px;
}

.ehf-ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 40px;
}

.ehf-ticker-icon {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.ehf-ticker-icon i,
.ehf-ticker-icon svg {
    fill: currentColor;
}

@keyframes ehf-scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* ----------------------------------------- */
/* Services Grid                             */
/* ----------------------------------------- */
.ehf-services-grid {
    display: grid;
    align-items: flex-start;
    gap: 30px;
}

.ehf-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.ehf-service-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #e0f8f4;
    border-radius: 16px;
    width: 64px;
    height: 64px;
}

.ehf-service-icon-wrap img {
    max-width: 32px;
    max-height: 32px;
    height: auto;
    object-fit: contain;
}

.ehf-service-title {
    margin: 0;
    line-height: 1.3;
    color: #1a2e46;
    font-weight: 600;
    font-size: 15px;
}

.ehf-service-title p {
    margin: 0;
    color: inherit;
}



/* ----------------------------------------- */
/* Treatments Button                         */
/* ----------------------------------------- */
.ehf-treatments-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-style: solid;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ehf-treatments-btn:hover {
    opacity: 0.8;
}

.ehf-tb-text {
    font-weight: inherit;
    line-height: 1;
}

.ehf-tb-icon {
    display: flex;
    align-items: center;
}

.ehf-tb-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.ehf-tb-icon i {
    font-size: 1em;
}

/* ----------------------------------------- */
/* Payment Methods                           */
/* ----------------------------------------- */
.ehf-payment-methods {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.ehf-payment-method-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ehf-payment-method-img img {
    display: block;
    width: auto;
    object-fit: contain;
}



/* ----------------------------------------- */
/* Header Actions (Login / Cart)             */
/* ----------------------------------------- */
.ehf-header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.ehf-action-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.ehf-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ehf-action-icon svg {
    display: block;
}

.ehf-action-text {
    font-weight: 500;
    line-height: 1;
}

.ehf-action-item:hover,
.ehf-action-item:focus {
    opacity: 0.8;
}



/* ----------------------------------------- */
/* Complete Header Block                     */
/* ----------------------------------------- */
.ehf-complete-header-wrap {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.ehf-ch-row {
    width: 100%;
}

.ehf-ch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Top Row */
.ehf-ch-top {
    padding: 12px 0;
    background: #fff;
    border-bottom: 1px solid #eef2f6;
}

.ehf-ch-logo {
    display: flex;
    margin-right: auto;
}

.ehf-ch-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.ehf-ch-logo img {
    width: 100%;
    max-width: 160px;
    height: auto;
}

.ehf-ch-stars {
    display: flex;
    gap: 3px;
    margin: 0;
}

.ehf-ch-stars svg {
    fill: #0a7e8c;
    width: 14px;
    height: 14px;
}

.ehf-ch-search {
    margin: 0 12px;
    width: auto !important;
    flex: 0 1 auto;
}

.ehf-ch-search form {
    display: flex;
    align-items: center;
    border: 2px solid #0a7e8c;
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
    width: 320px;
    max-width: 100%;
    background: #fff;
}

.ehf-ch-search input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 14px;
    outline: none;
    box-shadow: none !important;
    min-height: 100%;
    font-size: 14px;
    color: #6b7c93;
}

.ehf-ch-search input::placeholder {
    color: #9ba8b7;
}

.ehf-ch-search button {
    background: transparent !important;
    border: none !important;
    padding: 0 12px !important;
    cursor: pointer;
    min-height: 100%;
    color: #6b7c93 !important;
    display: flex;
    align-items: center;
    transition: color 0.3s ease !important;
}

.ehf-ch-search button:hover,
.ehf-ch-search button:focus {
    background: transparent !important;
    color: #0a7e8c !important;
    opacity: 1 !important;
}

.ehf-ch-search button svg {
    width: 18px;
    height: 18px;
}

.ehf-ch-phone a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #1a2e46;
    font-size: 15px;
}

.ehf-ch-phone svg {
    width: 16px;
    height: 16px;
    stroke: #1a2e46;
}

/* Middle Row */
.ehf-ch-middle {
    padding: 10px 0;
    background: #ebf3fa;
    border-bottom: 1px solid #dce6f0;
}

.ehf-ch-treatments a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #1a2e46;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    color: #1a2e46;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ehf-ch-treatments a:hover {
    background: #1a2e46;
    color: #fff;
}

.ehf-ch-treatments a svg {
    width: 16px;
    height: 16px;
}

.ehf-ch-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.ehf-ch-nav a {
    text-decoration: none;
    color: #1a2e46;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.ehf-ch-nav a:hover {
    color: #0a7e8c;
}

.ehf-ch-wp-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.ehf-ch-wp-menu li {
    margin: 0;
    padding: 0;
}

.ehf-ch-wp-menu a {
    text-decoration: none;
    color: #1a2e46;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.ehf-ch-wp-menu a:hover {
    color: #0a7e8c;
}

.ehf-ch-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ehf-ch-actions a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #1a2e46;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ehf-ch-actions a:hover {
    color: #0a7e8c;
}

.ehf-ch-actions svg {
    width: 18px;
    height: 18px;
}

/* Bottom Row - Info Bar (Marquee) */
.ehf-ch-bottom {
    padding: 10px 0;
    background: linear-gradient(90deg, #085499 0%, #24C3BE 100%);
    color: #fff;
    fill: #fff;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.ehf-ch-info-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.ehf-ch-info-track {
    display: flex;
    width: max-content;
    animation: ehfInfoScroll 20s linear infinite;
}

.ehf-ch-info-group {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-right: 60px;
    flex-shrink: 0;
}

@keyframes ehfInfoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ehf-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
}

.ehf-info-icon {
    display: flex;
    align-items: center;
}

.ehf-info-icon i {
    font-size: 16px;
}

.ehf-info-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ----------------------------------------- */
/* Mobile-only elements (hidden on desktop)  */
/* ----------------------------------------- */
.ehf-mobile-search-toggle,
.ehf-mobile-hamburger,
.ehf-mobile-drawer,
.ehf-ch-search-mobile {
    display: none;
}

/* ----------------------------------------- */
/* Responsive adjustments                    */
/* ----------------------------------------- */

@media (max-width: 1024px) {

    /* === HIDE desktop-only elements === */
    .ehf-desktop-only {
        display: none !important;
    }

    .ehf-ch-stars {
        display: none !important;
    }

    /* === SHOW mobile-only elements === */
    .ehf-mobile-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 2px solid #0a7e8c;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        cursor: pointer;
        color: #0a7e8c;
        padding: 0;
        flex-shrink: 0;
        transition: all 0.2s ease;
        order: 3;
    }

    .ehf-mobile-search-toggle:hover {
        background: #0a7e8c;
        color: #fff;
    }

    .ehf-mobile-search-toggle svg {
        width: 18px;
        height: 18px;
    }

    .ehf-mobile-hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 2px solid #1a2e46;
        border-radius: 6px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        color: #1a2e46;
        padding: 0;
        flex-shrink: 0;
        transition: all 0.2s ease;
        margin-left: auto;
    }

    .ehf-mobile-hamburger:hover {
        background: #1a2e46;
        color: #fff;
    }

    /* === TOP ROW MOBILE === */
    .ehf-ch-top {
        padding: 10px 0;
    }

    .ehf-ch-top .ehf-ch-container {
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
    }

    .ehf-ch-logo {
        order: 1;
        flex: 1;
        min-width: 0;
        margin-right: 0;
    }

    .ehf-ch-logo img {
        max-width: 130px;
    }

    /* Hide the inline desktop search on mobile */
    .ehf-ch-search {
        display: none !important;
    }

    .ehf-ch-phone {
        order: 4;
        flex-shrink: 0;
    }

    .ehf-ch-phone span {
        font-size: 13px;
    }

    .ehf-ch-phone svg {
        width: 14px;
        height: 14px;
    }

    /* === MOBILE EXPANDABLE SEARCH === */
    .ehf-ch-search-mobile {
        display: none;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
        background: #f5f8fb;
        border-top: 1px solid #e5eaf0;
    }

    .ehf-ch-search-mobile.is-open {
        display: block;
        max-height: 80px;
        padding: 10px 0;
    }

    .ehf-ch-search-mobile .ehf-ch-container {
        flex-wrap: nowrap;
    }

    .ehf-ch-search-mobile form {
        display: flex;
        align-items: center;
        border: 2px solid #0a7e8c;
        border-radius: 6px;
        overflow: hidden;
        height: 40px;
        width: 100%;
        background: #fff;
    }

    .ehf-ch-search-mobile input {
        flex: 1;
        border: none !important;
        background: transparent !important;
        padding: 0 14px;
        outline: none;
        box-shadow: none !important;
        min-height: 100%;
        font-size: 14px;
        color: #6b7c93;
    }

    .ehf-ch-search-mobile input::placeholder {
        color: #9ba8b7;
    }

    .ehf-ch-search-mobile button {
        background: transparent;
        border: none;
        padding: 0 12px;
        cursor: pointer;
        min-height: 100%;
        color: #6b7c93;
        display: flex;
        align-items: center;
    }

    /* === MIDDLE ROW MOBILE === */
    .ehf-ch-middle {
        padding: 8px 0;
    }

    .ehf-ch-middle .ehf-ch-container {
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .ehf-ch-treatments {
        flex-shrink: 0;
    }

    .ehf-ch-treatments a {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* === MOBILE DRAWER (Nav + Actions) === */
    .ehf-mobile-drawer {
        display: none;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0;
        background: #f5f8fb;
        border-top: 1px solid #e0e7ee;
    }

    .ehf-mobile-drawer.is-open {
        display: block;
        max-height: 500px;
        padding: 15px 0;
    }

    .ehf-mobile-drawer .ehf-ch-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    /* Drawer nav */
    .ehf-drawer-nav {
        width: 100%;
    }

    .ehf-drawer-menu {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 0;
    }

    .ehf-drawer-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #e5eaf0;
    }

    .ehf-drawer-menu li:last-child {
        border-bottom: none;
    }

    .ehf-drawer-menu a {
        display: block;
        padding: 12px 5px;
        text-decoration: none;
        color: #1a2e46;
        font-weight: 500;
        font-size: 15px;
        transition: background 0.2s ease;
    }

    .ehf-drawer-menu a:hover {
        background: rgba(10, 126, 140, 0.08);
        color: #0a7e8c;
    }

    /* Drawer actions */
    .ehf-drawer-actions {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        padding-top: 14px;
        margin-top: 6px;
        border-top: 1px solid #e0e7ee;
    }

    .ehf-drawer-actions a {
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        color: #1a2e46;
        font-size: 14px;
        font-weight: 500;
    }

    .ehf-drawer-actions a:hover {
        color: #0a7e8c;
    }

    /* === BOTTOM ROW MOBILE === */
    .ehf-ch-bottom {
        padding: 8px 0;
    }

    .ehf-info-item {
        font-size: 12px;
        gap: 8px;
    }

    .ehf-info-icon i {
        font-size: 14px;
    }

    .ehf-info-icon svg {
        width: 14px;
        height: 14px;
    }
}
