/* =========================================
   GLOBAL STYLES & SCROLLBAR
   ========================================= */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 47, 47, 1) #1e1e1e;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(197, 47, 47, 1);
    border-radius: 6px;
    border: 3px solid #1e1e1e;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ff3333;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    color: rgba(255, 255, 255, 1);
    font-family: 'Open Sans', sans-serif;
    /* Красный центр, черные края */
    background: radial-gradient(circle at center top, #240b0b, #000000);
    min-height: 100vh;
    background-attachment: fixed;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Roboto Slab', serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* ОБЪЕДИНЕННЫЕ СТИЛИ для ссылок "Смотреть все" (используем старые имена классов) */
.hot-sale__view-more,
.popular-products__view-more {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    display: inline-block;
}

.hot-sale__view-more:hover,
.popular-products__view-more:hover {
    color: rgba(197, 47, 47, 1);
    border-bottom-color: rgba(197, 47, 47, 1);
}

/* =========================================
   HEADER
   ========================================= */
header {
    background: linear-gradient(to bottom, rgba(10, 10, 16, 0.92), rgba(30, 30, 30, 1));
}

.header__top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 90px;
}

.logo__img {
    display: block;
    width: 95px;
    height: auto;
}

.menu__list {
    display: flex;
    align-items: center;
    gap: 50px;
}

.menu__item {
    display: block;
    position: relative;
}

.menu__link {
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    padding-bottom: 5px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.menu__link:hover {
    color: #ffffff;
    border-bottom-color: rgba(197, 47, 47, 1);
}

/* === ВЫПАДАЮЩИЕ МЕНЮ (Fix: применяем стили напрямую к твоим классам) === */
.sub-menu,
.dropdown-menu {
    position: absolute;
    /* Это вернет меню "в воздух" и починит верстку */
    background-color: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 100;
}

/* Ссылки внутри выпадающих меню */
.sub-menu a,
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #b0b0b0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sub-menu a:hover,
.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(197, 47, 47, 1);
    padding-left: 25px;
    border-left: 2px solid rgba(197, 47, 47, 1);
}

/* Специфика для меню Продукции */
.sub-menu {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu__dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.menu__dropdown>.menu__link::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    margin-left: 8px;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
}

.menu__dropdown:hover>.menu__link::after {
    transform: rotate(-135deg) translateY(-2px);
}

/* Специфика для меню Языка */
.lang-dropdown {
    position: relative;
    user-select: none;
    font-family: 'Montserrat', sans-serif;
}

details>summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

details>summary:hover {
    color: rgba(197, 47, 47, 1);
}

details>summary::-webkit-details-marker {
    display: none;
}

details>summary::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.3s ease;
}

details[open]>summary::after {
    transform: rotate(-135deg) translateY(-2px);
}

.dropdown-menu {
    top: 150%;
    right: 0;
    min-width: 140px;
}

/* =========================================
   BANNER SECTION
   ========================================= */
.banner-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.banner-section__slider {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.banner-section__slider-item {
    outline: none;
}

.banner-link {
    display: block;
}

.banner-section__slider-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* СТРЕЛКИ СЛАЙДЕРА */
.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slick-arrow::before {
    content: '';
    display: block;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
}

/* Стрелки баннера */
.banner-section__slider .slick-arrow {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.banner-section__slider .slick-arrow::before {
    width: 12px;
    height: 12px;
}

.banner-section__slider .slick-prev {
    left: 30px;
}

.banner-section__slider .slick-prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.banner-section__slider .slick-next {
    right: 30px;
}

.banner-section__slider .slick-next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.banner-section__slider .slick-arrow:hover {
    background-color: rgba(197, 47, 47, 1);
    border-color: rgba(197, 47, 47, 1);
}

/* Точки слайдера */
.slick-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

.slick-dots li {
    margin: 0;
}

.slick-dots button {
    font-size: 0;
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
}

.slick-active button {
    background-color: rgba(197, 47, 47, 1);
    border-color: rgba(197, 47, 47, 1);
    transform: scale(1.2);
}

/* =========================================
   PRODUCT CARD (BASE STYLES)
   ========================================= */
.product-card {
    background: linear-gradient(180deg, #262626 0%, #111111 100%);
    border: 1px solid #333;
    border-radius: 20px 20px 10px 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.product-card:hover {
    border-color: rgba(197, 47, 47, 1);
    box-shadow: 0 10px 30px rgba(197, 47, 47, 0.15);
    transform: translateY(-5px);
}

.product-card__img-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card__img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card__content {
    padding: 0 20px 60px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__model {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #888;
}

.product-card__price {
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgba(197, 47, 47, 1);
    text-transform: uppercase;
}

.product-card__btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(197, 47, 47, 1);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    padding: 15px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card__btn:hover {
    background-color: #c41e1e;
}

.product-card:hover .product-card__btn {
    transform: translateY(0);
}


/* =========================================
   SECTIONS: HOT SALE & POPULAR PRODUCTS
   ========================================= */
.hot-sale,
.popular-products {
    padding: 60px 0 80px;
}

.popular-products {
    padding-top: 0;
}

.hot-sale__header,
.popular-products__header {
    text-align: center;
    margin-bottom: 40px;
}

.hot-sale__header .section-title,
.popular-products__header .section-title {
    margin-bottom: 5px;
}

/* --- Hot Sale Slider --- */
.hot-sale__slider {
    margin: 0 -5px;
}

.hot-sale__slider .slick-slide>div {
    margin-bottom: 25px;
}

.hot-sale__item {
    padding: 0 5px;
    outline: none;
    width: 100% !important;
    display: block !important;
}

.hot-sale__item .product-card {
    min-height: 420px;
    height: auto;
}

.hot-sale__item .product-card__img-box {
    height: 200px;
}

.hot-sale__slider .slick-arrow {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.hot-sale__slider .slick-arrow::before {
    width: 8px;
    height: 8px;
    border-width: 2px;
}

.hot-sale__slider .slick-prev {
    left: -40px;
}

.hot-sale__slider .slick-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.hot-sale__slider .slick-next {
    right: -40px;
}

.hot-sale__slider .slick-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.hot-sale__slider .slick-arrow:hover {
    border-color: rgba(197, 47, 47, 1);
    background-color: rgba(197, 47, 47, 1);
}

/* --- Popular Products Grid (4 КОЛОНКИ НА ДЕСКТОПЕ) --- */
.popular-products__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.popular-products__item .product-card {
    height: 380px;
}

.popular-products__item .product-card__img-box {
    height: 160px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: #0b0b0b;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__col {
    flex: 1;
    min-width: 200px;
}

.footer__col--logo {
    flex: 0 0 200px;
    text-align: center;
}

.footer__logo img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Сделаем расстояние между ними чуть больше */
}

.socials__link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    /* Оптимальный размер для пальца */
    height: 44px;

    /* ГЛАВНОЕ ИЗМЕНЕНИЕ: Убираем принудительный круг */
    border-radius: 0;
    overflow: visible;

    transition: transform 0.3s;
    background: transparent;
    /* Убираем возможный фон контейнера */
}

.socials__link img {
    width: 100%;
    height: 100%;

    /* ГЛАВНОЕ ИЗМЕНЕНИЕ: contain вписывает картинку целиком, ничего не обрезая */
    object-fit: contain;

    /* Если у картинок есть свой белый фон, можно его убрать фильтром (не обязательно) */
    /* mix-blend-mode: multiply; */
}

.socials__link:hover {
    transform: scale(1.15);
    /* Чуть больше увеличение при наведении */
}

/* === БАЛАНСИРОВКА РАЗМЕРА ИКОНОК === */

/* 1. Инстаграм (первый): Увеличиваем, чтобы он не терялся */
.socials__link:nth-child(1) img {
    transform: scale(1.2);
}

/* 2. Ватсап (второй): Делаем чуть-чуть больше Инстаграма (на 0.05), 
   потому что круг оптически кажется меньше квадрата */
.socials__link:nth-child(2) img {
    transform: scale(1.25);
}

/* 3. Фейсбук (третий): Такой же размер, как у Ватсапа */
.socials__link:nth-child(3) img {
    transform: scale(1.25);
}

.footer__title {
    font-family: 'Roboto Slab', serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #fff;
}

.footer__menu li,
.contacts-list li {
    margin-bottom: 15px;
}

.footer__menu a,
.contacts-list a {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    transition: color 0.3s;
}

.footer__menu a {
    font-size: 14px;
    font-weight: 600;
}

.contacts-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
}

.footer__menu a:hover,
.contacts-list a:hover {
    color: rgba(197, 47, 47, 1);
}

.contacts-list img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgba(197, 47, 47, 1);
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.footer__btn img {
    width: 24px;
    height: 24px;
}

.footer__btn:hover {
    background-color: #c41e1e;
}

/* =========================================
   SHOP & INFO PAGES - MAIN CONTENT AREA
   ========================================= */
.main,
.main-content {
    padding: 60px 0 80px;
}

/* --- Shop Page Specific --- */
.shop-page {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.shop-sidebar {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 5px;
    align-self: start;
}

.shop-sidebar .footer__logo {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

.shop-sidebar .footer__logo img {
    width: 180px;
}

.catalog-menu__header {
    background-color: rgba(197, 47, 47, 1);
    color: #fff;
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    margin: -20px -20px 20px -20px;
}

.catalog-menu__item a {
    display: block;
    padding: 12px 15px;
    color: #ccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    border-bottom: 1px solid #333;
    transition: all 0.3s;
}

.catalog-menu__item:last-child a {
    border-bottom: none;
}

.catalog-menu__item a:hover,
.catalog-menu__item.active a {
    color: #fff;
    background-color: #252525;
}

.breadcrumbs {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.breadcrumbs a {
    color: #aaa;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #fff;
}

.shop-content__title {
    font-family: 'Roboto Slab', serif;
    font-size: 42px;
    color: #fff;
}

.shop-content__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    color: #ccc;
    margin-top: 10px;
    margin-bottom: 40px;
}

/* --- Category & Product Grids --- */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-grid__item .product-card {
    height: 420px;
}

.product-grid__item .product-card__img-box {
    height: 200px;
}

.product-grid__item.hidden {
    display: none;
}

/* --- Category Cards (Wide & Square) --- */
.wide-category-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 30px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wide-category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(197, 47, 47, 1);
    box-shadow: 0 10px 30px rgba(197, 47, 47, 0.2);
}

.wide-category-card__content {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-grow: 1;
}

.wide-category-card__title-wrapper {
    padding-bottom: 12px;
    border-bottom: 1px solid #444;
}

.wide-category-card__title-wrapper h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.wide-category-card__price {
    background-color: rgba(197, 47, 47, 1);
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;

}

.wide-category-card__price span {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.wide-category-card__img-wrapper {
    flex-shrink: 0;
    width: 50%;
    text-align: right;
}

.wide-category-card__img-wrapper img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    transition: transform 0.4s;
}

.wide-category-card:hover .wide-category-card__img-wrapper img {
    transform: scale(1.05);
}

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #151515;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 500px;
}

.category-card:hover {
    border-color: rgba(197, 47, 47, 1);
    box-shadow: 0 10px 30px rgba(197, 47, 47, 0.2);
    transform: translateY(-5px);
}

.category-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.category-card__img-box {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    height: 250px;
}

.category-card__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-card__footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.category-card__price {
    background-color: rgba(197, 47, 47, 1);
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.category-card__btn {
    background-color: #2a2a2a;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.category-card:hover .category-card__btn {
    background-color: #3a3a3a;
}

/* --- Static Info & FAQ Pages --- */
.page-title {
    font-family: 'Roboto Slab', serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.info-block {
    background: linear-gradient(180deg, #222222 0%, #111111 100%);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 30px 40px;
    margin-bottom: 30px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.info-block__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.info-block__title .icon {
    font-size: 28px;
}

.info-block p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 25px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.info-list li {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #ccc;
    line-height: 1.8;
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list li .icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.info-list li strong {
    color: #fff;
    font-weight: 600;
}

.info-block__note {
    font-size: 14px !important;
    color: #888 !important;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0 !important;
}

.info-block--cta {
    background: rgba(197, 47, 47, 0.1);
    border: 1px solid rgba(197, 47, 47, 0.5);
    text-align: center;
}

.info-block--cta p {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.info-block--cta a {
    color: rgba(197, 47, 47, 1);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 47, 47, 0.7);
    transition: all 0.3s;
}

.info-block--cta a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    border-top: 1px solid #333;
}

.faq-item {
    border-bottom: 1px solid #333;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    list-style: none;
    transition: color 0.3s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: rgba(197, 47, 47, 1);
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    font-weight: 300;
    color: #555;
    transition: transform 0.3s ease, color 0.3s;
}

.faq-item[open]>.faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item[open]>.faq-question {
    color: rgba(197, 47, 47, 1);
}

.faq-answer {
    padding: 0 10px 25px 0;
    color: #ccc;
    line-height: 1.7;
    font-size: 16px;
}

.faq-answer p {
    margin: 0;
}

/* =========================================
   FLOATING WIDGET
   ========================================= */
.floating-widget {
    position: fixed;
    right: 60px;
    bottom: 40px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: bottom 0.4s ease-in-out;
}

.floating-widget.shift-up {
    bottom: 100px;
}

.widget-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.widget-btn svg {
    width: 40px;
    height: 40px;
}

.widget-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #20b858;
}

.btn-scroll-top {
    background-color: #999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.btn-scroll-top:hover {
    background-color: #777;
}

/* =========================================
   RTL STYLES
   ========================================= */
:root[dir="rtl"] .menu__dropdown>.menu__link::after {
    margin-left: 0;
    margin-right: 8px;
}

:root[dir="rtl"] .slick-prev {
    left: auto;
    right: 30px;
}

:root[dir="rtl"] .slick-prev::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

:root[dir="rtl"] .slick-next {
    right: auto;
    left: 30px;
}

:root[dir="rtl"] .slick-next::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

:root[dir="rtl"] .footer__inner {
    text-align: right;
}

:root[dir="rtl"] .contacts-list a,
:root[dir="rtl"] .footer__btn {
    flex-direction: row-reverse;
}

/* =========================================
   MEDIA QUERIES (АДАПТИВНОСТЬ)
   ========================================= */
@media (max-width: 1250px) {
    .hot-sale__slider .slick-prev {
        left: 10px;
    }

    .hot-sale__slider .slick-next {
        right: 10px;
    }

    .hot-sale__slider .slick-arrow {
        background: rgba(30, 30, 30, 0.7);
        border: none;
    }
}

/* =========================================
   MEDIA QUERIES (АДАПТИВНОСТЬ)
   ========================================= */

/* 1. Мелкие правки для больших экранов */
@media (max-width: 1250px) {
    .hot-sale__slider .slick-prev {
        left: 10px;
    }

    .hot-sale__slider .slick-next {
        right: 10px;
    }

    .hot-sale__slider .slick-arrow {
        background: rgba(30, 30, 30, 0.7);
        border: none;
    }
}

/* 2. Планшеты (Сетки товаров становятся 2 колонки) */
@media (max-width: 1100px) {

    .popular-products__inner,
    .product-grid {
        max-width: none;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3. ХЕДЕР (Исправление того, что на скриншоте) 
   Срабатывает на экранах уже 1050px и меньше */
@media (max-width: 1050px) {

    /* Контейнер хедера */
    .header__top-inner {
        position: relative;
        /* Важно для кнопки языка */
        flex-direction: column;
        /* Элементы друг под другом */
        align-items: center;
        /* Всё по центру */
        min-height: auto;
        padding: 15px 0 30px 0;
        /* Отступ снизу для красоты */
    }

    /* Логотип */
    .logo__img {
        width: 90px;
        margin: 0 auto 15px auto;
        /* Центруем логотип */
        display: block;
    }

    /* Кнопка языка (EN) - Строго в правый верхний угол */
    .lang-dropdown {
        position: absolute;
        top: 25px;
        /* Отступ сверху */
        right: 0;
        /* Прижимаем к правому краю */
        bottom: auto;
        z-index: 20;
    }

    .lang-dropdown details>summary {
        font-size: 12px;
        background: rgba(0, 0, 0, 0.5);
        /* Темный фон, чтобы читалось */
        padding: 5px 10px;
        border-radius: 4px;
    }

    .lang-dropdown .dropdown-menu {
        top: 100%;
        right: 0;
        left: auto;
    }

    /* Меню - Многострочное */
    .menu__list {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        /* Разрешаем перенос строк */
        justify-content: center;
        /* Центруем */
        gap: 10px 20px;
        /* Отступы */
        padding: 0;
    }

    .menu__item {
        flex-shrink: 1;
    }

    .menu__link {
        font-size: 14px;
        padding-bottom: 3px;
        text-align: center;
        display: block;
    }
}

/* 4. Вертикальные планшеты (Футер в столбик) */
@media (max-width: 900px) {
    .footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__col {
        width: 100%;
        margin-bottom: 30px;
    }

    .socials,
    .contacts-list a {
        justify-content: center;
    }

    .shop-page,
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* 5. Мобильные телефоны (ФИНАЛЬНАЯ СБОРКА + НОВЫЙ КАТАЛОГ + ЦЕНА СНИЗУ) */
@media (max-width: 600px) {

    /* --- МЕНЮ (ГЛАВНОЕ) --- */
    .menu__link {
        font-size: 13px;
    }

    .menu__list {
        gap: 10px 15px;
    }

    /* --- СЛАЙДЕР БАННЕРА --- */
    .banner-section__slider .slick-arrow {
        width: 30px;
        height: 30px;
        border-width: 1px;
    }

    .banner-section__slider .slick-arrow::before {
        width: 8px;
        height: 8px;
        border-width: 2px;
    }

    .banner-section__slider .slick-prev {
        left: 5px;
    }

    .banner-section__slider .slick-next {
        right: 5px;
    }

    .slick-dots {
        bottom: 10px;
        gap: 8px;
    }

    .slick-dots button {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }

    /* --- ПЛАВАЮЩИЕ КНОПКИ --- */
    .floating-widget {
        right: 15px;
        bottom: 20px;
        gap: 10px;
    }

    .widget-btn {
        width: 48px;
        height: 48px;
    }

    .widget-btn svg {
        width: 24px;
        height: 24px;
    }

    /* --- СТРАНИЦА SHOP (КАТАЛОГ) --- */

    .shop-page {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* 1. ПРЕВРАЩАЕМ КАТАЛОГ В ГОРИЗОНТАЛЬНЫЕ КНОПКИ (СВАЙП) */
    .shop-sidebar {
        background: transparent;
        /* Убираем темный фон блока */
        padding: 0;
        /* Убираем отступы */
        border: none;
        /* Убираем рамки */
        order: -1;
        /* Ставим выше товаров */
        margin-bottom: 0;
    }

    /* Скрываем ненужные элементы (Логотип и красный заголовок "Catalog") */
    .shop-sidebar .footer__logo,
    .catalog-menu__header {
        display: none;
    }

    /* Превращаем вертикальный список в горизонтальный скролл */
    .catalog-menu__list {
        display: flex;
        flex-wrap: wrap;
        /* Разрешаем перенос на новые строки */
        justify-content: center;
        /* Всё по центру */
        gap: 10px;
        /* Аккуратные отступы */
        padding-bottom: 0;
        overflow: visible;
        /* Убираем скролл */
    }

    .catalog-menu__item {
        flex-shrink: 0;
        border: none !important;
        width: auto;
        /* Ширина зависит от текста */
    }

    .catalog-menu__item a {
        display: block;
        background-color: #1e1e1e;
        border: 1px solid #333;

        /* Делаем кнопки чуть компактнее по высоте, но шире по бокам */
        padding: 8px 16px;
        border-radius: 8px;
        /* Чуть более квадратные края (модно) или оставь 50px для овалов */

        font-size: 13px;
        color: #ccc;
        text-align: center;
        transition: 0.3s;

        /* Если текст очень длинный, он не сломает кнопку, а просто перенесется внутри */
        white-space: normal;
        line-height: 1.3;
    }

    /* Активная кнопка */
    .catalog-menu__item.active a,
    .catalog-menu__item a:hover {
        background-color: rgba(197, 47, 47, 1);
        border-color: rgba(197, 47, 47, 1);
        color: #fff;
        box-shadow: 0 4px 10px rgba(197, 47, 47, 0.3);
        /* Добавляем свечение активной кнопке */
    }


    /* Заголовки страницы */
    .shop-content__title {
        font-size: 32px;
        text-align: center;
    }

    .shop-content__subtitle {
        font-size: 16px;
        text-align: center;
        margin-bottom: 30px;
    }

    /* 2. ШИРОКИЕ КАРТОЧКИ (ЦЕНА СНИЗУ) */
    .wide-category-card {
        display: flex;
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    /* Трюк с display: contents позволяет нам менять порядок (order)
       даже если элементы находятся в разных div-обертках */
    .wide-category-card__content {
        display: contents;
    }

    /* 1. Заголовок (Сверху) */
    .wide-category-card__title-wrapper {
        order: 1;
        width: 100%;
        text-align: center;
        border: none;
        margin-bottom: 10px;
    }

    .wide-category-card__title-wrapper h3 {
        font-size: 20px;
    }

    /* 2. Картинка (Посередине) */
    .wide-category-card__img-wrapper {
        order: 2;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .wide-category-card__img-wrapper img {
        max-height: 180px;
        width: auto;
        max-width: 100%;
        transform: none !important;
    }

    /* 3. Цена (Снизу) */
    .wide-category-card__price {
        order: 3;
        width: 100%;
        text-align: center;
        background: transparent;
        /* Убираем красный фон, если хочешь просто текст */
        /* Или оставь фон, но сделай кнопку по центру: */
        align-self: center;
    }

    /* Стили цены внутри */
    .wide-category-card__price span {
        display: inline-block;
        background-color: rgba(197, 47, 47, 1);
        /* Красная плашка */
        padding: 10px 25px;
        border-radius: 5px;
        font-size: 18px;
    }


    /* --- СЕТКИ ОБЫЧНЫХ ТОВАРОВ --- */
    .popular-products__inner,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .popular-products__item:nth-child(n+5) {
        display: none;
    }

    /* --- КАРТОЧКИ ТОВАРОВ --- */
    .product-card,
    .hot-sale__item .product-card {
        height: auto !important;
        min-height: 0 !important;
        display: flex;
        flex-direction: column;
        padding-bottom: 15px;
    }

    .product-card__img-box,
    .hot-sale__item .product-card__img-box {
        height: auto;
        min-height: 180px;
        padding: 20px 20px 0 20px;
        margin-bottom: 15px;
    }

    .product-card__img-box img {
        max-height: 180px;
        width: auto;
        max-width: 100%;
    }

    .product-card__content {
        padding: 0 20px;
        display: block;
    }

    .product-card__title {
        font-size: 16px;
        margin-bottom: 5px;
        height: auto;
        min-height: auto;
    }

    .product-card__model {
        margin-bottom: 15px;
    }

    .product-card__price {
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 15px;
        display: block;
    }

    .product-card__btn {
        position: static;
        transform: none;
        width: 100%;
        border-radius: 5px;
        padding: 12px 0;
        margin-top: 0;
    }

    .product-card:hover .product-card__btn {
        transform: none;
    }

    /* --- ОБЩИЕ ОТСТУПЫ --- */
    .hot-sale,
    .popular-products {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .hot-sale__slider {
        margin: 0;
    }

    .hot-sale__item {
        padding: 0 10px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

/* =========================================
   ИСПРАВЛЕНИЕ SLICK SLIDER ДЛЯ RTL (АРАБСКИЙ)
   ========================================= */

/* 1. Принудительное выравнивание слайдов */
html[dir="rtl"] .slick-slide {
    float: right !important;
    /* Самое важное: слайды должны плавать справа */
    direction: rtl;
}



/* 3. Возвращаем картинкам видимость, если они скрылись */
html[dir="rtl"] .banner-section__slider-item img,
html[dir="rtl"] .hot-sale__item img {
    display: block;
    max-width: 100%;
}

/* 4. Исправление позиционирования стрелок (чтобы не наезжали на контент) */
html[dir="rtl"] .slick-prev {
    left: auto;
    right: 25px;
    z-index: 100;
}

html[dir="rtl"] .slick-next {
    right: auto;
    left: 25px;
    z-index: 100;
}


/* === FIX FOR SLIDER LOADING === */
/* Скрываем контент слайдера, пока JS не добавит класс slick-initialized */
.banner-section__slider:not(.slick-initialized),
.hot-sale__slider:not(.slick-initialized),
.product-gallery__thumbnails:not(.slick-initialized) {
    opacity: 0;
    visibility: hidden;
    height: 500px;
    /* Примерная высота, чтобы экран не схлопывался */
    overflow: hidden;
}

/* Когда слайдер готов, плавно показываем его */
.banner-section__slider.slick-initialized,
.hot-sale__slider.slick-initialized,
.product-gallery__thumbnails.slick-initialized {
    opacity: 1;
    visibility: visible;
    height: auto;
    transition: opacity 0.5s ease-in;
}

/* Предзагрузка места под картинки, чтобы не прыгало */
.product-card__img-box {
    min-height: 200px;
    /* Зафиксировать минимальную высоту */
    background-color: #1a1a1a;
    /* Цвет фона, пока картинка грузится */
}

.price-value {

    font-size: 1.5em;
    font-weight: 700;
    color: #d32f2f !important;
    /* Выделяем новую цену красным или акцентным цветом */
}

.price-old {
    font-size: 0.9em;
    color: #a0a0a0;
    text-decoration: line-through;
}