/*
 * Joydom site-wide presentation header.
 * Loaded after page-level styles so legacy route-specific header rules cannot
 * change the shared layout. Existing navigation, account and WhatsApp links
 * remain rendered by the shared Laravel Blade template.
 */

.jd-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10030;
    min-height: 82px;
    margin: 0;
    border: 0;
    color: #201d1a;
    font-family: "Plus Jakarta Sans", "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(56, 47, 39, 0.09), 0 10px 32px rgba(56, 47, 39, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.jd-site-header .tt-header,
.jd-site-header .tt-header.stick {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: auto;
    width: 100%;
    height: 82px;
    min-height: 82px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    -webkit-animation: none !important;
    animation: none !important;
}

.jd-site-header .jd-site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: 174px minmax(0, 1fr) auto;
    width: min(calc(100% - 48px), 1400px);
    height: 82px;
    margin: 0 auto;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
}

.jd-site-header .top-inner {
    position: static;
    z-index: 2;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.jd-site-header .top-inner::before,
.jd-site-header .top-inner::after {
    display: none !important;
}

.jd-site-header .main-logo {
    position: static;
    display: flex !important;
    float: none !important;
    width: auto;
    height: auto;
    align-items: center;
    margin: 0;
    padding: 0;
}

.jd-site-header .main-logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #181512;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
    text-decoration: none;
}

.jd-site-header .main-logo a::after {
    display: none !important;
    content: none !important;
}

.jd-site-header .main-logo img {
    width: 48px !important;
    max-width: none;
    height: 48px;
    margin: 0;
    object-fit: contain;
}

.jd-site-header .responsive_logo {
    display: none !important;
}

.jd-site-header .toggle-block,
.jd-site-header .toggle-block-container,
.jd-site-header .main-nav {
    position: static;
    float: none;
    width: 100%;
    height: auto;
}

.jd-site-header .toggle-block {
    display: block;
    min-width: 0;
}

.jd-site-header .main-nav > ul {
    position: static;
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.25vw, 22px);
    margin: 0;
    padding: 0;
}

.jd-site-header .main-nav > ul > li,
.jd-site-header .main-nav > ul > li:first-child {
    position: static;
    display: list-item;
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jd-site-header .main-nav > ul > li > a,
.jd-site-header .main-nav > ul > li > a:focus {
    position: relative;
    display: flex;
    width: auto !important;
    min-height: 82px;
    align-items: center;
    padding: 0;
    color: #37312c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    background: transparent;
}

.jd-site-header .main-nav > ul > li > a::before,
.jd-site-header .main-nav > ul > li > a::after {
    display: none !important;
}

.jd-site-header .main-nav > ul > li:not(.logn) > a::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    display: block !important;
    height: 2px;
    content: "";
    border-radius: 99px;
    background: #d9252e;
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 160ms ease, transform 160ms ease;
}

.jd-site-header .main-nav > ul > li:not(.logn) > a:hover,
.jd-site-header .main-nav > ul > li:not(.logn) > a:focus-visible,
.jd-site-header .main-nav > ul > li.active > a {
    color: #c92029 !important;
}

.jd-site-header .main-nav > ul > li:not(.logn) > a:hover::after,
.jd-site-header .main-nav > ul > li:not(.logn) > a:focus-visible::after,
.jd-site-header .main-nav > ul > li.active > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.jd-site-header .main-nav .menu-toggle {
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    color: inherit;
    font-size: 0;
    line-height: 1;
}

.jd-site-header .main-nav .menu-toggle::before {
    display: block;
    width: 7px;
    height: 7px;
    content: "";
    border: 0;
    border-right: 1.75px solid currentColor;
    border-bottom: 1.75px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 160ms ease;
}

.jd-site-header .main-nav > ul > li.logn {
    position: static;
}

.jd-site-header .main-nav > ul > li.logn > a {
    min-height: 82px;
}

.jd-site-header .main-nav .logn .sim-button {
    width: auto;
    min-width: 88px;
    height: 42px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #26211d;
    border-radius: 999px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 40px;
    text-align: center;
    background: #26211d;
    box-shadow: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jd-site-header .main-nav .logn .sim-button span {
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    color: inherit !important;
    line-height: inherit !important;
    opacity: 1 !important;
    transform: none !important;
}

.jd-site-header .main-nav .logn .sim-button::before,
.jd-site-header .main-nav .logn .sim-button::after {
    display: none !important;
    content: none !important;
}

.jd-site-header .main-nav .logn .sim-button:hover,
.jd-site-header .main-nav .logn a:focus-visible .sim-button {
    border-color: #d9252e;
    color: #fff !important;
    background: #d9252e;
    transform: translateY(-1px);
}

.jd-site-header .jd-site-header__services > .mobile-submenu {
    position: fixed;
    top: 74px;
    left: 50vw;
    z-index: 100;
    display: grid;
    width: min(980px, calc(100vw - 48px));
    max-height: min(70vh, 560px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px 18px;
    margin: 0;
    padding: 86px 24px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #ebe7e1;
    border-radius: 20px;
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 24px 70px rgba(43, 35, 28, 0.17);
    transform: translate(-50%, 10px) !important;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.jd-site-header .jd-site-header__services:hover > .mobile-submenu,
.jd-site-header .jd-site-header__services:focus-within > .mobile-submenu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0) !important;
}

.jd-site-header .mobile-submenu > li {
    position: static;
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.jd-site-header .mobile-submenu > li > a,
.jd-site-header .mobile-submenu > li > a:focus {
    position: relative;
    display: flex;
    width: 100% !important;
    min-height: 46px;
    align-items: center;
    padding: 10px 14px 10px 38px;
    border-radius: 10px;
    color: #37312c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    background: transparent;
    transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.jd-site-header .mobile-submenu > li > a::before {
    position: absolute;
    top: 50%;
    left: 14px;
    display: block !important;
    width: 14px;
    height: 14px;
    content: "";
    border: 4px solid #fff;
    border-radius: 50%;
    background: #d9252e;
    box-shadow: 0 0 0 1px rgba(217, 37, 46, 0.22);
    transform: translateY(-50%);
}

.jd-site-header .mobile-submenu > li > a::after,
.jd-site-header .mobile-submenu > li > a span::before {
    display: none !important;
}

.jd-site-header .mobile-submenu > li > a:hover,
.jd-site-header .mobile-submenu > li > a:focus-visible {
    color: #c92029;
    background: #fff1f1;
    transform: translateX(2px);
}

.jd-site-header .jd-site-header__submenu-heading {
    position: absolute !important;
    top: 22px;
    right: 24px;
    left: 24px;
    display: flex;
    min-height: 48px;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #eee9e3 !important;
    color: #1e1a17;
}

.jd-site-header .jd-site-header__submenu-heading > span {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.jd-site-header .jd-site-header__submenu-heading > small {
    color: #7d7369;
    font-size: 11px;
    font-weight: 600;
}

.jd-site-header .mobile-submenu > .jd-site-header__all-services > a {
    color: #fff;
    background: #d9252e;
}

.jd-site-header .mobile-submenu > .jd-site-header__all-services > a::before {
    border-color: #d9252e;
    background: #fff;
    box-shadow: none;
}

.jd-site-header .mobile-submenu > .jd-site-header__all-services > a:hover,
.jd-site-header .mobile-submenu > .jd-site-header__all-services > a:focus-visible {
    color: #fff;
    background: #b91b23;
}

/* Reference-matched five-column Services mega-menu. */
.jd-site-header .jd-site-header__services > .jd-site-header__service-menu {
    top: 85px;
    left: 24px;
    display: grid;
    width: calc(100vw - 48px);
    max-height: calc(100vh - 120px) !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-content: start;
    gap: 32px 30px;
    padding: 28px;
    border: 1px solid #e6e1dc;
    border-radius: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 24px 60px rgba(38, 30, 24, 0.16);
    transform: translateY(10px) !important;
}

.jd-site-header .jd-site-header__services:hover > .jd-site-header__service-menu,
.jd-site-header .jd-site-header__services:focus-within > .jd-site-header__service-menu {
    transform: translateY(0) !important;
}

.jd-site-header .jd-site-header__service-menu > .jd-site-header__service-group {
    display: block;
    min-width: 0;
    border: 0;
}

.jd-site-header .jd-site-header__service-group-row {
    position: relative;
    display: flex;
    min-height: 38px;
    align-items: flex-start;
    border-bottom: 1px solid #e5e0db;
}

.jd-site-header .jd-site-header__service-group-title {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 10px;
    padding: 0 0 10px;
    color: #403a35;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.jd-site-header a.jd-site-header__service-group-title:hover,
.jd-site-header a.jd-site-header__service-group-title:focus-visible {
    color: #cf2731;
}

.jd-site-header .jd-site-header__service-group.is-current .jd-site-header__service-group-title {
    color: #c92029;
    font-weight: 800;
}

.jd-site-header .jd-site-header__service-group.is-current .jd-site-header__service-group-row {
    border-bottom-color: #d9252e;
}

.jd-site-header .jd-site-header__service-group--temporary {
    display: none !important;
}

.jd-site-header .jd-site-header__service-group-title--unlinked {
    cursor: default;
}

.jd-site-header .jd-site-header__service-group-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    background: #d52d3a;
}

.jd-site-header .jd-site-header__service-group-toggle {
    display: none;
}

.jd-site-header .jd-site-header__service-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-left: 38px;
}

.jd-site-header .jd-site-header__service-item {
    display: block;
    color: #4d4741;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    cursor: default;
}

.jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services {
    display: block;
    grid-column: 1 / -1;
    padding-top: 2px;
    border-top: 1px solid #e5e0db;
}

.jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a,
.jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a:focus {
    display: inline-flex;
    width: auto !important;
    min-height: 40px;
    align-items: center;
    padding: 10px 0 0 !important;
    border-radius: 0;
    color: #d52d3a;
    font-size: 13px;
    font-weight: 800;
    background: transparent;
    transform: none;
}

.jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a::before,
.jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a::after {
    display: none !important;
    content: none !important;
}

.jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a:hover,
.jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a:focus-visible {
    color: #a91e27;
    background: transparent;
}

.jd-site-header .jd-site-header__all-services-mobile {
    display: none;
}

.jd-site-header .jd-site-header__actions {
    position: static;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.jd-site-header .jd-header-whatsapp-link {
    display: inline-flex;
    width: auto;
    min-width: 166px;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    overflow: visible;
    border: 1px solid #cdebd8;
    border-radius: 999px;
    color: #126c3b !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    background: #eef9f2;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jd-site-header .jd-header-whatsapp-link::before {
    display: none !important;
    content: none !important;
}

.jd-site-header .jd-header-whatsapp-link i {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    line-height: 1;
}

.jd-site-header .jd-header-whatsapp-link > span {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.jd-site-header .jd-header-whatsapp-link small {
    color: #5b7565;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
}

.jd-site-header .jd-header-whatsapp-link:hover,
.jd-site-header .jd-header-whatsapp-link:focus-visible {
    border-color: #167a45;
    color: #fff !important;
    background: #167a45;
    transform: translateY(-1px);
}

.jd-site-header .jd-header-whatsapp-link:hover small,
.jd-site-header .jd-header-whatsapp-link:focus-visible small {
    color: rgba(255, 255, 255, 0.74);
}

.jd-site-header .jd-header-search {
    position: relative;
    display: flex;
    width: 220px;
    height: 46px;
    flex: 0 0 220px;
    align-items: center;
    color: #5d5853;
}

.jd-site-header .jd-header-search__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    display: inline-flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    color: #77716b;
    font-size: 14px;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
}

.jd-site-header .jd-header-search__icon::before {
    padding: 0;
}

.jd-site-header .jd-header-search__input {
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 0 38px 0 42px;
    border: 1px solid #ded9d4;
    border-radius: 999px;
    outline: 0;
    color: #25211d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    background: #fff;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.jd-site-header .jd-header-search__input::-webkit-search-cancel-button {
    margin-right: -20px;
    cursor: pointer;
}

.jd-site-header .jd-header-search__input::placeholder {
    color: #8a837d;
    font-weight: 500;
    opacity: 1;
}

.jd-site-header .jd-header-search__input:hover {
    border-color: #c9c1bb;
}

.jd-site-header .jd-header-search__input:focus {
    border-color: #d52d3a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(213, 45, 58, 0.11);
}

.jd-site-header .jd-header-search__suggestions {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    width: min(380px, calc(100vw - 24px));
    max-height: min(430px, calc(100vh - 110px));
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #e8e1db;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 24px 58px rgba(43, 35, 28, 0.18);
}

.jd-site-header .jd-header-search__suggestions[hidden] {
    display: none !important;
}

.jd-site-header .jd-header-search__suggestion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 54px;
    align-items: center;
    gap: 14px;
    padding: 9px 11px;
    border-radius: 12px;
    color: #2c2723;
    text-decoration: none;
    background: transparent;
}

.jd-site-header .jd-header-search__suggestion:hover,
.jd-site-header .jd-header-search__suggestion:focus-visible,
.jd-site-header .jd-header-search__suggestion.is-active {
    color: #b91f2b;
    outline: 0;
    background: #fff0f1;
}

.jd-site-header .jd-header-search__suggestion-title {
    overflow: hidden;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.jd-site-header .jd-header-search__suggestion-type {
    color: #817871;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.jd-site-header .jd-header-search__message {
    display: block;
    padding: 18px 14px;
    color: #6d655f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 1399px) and (min-width: 1200px) {
    .jd-site-header:has(.jd-header-search) .jd-site-header__inner {
        grid-template-columns: 154px minmax(0, 1fr) auto;
        gap: 14px;
    }

    .jd-site-header:has(.jd-header-search) .main-nav > ul {
        gap: 10px;
    }

    .jd-site-header:has(.jd-header-search) .main-nav > ul > li > a,
    .jd-site-header:has(.jd-header-search) .main-nav > ul > li > a:focus {
        font-size: 12px;
    }

    .jd-site-header .jd-header-search {
        width: 190px;
        flex-basis: 190px;
    }

    .jd-site-header:has(.jd-header-search) .jd-header-whatsapp-link {
        min-width: 150px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .jd-site-header:has(.jd-header-search) .main-nav .logn .sim-button {
        min-width: 76px;
        padding-right: 14px;
        padding-left: 14px;
    }
}

.jd-site-header .cmn-toggle-switch {
    position: relative;
    top: auto;
    right: auto;
    display: none;
    float: none;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 1px solid #e4dfd9;
    border-radius: 14px;
    outline: 0;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.jd-site-header .cmn-toggle-switch span,
.jd-site-header .cmn-toggle-switch::before,
.jd-site-header .cmn-toggle-switch::after {
    position: absolute;
    top: 50%;
    right: auto;
    left: 50%;
    display: block;
    width: 20px;
    height: 2px;
    margin: 0;
    border: 0;
    border-radius: 99px;
    content: "";
    background: #25211d;
    transform: translate(-50%, -50%);
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
}

.jd-site-header .cmn-toggle-switch::before {
    transform: translate(-50%, calc(-50% - 6px));
}

.jd-site-header .cmn-toggle-switch::after {
    transform: translate(-50%, calc(-50% + 6px));
}

.jd-site-header .cmn-toggle-switch.active span {
    opacity: 0;
}

.jd-site-header .cmn-toggle-switch.active::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.jd-site-header .cmn-toggle-switch.active::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.jd-site-header .jd-site-header__mobile-contact {
    display: none !important;
}

@media (max-width: 1199px) {
    .jd-site-header,
    .jd-site-header .tt-header,
    .jd-site-header .tt-header.stick,
    .jd-site-header .jd-site-header__inner {
        min-height: 68px;
        height: 68px;
    }

    .jd-site-header .tt-header,
    .jd-site-header .tt-header.stick {
        overflow: visible;
    }

    .jd-site-header .jd-site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        padding: 0 18px;
        gap: 14px;
    }

    .jd-site-header .top-inner {
        position: static;
        width: auto;
        height: auto;
        min-height: 0;
    }

    .jd-site-header .main-logo {
        display: flex !important;
    }

    .jd-site-header .main-logo img {
        width: 44px !important;
        height: 44px;
    }

    .jd-site-header .main-logo a {
        font-size: 18px;
    }

    .jd-site-header .toggle-block {
        position: absolute !important;
        top: calc(100% + 8px);
        right: 14px;
        left: 14px;
        z-index: 104;
        display: none;
        width: auto;
        height: auto !important;
        max-height: calc(100vh - 144px);
        overflow-x: hidden !important;
        overflow-y: auto !important;
        border: 1px solid #e9e4de;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 24px 54px rgba(43, 35, 28, 0.18);
    }

    .jd-site-header .toggle-block-container,
    .jd-site-header .main-nav {
        width: 100%;
    }

    .jd-site-header .main-nav > ul {
        display: block;
        min-height: 0;
        margin: 0;
        padding: 10px;
    }

    .jd-site-header .main-nav > ul > li,
    .jd-site-header .main-nav > ul > li:first-child {
        position: static;
        display: block;
        width: 100%;
    }

    .jd-site-header .main-nav > ul > li.jd-site-header__services {
        position: relative;
    }

    .jd-site-header .main-nav > ul > li > a,
    .jd-site-header .main-nav > ul > li > a:focus {
        display: flex;
        width: 100% !important;
        min-height: 44px;
        align-items: center;
        padding: 0 14px;
        border-radius: 10px;
        color: #332e29;
        font-size: 13px;
        background: transparent;
    }

    .jd-site-header .main-nav > ul > li:not(.logn) > a::after {
        display: none !important;
    }

    .jd-site-header .main-nav > ul > li:not(.logn) > a:hover,
    .jd-site-header .main-nav > ul > li:not(.logn) > a:focus,
    .jd-site-header .main-nav > ul > li.select > a,
    .jd-site-header .main-nav > ul > li.active > a {
        color: #fff !important;
        background: #d9252e;
    }

    .jd-site-header .main-nav > ul > li > a .menu-toggle {
        position: absolute;
        top: 3px;
        right: 6px;
        display: flex;
        width: 38px;
        height: 38px;
        margin: 0;
    }

    .jd-site-header .main-nav > ul > li.select > a .menu-toggle::before {
        transform: rotate(225deg) translate(-1px, -1px);
    }

    .jd-site-header .jd-site-header__services > .mobile-submenu {
        position: static;
        display: none;
        width: 100%;
        max-height: 280px;
        margin: 4px 0 8px;
        padding: 6px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid #ebe6e0;
        border-radius: 12px;
        visibility: visible;
        opacity: 1;
        background: #faf8f5;
        box-shadow: none;
        transform: none !important;
        transition: none;
    }

    .jd-site-header .jd-site-header__services:hover > .mobile-submenu,
    .jd-site-header .jd-site-header__services:focus-within > .mobile-submenu {
        display: none;
        transform: none !important;
    }

    .jd-site-header .main-nav > ul > li.jd-site-header__services.select > a,
    .jd-site-header .main-nav > ul > li.jd-site-header__services > a:hover,
    .jd-site-header .main-nav > ul > li.jd-site-header__services > a:focus {
        color: #fff !important;
        background: #d9252e;
    }

    .jd-site-header .jd-site-header__services > .jd-site-header__service-menu {
        max-height: 280px !important;
        padding: 0;
        border-color: #ebe6e0;
        border-radius: 0;
        background: #fbfaf8;
    }

    .jd-site-header .jd-site-header__service-menu > .jd-site-header__service-group {
        display: none;
        border-bottom: 1px solid #e7e2dc;
    }

    .jd-site-header .jd-site-header__service-menu > .jd-site-header__service-group.is-mobile-default,
    .jd-site-header .jd-site-header__service-menu > .jd-site-header__service-group.is-current,
    .jd-site-header .jd-site-header__service-menu > .jd-site-header__service-group--temporary {
        display: block !important;
    }

    .jd-site-header .jd-site-header__service-group.is-current .jd-site-header__service-group-row {
        background: #fff1f1;
    }

    .jd-site-header .jd-site-header__service-group.is-current .jd-site-header__service-group-title,
    .jd-site-header .jd-site-header__service-group.is-current .jd-site-header__service-group-toggle {
        color: #c92029;
    }

    .jd-site-header .jd-site-header__service-group--temporary .jd-site-header__service-group-title {
        padding-right: 14px;
    }

    .jd-site-header .jd-site-header__service-group-row {
        min-height: 44px;
        align-items: center;
        border: 0;
    }

    .jd-site-header .jd-site-header__service-group-title {
        min-height: 44px;
        align-items: center;
        padding: 0 48px 0 14px;
        color: #2d2925;
        font-size: 13px;
        font-weight: 700;
    }

    .jd-site-header a.jd-site-header__service-group-title:hover,
    .jd-site-header a.jd-site-header__service-group-title:focus-visible {
        color: #c9232e;
        background: #fff1f1;
    }

    .jd-site-header .jd-site-header__service-group-icon {
        display: none;
    }

    .jd-site-header .jd-site-header__service-group-toggle {
        position: absolute;
        top: 3px;
        right: 4px;
        display: inline-flex;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 8px;
        color: #5e5750;
        font-size: 14px;
        background: transparent;
        cursor: pointer;
    }

    .jd-site-header .jd-site-header__service-group-toggle:hover,
    .jd-site-header .jd-site-header__service-group-toggle:focus-visible {
        color: #c9232e;
        background: #f5efeb;
    }

    .jd-site-header .jd-site-header__service-group-toggle i {
        transition: transform 160ms ease;
    }

    .jd-site-header .jd-site-header__service-group.is-open .jd-site-header__service-group-toggle i {
        transform: rotate(180deg);
    }

    .jd-site-header .jd-site-header__service-items {
        display: none;
        gap: 0;
        margin: 0;
        padding: 4px 14px 8px 24px;
        border-top: 1px solid #eee9e3;
        background: #fff;
    }

    .jd-site-header .jd-site-header__service-item {
        padding: 7px 0;
        color: #655d56;
        font-size: 12px;
        line-height: 1.35;
    }

    .jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services {
        padding: 0;
        border: 0;
    }

    .jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a,
    .jd-site-header .jd-site-header__service-menu > .jd-site-header__all-services > a:focus {
        display: flex;
        width: 100% !important;
        min-height: 46px;
        align-items: center;
        padding: 0 14px !important;
        color: #d52d3a;
        font-size: 13px;
        background: #fff;
    }

    .jd-site-header .jd-site-header__all-services-desktop {
        display: none;
    }

    .jd-site-header .jd-site-header__all-services-mobile {
        display: inline;
    }

    .jd-site-header .jd-site-header__submenu-heading {
        display: none !important;
    }

    .jd-site-header .mobile-submenu > li {
        display: block;
        width: 100%;
        border: 0;
    }

    .jd-site-header .mobile-submenu > li > a,
    .jd-site-header .mobile-submenu > li > a:focus {
        min-height: 40px;
        padding: 8px 12px 8px 38px !important;
        border-radius: 9px;
        font-size: 12px;
    }

    .jd-site-header .mobile-submenu > li > a:hover,
    .jd-site-header .mobile-submenu > li > a:focus-visible {
        color: #fff;
        background: #d9252e;
        transform: none;
    }

    .jd-site-header .main-nav > ul > li.logn {
        position: static;
        width: 100%;
    }

    .jd-site-header .main-nav > ul > li.logn > a {
        display: block;
        min-height: 48px;
        padding: 4px 0 0;
    }

    .jd-site-header .main-nav .logn .sim-button {
        width: 100%;
        height: 42px;
        margin: 0;
        border-color: #26211d;
        color: #fff !important;
        line-height: 40px;
        background: #26211d;
    }

    .jd-site-header .jd-site-header__mobile-contact {
        display: block !important;
        margin-top: 6px !important;
        padding-top: 8px !important;
        border-top: 1px solid #ebe6e0;
    }

    .jd-site-header .jd-site-header__mobile-contact > a,
    .jd-site-header .jd-site-header__mobile-contact > a:focus {
        justify-content: center;
        gap: 8px;
        color: #fff;
        background: #d9252e;
    }

    .jd-site-header .jd-site-header__actions {
        gap: 8px;
    }

    .jd-site-header .jd-header-search {
        width: 220px;
        flex-basis: 220px;
    }

    .jd-site-header .jd-header-search__suggestions {
        position: fixed;
        top: 76px;
        right: 12px;
        left: 12px;
        width: auto;
        max-height: min(430px, calc(100vh - 92px));
    }

    .jd-site-header .jd-header-whatsapp-link {
        min-width: 160px;
        height: 44px;
        padding: 0 14px;
    }

    .jd-site-header .cmn-toggle-switch {
        display: block;
        width: 44px;
        height: 44px;
    }

    .jd-site-header:has(.cmn-toggle-switch.active) ~ .btn-whatsapp {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 600px) {
    .jd-site-header .jd-site-header__inner {
        padding: 0 12px;
        gap: 8px;
    }

    .jd-site-header .main-logo a {
        gap: 0;
    }

    .jd-site-header .jd-site-header__brand-name {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .jd-site-header .jd-header-whatsapp-link {
        width: 44px;
        min-width: 44px;
        height: 44px;
        padding: 0;
        overflow: hidden;
        border-color: #bfe4cd;
        border-radius: 50%;
    }

    .jd-site-header .jd-header-whatsapp-link > span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .jd-site-header .jd-header-whatsapp-link i {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .jd-site-header .jd-header-search {
        width: min(200px, calc(100vw - 190px));
        min-width: 130px;
        flex-basis: auto;
    }

    .jd-site-header .jd-header-search__input {
        padding-right: 28px;
        padding-left: 36px;
        font-size: 12px;
    }

    .jd-site-header .jd-header-search__icon {
        left: 13px;
        font-size: 13px;
    }

    .jd-site-header .jd-header-search__suggestions {
        top: 74px;
        right: 10px;
        left: 10px;
        max-height: min(430px, calc(100vh - 88px));
        border-radius: 16px;
    }

    .jd-site-header .toggle-block {
        top: calc(100% + 6px);
        right: 10px;
        left: 10px;
        max-height: calc(100vh - 150px);
        border-radius: 16px;
    }
}

@media (max-width: 340px) {
    .jd-site-header .jd-site-header__inner {
        padding-right: 8px;
        padding-left: 8px;
        gap: 5px;
    }

    .jd-site-header .jd-site-header__actions {
        gap: 5px;
    }

    .jd-site-header .jd-header-search {
        width: calc(100vw - 184px);
        min-width: 124px;
    }

    .jd-site-header .jd-header-search__input {
        padding-left: 32px;
    }

    .jd-site-header .jd-header-search__icon {
        left: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jd-site-header *,
    .jd-site-header *::before,
    .jd-site-header *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Site-wide WhatsApp presentation; existing links and tracking hooks stay unchanged. */
body > .btn-whatsapp {
    top: auto !important;
    right: 22px;
    bottom: 96px;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    padding: 14px !important;
    border: 2px solid rgba(18, 116, 65, 0.24);
    border-radius: 50%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 0 0 7px rgba(22, 122, 69, 0.1), 0 18px 42px rgba(25, 78, 49, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

body > .btn-whatsapp:hover,
body > .btn-whatsapp:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(25, 78, 49, 0.3);
}

body > .btn-whatsapp img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes jd-sitewide-whatsapp-bubble-nudge {
    0%,
    82%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    88% {
        transform: translate3d(0, -3px, 0);
    }

    94% {
        transform: translate3d(0, 0, 0);
    }
}

body > .btn-whatsapp::before {
    content: "Let's Chat";
    position: absolute;
    right: -2px;
    bottom: calc(100% + 9px);
    z-index: 1;
    display: inline-flex;
    width: 76px;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    box-sizing: border-box;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    background: #1a1713;
    box-shadow: 0 10px 24px rgba(30, 27, 23, 0.2);
    animation: jd-sitewide-whatsapp-bubble-nudge 5.5s ease-in-out infinite;
    transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

body > .btn-whatsapp::after {
    display: none;
    content: none;
}

body > .btn-whatsapp:hover::before,
body > .btn-whatsapp:focus-visible::before {
    background: #167a45;
}

body > .whatsapp {
    right: auto;
    bottom: 16px;
    left: 50%;
    width: 190px;
    transform: translateX(-50%);
}

body > .whatsapp .row,
body > .whatsapp .col-md-12 {
    margin: 0;
    padding: 0;
}

body > .whatsapp .whatsapp-layer {
    width: 190px;
    min-height: 52px;
    margin: 0;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: #167a45;
    box-shadow: 0 16px 38px rgba(17, 73, 43, 0.3);
}

body > .whatsapp .whatsapp-layer i {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 6px;
    border-radius: 50%;
    font-size: 0;
    vertical-align: middle;
    background: #fff url("../../images/whatsapp.png") center / contain no-repeat;
}

@media (max-width: 1199px) {
    .header1:has(.cmn-toggle-switch.active) ~ .btn-whatsapp {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .header1:has(.cmn-toggle-switch.active) ~ .btn-whatsapp::before {
        animation: none;
    }
}

@media (max-width: 520px) {
    body > .btn-whatsapp {
        right: 14px;
        bottom: 82px;
        width: 66px;
        height: 66px;
        padding: 12px !important;
    }

    body > .btn-whatsapp::before {
        right: -2px;
        bottom: calc(100% + 9px);
        width: 70px;
        min-height: 32px;
        padding: 6px 7px;
        font-size: 11.5px;
    }

    body > .whatsapp {
        bottom: 10px;
        width: 176px;
    }

    body > .whatsapp .whatsapp-layer {
        width: 176px;
        min-height: 50px;
        padding: 13px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body > .btn-whatsapp,
    body > .btn-whatsapp::before {
        animation: none;
        transition-duration: 0.01ms;
    }
}
