.tifuli-header,
.tifuli-header * {
    box-sizing: border-box;
    font-family: "Assistant", sans-serif !important;
}

.tifuli-header {
    direction: rtl;
    width: 100%;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid #e7ecea;
    box-shadow: 0 8px 32px rgba(18,54,48,.07);
    position: relative;
    z-index: 9999;
}

.tifuli-header-inner {
    max-width: 1280px;
    min-height: 88px;
    margin: 0 auto;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 34px;
}

/* LOGO */
.tifuli-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    flex-shrink: 0;
}

.tifuli-logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg,#143f38,#216b5e);
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 25px rgba(19,73,62,.18),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.tifuli-logo-icon svg {
    width: 44px;
    height: 44px;
}

.tifuli-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.tifuli-logo-main {
    font-size: 25px;
    font-weight: 800;
    color: #153e37;
    letter-spacing: -.7px;
}

.tifuli-logo-sub {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #6f7d79;
}

/* NAV */
.tifuli-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    margin-right: auto;
}

.tifuli-nav a {
    position: relative;
    color: #243b36 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .22s ease;
    white-space: nowrap;
}

.tifuli-nav a:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    border-radius: 20px;
    background: #dda91f;
    transition: width .25s ease;
}

.tifuli-nav a:hover {
    color: #146354 !important;
}

.tifuli-nav a:hover:after {
    width: 100%;
}

/* PHONE */
.tifuli-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 17px 9px 20px;
    min-height: 52px;
    border-radius: 15px;
    background: linear-gradient(135deg,#e0b12d,#f0c84f);
    color: #163b34 !important;
    text-decoration: none !important;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(218,169,31,.24);
    transition: .2s ease;
    flex-shrink: 0;
}

.tifuli-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(218,169,31,.33);
}

.tifuli-phone-icon {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tifuli-phone-icon svg {
    width: 18px;
    height: 18px;
}

.tifuli-phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.tifuli-phone-label {
    font-size: 10px;
    font-weight: 700;
    opacity: .72;
    margin-bottom: 5px;
}

.tifuli-phone-number {
    direction: ltr;
    font-size: 16px;
    font-weight: 800;
}

/* המבורגר מוסתר כברירת מחדל */
.tifuli-menu-btn {
    display: none;
}

/* טאבלט - עדיין תפריט רגיל */
@media (max-width: 1024px) and (min-width: 621px) {

    .tifuli-header-inner {
        padding: 10px 16px;
        gap: 16px;
    }

    .tifuli-nav {
        gap: 16px;
    }

    .tifuli-nav a {
        font-size: 13px;
    }

    .tifuli-logo-icon {
        width: 50px;
        height: 50px;
    }

    .tifuli-logo-main {
        font-size: 21px;
    }

    .tifuli-logo-sub {
        font-size: 10px;
    }

    .tifuli-phone {
        padding: 8px 12px;
    }

    .tifuli-phone-number {
        font-size: 14px;
    }
}

/* סמארטפון בלבד */
@media (max-width: 620px) {

    .tifuli-header-inner {
        min-height: 72px;
        padding: 9px 11px;
        gap: 10px;
    }

    .tifuli-logo {
        gap: 7px;
    }

    .tifuli-logo-icon {
        width: 45px;
        height: 45px;
        border-radius: 13px;
    }

    .tifuli-logo-icon svg {
        width: 32px;
        height: 32px;
    }

    .tifuli-logo-main {
        font-size: 18px;
    }

    .tifuli-logo-sub {
        display: none;
    }

    .tifuli-nav {
        position: absolute;
        top: 100%;
        right: 10px;
        left: 10px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        background: #fff;
        padding: 10px;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 18px 35px rgba(0,0,0,.12);
        border: 1px solid #e7ecea;
        border-top: 0;
    }

    .tifuli-nav.active {
        display: flex;
    }

    .tifuli-nav a {
        padding: 15px 14px;
        border-bottom: 1px solid #edf1ef;
        font-size: 16px;
    }

    .tifuli-nav a:last-child {
        border-bottom: 0;
    }

    .tifuli-nav a:after {
        display: none;
    }

    .tifuli-phone {
        margin-right: auto;
        padding: 7px 8px;
        min-height: 44px;
        gap: 6px;
    }

    .tifuli-phone-label {
        display: none;
    }

    .tifuli-phone-number {
        font-size: 12px;
    }

    .tifuli-phone-icon {
        width: 28px;
        height: 28px;
    }

    .tifuli-menu-btn {
        display: flex;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 12px;
        background: #153e37;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 0;
        flex-shrink: 0;
    }

    .tifuli-menu-btn span {
        width: 21px;
        height: 2px;
        background: #fff;
        border-radius: 10px;
        display: block;
    }
}
/* Accessibility and compatibility */
.tifuli-header .tifuli-nav a:focus-visible,
.tifuli-header .tifuli-phone:focus-visible,
.tifuli-header .tifuli-menu-btn:focus-visible { outline: 3px solid #dda91f; outline-offset: 3px; }
.tifuli-header .tifuli-menu-btn { appearance: none; }
@media (min-width: 621px) and (max-width: 850px) {
 .tifuli-header-inner {gap: 9px; padding: 9px 10px;}
 .tifuli-nav {gap: 9px;}
 .tifuli-nav a {font-size: 12px;}
 .tifuli-phone {padding: 6px 8px;}
 .tifuli-phone-icon {display:none;}
 .tifuli-phone-number {font-size: 12px;}
}
@media (max-width:620px) {
 .tifuli-header-inner {flex-wrap: nowrap;}
 .tifuli-header .tifuli-phone {min-width:0;}
}
