        /* БАЗОВЫЕ СТИЛИ */
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }
        body { background: #f9f9f9; color: #333; line-height: 1.6; }
        .container { max-width: 1400px; margin: 0 auto; padding: 0 10px; }
        ul { list-style: none; }
        a { text-decoration: none; color: inherit; }

/*
h1{color:#f0560e;font-size:180%;font-weight:normal;}
h2{color:#e26123;font-size:150%;font-weight:normal;}
h3{color:#7a7a7a;font-size:120%;font-weight:normal;}
h1,h2,h3{line-height:normal;margin-bottom:20px;}
*/


h1, h2, h3 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom:15px;
  font-family: sans-serif;
  color: #333;
}

h1::after, h2::after, h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #f0560e; /* Ваш оранжевый */
  border-radius: 2px;
}

h1::after { width: 60px; } /* Длинная линия для H1 */
h2::after { width: 40px; }
h3::after { width: 25px; }

/* Дополнительно: легкая серая линия подложкой */
h1 { border-bottom: 1px solid #eee; }
h2 { border-bottom: 1px solid #eee; }
h3 { border-bottom: 1px solid #eee; }





/*
h1, h2, h3 {
  display: inline-block;
  margin-bottom: 20px;
  background: linear-gradient(120deg, transparent 70%, rgba(240, 86, 14, 0.3) 30%);
  background-image: linear-gradient(to right, #f0560e, #ff8c00);
  background-repeat: no-repeat;
  background-size: 100% 4px;
  background-position: 0 95%; 
  transition: background-size 0.3s ease;
}

h1:hover, h2:hover, h3:hover {
  background-size: 50% 4px;
}
*/




        /* ВЕРХНЕЕ МЕНЮ (СЛУЖЕБНОЕ) */
        .top-nav { background: #eee; padding: 4px 0; font-size: 13px; color: #666; text-align:right;}
        .top-nav a { margin-right: 25px; transition: 0.2s; }
        .top-nav a:hover { color: #000; }

        /* ШАПКА: ЛОГО (СЛЕВА), СЛОГАН (РЯДОМ), ПОИСК, КОРЗИНА */
        .main-header { display: flex; align-items: center; justify-content: left; padding: 25px 0; background: #fff; gap: 20px; }

	.logo-area { 
            display: flex; 
            align-items: center; 
            gap: 15px; 
            flex-shrink: 0; 
        }
        .logo { font-size: 26px; font-weight: 900; color: #222; text-transform: uppercase; letter-spacing: -1px; line-height: 1; }
        .slogan { 
            font-size: 13px; 
            color: #111; 
            padding-left: 15px; 
            border-left: 1px solid #ccc; 
            line-height: 1.2; /* Чтобы текст слогана не растягивал строку */
        }
        
        .logo img{width:95%;max-width:190px;}

        .search-bar { flex-grow: 1; /*max-width: 500px;*/}
        .search-bar input { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; outline: none; }

        .cart { 
        display: flex;
        align-items: right;
        min-width: 170px;
        text-align:right;
        justify-content: right;
        }
        .btn-cart{
        background:#9ec000 url(/img/icons/lk_basket_w.svg) no-repeat center left;background-size:25px;background-position:10px;
        padding: 20px 15px 20px 45px; border-radius: 6px; cursor:pointer;border:0px;
        color:#fff;
        }

        /* ГОРИЗОНТАЛЬНОЕ МЕНЮ */
        .horizontal-nav { background: #f0560e; color: #fff; position: sticky; top: 0; z-index: 100; }
        .menu-wrapper { display: flex; align-items: center; }
        .mobile-btn { /*display: none;*/      font-size: 24px; padding: 10px 10px 10px 40px; cursor: pointer; 
        background:url(/img/svg/menu.svg) no-repeat center left;background-position:5px;background-size:27px;
        }


        .desk-menu { display: flex; }
        .desk-menu li a { display: block; padding: 15px 25px; font-weight: 500; transition: 0.3s; }
        .desk-menu li a:hover { background: #ffa901; }

        /* ОСНОВНОЙ КОНТЕНТ */
        .main-layout { display: flex; margin-top: 15px; gap: 15px; align-items: flex-start; }
        

        .side-menu { width: 260px; flex-shrink: 0; background: #fff; padding: 0px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
        /* Вертикальное меню (Десктоп) * /
        .side-menu h3 { margin-bottom: 15px; font-size: 18px; border-bottom: 2px solid #f4f4f4; padding-bottom: 10px; }
        .side-menu li { padding: 10px 0; border-bottom: 1px solid #f9f9f9; transition: 0.2s; }
        .side-menu li:hover { padding-left: 5px; color: #007bff; }
        */
        /* Центральная часть */
        .content { flex-grow: 1; padding: 20px; border-radius: 8px; min-height: 400px; }/*box-shadow: 0 2px 8px rgba(0,0,0,0.05); background: #fff;*/

        /* ФУТЕР */
        .footer { background: #f0560e; color: #fff; padding: 50px 0; margin-top: 50px; }
        .footer2 { background: #fff; color: #222; padding: 40px 0; margin-top: 10px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
        .footer-grid2 { display: grid; grid-template-columns: 1fr 200px 200px; gap: 20px; }

        .footer-logo { font-size: 24px; font-weight: bold; margin-bottom: 10px; display: block; }
        .footer-logo img {width:100%;max-width:200px;}
        .footer-col h4 { margin-bottom: 20px; font-size: 16px; text-transform: uppercase; color: #fff; }
	.footer-col ul { margin-bottom:20px;}
        .footer-col ul li { margin-bottom: 9px; font-size: 16px; color: #fff; cursor: pointer; }
        .footer-col ul li:hover { color: #fff; }

        /* МОБИЛЬНЫЙ САЙДБАР С АККОРДЕОНОМ */
        .mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; display: none; }
        .mobile-sidebar { position: fixed; top: 0; left: -280px; width: 280px; height: 100%; background: #fff; z-index: 1001; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); padding: 25px; overflow-y: auto; }
        .mobile-sidebar.active { left: 0; }
        .mobile-overlay.active { display: block; }
        
        .sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 0px solid #eee; }
        

        /* МЕДИА-ЗАПРОСЫ */
        @media (max-width: 992px) {
            .side-menu, .desk-menu { display: none; }
            .mobile-btn { display: block; }
            .main-header { flex-wrap: wrap; justify-content: space-between; }
            .logo-area { order: 1; }
            .cart { order: 2; }
            .search-bar { order: 3; max-width: 100%; width: 100%; margin: 10px 0 0; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 600px) {
            .logo-area { flex-direction: column; align-items: flex-start; gap: 5px; }
            .slogan { border: none; padding: 0; font-size: 11px; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
        }



/*-----navvnutr-----* /
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 15px;
  padding: 15px;
}


.category-card {
  position: relative;
  height: 250px; 
  border-radius: 10px;
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: flex;
  align-items: flex-end;
  
  filter: grayscale(60%);
  transition: filter 0.3s ease;
}

.category-card:hover {
  transform: scale(1.02);
  text-decoration:none;
  filter: grayscale(0%);
}

.category-card span {
  width: 100%;
  padding: 15px;
  background: rgba(240, 86, 14, 0.8); 
  color: #fff;
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
  backdrop-filter: blur(4px);
}


@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-card { height: 150px; }
}

/*-----navvnutr-----*/
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 15px;
  padding: 15px;
}

.category-card {
  position: relative;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: flex;
  align-items: flex-end;
  background-size: 1%;
  background-position: center;
  background-repeat: no-repeat;
}

/* Создаем отдельный слой для фона */
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
  /* Переносим сюда настройки фона */
  background-image: inherit; /* Берет картинку у родителя, если она задана инлайном */
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  
  /* Эффект ч/б только для этого слоя */
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  z-index: 0;
}

.category-card:hover::before {
  filter: grayscale(0%);
}

.category-card:hover {
  transform: scale(1.02);
}

.category-card span {
  position: relative; /* Чтобы текст был выше фона */
  z-index: 1; 
  width: 100%;
  padding: 15px;
  background: rgba(240, 86, 14, 0.8);
  color: #fff;
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
  backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .category-grid { grid-template-columns: 1fr; }
  .category-card { height: 150px; }
}





/*-----tovars in cats-----*/

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 10px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-description {
  flex-grow: 1;
  font-size: 12px;
  color: #666;
}

.product-art{font-size:12px;text-align:right;color:#666;padding:0px 0 10px 0;}

.product-title{color:#111;margin:0 0 5px;font-weight:bold;font-size:16px;}

.product-price {
  font-weight: bold;
  font-size: 18px;
  margin: 10px 0;
  text-align:center;
}

.product-actions {
  display: flex;
  gap: 10px; /* Отступ между полем и кнопкой */
  margin-top: auto; /* Дополнительная страховка прижатия к низу */
}

/* Настройка поля с количеством */
.product-quantity {
  width: 90px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
  font-size: 16px;
  /* Убираем лишние отступы в некоторых браузерах */
  outline: none;
}

/* Кнопка купить справа */
.buy-button {
  flex-grow: 1; /* Кнопка забирает всё свободное место */
  padding: 10px;
  background-color: #f0560e;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.buy-button:hover {
  background-color: #9ec000;
}

.buy-none{
  width: 100%;
  padding: 10px;
  background-color: #666;
  color: white;
  border: none;
  cursor: pointer;
  border-radius:5px;
}

@media (max-width: 1124px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}


@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
}


/*-----tovars in cats-----*/


.category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 2px solid #eee;
    margin-top: 10px;
}

.items-count {
    font-size: 16px;
    color: #333;
}

.items-count strong {
    color: #000;
    font-size: 16px;
    margin-left: 5px;
}

/* 5. Стили пагинации */
.pgnation {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
}

.pg-item {
    display: block;
}


.pg-link, .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 35px;
    padding: 0 7px;
    border-radius: 8px;
    border: 1px solid #333;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.pg-link:visited, .pg-link:link {
    color: #111;
    text-decoration:none;
}

.pg-link:hover {
    background-color: #a1c200;
    border-color: #a1c200;
    color: #fff;
    text-decoration:none;
}

.pg-item.active .pg-link {
    background-color: #f0560e;
    border-color: #f0560e;
    color: #fff;
    cursor: default;
}

.pgdots {
    border: none;
    color: #999;
    cursor: default;
}


/* 6. Адаптивность */
@media (max-width: 768px) {
    .category-footer {
        flex-direction: column; /* Элементы друг под другом */
        gap: 20px;
        text-align: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 в ряд на планшетах */
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr; /* 1 в ряд на телефонах */
    }
    
    .pg-link {
        min-width: 35px;
        height: 35px;
        font-size: 14px;
    }
}




/**--------------------------**/





/* 1. КОНТЕЙНЕР И ОТСТУПЫ МЕЖДУ КНОПКАМИ */
.vertical-accordion {
    width: 100%;
}
.acc-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.acc-menu > li {
    margin-bottom: 2px !important; /* Расстояние 2px между кнопками */
    padding: 0px !important;        /* Обнуляем паддинги родительского li */
}


.acc-menu li a{padding: 8px 10px;}

/* 2. ПЕРВЫЙ УРОВЕНЬ (ОРАНЖЕВЫЕ КНОПКИ) */
.main-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;    /* Цвет по умолчанию */
    color: #111 !important; /* Текст белый */
    padding: 8px 10px !important; /* Фиксированный отступ */
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;

    border-bottom:2px dashed #ccc;
}


.nohas-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;    /* Цвет по умолчанию */
    color: #111 !important; /* Текст белый */
    padding: 8px 10px !important; /* Фиксированный отступ */
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;

    border-bottom:2px dashed #ccc;
}

.nohas-sub:hover {
    background: #f0560e;      /* Меняем только фон */
    color: #fff !important;
}


/* Состояние при наведении - СТРОГО БЕЗ СМЕЩЕНИЯ */
.main-link:hover {
    background: #f0560e;      /* Меняем только фон */
    color: #fff !important;
}

/* 3. ВТОРОЙ УРОВЕНЬ (ВНУТРЕННИЕ ССЫЛКИ) */
.sub-menu {
    display: none; 
    background: #fff;
    padding: 0;
    margin: 0;
    border: 1px solid #f0560e;
    border-top: none;
}

.sub-menu li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px !important; /* Фиксированный отступ для подпунктов */
    font-size: 14px;
    color: #333 !important;
    text-decoration: none;
    transition: background 0.2s;
}

/* Наведение на подпункт - БЕЗ СМЕЩЕНИЯ */
.sub-menu li a:hover {
    background: #fdf2e9;
    color: #f0560e !important;
    padding-left: 20px !important; /* Фиксируем положение текста */
}

/* 4. СЛУЖЕБНЫЕ КЛАССЫ ДЛЯ JS */
.has-sub.active > .main-link {
    background: #f0560e;
    border-radius: 4px 4px 0 0;
}
.has-sub.active > .sub-menu {
    display: block;
}
.arrow {
    font-size: 20px;
    transition: transform 0.3s;
}
.has-sub.active .arrow {
    transform: rotate(90deg);
}


/* Контейнер крошек */
.breadcrumbs {
    margin-bottom: 20px;
    padding: 10px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap; /* Чтобы на мобильных переносились корректно */
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #888;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

/* Ссылки */
.breadcrumb-list li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list li a:hover {
    color: #f0560e; /* Ваш акцентный оранжевый при наведении */
}

/* Разделитель (шеврон) */
.breadcrumb-list li:not(:last-child)::after {
    content: ">"; /* Тонкий символ разделителя */
    margin: 0 10px;
    color: #ccc;
    font-size: 16px;
    line-height: 1;
}

/* Текущая (последняя) страница */
.breadcrumb-list li.current {
    color: #999;
    pointer-events: none; /* Последний пункт не кликабелен */
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .breadcrumb-list {
        font-size: 12px;
    }
    .breadcrumb-list li:not(:last-child)::after {
        margin: 0 6px;
    }
}







/* Общие настройки контейнера cart*/
.cart-container {
    width: 100%;
    margin-top: 20px;
}

/* Сетка для десктопа */
.cart-thead, .cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.cart-thead {
    background: #ffa600;
    font-weight: 600;
    color: #111;
    font-size: 14px;
}

/* Колонки */
.col-name { flex: 3; display: flex; align-items: center; gap: 15px; }
.col-price { flex: 1; text-align: center; }
.col-qty { flex: 1.2; display: flex; justify-content: center; }
.col-sum { flex: 1; text-align: center; font-weight: 700; }
.col-action { flex: 0.5; text-align: right; }

/* Стили элементов */
.cart-img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.cart-title { color: #222; text-decoration: none; font-weight: 500; }
.cart-sku { font-size: 12px; color: #999; margin-top: 4px; }

/* Управление количеством */
.qty-control { display: flex; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.qty-btn { width: 30px; height: 30px; border: none; background: #eee; cursor: pointer; }
.qty-btn:hover { background: #ddd; }
.qty-input { width: 50px;height:35px; border: none; text-align: center; font-weight: bold; }

/* Кнопка удаления */
.cart-del { background: url(/img/svg/delete.svg) no-repeat center center;background-size:20px; 
border: none; color: #ccc; cursor: pointer; font-size: 18px; transition: 0.2s; 
width:25px;height:25px;
}
.cart-del:hover { color: #f0560e; }
.del-text { display: none; }

/* Блок ИТОГО */
.cart-footer { display: flex; justify-content: flex-end; margin-top: 30px; }
.cart-total-box { 
    width: 100%; 
    max-width: 350px; 
    background: #fff; 
    padding: 25px; 
    border: 1px solid #eee; 
    border-radius: 8px; 
}
.total-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 16px; }
.total-sum { 
    border-top: 2px solid #ffa800; 
    margin-top: 15px; 
    padding-top: 15px; 
    font-size: 20px; 
    font-weight: 800; 
}
.val-price { color: #f0560e; }

.btn-checkout { 
    width: 100%; 
    background: #ffa800; 
    color: #fff; 
    border: none; 
    padding: 15px; 
    border-radius: 6px; 
    font-size: 18px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.3s;
}
.btn-checkout:hover { background: #f0560e; }
.back-link { display: block; text-align: center; margin-top: 15px; color: #888; font-size: 14px; text-decoration: none; }

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    .cart-thead { display: none; } /* Скрываем шапку */

    .cart-item {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .cart-td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px dashed #eee;
        text-align: right;
    }

    .cart-td[data-label]::before {
        content: attr(data-label);
        font-weight: bold;
        color: #888;
        text-align: left;
    }

    .col-name { border-bottom: 2px solid #f5f5f5; margin-bottom: 5px; }
    .col-name::before { content: none; }
    
    .col-action { border: none; justify-content: center; }
    .del-text { display: inline; margin-left: 5px; font-size: 14px; font-weight: 600; }
    
    .cart-footer { justify-content: center; }
}

.ogrtext{padding:20px;background:#ffd384;border-radius:8px;margin:20px 0;}



/*zakazonline*/
.copysber{padding:20px 0;}
.sberfactor{margin-top:10px;border:1px solid #4ba55a;border-radius:6px;
padding:30px 20px 30px 90px;font-size:120%;background:#4ba55a url(/img/card.png) no-repeat center left;
box-shadow: 0 0 19px rgba(77,77,77,0.7); color:#fff;cursor:pointer;}

.zvezda{color:#f0560e;font-size:150%;font-weight:bold;}
.oksendz{background:#f5ffc5;padding:20px;border-radius:8px;}
.order-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 20px auto;
}

.order-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: #222;
    border-bottom: 2px solid #ffa800;
    display: inline-block;
    padding-bottom: 5px;
}

/* Сетка полей */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки на десктопе */
    gap: 20px;
}

.full-width {
    grid-column: span 2; /* Поля на всю ширину */
}

/* Стилизация элементов */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #f0560e;
}

/* Кнопка */
.submit-order-btn {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: #ffa800;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-order-btn:hover {
    background: #f0560e;
}

/* Адаптивность */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }
    .full-width {
        grid-column: span 1;
    }
    .order-container {
        padding: 20px;
    }
}



.policy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-top: 10px;
    user-select: none;
}

.policy-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.policy-text {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.policy-text a {
    color: #f0560e; /* Ваш акцентный оранжевый */
    text-decoration: underline;
}

.policy-text a:hover {
    text-decoration: none;
}

/* Ошибка валидации (если не нажат) */
.policy-checkbox input:invalid {
    outline: 1px solid red;
}


.burger{width:30px;height:30px;}
.closesvg{width:30px;height:30px;float:right;position:absolute;display:block;right:15px;cursor:pointer;}
.acc-content h4{display:none;}



/* ==========================================================================
   Фирменная палитра сайта <Много солнца>
   ========================================================================== */
:root {
    --brand-orange: #EB6311;        /* Основной фирменный оранжевый (шапка, логотип) */
    --brand-orange-hover: #D45408;  /* Тёмно-оранжевый при наведении */
    --brand-lime: #99BA17;          /* Фирменный оливково-лаймовый (кнопка <Корзина>) */
    --brand-lime-hover: #86A412;    /* Тёмно-лаймовый при наведении */
    
    --news-text-main: #222222;      /* Основной тёмный текст (как в левом меню) */
    --news-text-muted: #777777;     /* Второстепенный текст и хлебные крошки */
    --news-border: #E5E5E5;         /* Цвет разделителей и рамок */
    --news-bg-warm: #FAF8F5;        /* Тёплый светлый фон для плашек и ховеров */
    --news-radius: 6px;             /* Скругление углов в стиле кнопок шапки */
}

/* ==========================================================================
   Контейнер раздела, хлебные крошки и заголовок
   ========================================================================== */
.news-category-section {
    margin-bottom: 48px;
}

.pathcategory {
    font-size: 13px;
    color: var(--news-text-muted);
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pathcategory a {
    color: var(--news-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pathcategory a:hover {
    color: var(--brand-orange);
    text-decoration: underline;
}

.pathcategory .sep {
    opacity: 0.5;
}

#headcategory {
    font-size: 26px;
    font-weight: 700;
    color: var(--news-text-main);
    margin: 0 0 22px 0;
    line-height: 1.25;
}

.news-empty-notice {
    padding: 24px;
    background-color: var(--news-bg-warm);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius);
    color: var(--news-text-muted);
    font-size: 15px;
}

/* ==========================================================================
   Лента новостей (CSS Grid)
   ========================================================================== */
.news-list {
    display: flex;
    flex-direction: column;
}

.nn_line {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--news-border);
}

.nn_line:first-child {
    border-top: 1px solid var(--news-border);
}

/* Если у новости нет картинки - текст занимает всю ширину */
.nn_line.nn_line--no-img {
    grid-template-columns: 1fr;
}

/* Контейнер превью-картинки */
.nn_img a {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--news-radius);
    background-color: var(--news-bg-warm);
    border: 1px solid var(--news-border);
}

.nn_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nn_line:hover .nn_img img {
    transform: scale(1.04);
}

/* Текстовая часть карточки */
.nn_text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mainnewshead h2 {
    margin: 0 0 10px 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}

.mainnewshead h2 a {
    color: var(--news-text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mainnewshead h2 a:hover {
    color: var(--brand-orange);
}

/* Бейджи Фото / Видео */
.fotovid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.fotovid a {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-orange);
    background-color: var(--news-bg-warm);
    border: 1px solid #F3D5C0;
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fotovid a:hover {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #ffffff;
}

/* Анонс новости */
.tablenewsdesc {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 16px;
}

/* Кнопка <Подробнее> (в фирменном лаймовом цвете кнопки корзины) */
.tablenewslink {
    margin-top: auto;
}

a.podrobnee {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-lime-hover);
    background-color: #ffffff;
    text-decoration: none;
    padding: 7px 18px;
    border: 1px solid var(--brand-lime);
    border-radius: var(--news-radius);
    transition: all 0.2s ease;
}

a.podrobnee:hover {
    background-color: var(--brand-lime);
    border-color: var(--brand-lime);
    color: #ffffff;
}

/* ==========================================================================
   Пагинация (ul.pagination-list)
   ========================================================================== */
.news-pagination-top {
    margin-bottom: 20px;
}

.news-pagination-bottom {
    margin-top: 28px;
}

.pcounts ul.pagination-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pcounts ul.pagination-list li.page-item {
    margin: 0;
    padding: 0;
}

.pcounts ul.pagination-list li.page-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    font-size: 14px;
    font-weight: 500;
    color: var(--news-text-main);
    background-color: #ffffff;
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pcounts ul.pagination-list li.page-item a:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background-color: var(--news-bg-warm);
}

/* Активная страница (фирменный оранжевый) */
.pcounts ul.pagination-list li.page-item.active a,
.pcounts ul.pagination-list a#selpage {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #ffffff;
    font-weight: 600;
    cursor: default;
}

/* ==========================================================================
   Адаптация под планшеты и мобильные экраны
   ========================================================================== */
@media (max-width: 767px) {
    #headcategory {
        font-size: 21px;
        margin-bottom: 16px;
    }

    .nn_line {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 0;
    }

    .mainnewshead h2 {
        font-size: 17px;
    }

    .pcounts ul.pagination-list li.page-item a {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }
}





/* ==========================================================================
   Детальная страница новости (CSS Grid + фирменная палитра)
   ========================================================================== */
.news-detail {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
    background-color: #ffffff;
    border: 1px solid var(--news-border, #E5E5E5);
    border-radius: var(--news-radius, 6px);
    padding: 28px;
    margin-bottom: 40px;
}

/* Если у новости нет фото - контент на всю ширину */
.news-detail.news-detail--no-media {
    grid-template-columns: 1fr;
}

/* ==========================================================================
   Колонка с фотографиями (#lga)
   ========================================================================== */
.news-detail__media {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-gallery__main a {
    display: block;
    border-radius: var(--news-radius, 6px);
    overflow: hidden;
    border: 1px solid var(--news-border, #E5E5E5);
    background-color: var(--news-bg-warm, #FAF8F5);
    cursor: pointer;
}

.news-gallery__main img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-gallery__main a:hover img {
    transform: scale(1.03);
}

/* Сетка дополнительных миниатюр (3 в ряд) */
.news-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.news-gallery__thumb a {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--news-border, #E5E5E5);
    background-color: var(--news-bg-warm, #FAF8F5);
    cursor: pointer;
}

.news-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.news-gallery__thumb a:hover img {
    transform: scale(1.06);
    opacity: 0.9;
}

/* ==========================================================================
   Текстовая колонка, заголовок, видео и источник
   ========================================================================== */
.news-detail__content {
    min-width: 0;
}

.news-detail__header h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--news-text-main, #222222);
    margin: 0 0 20px 0;
}

/* Адаптивный контейнер для iframe видео */
.news-detail__video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 24px;
    border-radius: var(--news-radius, 6px);
    overflow: hidden;
    background-color: #000000;
}

.news-detail__video iframe.video_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Основной текст статьи */
.news-detail__body {
    font-size: 16px;
    line-height: 1.65;
    color: #333333;
}

.news-detail__body p {
    margin: 0 0 16px 0;
}

.news-detail__body p:last-child {
    margin-bottom: 0;
}

.news-detail__body a {
    color: var(--brand-orange, #EB6311);
    text-decoration: underline;
}

.news-detail__body a:hover {
    color: var(--brand-orange-hover, #D45408);
}

.news-detail__body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--news-radius, 6px);
    margin: 12px 0;
}

/* Блок автора и источника */
.news-detail__meta {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--news-border, #E5E5E5);
    font-size: 13px;
    color: var(--news-text-muted, #777777);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-detail__meta .isto a {
    color: var(--brand-orange, #EB6311);
    text-decoration: none;
    word-break: break-all;
}

.news-detail__meta .isto a:hover {
    text-decoration: underline;
}

/* Страница 404 (Новость не найдена) */
.news-not-found {
    padding: 40px 28px;
    background-color: var(--news-bg-warm, #FAF8F5);
    border: 1px solid var(--news-border, #E5E5E5);
    border-radius: var(--news-radius, 6px);
    text-align: center;
    margin-bottom: 40px;
}

.news-not-found h1 {
    font-size: 24px;
    color: var(--news-text-main, #222222);
    margin: 0 0 12px 0;
}

.news-not-found p {
    color: var(--news-text-muted, #777777);
    margin: 0 0 20px 0;
}

/* ==========================================================================
   Адаптация под планшеты и телефоны
   ========================================================================== */
@media (max-width: 991px) {
    .news-detail {
        grid-template-columns: 280px 1fr;
        gap: 24px;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .news-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }

    .news-detail__header h1 {
        font-size: 21px;
        margin-bottom: 16px;
    }

    .news-detail__body {
        font-size: 15px;
    }
}