/* =========================================================
   VZUTA_UA — HEADER.CSS
   desktop header / mega menu / search overlay / mobile menu base
   ========================================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:9999;
    background:#fff;
    border-bottom:1px solid #ededed;
}

.header-inner{
    height:66px;
    padding:0 34px 0 28px;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    column-gap:24px;
}

.header-left,
.header-right{
    display:flex;
    align-items:center;
}

.header-left{
    justify-self:start;
    gap:28px;
}

.header-right{
    justify-self:end;
    gap:22px;
    min-width:max-content;
}

.header-left a{
    color:#111;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
    text-transform:uppercase;
    transition:.25s ease;
}

.header-logo{
    justify-self:center;
    color:#111;
    font-family:'Cormorant Garamond', Georgia, serif;
    font-size:38px;
    font-weight:600;
    letter-spacing:1px;
    line-height:1;
    white-space:nowrap;
}

.sale-link{
    color:#e60000 !important;
}

.header-icon{
    width:28px;
    height:28px;
    border:0;
    background:none;
    color:#111;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    font-size:20px;
    line-height:1;
    transition:.25s ease;
}

.header-left a:hover,
.header-right a:hover,
.header-logo:hover,
.catalog-btn:hover{
    opacity:.55;
}

/* catalog / mega menu */

.catalog-wrapper{
    position:relative;
    height:66px;
    display:flex;
    align-items:center;
}

.catalog-wrapper::after{
    content:"";
    position:absolute;
    left:0;
    top:100%;
    width:820px;
    height:18px;
}

.catalog-btn{
    border:0;
    background:none;
    display:flex;
    align-items:center;
    gap:11px;
    color:#111;
    font-size:13px;
    font-weight:700;
    letter-spacing:.2px;
    text-transform:uppercase;
}

.burger-icon{
    width:24px;
    height:17px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.burger-icon span{
    height:2.5px;
    background:#111;
    border-radius:20px;
    display:block;
}

.mega-menu{
    position:absolute;
    top:66px;
    left:0;
    width:820px;
    min-height:430px;
    background:#fff;
    border:1px solid #eee;
    box-shadow:0 20px 55px rgba(0,0,0,.10);
    display:grid;
    grid-template-columns:150px 220px 1fr;
    z-index:10000;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(8px);
    transition:.22s ease;
}

.catalog-wrapper:hover .mega-menu,
.mega-menu:hover{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
}

.mega-column{
    padding:24px 26px;
    border-right:1px solid #eee;
}

.mega-column h4{
    margin-bottom:20px;
    font-size:15px;
    font-weight:800;
    text-transform:uppercase;
}

.mega-column a{
    display:block;
    margin-bottom:18px;
    color:#111;
    font-size:15px;
    font-weight:700;
    transition:.2s ease;
}

.mega-column a:hover{
    opacity:.55;
    transform:translateX(3px);
}

.mega-images{
    padding:24px 26px;
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    align-content:start;
}

.mega-card{
    width:100%;
    display:flex;
    align-items:center;
    gap:16px;
}

.mega-card img{
    width:54px;
    height:54px;
    object-fit:cover;
    border-radius:50%;
    background:#eee;
}

.mega-card span{
    font-size:15px;
    font-weight:700;
    text-transform:uppercase;
}

/* search overlay */

.search-open-btn{
    border:0;
    background:none;
}

.search-overlay{
    position:fixed;
    inset:0;
    z-index:20000;
    display:none;
    align-items:flex-start;
    justify-content:center;
    padding-top:105px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(6px);
}

.search-overlay.active{
    display:flex;
}

.search-panel{
    width:min(760px,92vw);
    padding:30px;
    border-radius:28px;
    background:#fff;
    box-shadow:0 30px 80px rgba(0,0,0,.08);
    display:flex;
    flex-direction:column;
    gap:18px;
    position:relative;
}

.search-close{
    position:absolute;
    top:24px;
    right:30px;
    border:0;
    background:none;
    font-size:34px;
    line-height:1;
    z-index:2;
}

.search-panel input{
    width:100%;
    height:58px;
    padding:0 20px;
    border:1px solid #ddd;
    border-radius:16px;
    color:#111;
    font-size:17px;
    font-weight:500;
    outline:none;
}

.search-panel input:focus{
    border-color:#111;
}

.search-suggestions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    max-height:430px;
    overflow-y:auto;
}

.search-suggestion-item{
    display:grid;
    grid-template-columns:74px 1fr;
    gap:14px;
    align-items:center;
    padding:12px;
    background:#f7f7f7;
    border-radius:18px;
    transition:.2s ease;
}

.search-suggestion-item:hover{
    background:#efefef;
    transform:translateY(-2px);
}

.search-suggestion-item img{
    width:74px;
    height:92px;
    object-fit:cover;
    border-radius:14px;
}

.search-suggestion-item strong{
    display:block;
    font-size:15px;
    font-weight:800;
    line-height:1.3;
}

.search-suggestion-item span{
    display:block;
    margin-top:5px;
    color:#666;
    font-size:14px;
    font-weight:600;
}

.search-panel button[type="submit"]{
    width:100%;
    height:58px;
    border:0;
    border-radius:16px;
    background:#111;
    color:#fff;
    font-size:14px;
    font-weight:800;
    text-transform:uppercase;
}

/* mobile menu base hidden on desktop */

.mobile-menu-btn{
    display:none;
}

.mobile-menu-overlay,
.mobile-menu{
    display:none;
}
