* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg: #0f0f0f;
    --card: #1a1a1a;
    --border: #2a2a2a;
    --primary: #f59e0b;
    --text: #ffffff;
    --muted: #888888;
    --radius: 12px;
}

body {
    font-family: Arial, sans-serif;
    background: #0f0f0f;
    color: #fff;
    line-height: 1.5;
}
body {
    background: #fff;
}
.container {
    width: 800px;
    margin: 0 auto;
}

body {
    margin: 0;
    background: #0d0d0d;
    font-family: "Segoe UI", sans-serif;
    color: #eee;
}
header {
    width: 800px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    transition: 0.3s ease;
    margin: 0 auto; /* qo'shing */
}

header.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 800px; /* 100% emas, o'zgartirildi */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(17, 17, 17, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: headerShow 0.3s ease;
}
@keyframes headerShow {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.avatar {
    position: relative;
    width: 56px;
    height: 56px;
    border: 2px solid #00ffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    font-weight: bold;
    font-style: italic;
    color: #00ffff;
}
.status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #00ff00;
    border: 2px solid #111;
    border-radius: 50%;
}
.text-block p {
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #aaa;
}
.text-block h1 {
    margin: 2px 0 0;
    font-size: 22px;
    font-weight: 900;
    color: #eee;
    text-shadow: 0 0 10px #00ffff;
}
/* .notif-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #00ffff;
    background: rgba(0, 255, 255, 0.05);
    transition: 0.3s;
}
.notif-btn:hover {
    background: rgba(0, 255, 255, 0.2);
}
.notif-btn svg {
    width: 22px;
    height: 22px;
    stroke: #00ffff;
} */

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between; /* chap + o‘ng */
    gap: 10px;
}
.top-row .box {
    width: 62px;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: inherit;
    padding: 4px 6px;
    border-radius: 10px;
    width: fit-content;
}

.top-row .price-box {
    background: #555;
    color: #fff;
}
.top-row .notifcation-box,
.top-row .rejim-box {
    background: rgba(255, 255, 255, 0.1);
}
.top-row .notifcation-box i {
    font-size: 14px;
}

.price {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.add-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #3b82f6;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-btn:hover {
    background: #2563eb;
}

/* ============================ BOTTOM NAV Start ============================ */
nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 50;
}

.nav-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 64px;
    align-items: center;
    max-width: 670px;
    margin: 0 auto;
    padding: 0 8px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--muted);
    cursor: pointer;
    transition: 0.2s;
    background: none;
    border: none;
}

.nav-item:hover {
    color: var(--text);
}
.nav-item.active {
    color: var(--primary);
}

.nav-item svg {
    width: 20px;
    height: 20px;
}

.nav-item span {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* ============================ BOTTOM NAV End ============================ */

/* ============================ Swiper Start ============================ */
.swiper {
    width: 100%;
    height: 400px;
}
.swiper-slide {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 18px;
    background: #444;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
}
.swiper-pagination-bullet {
    width: 40px !important;
    height: 40px !important;
    text-align: center;
    line-height: 40px !important;
    font-size: 12px;
    color: #fff;
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
    color: #fff;
    background: #007aff;
}
/* ============================ Swiper End ============================ */

/* ============================ Grid Start ============================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 14px;
    padding: 10px;
}

.card {
    background: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
    overflow: hidden; /* MUHIM */
}

.card:hover {
    border: 1px solid #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 100%;
    border-radius: 12px;
    transition: 0.3s ease;
}

.card:hover img {
    transform: scale(1.08);
}
.card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    background: #eee;
}

.card p {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}
/* ============================ Grid End ============================ */
