/* =============================== */
/* 2. HEADER STYLES               */
/* =============================== */
.site-header { 
    position: sticky; 
    top: 0; 
    z-index: 80; 
    backdrop-filter: blur(18px);
    background: var(--bg); 
    border-bottom: 1px solid var(--border); 
    box-shadow: 0 4px 12px rgba(0,0,0,.04); 
}
.header-inner { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 8px 16px;
    display: grid; 
    grid-template-columns: minmax(0,1.4fr) minmax(0,2.4fr) minmax(0,1.1fr);
    gap: 12px; 
    align-items: center; 
}
@media (max-width: 960px) { 
    .header-inner { 
        grid-template-columns: 1fr; 
        row-gap: 10px; 
    } 
}
.brand { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    min-width: 0; 
}
.brand-logo-wrap { 
    width: 120px; 
    height: auto; 
    padding: 0; 
    background: transparent; 
}
.brand-logo-wrap img { 
    width: 100%; 
    height: auto; 
    border-radius: 0; 
    object-fit: contain; 
}
.brand-text { 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    min-width: 0; 
}
.brand-title { 
    font-size: 15px; 
    font-weight: 800; 
    letter-spacing: .12em;
    text-transform: uppercase; 
    color: var(--ink-soft); 
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: none; 
}
.brand-sub { 
    font-size: 11px; 
    color: var(--ink-soft); 
}

.header-search { 
    display: flex; 
    align-items: center; 
    border-radius: 999px;
    overflow: hidden; 
    border: 2px solid var(--border); 
    background: var(--bg);
    box-shadow: 0 4px 14px rgba(0,0,0,.04); 
}
.header-search select { 
    border: none; 
    border-right: 1px solid var(--border);
    padding: 7px 10px; 
    font-size: 13px; 
    background: var(--bg-soft); 
    color: var(--ink-soft);
    min-width: 130px; 
    outline: none; 
}
.header-search input { 
    border: none; 
    flex: 1; 
    padding: 8px 11px; 
    font-size: 14px;
    outline: none; 
    background: transparent; 
    color: var(--ink); 
}
.header-search input::placeholder { 
    color: var(--ink-soft); 
}
.btn-search { 
    border: none; 
    background: var(--accent); 
    color: #ffffff;
    padding: 0 18px; 
    font-weight: 600; 
    font-size: 13px; 
    height: 36px; 
    cursor: pointer;
    display: flex; 
    align-items: center; 
    gap: 6px; 
    white-space: nowrap; 
    border-radius: 999px;
    margin-right: 4px; 
    box-shadow: 0 4px 14px rgba(0,102,255,.4); 
}
.btn-search:hover { 
    background: var(--accent-pink); 
    transform: translateY(-1px); 
}

.header-actions { 
    display: flex; 
    align-items: center; 
    justify-content: flex-end;
    gap: 10px; 
    flex-wrap: wrap; 
}
.header-phone { 
    font-size: 12px; 
    color: var(--accent); 
    white-space: nowrap; 
}
.header-phone b { 
    color: var(--accent); 
    font-weight: 700; 
}
.btn-cart { 
    border: none; 
    border-radius: 999px; 
    background: var(--accent);
    padding: 7px 13px; 
    display: flex; 
    align-items: center; 
    gap: 7px; 
    cursor: pointer;
    font-size: 13px; 
    font-weight: 600; 
    color: #ffffff; 
    box-shadow: 0 4px 14px rgba(0,102,255,.4); 
}
.btn-cart:hover { 
    background: var(--accent-pink); 
    transform: translateY(-1px); 
}
.cart-icon { font-size: 17px; }
.cart-badge { 
    min-width: 20px; 
    height: 20px; 
    border-radius: 999px; 
    background: #f9fafb;
    color: #0f172a; 
    font-size: 12px; 
    font-weight: 700; 
    padding: 0 6px;
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
}
.wholesale-trigger-btn { 
    background: linear-gradient(135deg, rgb(0 0 0 / 64%), #848484); 
    color: white; 
    border: none; 
    padding: 6px 14px; 
    border-radius: 30px; 
    font-weight: 600; 
    font-size: 12px; 
    cursor: pointer; 
    box-shadow: 0 4px 12px rgb(0 0 0 / 29%); 
    display: none; 
    transition: all 0.3s; 
}
.wholesale-trigger-btn:hover { 
    transform:scale(1.05); 
    box-shadow:0 6px 20px rgba(116,116,116,0.5); 
}
@media(max-width:960px){ 
    .header-actions{justify-content:space-between;} 
    .brand-sub{display:none;} 
}

/* =============================== */
/* 3. CATEGORY BAR & DROPDOWNS    */
/* =============================== */
.catbar { 
    border-bottom: 1px solid var(--border); 
    background: var(--bg); 
    position: relative;
    z-index: 1000;
}
.catbar-inner { 
    max-width: 1240px; 
    margin: 0 auto; 
    padding: 7px 16px 9px;
    display: flex; 
    gap: 8px; 
    align-items: center;
    position: relative;
    z-index: 1001;
}
.catbar-inner::-webkit-scrollbar { display: none; }
.catbar-label { 
    font-size: 12px; 
    color: var(--ink-soft); 
    white-space: nowrap; 
}
.catbar-list { 
    display: flex; 
    gap: 6px; 
    flex-wrap: wrap; 
}
.cat-pill { 
    border: none; 
    border-radius: 999px; 
    padding: 7px 13px; 
    font-size: 12px;
    color: var(--ink-soft); 
    box-shadow: 0 0 0 1px var(--accent-soft); 
    cursor: pointer;
    white-space: nowrap; 
    font-weight: 500; 
    transition: background .14s, box-shadow .14s, color .14s, transform .10s;
    background: var(--bg-soft); 
    display: inline-block;
    text-decoration: none;
}
.cat-pill:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 8px 18px rgba(0,0,0,.06); 
}
.cat-pill.active { 
    background-color: var(--accent); 
    color: #fff; 
    font-weight: 600; 
}
.subcat-dropdown { 
    position: relative; 
    display: inline-block;
    z-index: 1002;
}
.subcat-pill { 
    position: relative; 
    padding-right: 25px; 
    cursor: pointer; 
}
.subcat-pill::after { 
    content: '▼'; 
    font-size: 9px; 
    position: absolute; 
    right: 8px; 
    top: 50%; 
    transform: translateY(-50%); 
    opacity: 0.7; 
    transition: transform 0.2s, opacity 0.2s; 
}
.subcat-pill:hover::after { 
    opacity: 1; 
    transform: translateY(-50%) rotate(180deg); 
}
.subcat-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: white; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    box-shadow: 0 10px 30px rgba(0,0,0,.15); 
    min-width: 180px; 
    z-index: 99999 !important; 
    margin-top: 5px; 
    padding: 8px 0; 
}
.subcat-menu.show { display: block !important; }
.subcat-item { 
    padding: 8px 16px; 
    font-size: 12px; 
    color: var(--ink-soft); 
    cursor: pointer; 
    transition: background 0.2s, color 0.2s;
    display: block;
    text-decoration: none;
}
.subcat-item:hover { 
    background: var(--bg-soft); 
    color: var(--accent); 
}
.subcat-item.active { 
    background: var(--accent); 
    color: white; 
}

/* Hero section - χαμηλό z-index */
.hero, .hero-inner, .hero-main, .hero-carousel, .hero-full, .hero-split, .hero-card-stack {
    position: relative;
    z-index: 1;
}