
/* ====================================
   AHAN CHANDE - CUSTOM HEADER
   Font: YekanBakh
==================================== */

.ac-header {
    --ac-primary: #e3343f;
    --ac-primary-hover: #c92330;
    --ac-text: #263445;
    --ac-muted: #717d8b;
    --ac-border: #e8ebef;
    --ac-light: #f5f6f8;

    width: 100%;
    position: relative;
    z-index: 100;
    direction: rtl;
    background: #ffffff;
    box-shadow: 0 4px 22px rgba(30, 42, 60, 0.07);
}

.ac-header,
.ac-header *,
.ac-header a,
.ac-header button {
    box-sizing: border-box;
    font-family: 'YekanBakh', sans-serif !important;
}

.ac-header a {
    text-decoration: none !important;
}

.ac-header .ac-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* TOP BAR */

.ac-header .ac-topbar {
    background: #f4f5f7;
    border-bottom: 1px solid #e8ebef;
}

.ac-header .ac-topbar-inner {
    min-height: 43px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ac-header .ac-top-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #647184;
    line-height: 1.9;
}

.ac-header .ac-top-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    stroke: var(--ac-primary);
}

.ac-header .ac-top-phone {
    white-space: nowrap;
}

.ac-header .ac-top-phone a {
    direction: ltr;
    color: #283648;
    font-weight: 600;
}

/* MAIN HEADER */

.ac-header .ac-main {
    background: #ffffff;
}

.ac-header .ac-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

/* BRAND */

.ac-header .ac-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.ac-header .ac-brand-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ac-primary);
    border-radius: 12px;
    color: #ffffff;
}

.ac-header .ac-brand-icon svg {
    width: 30px;
    height: 30px;
}

.ac-header .ac-brand-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ac-header .ac-brand-title {
    font-size: 26px;
    line-height: 1.35;
    font-weight: 800;
    color: #233044;
}

.ac-header .ac-brand-subtitle {
    font-size: 11px;
    line-height: 1.5;
    color: #8a95a3;
    font-weight: 400;
}

/* NAVIGATION */

.ac-header .ac-navigation {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: auto;
}

.ac-header .ac-navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 12px 17px;
    color: #344054;
    font-size: 14px;
    font-weight: 500;
    border-radius: 9px;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.ac-header .ac-navigation a:hover,
.ac-header .ac-navigation a.ac-active {
    color: var(--ac-primary);
    background: #fff0f1;
}

/* ACTIONS */

.ac-header .ac-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ac-header .ac-call {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    direction: ltr;
    color: #2a3748;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.ac-header .ac-call svg {
    width: 19px;
    height: 19px;
    stroke: var(--ac-primary);
}

.ac-header .ac-price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 19px;
    border-radius: 10px;
    background: var(--ac-primary);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(227,52,63,.12);
}

.ac-header .ac-price-btn:hover {
    background: var(--ac-primary-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(227,52,63,.19);
}

.ac-header .ac-price-btn svg {
    width: 16px;
    height: 16px;
}

/* MOBILE MENU BUTTON */

.ac-header .ac-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e5eb;
    background: #ffffff;
    border-radius: 10px;
    color: #283648;
    cursor: pointer;
    padding: 0;
}

.ac-header .ac-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* TABLET */

@media (max-width: 1150px) {

    .ac-header .ac-main-inner {
        gap: 12px;
    }

    .ac-header .ac-navigation a {
        padding: 11px 10px;
    }

    .ac-header .ac-call {
        display: none;
    }

}

/* MOBILE */

@media (max-width: 767px) {

    .ac-header .ac-container {
        padding: 0 15px;
    }

    .ac-header .ac-topbar-inner {
        min-height: auto;
        padding-top: 9px;
        padding-bottom: 9px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .ac-header .ac-top-item {
        font-size: 11px;
        line-height: 1.8;
    }

    .ac-header .ac-main-inner {
        min-height: 78px;
        flex-wrap: wrap;
        gap: 9px;
    }

    .ac-header .ac-brand-icon {
        width: 43px;
        height: 43px;
        border-radius: 10px;
    }

    .ac-header .ac-brand-icon svg {
        width: 25px;
        height: 25px;
    }

    .ac-header .ac-brand-title {
        font-size: 21px;
    }

    .ac-header .ac-brand-subtitle {
        font-size: 9px;
    }

    .ac-header .ac-actions {
        gap: 8px;
        margin-right: auto;
    }

    .ac-header .ac-price-btn {
        padding: 12px;
        font-size: 11px;
        border-radius: 8px;
    }

    .ac-header .ac-menu-toggle {
        display: flex;
    }

    .ac-header .ac-navigation {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        margin: 0;
        padding: 10px 0 17px;
        border-top: 1px solid #e9edf2;
    }

    .ac-header .ac-navigation.ac-open {
        display: flex;
    }

    .ac-header .ac-navigation a {
        width: 100%;
        padding: 14px;
        font-size: 13px;
    }

}

/* SMALL PHONES */

@media (max-width: 390px) {

    .ac-header .ac-brand-subtitle {
        display: none;
    }

    .ac-header .ac-brand-title {
        font-size: 19px;
    }

    .ac-header .ac-price-btn {
        padding: 10px;
        font-size: 10px;
    }

    .ac-header .ac-price-btn svg {
        display: none;
    }

    .ac-header .ac-menu-toggle {
        width: 39px;
        height: 39px;
    }

}

.ac-header .ac-brand-logo{max-width:160px;max-height:60px;object-fit:contain;}
.ac-header a:focus-visible,.ac-header button:focus-visible{outline:2px solid var(--ac-primary);outline-offset:3px;}
@media(max-width:767px){.ac-header .ac-brand{max-width:100%;}.ac-header .ac-brand-logo{max-width:110px;}.ac-header .ac-main-inner{padding-top:10px;padding-bottom:10px;}}