/* NAV FLEX WRAPPER */
.nav-flex{
    display:flex;
    align-items:center;
}

/* MENU */
.main-nav{
    display:flex;
    gap:22px;
}

/* PUSH BUTTON RIGHT */
.nav-right{
    margin-left:auto;
}

/* =========================
   BASE
========================= */


.containerh{
    max-width:1200px;
    margin:auto;
    padding:0 16px;
}

/* =========================
   TOP STRIP
========================= */
.top-strip{
    background:#f3f4f6;
    font-size:12px;
    border-bottom:1px solid #e5e7eb;
}

.top-flex{
    display:flex;
    justify-content:space-between;
    padding:6px 0;
}

.top-links a{
    margin-right:14px;
    color:#555;
    text-decoration:none;
}

.top-links a:hover{
    text-decoration:underline;
}

/* =========================
   MAIN HEADER
========================= */
.main-header{
    background:#fff;
    border-bottom:1px solid #e5e7eb;
}

.main-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 0;
}

/* LOGO */
.logo img{
    height:42px;
}



/* =========================
   NAV BAR
========================= */
.nav-bar{
    background:#fff;
    border-bottom:2px solid #000; /* strong editorial line */
}

.main-nav{
    display:flex;
    gap:22px;
    padding:12px 0;
}

/* LINKS */
.main-nav a{
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    color:#111;
    text-decoration:none;
    position:relative;
}

/* HOVER */
.main-nav a:hover{
    color:#000;
}

/* ACTIVE UNDERLINE */
.main-nav a.active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-10px;
    width:100%;
    height:3px;
    background:#000;
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){

    .main-nav{
        flex-wrap:wrap;
        gap:14px;
    }

    .header-search input{
        width:140px;
    }
}
/* =========================
   FORCE PERFECT ALIGNMENT
========================= */
.site-header .header-search{
    display:flex;
    align-items:stretch;
    background:#f9fafb;
    border:1px solid #e5e7eb;
    border-radius:10px;
    overflow:hidden;
    height:44px;
    min-width:320px;
}

/* INPUT (FORCE RESET) */
.site-header .header-search input{
    flex:1;
    border:0 !important;
    outline:none;
    padding:0 14px !important; /* 🔥 force remove vertical padding */
    margin:0 !important;
    height:100%;
    line-height:44px; /* 🔥 perfect vertical alignment */
    font-size:14px;
    background:transparent;
    box-sizing:border-box;
}

/* BUTTON (FORCE FULL HEIGHT) */
.site-header .header-search button{
    border:0;
    margin:0;
    background:#111;
    color:#fff;
    font-size:13px;
    font-weight:600;
    padding:0 18px;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

/* FIX BUTTON LINE-HEIGHT ISSUE */
.site-header .header-search button *{
    line-height:1;
}