:root {
    --bs-body-font-family: 'Open Sans', sans-serif;
    --bs-border-radius: 0.375rem;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
/* Переопределение блока отзывов */
.flex-grow-1 {
    width: 100%;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-brand {
    color: #2c6e49; /* или ваш конкретный оттенок */
}

.richtext-content .text-center {
    text-align: center !important;
}
.richtext-content .text-left {
    text-align: left !important;
}
.richtext-content .text-right {
    text-align: right !important;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

main {
    flex: 1 0 auto; /* Это заставит main растягиваться */
}

footer {
    flex-shrink: 0; /* Футер не будет сжиматься */
}
.footer-nav a {
    font-size: 0.875rem; /* 14px */
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #1a1e24;
}

h1 {
    font-size: 1.8rem;   /* ~29px */
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;   /* ~24px */
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.3rem;   /* ~21px */
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;   /* ~17.6px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h5 {
    font-size: 1rem;     /* ~16px */
    font-weight: 600;
}

h6 {
    font-size: 0.9rem;   /* ~14.4px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

@media (max-width: 768px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.9rem; }
    h6 { font-size: 0.8rem; }
}

/* Размеры для кастомного блока заголовка */
.heading-block-custom.h2 { font-size: 2rem; }
.heading-block-custom.h3 { font-size: 1.5rem; }
.heading-block-custom.h4 { font-size: 1.2rem; }
.heading-block-custom.h6 { font-size: 0.8rem; }
@media (max-width: 768px) {
    .heading-block-custom.h2 { font-size: 1.3rem; }
    .heading-block-custom.h3 { font-size: 1.2rem; }
    .heading-block-custom.h4 { font-size: 1rem; }
    .heading-block-custom.h6 { font-size: 0.8rem; }
}

.content-wrapper {
    flex: 1;
}

a.text-decoration-none {
    color: #212529;
}

a.btn.btn-link.btn-sm.p-0 {
    color: #198754;
}

.sidebar-product.card {
    text-align: center;
}

nav.navbar.navbar-expand-lg.navbar-light.bg-white.triangle-clip.py-3 {
    background: linear-gradient(54deg, #f8f9fa 0%, #f8f9fa 32%, #212529 32%, #212529 33%, #1c5b46 33%, #1c5b46 34%, #c10d19 34%, #c10d19 100%);
    position: relative;
    padding: 0;
}
.navbar-nav .nav-link {
    padding: 0.8rem 0.6rem !important;
    line-height: 1.5 !important;
}
/* Отключаем стандартную стрелку Bootstrap */
.dropdown-toggle::after {
    display: none !important;
}

li.nav-item a.nav-link {
    color: #ffffff !important;
}

.list-group-item.active {
    background-color: #c10d19 !important;  /* ваш красный */
    border-color: #c10d19 !important;
    color: #ffffff !important;
}

.list-group-item.active:hover {
    background-color: #c10d19 !important;  /* чуть темнее для ховера */
    border-color: #c10d19 !important;
    color: #ffffff !important;
}

/* В вашем CSS файле, например menu.css */
.navbar {
    position: relative;  /* чтобы дочерние absolute элементы позиционировались относительно navbar */
}

.navbar .dropdown-menu {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
}

/* Плавные переходы */
a, .btn {
    transition: all 0.2s ease;
}
.nav-link {
    text-transform: uppercase !important;
}
 /* Убираем стандартное поведение Bootstrap */
.dropdown:hover .dropdown-menu {
    display: block !important;
}
/* Стили для таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

table caption {
    caption-side: top;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    padding: 0.5rem 0;
    color: #2c6e49; /* ваш зеленый */
    border-bottom: 2px solid #2c6e49;
    margin-bottom: 0.5rem;
}

table th {
    background-color: #f8f9fa;
    font-weight: 600;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

table td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive table {
    width: 100%;
    min-width: 600px; /* минимальная ширина, чтобы не сжимать колонки слишком сильно */
}

/* Скрываем меню по умолчанию */
.dropdown-menu {
    display: none;
    transition: none;
}

.sidebar-link.mb-2 {
    padding: 0 0 0 0.5em;
    border: 1px solid #198754;
}
.sidebar-link.mb-2 a {
    color: #198754;
}

.richtext-content.sidebar-rich {
        text-align: center;
}

.richtext-content.sidebar-rich p {
    width: 100%;
}

.richtext-content ul,
.richtext-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.richtext-content li {
    margin-bottom: 0.5rem;
}


.richtext-content blockquote {
    border-left: 4px solid #dee2e6;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #6c757d;
}

.richtext-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: #d63384;
}

.richtext-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.richtext-content pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

.richtext-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.richtext-content th,
.richtext-content td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.richtext-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.richtext-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

/* Строгий минималистичный стиль */
.navbar-brand {
    letter-spacing: -0.5px;
}

.display-4, .display-5, .display-6 {
    letter-spacing: -0.5px;
}

/* Тонкие границы */
.border-thin {
    border-width: 1px !important;
}

/* Строгие тени */
.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

/* Минимальные радиусы */
.rounded-3 {
    border-radius: 0.375rem !important;
}

/* Строгие цвета */
.text-dark {
    color: #212529 !important;
}

.text-muted {
    color: #6c757d !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Кнопки */
.btn {
    font-weight: 500;
    letter-spacing: 0.3px;
    border-width: 1px;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

/* Карточки */
.card {
    border: 1px solid rgba(0,0,0,0.075);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Фикс для полноэкранного слайдера */
.carousel,
.carousel-inner,
.carousel-item {
    width: 100% !important;
}

.carousel-item img {
    min-width: 100vw;
    width: 100%;
}

/* Переопределяем bootstrap карусель */
.carousel-caption {
    position: absolute;
    right: 0;
    bottom: auto;
    left: 0;
    top: 0;
    padding-top: 0;
    padding-bottom: 0;
    color: #fff;
    text-align: left;
}
/* Стили для эффекта Кена Бернса */
.ken-burns-animation {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Стили для Parallax */
.parallax-bg {
    background-attachment: fixed !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* Видео фон */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.rich-text [style*="text-align:center"],
.rich-text [style*="text-align: center"],
.rich-text .center {
    text-align: center !important;
    display: block;
}

h2.heading-block-custom.h2.text-center.text-dark.fw-bold.text-shadow.pb-1.pt-1 {
    margin: 0;
}
/* Стили для контента RichText */
.richtext-content,
.body-content {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
}

.richtext-content h2,
.body-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.richtext-content h3,
.body-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.richtext-content p,
.body-content p {
    margin-bottom: 1.25rem;
}

.richtext-content ul,
.body-content ul,
.richtext-content ol,
.body-content ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

.richtext-content li,
.body-content li {
    margin-bottom: 0.5rem;
}

/* Центрирование текста */
.text-center {
    text-align: center !important;
}

/* Стили для заголовков */
.heading-block h1,
.heading-block h2,
.heading-block h3 {
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.heading-block hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd 0%, rgba(13,110,253,0.2) 100%);
    margin-left: 0;
    width: 80px;
}

.subheading-block h3,
.subheading-block h4 {
    color: #6c757d;
    font-weight: 500;
}

/* Для центрирования */
.text-center hr {
    margin-left: auto;
    margin-right: auto;
}

/* Анимация появления */
.heading-block,
.subheading-block {
    animation: fadeInUp 0.5s ease forwards;
}
li.breadcrumb-item a
 {
    color: #2c6e49 !important;
}

<!-- Стили для контента -->

.post-body {
    font-size: 1rem;
    line-height: 1.6;
}

.post-body h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.post-body h3 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.post-body p {
    margin-bottom: 1rem;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

.post-body blockquote {
    border-left: 3px solid #198754;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    font-style: italic;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.post-body ul, .post-body ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.post-body li {
    margin-bottom: 0.25rem;
}

/* Для мобильных устройств */
@media (max-width: 767px) {
    .post-body {
        font-size: 0.95rem;
    }
}

.sidebar {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #198754;
}

.sidebar-product .card,
.sidebar-news .card {
    border: none;
    background: white;
    transition: transform 0.2s;
}

.sidebar-product .card:hover,
.sidebar-news .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sidebar-link a {
    color: #333;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.sidebar-link a:hover {
    background-color: #e9ecef;
}

a.karusel {
    color: white;
}
a.karusel:hover {
    background: #1a4c3b;
    font-size: 16px;
    color: white;
}

h3.title-karusel.text-center.mb-3 {
    font-size: 45px;
    font-weight: 600;
    color: #000000;
    text-shadow: 1px 1px 1px #a1a1a1, 1px 2px 1px #a1a1a1, 1px 3px 1px #8d8d8d, 1px 4px 1px #818181, 1px 5px 1px #8b8b8b, 1px 6px 1px #42424287, 1px 10px 5px rgb(62 62 62 / 50%), 1px 15px 10px rgba(16, 16, 16, 0.4), 1px 20px 30px rgba(16, 16, 16, 0.3), 1px 25px 50px rgba(16, 16, 16, 0.2);
}

section.block-products_carousel {
    background: #f8f9fa;
}

.icon-img {
    transition: transform 0.2s ease;
}
.icon-block a:hover .icon-img {
    transform: scale(1.05);
}

.row img {
    width: 100%;
    height: 300px; /* задайте нужную высоту */
    object-fit: cover;
    border-radius: 0.375rem;
}
.row img:hover {
    transform: scale(1.02);
}

/***[class*="col-"] {
    background-color: rgba(0, 100, 0, 0.1);
    border: 1px solid #0f0;
    min-height: 50px;
}***/

a.btn.btn-outline-light.btn-lg {
    color: white;
}

a.btn.btn-outline-light.btn-lg:hover {
    color: #1b1b1b;
    text-decoration: none;
}

.backgr-green {
    --bs-bg-opacity: 1;
    background-color: #1c5b46;
}

.backgr-footer {
    --bs-bg-opacity: 1;
    background-color: #111816;
}

.backg-green {
    --bs-text-opacity: 1;
    color: #1c5b46 !important;
}
.category-carousel-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Стили для кнопок-ссылок в левом меню */
.category-menu .category-btn {
    display: block;
    padding: 0.55rem 1rem;
    background: #1c5b46;  /* светлый фон по умолчанию */
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.category-menu .category-btn:hover {
    background: #1a4c3b;  /* ваш зелёный */
    border-color: #1a4c3b;
    color: white;
    box-shadow: 0 4px 8px rgba(25,135,84,0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

.category-menu .category-btn:active {
    background: #146c43;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section.category-carousel-section {
    padding: 70px 0px 70px 0px;
}

/*Кнопка для hero-block*/
.button1 {
    display: inline-block;
    text-decoration: none;
    background: #1e5c47;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    -webkit-transition: all ease-in-out 300ms;
    transition: all ease-in-out 300ms;
}
.button1:hover {
    text-decoration: none;
    box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translate(0px, -10px) scale(1.2);
          transform: translate(0px, -10px) scale(1.2);
}

.fullwidth-block {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.button-tovar {
    background: #c10d19;
    color: white;
}

.button-tovar:hover {
    background: #c10d19;
    color: white;
}

/* Стили для модального окна */
/* Затемнение фона с размытием */
.modal-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(3px);
}

/* Стили для формы в стиле вашего примера */
.obratnuj-zvonok {
    width: 100%;
}

.form-zvonok {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
}

.form-zvonok .mb-3 {
    padding: 10px 0;
    width: 100%;
}

.form-zvonok label {
    display: block;
    width: 100%;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-zvonok input,
.form-zvonok textarea {
    display: block;
    width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.form-zvonok input:focus,
.form-zvonok textarea:focus {
    border-color: #009b97;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,155,151,0.25);
}

.form-zvonok label span.text-danger {
    color: red;
}

/**Простая форма**/
.form-default {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
}

.form-default .mb-3 {
    padding: 10px 0;
    width: 100%;
}

.form-default label {
    display: block;
    width: 100%;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-default input,
.form-default textarea {
    display: block;
    width: 100%;
    padding: 10px 15px;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.form-default input:focus,
.form-default textarea:focus {
    border-color: #009b97;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,155,151,0.25);
}

.form-default label span.text-danger {
    color: red;
}
/**Простая форма**/

/* Кнопка отправки */
.bot-send-mail {
    padding: 15px;
    background: none;
    border: 3px solid #087246;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    background-color: #087246;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.2s;
}

.bot-send-mail:hover {
    color: #009b97;
    background-color: #fff;
}

/* Стили для сообщения об ошибке */
.invalid-feedback {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
    display: none;
}

.mobile-nav a {
    color: #212529;
    transition: color 0.2s;
}
.mobile-nav a:hover {
    color: #da291c;
}
.submenu a {
    font-size: 0.9rem;
    color: #6c757d;
}
.submenu a:hover {
    color: #da291c;
}
.offcanvas {
    width: 280px;
}
.offcanvas.custom-gradient {
    background: linear-gradient(135deg, rgba(44,110,73,0.95) 0%, rgba(25,135,84,0.95) 100%);
    backdrop-filter: blur(4px);
    color: #ffffff;
}

/* Стили для ссылок внутри offcanvas */
.offcanvas.custom-gradient a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.offcanvas.custom-gradient a:hover {
    color: #da291c;
}

/* Опционально: изменить цвет кнопки закрытия */
.offcanvas.custom-gradient .btn-close {
    filter: invert(1);
}

.card-grid-item {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.card-bg {
    transition: transform 0.3s;
}
.card-grid-item:hover .card-bg {
    transform: scale(1.05);
}
.card-content h3 {
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Базовое выравнивание изображений в теле страницы */
img.richtext-image {
    max-width: 100%;
    height: auto;
    margin: 0 0 1rem 0;
}

/* Изображение слева с обтеканием текстом */
img.richtext-image.left {
    width: 300px;
    height: auto;
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

/* Изображение справа с обтеканием текстом */
img.richtext-image.right {
    width: 300px;
    height: auto;
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Изображение во всю ширину (центрируется) */
img.richtext-image.full-width {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/* Для обтекания текста вокруг изображений нужно также очищать float у элементов списков, если они есть */
img.richtext-content ul, .richtext-content ol {
    overflow: hidden;
}

.category-menu-item {
    width: 100%; /* фиксированная ширина */
}

/* Цвет ссылок пагинации (цифры) */
.pagination .page-link {
    color: #198754;  /* ваш зелёный */
}

/* Цвет активной страницы (фон и текст) */
.pagination .page-item.active .page-link {
    background-color: #198754;
    border-color: #198754;
    color: white;
}

/* Цвет при наведении */
.pagination .page-link:hover {
    color: #145c32;
    background-color: #e9ecef;
}

.d-flex.gap-1 .badge {
    white-space: normal;
    word-break: break-word;
}

/* Кнопка "Наверх" */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #198754;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.2s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.btn-scroll-top:hover {
    background-color: #145c32;
    transform: scale(1.05);
}

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

@media (max-width: 768px) {
    .btn-scroll-top {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        bottom: 20px;
        right: 20px;
    }
}

/* --- Блок поиска в сайдбаре --- */
.sidebar-search-block {
    padding: 0.5rem 0;
}

.sidebar-search-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #198754;
}

.sidebar-search-form .input-group {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.sidebar-search-form .form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25,135,84,0.25);
    z-index: 3;
}

/* Заголовок-кнопка */
.sidebar-custom-header .btn-success {
    background-color: #198754;
    border-radius: 0.375rem;
    padding: 0.6rem 1rem;
    transition: background-color 0.2s;
}
.sidebar-custom-header .btn-success:hover {
    background-color: #145c32;
}

/* Элементы списка – границы между ними */
.list-group-item {
    border: none;
    border-radius: 0;
    padding: 0.75rem 0.5rem;
    background-color: transparent;
}
.list-group-item:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}
.list-group-item:last-child {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
.list-group-item i {
    width: 1.25rem;
    text-align: center;
}
p.fw-bold.text-uppercase {
    font-weight: 800 !important;
    font-family: sans-serif;
}

span.badge.bg-warning.text-dark.position-absolute.top-0.start-0.m-2 {
    font-size: 0.8rem;
}

.toast {
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    border: none;
}
.toast-header {
    border-radius: 0.75rem 0.75rem 0 0;
    font-weight: 600;
}
.toast-body {
    font-size: 0.95rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.cookie-consent p {
    margin: 0;
    flex: 1;
}
.cookie-consent a {
    color: #ffc107;
    text-decoration: underline;
}
.cookie-consent .btn {
    background-color: #28a745;
    border: none;
    padding: 6px 20px;
}
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
}