/* FIXPOINT V13.3: compact account/cart controls and consistent Cairo navigation. */
/* Loaded after legacy styles, so it wins without changing other page typography. */

/* Small, comfortable icon controls — V13 had made these 54px. */
.site-header .nav-actions .fxp-nav-icon {
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    border-radius: 12px;
}
.site-header .nav-actions .fxp-nav-icon svg {
    width: 25px !important;
    height: 25px !important;
}
.site-header .nav-actions .fxp-cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 10px;
    top: -6px;
    left: -6px;
}

/* Both category triggers use EXACTLY the same typography as the nav links. */
.site-header .main-nav > a,
.site-header .main-nav > .fxp-catalog-menu > .fxp-catalog-trigger {
    font-family: var(--fxp-ui-font, "Cairo", sans-serif) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.6;
}
.site-header .main-nav > .fxp-catalog-menu > .fxp-catalog-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 7px 2px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--dark-navy, #040926);
    white-space: nowrap;
    text-align: right;
    cursor: pointer;
    transition: color .18s ease;
}
.site-header .fxp-catalog-trigger:hover,
.site-header .fxp-catalog-trigger[aria-expanded="true"] {
    color: var(--primary-blue, #043af5) !important;
}
.site-header .fxp-catalog-trigger:focus-visible {
    outline: 2px solid #043af5;
    outline-offset: 4px;
}
.site-header .fxp-menu-chevron {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    transition: transform .18s ease;
}
.site-header .fxp-catalog-trigger[aria-expanded="true"] .fxp-menu-chevron {
    transform: rotate(180deg);
}
.site-header .fxp-catalog-options {
    min-width: 225px;
    max-height: min(65vh, 450px);
    overflow-y: auto;
}
.site-header .main-nav .fxp-catalog-options a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.65;
    white-space: normal;
    border-radius: 9px;
}
.site-header .main-nav .fxp-catalog-options a::after {
    display: none;
}

@media (max-width: 1100px) {
    .site-header .main-nav > a,
    .site-header .main-nav > .fxp-catalog-menu > .fxp-catalog-trigger {
        font-size: 14px !important;
    }
}
@media (max-width: 1000px) {
    .site-header .nav-actions .fxp-nav-icon {
        flex-basis: 42px !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
    }
    .site-header .nav-actions .fxp-nav-icon svg {
        width: 23px !important;
        height: 23px !important;
    }
}
@media (max-width: 768px) {
    .site-header .main-nav > .fxp-catalog-menu {
        display: block;
        width: 100%;
    }
    .site-header .main-nav > .fxp-catalog-menu > .fxp-catalog-trigger {
        width: 100%;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 13px !important;
        justify-content: space-between;
    }
    .site-header .fxp-catalog-options {
        position: static;
        width: 100%;
        max-height: none;
        min-width: 0;
        overflow-y: visible;
        margin-top: 0;
        box-shadow: none;
        border: 0;
        padding: 3px 10px;
        background: #f7f9ff;
    }
    .site-header .main-nav .fxp-catalog-options a {
        font-size: 13px;
        padding: 10px 12px;
    }
}
@media (max-width: 390px) {
    .site-header .nav-actions .fxp-nav-icon {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 40px !important;
    }
    .site-header .nav-actions .fxp-nav-icon svg {
        width: 22px !important;
        height: 22px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .site-header .fxp-menu-chevron { transition: none; }
}
