* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    color: #333333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.main-header {
    background-color: black;
    color: white;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px black;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px;
    height: auto;
}

.navbar ul {
    display: flex;
    gap: 30px;
}

.navbar a {
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.navbar a:hover,
.navbar a.active {
    color: #e3bc3b;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    padding: 5px 10px;
    border-radius: 25px;
    border: none;
    outline: none;
    font-size: 14px;
}

.header-icons .icon-btn {
    font-size: 18px;
    color: white;
    position: relative;
}

.header-icons .icon-btn:hover {
    color: #e3bc3b;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -15px;
    background-color: #e3bc3b;
    color: black;
    font-size: 12px;
    font-weight: bold;
    padding: 1px 7px;
    border-radius: 50%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

footer {
    background-color: black;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}

.media-links {
    margin-top: 10px;
}

.media-links a {
    color: #e3bc3b;
    margin: 0 10px;
    font-size: 20px;
}

/* Mobile uchun */
@media (max-width: 768px) {

    .main-header .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 6px 10px;
        padding: 0 10px;
    }

    .logo img {
        width: 80px;
        height: auto;
        flex-shrink: 0;
    }

    .search-box {
        flex: 1 1 60px; 
        width: 10%;
        min-width: 90px;
        max-width: 200px;
        padding: 8px; 
        font-size: 13px;
    }

    .header-icons {
        flex-shrink: 0;
        gap: 8px;
    }

    .hamburger {
        display: block;
        font-size: 22px;
        margin-left: 5px;
    }
    
    .main-header {
        overflow: hidden; 
    }
    .search-icon{
        display: none;
    }
    .navbar {
        display: none;
    }
}