* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: 1px;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

header {
    background: #000000;
    border-bottom: 1px solid #111111;
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 90px;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap;
}

.logo-wrapper .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    white-space: nowrap;
}

.brand-logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 3px;
}

.center-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0; margin: 0;
    white-space: nowrap;
}

.center-menu .nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: color 0.2s ease;
}

.center-menu .nav-link:hover {
    color: #8126ff;
}

.burger-menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    z-index: 1100;
}

.burger-menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.right-instruments-group {
    display: flex;
    align-items: center;
    gap: 35px;
    white-space: nowrap;
}

.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-switcher a {
    color: #555555;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.lang-switcher a.active, .lang-switcher a:hover {
    color: #8126ff;
}

.cart-icon {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 2px;
}

.cart-badge {
    background: #ffffff;
    color: #000000;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 50%;
    font-weight: 700;
}

.auth-block {
    display: flex;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #222222;
    object-fit: cover;
}

.nav-link-exit {
    color: #8126ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.btn-login-trigger {
    background: none; border: none; color: #ffffff;
    font-family: inherit; font-size: 12px; font-weight: 600;
    letter-spacing: 2px; cursor: pointer;
}



.hero-premium {
    height: 75vh;
    min-height: 720px;
    margin-top: 90px;
    background: url('../images/fon.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-inner {
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 11px;
    color: #666;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 54px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.btn-explore {
    display: inline-block;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 35px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background 0.3s, color 0.3s;
}

.btn-explore:hover {
    background: #ffffff;
    color: #000000;
}

/* СЕТКА С ТОВАРАМИ */
#collection {
    padding-top: 60px;
    padding-bottom: 90px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    width: 100%;
}

.product-card {
    background: #000000;
    cursor: pointer;
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    background: #0a0a0a;
    overflow: hidden;
}

.product-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.discount-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: #ff3b30; color: #ffffff;
    font-size: 11px; font-weight: 700;
    padding: 3px 6px;
}

.product-info {
    padding: 20px 0;
}

.product-sku {
    font-size: 11px; color: #444;
    font-family: monospace; margin-bottom: 5px;
}

.product-info .title {
    font-size: 15px; font-weight: 400;
    margin-bottom: 10px; letter-spacing: 1px;
}

.price-block { margin-bottom: 15px; }
.current-price { font-size: 14px; font-weight: 700; }
.current-price.sale { color: #ff3b30; }
.old-price { font-size: 12px; color: #555; text-decoration: line-through; margin-right: 8px; }

.btn-add {
    width: 100%; background: none;
    border: 1px solid #222222; color: #ffffff;
    padding: 12px; font-size: 11px; font-weight: 600;
    letter-spacing: 2px; cursor: pointer;
}
.btn-add:hover { background: #ffffff; color: #000000; }

/* МОДАЛКИ ОБЩИЕ */
.modal {
    display: none; position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000;
}

.modal-backdrop {
    position: absolute; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
}

.modal-content {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #0a0a0a; border: 1px solid #161616;
    padding: 40px; width: 90%; max-width: 460px;
}

.close-modal {
    position: absolute; top: 15px; right: 20px;
    font-size: 24px; color: #555; cursor: pointer;
}

.modal-tabs { display: flex; gap: 20px; margin-bottom: 25px; }
.tab-btn {
    background: none; border: none; color: #444;
    font-size: 12px; font-weight: 700; cursor: pointer;
}
.tab-btn.active { color: #ffffff; border-bottom: 2px solid #8126ff; }

.auth-form { display: flex; flex-direction: column; gap: 20px; }
.hidden { display: none !important; }

.input-wrapper { position: relative; }
.input-wrapper input {
    width: 100%; background: none; border: none;
    border-bottom: 1px solid #222222; padding: 10px 0;
    color: #ffffff; outline: none; font-size: 13px;
}
.input-wrapper .input-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: #8126ff;
    transition: width 0.3s;
}
.input-wrapper input:focus ~ .input-line { width: 100%; }

.btn-submit {
    width: 100%; background: #ffffff; color: #000000;
    border: none; padding: 14px; font-size: 11px;
    font-weight: 700; letter-spacing: 2px; cursor: pointer;
}

.divider { text-align: center; margin: 15px 0; font-size: 11px; color: #222; position: relative; }
.divider span { background: #0a0a0a; padding: 0 10px; position: relative; z-index: 2; }
.divider::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background: #161616; }

/* ВЫДВИЖНАЯ КОРЗИНА */
.cart-drawer {
    position: fixed; top: 0; right: 0;
    width: 100%; height: 100%; z-index: 3000;
    visibility: hidden;
}
.cart-drawer.active { visibility: visible; }
.cart-drawer-backdrop { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.cart-drawer-content {
    position: absolute; top: 0; right: -400px;
    width: 400px; height: 100%; background: #0a0a0a;
    border-left: 1px solid #161616; display: flex; flex-direction: column;
    transition: right 0.3s ease;
}
.cart-drawer.active .cart-drawer-content { right: 0; }
.cart-drawer-header { padding: 25px; border-bottom: 1px solid #161616; display: flex; justify-content: space-between; }
.cart-items-container { flex: 1; padding: 25px; overflow-y: auto; }
.cart-drawer-footer { padding: 25px; border-top: 1px solid #161616; }
.cart-total-block { display: flex; justify-content: space-between; margin-bottom: 15px; font-weight: 700; }

@media (min-width: 768px) {
.hero-premium {
   margin-top: 100px;
   background-size: 80%;
}
}
@media (max-width: 768px) {
    .burger-menu-icon {
        display: flex; /* Показываем три линии */
    }

    /* Превращаем меню в полноэкранное скрытое окно */
    .center-menu {
        position: fixed;
        top: 0; left: -100%;
        width: 100%; height: 100vh;
        background: #000000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease;
        z-index: 1050;
    }

    /* Состояние открытого меню */
    .center-menu.mobile-open {
        left: 0;
    }

    .center-menu ul {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .center-menu .nav-link {
        font-size: 22px;
        letter-spacing: 4px;
    }

    /* Анимация трансформации бургера в крестик */
    .burger-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .burger-active span:nth-child(2) {
        opacity: 0;
    }
    .burger-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Оптимизация шапки на мобилке */
    .cart-icon span:first-child {
        display: none; /* Скрываем слово "BAG" / "СУМКА", оставляем только бадж */
    }
    .right-instruments-group {
        gap: 20px;
    }

    /* Уменьшаем шрифты баннера под мелкий экран */
    .hero-title {
        font-size: 32px;
        letter-spacing: 4px;
    }
}
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111111; /* Մուգ ֆոն, որ չձուլվի էջի հետ */
    border: 1px solid #1a1a1a;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 2px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.cart-item:hover {
    background: #141414;
    border-color: #333333;
}

/* Ապրանքի նկարը */
.cart-item-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border: 1px solid #222;
    border-radius: 2px;
}

/* Ինֆորմացիայի բլոկը (Անուն, SKU, Քանակ) */
.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 15px;
}

/* Ապրանքի վերնագիրը և քանակը */
.cart-item-title {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Արտիկուլը (SKU) */
.cart-item-sku {
    font-size: 10px;
    color: #555555;
    letter-spacing: 0.5px;
}

/* Գինը */
.cart-item-price {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 2px;
}

/* ՋՆՋԵԼՈՒ ԿՈՏՃԱԿԸ (REMOVE BUTTON) */
.btn-remove-item {
    background: transparent;
    color: #888888;
    border: 1px solid #222222;
    padding: 6px 12px;
    font-size: 10px;
    font-family: monospace;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-radius: 1px;
}

.btn-remove-item:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Դատարկ զամբյուղի տեքստը */
.empty-cart-msg {
    text-align: center;
    color: #555555;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 40px 0;
    text-transform: uppercase;
}
