/* ==========================================================
HERO
Изображение account.png и заголовок поверх
========================================================== */

.account-hero {
    position:relative;
    width:100%;
    height:600px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-image {
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.15),
            rgba(0,0,0,.55)
        );
}

.hero-content {
    position:relative;
    z-index:2;
    text-align:center;
    padding:20px;
}

/* ==========================================================
HERO TEXT
Текст поверх изображения
========================================================== */

.hero-text {
    text-align:center;
    color:white;
}

.hero-label {
    display:block;
    margin-bottom:20px;
    color:var(--light-purple);
    font-family:"Orbitron",sans-serif;
    font-size:20px;
    letter-spacing:.2em;
}


.hero-text h1 {

    font-family:
    "Orbitron",
    sans-serif;

    font-size:
    clamp(42px,6vw,90px);

    line-height:
    1.05;

    font-weight:
    700;

    color:
    white;

    margin-bottom:
    30px;

}


.hero-text p {

    max-width:600px;

    margin:
    0 auto;

    color:
    rgba(255,255,255,.75);

    font-size:
    18px;

}
.light-theme .hero-overlay {

    background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.45),
        rgba(255,255,255,.75)
    );

}


.light-theme .hero-text h1 {

    color:
    #111111;

}


.light-theme .hero-label {

    color:
    var(--dark-purple);

}


.light-theme .hero-text p {

    color:
    rgba(0,0,0,.65);

}
@media(max-width:900px) {

    .account-hero {
        height:450px;
    }

    .hero-text {
        padding:30px 20px;
    }

    .hero-text h1 {
        font-size:32px;
    }
}
.products-page {
    width: 100%;
}


/* =====================================================
   HERO
===================================================== */

.products-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 30px 60px;
    text-align: center;
}

.products-hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 20px;
}

.products-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 100px;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
/* =====================================================
   CARD
===================================================== */

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.product-card:hover {
    transform: none;
    border-color: var(--purple);
    box-shadow: 0 0 25px rgba(138,123,182,.35);
}
/* =====================================================
   IMAGE
===================================================== */

.product-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--surface-solid);
}


/* =====================================================
   CONTENT
===================================================== */

.product-content {
    padding: 25px;
}

.product-name {
    font-family: "Orbitron", sans-serif;
    font-size: 20px;
    margin-bottom: 12px;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 22px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-price {
    font-size: 21px;
    font-weight: 700;
}


/* =====================================================
   STORE BUTTON
===================================================== */

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 18px;

    background: var(--purple);
    color: #ffffff;

    border-radius: 12px;

    font-weight: 600;

    transition:
        background var(--transition),
        transform var(--transition);
}

.product-button:hover {
    background: var(--dark-purple);
    transform: translateY(-2px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .products-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .products-hero {
        padding: 70px 20px 40px;
    }

    .products-section {
        padding: 20px 20px 70px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .product-button {
        width: 100%;
    }

}
/*
=====================================================
ФИЛЬТРЫ ПРОДУКТОВ
=====================================================
*/

.products-filters {

    display: flex;

    align-items: center;

    gap: 15px;

    width: 100%;

    margin-bottom: 30px;

}


/*
=====================================================
КАТЕГОРИЯ
=====================================================
*/

#productCategoryFilter {

    height: 48px;

    padding: 0 16px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--surface-solid);

    color: var(--text);

    font-family: "Inter", Arial, sans-serif;

    font-size: 15px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}


/*
=====================================================
ЦЕНА
=====================================================
*/

.products-price-filter {

    display: flex;

    align-items: center;

    gap: 10px;

}


/*
=====================================================
ПОЛЯ ЦЕНЫ
=====================================================
*/

#productMinPrice,
#productMaxPrice {

    width: 140px;

    height: 48px;

    padding: 0 16px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--surface-solid);

    color: var(--text);

    font-family: "Inter", Arial, sans-serif;

    font-size: 15px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}


/*
=====================================================
FOCUS
=====================================================
*/

#productCategoryFilter:focus,
#productMinPrice:focus,
#productMaxPrice:focus {

    border-color: var(--purple);

    box-shadow:
        0 0 15px rgba(138,123,182,.25);

}


/*
=====================================================
PLACEHOLDER
=====================================================
*/

#productMinPrice::placeholder,
#productMaxPrice::placeholder {

    color: var(--text-secondary);

}


/*
=====================================================
LIGHT THEME
=====================================================
*/

.light-theme
#productCategoryFilter,
.light-theme
#productMinPrice,
.light-theme
#productMaxPrice {

    background: var(--surface-solid);

    color: var(--text);

}


/*
=====================================================
МОБИЛЬНАЯ ВЕРСИЯ
=====================================================
*/

@media (max-width: 800px) {

    .products-filters {

        flex-direction: column;

        align-items: stretch;

        gap: 12px;

    }


    #productCategoryFilter {

        width: 100%;

    }


    .products-price-filter {

        display: flex;

        width: 100%;

        gap: 10px;

    }


    #productMinPrice,
    #productMaxPrice {

        width: 100%;

        flex: 1;

    }

}
.products-currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-secondary);
}
.product-category {

    display: inline-block;

    margin-top: 8px;
    margin-bottom: 12px;

    padding: 5px 10px;

    border: 1px solid var(--border);

    border-radius: 8px;

    color: var(--text-secondary);

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .06em;

}
#productSort {

    height: 48px;

    padding: 0 16px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--surface-solid);

    color: var(--text);

    font-family: "Inter", Arial, sans-serif;

    font-size: 15px;

    outline: none;

    cursor: pointer;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}

#productSort:focus {

    border-color: var(--purple);

    box-shadow:
        0 0 15px rgba(138,123,182,.25);

}

@media (max-width: 800px) {

    #productSort {

        width: 100%;

    }

}
.product-image {

    width: 100%;

    height: 260px;

    object-fit: cover;

}