/* =========================================================
   PC GAME SHOP — CLEAN HEADER (FINAL, STABLE)
   ========================================================= */

/* ===== RESET / SAFETY ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===== HEADER BASE ===== */
.header {
    position: relative;
    z-index: 100;
}

/* ===== TOP BAR ===== */
.header-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #212121;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
	border-bottom: 2px solid rgba(255, 255, 255, 0.07);
}

.header-top__inner {
    height: 56px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* ===== LOGO ===== */
.header-top__logo img {
    height: 34px;
    width: auto;
    display: block;
}

/* ===== BURGER ===== */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-btn span {
    width: 22px;
    height: 2px;
    background: #fff;
}

/* ===== DESKTOP SEARCH ===== */
.desktop-search {
    flex: 1;
}

.search-form {
    display: flex;
    align-items: center;
    height: 38px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.search-btn {
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
}

.search-btn svg {
    width: 16px;
    height: 16px;
    fill: #6b7280;
}

.search-input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    padding-right: 12px;
    font-size: 14px;
    background-color: #fff !important;
    color: #111 !important;
}

.search-input::placeholder {
    color: #9ca3af;
}

/* ===== DESKTOP ORDERS ===== */
.desktop-orders {
    flex-shrink: 0;
}

.orders-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    background: #fff;
    border-radius: 10px;
    font-size: 13px;
    border: 1px solid #e6e6e6;
    color: #111;
    text-decoration: none;
    white-space: nowrap;
}

.orders-btn svg {
    width: 16px;
    height: 16px;
    fill: #111;
}

/* ===== MOBILE ACTIONS ===== */
.mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
}

.mobile-actions button,
.mobile-actions a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgb(255 255 255);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-actions svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.mobile-close {
	
	background: #121212;
    color: #fff;
	
}

/* ===== MOBILE SEARCH PANEL ===== */
.mobile-search {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
        background: #212121;
    padding: 10px 16px;
    display: none;
    z-index: 9999;
}

.mobile-search.active {
    display: block;
}

.mobile-search .search-form {
    height: 40px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #121212;
    z-index: 10001;
    transition: left .3s ease;
	    overflow: scroll;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu__header {
    padding: 16px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #1f1f1f;
}

.mobile-menu__nav a {
    display: block;
    padding: 14px 16px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #1f1f1f;
}

/* ===== OVERLAY ===== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 10000;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== BOTTOM BAR OFFSET ===== */
.header__bar {
    background: #212121;
}

.header-bar-inner {
	max-width: 1728px;
    width: 100%;
    position: relative;
    display: flex;
    padding: 0px 40px;
    margin: 0px auto;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    height: 44px;
}

.header-bar-inner a {
	    color: rgb(255, 255, 255);
}

/* ===== PAGE OFFSET ===== */
main {
    padding-top: 56px;
}

.home-hero {
    padding-top: 130px;
    background: #141111;
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .burger-btn {
        display: flex;
    }

    .desktop-search,
    .desktop-orders {
        display: none;
    }

    .mobile-actions {
        display: flex;
        
    }

    .header-top {
        height: 56px;
    }

    main {
        padding-top: 56px;
    }

    .header__bar {
        margin-top: 56px;
    }
	
	.header-top__inner {
    height: 56px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: space-between;
    padding: 0 20px;
}
	
	.header__bar {
		display: none; 
}

section {
    padding: 75px 10px;
    background: #141111;
}
}
