/* ==============================================
ОБЪЕДИНЕННЫЙ И ОПТИМИЗИРОВАННЫЙ CSS ФАЙЛ
Объединяет 6 исходных файлов
Убраны дубликаты, оптимизированы медиа-запросы
============================================== */

/* === ГЛОБАЛЬНЫЙ СБРОС BOX-SIZING === */
*, *::before, *::after {
    box-sizing: border-box;
}

/* === ОСНОВНЫЕ СТИЛИ === */
body {
    min-width: 320px;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15pt;
    background-color: #090200;
    text-align: justify;
}
b, strong {
    font-weight: bold;
}

/* === ШРИФТ Slav === */
@font-face {
    font-family: 'Slav';
    src: url('fonts/Slav.woff') format('woff');
    font-display: swap;
}

/* === ЗАГОЛОВКИ === */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
    font-family: Slav, Georgia, serif;
    color: #750704;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.26);
}
h1 { font-size: 30px; }
h2 { font-size: 22px; }
h3 { font-size: 22px; }
h4 {
    font-size: 20px;
    font-style: italic;
}
.pod_zagolovok, .mini_zagolovok {
    color: #810000;
    text-align: center;
    font-family: Slav, Georgia, serif;
    font-weight: bold;
}
.pod_zagolovok {
    font-size: 28px;
}
.pod_zagolovok:first-letter,
.mini_zagolovok:first-letter,
.content_main p:first-letter {
    font-weight: bold;
    color: #BC0E09;
}
.pod_zagolovok:first-letter {
    font-size: 28px;
}
.mini_zagolovok {
    font-size: 22px;
}
.mini_zagolovok:first-letter {
    font-size: 22px;
}

/* === ССЫЛКИ И ТЕКСТ === */
a {
    color: #810000;
    text-decoration: none;
}
a:hover {
    color: #41070b;
}
p {
    margin: 1em 0;
}
.content_main p {
    text-align: justify;
}
.content_main p:first-letter {
    font-size: 18pt;
}
.center p {
    text-align: center;
}
.intro-text {
    text-align: center;
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.5;
    margin: 16px 0;
}
blockquote {
    padding: 0 0 0 10px;
    margin: 0 15px;
    border-width: 0 0 0 5px;
    border-style: solid;
    border-color: #750704;
}
hr {
    box-sizing: content-box;
    height: 0;
    color: #750704;
    border: 3px solid;
    border-radius: 5px;
}

/* === ХЛЕБНЫЕ КРОШКИ === */
.breadcrumb-navigation,
.hleb {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 12px 0;
    text-align: center;
    background-color: #e6dcbc;
}
.hleb {
    font-size: 16px;
    padding: 8px 18px 8px 0;
}
.breadcrumb-navigation a,
.hleb a {
    color: #750704;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 2px 0;
}
.breadcrumb-navigation a:hover,
.hleb a:hover {
    color: #810000;
    text-decoration: underline;
}

/* === ОСНОВНАЯ СЕТКА === */
#wrap-header {
    position: relative;
    text-align: center;
}
#header-img {
    width: 100%;
}
#header-img img {
    width: 100%;
}
#panel_prymary_nav {
    background: transparent linear-gradient(to top, #6C1703, #000) repeat scroll 0% 0%;
}
#wrap-content {
    width: 100%;
    float: left;
}
#wrap-content .sap-content {
    margin: 0 225px 0 194px;
    padding: 0 20px;
    padding-top: 10px;
    background-color: #d5caa6;
}
#wrap-sidebar-left {
    width: 190px;
    margin-left: -100%;
    left: 100%;
    float: left;
}
#wrap-sidebar-right {
    width: 223px;
    float: left;
    margin-left: -223px;
    left: 100%;
}
#wrap-main-footer {
    padding: 5px;
    min-height: 110px;
    text-align: center;
    background: linear-gradient(to top, #000000, #6c1703);
    clear: both;
    color: #b1854b;
    font-size: 22px;
}
#wrap-main-footer p {
    text-align: center;
}
#wrap-main-footer a {
    color: #b1854b;
    text-decoration: none;
}
#wrap-main-footer a:hover {
    color: #BC0E09;
    text-decoration: underline;
}
#wrap-content .sap-content,
#wrap-sidebar-left .sap-content,
#wrap-sidebar-right .sap-content {
    padding-bottom: 1em;
}
.prav_stolb {
    background-color: #d5caa6;
    padding: 5px;
    border: 1px solid #392C16;
}

/* === ЯКОРИ И ПЛАВНАЯ ПРОКРУТКА === */
html {
    scroll-behavior: smooth;
}
.cch_vb {
    transition: all 0.5s ease;
    scroll-margin-top: 100px;
}
.cch_vb.highlight {
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.5);
    border-radius: 8px;
}

/* === БЫСТРЫЕ ССЫЛКИ === */
.quick-links {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background-color: #e6dcbc;
    border-radius: 8px;
    border: 1px solid #d5caa6;
}
.quick-links strong {
    display: block;
    margin-bottom: 10px;
    color: #6C1703;
    font-size: 16px;
}

/* === ОБЩИЕ СТИЛИ КНОПОК === */
.quick-links a,
.vk-button {
    background-color: #591000;
    border: #555 solid 1px;
    border-radius: 4px;
    color: #e6dcbc;
    padding: 5px 15px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    margin: 0 5px;
    font-family: Georgia, 'Times New Roman', serif;
}
.quick-links a:hover,
.vk-button:hover {
    background-color: #631902;
    color: #f0f2dd;
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

/* === СПЕЦИФИЧНЫЕ СТИЛИ КНОПОК === */
.vk-button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.vk-button:hover {
    background-color: #030d7e;
}
.vk-button::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-image: url('https://mirslavbog.ru/img/vk1.png');
    background-size: cover;
    vertical-align: middle;
}

/* === ИЗОБРАЖЕНИЯ === */
.img_centr_krkut,
.img_centr {
    text-align: center;
    margin: auto;
}
.img_centr_krkut img,
.img_centr img {
    width: 100%;
    max-width: 860px;
    border-radius: 10px;
    border: 2px solid #82401E;
}
.img_centr img {
    max-width: 650px;
}
.img_centr_krkut div,
.img_centr div {
    text-align: center;
    margin: auto;
    width: 90%;
    max-width: 650px;
    border-radius: 10px;
    border: 2px solid #82401E;
}
.img_levo {
    float: left;
    padding: 5px;
}
.img_levo img {
    width: 280px;
    border-radius: 10px;
    border: 2px solid #000;
    margin: auto;
    cursor: pointer;
}
.koment {
    text-align: center;
    max-width: 750px;
    margin: auto;
    background: #e6dcbc;
    border: 1px solid #000;
    padding: 3px;
}
.blok-center {
    text-align: center;
    margin: auto;
    background: #e6dcbc;
    border: 1px solid #000;
}
.img-shadow {
    transition: transform 0.3s;
}
.img-shadow:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* === ГАЛЕРЕЯ И СЛАЙДЕР === */
.wrap-img {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    max-width: 100%;
    height: auto;
}
.swiper-button-next,
.swiper-button-prev {
    color: #591000 !important;
    width: 10px !important;
    height: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: transparent;
    border: none;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 26px !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.2);
}
.swiper-button-next {
    right: 9px !important;
}
.swiper-button-prev {
    left: 9px !important;
}
.swiper-pagination {
    bottom: 5px !important;
}
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.9) !important;
    transition: opacity 0.6s;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: black !important;
}

/* === ВИДЕО === */
.video-container {
    max-width: 360px;
    margin: 20px auto;
    padding: 5px;
    border: 3px solid #333;
    border-radius: 10px;
    text-align: center;
    background-color: #e6dcbc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.video-container video {
    max-width: 100%;
    height: auto;
    display: none;
}
.video-container video.active {
    display: block;
}
.video-thumbnail {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.video-thumbnail img {
    max-width: 100%;
    border-radius: 5px;
}
.video-thumbnail.active {
    display: none;
}
.video-container p {
    margin: 5px 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center !important;
}
.video-container span {
    margin: 5px 10px 5px 5px;
    font-style: italic;
    font-size: 16px;
    text-align: center;
}

/* === СТИЛИ ДЛЯ НОВОГО ВИДЕО-БЛОКА === */
.video-section .video-container {
    max-width: 800px;
    padding: 20px;
    background: #e6dcbc;
    border: 1px solid #d8cfb5;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}
.video-wrapper .video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-wrapper .video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.video-play-button span {
    font-size: 24px;
    color: white;
}
.video-player {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-player.active {
    display: block;
}
.video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
}
.video-description {
    text-align: center;
    padding: 15px;
    background: rgba(230, 177, 126, 0.1);
    border-radius: 8px;
    border-left: 4px solid #e6b17e;
}
.video-description p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #5d4037;
}

/* === ПОЛНОЭКРАННОЕ ИЗОБРАЖЕНИЕ === */
.fullscreen-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.fullscreen-image.show {
    opacity: 1;
}
.fullscreen-image img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}
.fullscreen-image .caption {
    color: #fff;
    margin-top: 10px;
    font-size: 18px;
}
.fullscreen-image .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* === ФОРМЫ === */
.forms-wrap {
    border: 1px solid #8C805C;
    padding: 10px;
    max-width: 500px;
    margin: 20px auto;
    background: #e6dcbc;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.forms .forms-buttons {
    text-align: center;
    margin-top: 20px;
}
.forms img {
    display: inline;
    vertical-align: bottom;
    border: none;
    border-radius: 0;
}
.forms img[class="captcha-val"] {
    width: unset !important;
}
.forms label span {
    display: inline-block;
    cursor: pointer;
    margin-bottom: 5px;
    font-size: 14pt;
}
.forms select {
    width: 100%;
}
.forms input[type="text"],
.forms input[type="email"],
.forms input[type="tel"],
.forms textarea {
    width: 100%;
    resize: vertical;
    min-height: 20pt;
}
.forms .antispam-error,
.forms .input-error,
.forms .field-error,
.forms .mail-error {
    margin: 0 0 0 5px;
    color: #000;
    font-family: Arial;
}
.forms .antispam-error {
    color: red;
}
.forms .msg-forms-error {
    background: #CC7D7D;
    margin: 0;
    font-family: serif;
    padding: 10px 0;
}
.forms .msg-forms-ok {
    display: block;
    background: #82CC7D;
    padding: 10px;
    margin: 0;
    text-align: center;
    color: #000;
}

/* === МЕНЮ === */
ul.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 10;
    list-style: none;
    font-family: Slav, Georgia, serif;
    font-size: 18pt;
}
ul.menu a {
    display: block;
    text-decoration: none;
    color: #A2A2A2;
    line-height: 43px;
    padding: 0 14px;
}
ul.menu a:hover {
    color: #eee;
    background-color: #3c0f04;
}
ul.menu > li {
    margin: 0 1px 1px;
    border-radius: 5px;
}
ul.menu ul {
    background: linear-gradient(to top, #6c1703, #000000);
    display: none;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 100%;
    left: 0;
    width: 100%;
    font-size: 18pt;
    z-index: 99999;
    list-style: none;
    line-height: 2;
    text-align: center;
}
ul.menu li {
    position: relative;
    border: solid 1px #602218;
    text-align: center;
}
ul.menu li:hover > ul,
ul.menu ul li {
    display: block;
}
ul.menu li.group > a:after {
    margin: 0 0 0 10px;
    content: "\2261";
}
ul.menu li.selected a,
ul.menu li.active a {
    color: #eee;
    background-color: #3c0f04;
}

/* === ВТОРОЕ МЕНЮ (САЙДБАР) === */
.nav-menu2 {
    font-family: Georgia, serif;
    font-weight: bold;
    text-align: center;
}
.nav-menu2 li {
    display: block;
    height: 45px;
}
.nav-menu2 li:before {
    display: block;
    width: 49px;
    height: 100%;
}
.nav-menu2 a {
    text-align: center;
    color: #591000;
    font-size: 14pt;
    display: block;
    height: 100%;
    background-color: #d5caa6;
    border-top: 1px solid #886c3b;
    line-height: 35pt;
    text-decoration: none;
}
.nav-menu2 .first a {
    border-top: none;
}
.nav-menu2 a:hover {
    background-color: #afa78b;
}
.nav-menu2 .selected,
.nav-menu2 .selected a,
.nav-menu2 .selected:before {
    background-color: #c3ba9b;
}
#nav-menu2-minimize {
    text-align: center;
    cursor: pointer;
    border: 2px solid #392C16;
    border-width: 1px 1px 2px;
    padding: 5px 0 0;
    font-size: 26pt;
    color: #fff;
}
#nav-menu2-minimize img {
    margin: auto;
}

/* === ОТЗЫВЫ === */
.reviews-horizontal-container {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
}
.reviews-horizontal-wrapper {
    display: flex;
    gap: 20px;
    padding: 1px 6px 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #8d6e63 #f0ead9;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}
.reviews-horizontal-wrapper:active,
.reviews-horizontal-wrapper.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.review-card-horizontal {
    background: #f0ead9;
    border-radius: 12px;
    padding: 22px;
    border: 1px solid #e3dcc8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.review-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.review-card-horizontal::before,
.review-card-horizontal::after {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    mix-blend-mode: multiply;
    opacity: 0.7;
    background-image: url('https://mirslavbog.ru/img/ornament_niz-lev.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}
.review-card-horizontal::before {
    top: 5px;
    left: 5px;
    transform: rotate(90deg);
}
.review-card-horizontal::after {
    top: 5px;
    right: 5px;
    transform: rotate(180deg);
}
.review-header {
    text-align: center;
    margin: 0 0 20px;
    color: #5d4037;
    padding-bottom: 15px;
    border-bottom: 2px solid #e6b17e;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.review-author {
    margin: 0;
    font-weight: 600;
    color: #5d4037;
    font-size: 1.05em;
}
.review-date {
    margin: 0;
    font-size: 0.88em;
    color: #8d6e63;
}
.review-text {
    margin-bottom: 22px;
}
.review-content {
    color: #333;
    padding-left: 24px;
    padding-right: 8px;
    position: relative;
    font-size: 16px !important;
    line-height: 1.65;
    quotes: none;
}
.review-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 1.9em;
    color: #e6b17e;
    font-family: Georgia, serif;
    opacity: 0.9;
}
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #e0d8c0;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.review-god,
.original-review-link {
    white-space: nowrap;
    font-size: 12px;
}
.review-god {
    background: rgba(230, 177, 126, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    color: #5d4037;
    border: 1px solid rgba(230, 177, 126, 0.4);
}
.original-review-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #2d4a5f;
    text-decoration: none;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(230, 177, 126, 0.15);
    transition: background-color 0.3s ease;
}
.original-review-link:hover {
    background-color: rgba(230, 177, 126, 0.25);
    text-decoration: underline;
    color: #1a3652;
}
.reviews-swipe-hint {
    display: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #5d4037;
    margin: 16px 0 6px;
    padding: 8px;
    background: rgba(230, 177, 126, 0.1);
    border-radius: 8px;
    font-style: italic;
}
.scroll-indicator {
    text-align: center;
    margin-top: 20px;
    padding: 10px 0;
}
.scroll-hint {
    color: #5d4037;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

/* === ГАРАНТИИ И УСЛУГИ === */
.service-section {
    margin-top: 60px;
    margin-bottom: 60px;
    width: 100%;
}

.service-section h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.service-section h2 span {
    position: relative;
    display: inline-block;
}

.service-section h2 span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #e6b17e, #8d6e63);
    border-radius: 2px;
}

.service-section > div {
    display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 35px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.service-card {
    background: #e6dcbc;
    border-radius: 12px;
    padding: 35px 45px; /* Увеличиваем внутренние отступы */
    border: 1px solid #d8cfb5;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-card::before,
.service-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    mix-blend-mode: multiply;
    opacity: 0.8;
    background-image: url('https://mirslavbog.ru/img/ornament_niz-lev.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.service-card::before {
    top: 8px;
    left: 8px;
    transform: rotate(90deg);
}

.service-card::after {
    top: 8px;
    right: 8px;
    transform: rotate(180deg);
}

.service-card h4 {
    text-align: center;
    margin: 0 0 30px 0;
    color: #5d4037;
    font-size: 1.6em; /* Увеличили размер заголовка */
    font-weight: bold;
    font-style: normal;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
    border-bottom: 2px solid #e6b17e;
}

.steps-container {
    counter-reset: step-counter;
    color: #000000;
    position: relative;
    z-index: 1;
}

.step-item {
    display: flex;
    margin-bottom: 20px; /* Увеличили отступ между шагами */
    align-items: flex-start;
}

.step-number {
    min-width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #e6b17e, #d5a97a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-weight: bold;
    font-size: 1em;
    flex-shrink: 0;
}

.step-text {
    margin: 0;
    line-height: 1.6;
    font-size: 1.05em; /* Увеличили размер текста */
}

.service-card ul {
    margin: 0;
    padding-left: 25px;
    color: #000000;
}

.service-card li {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.05em; /* Увеличили размер текста */
}

.service-card li span {
    color: #e6b17e;
    font-weight: bold;
    font-size: 1.1em;
}

.important-note {
    margin-top: 25px;
    padding: 20px;
    background: rgba(230, 177, 126, 0.12);
    border-radius: 10px;
    border-left: 5px solid #e6b17e;
    position: relative;
    z-index: 1;
}

.important-note p {
    margin: 0;
    color: #5d4037;
    font-style: italic;
    font-size: 1em;
    line-height: 1.6;
}

/* === КОНТАКТЫ (ИСПРАВЛЕННЫЕ СТИЛИ) === */
.contacts-section {
    margin: 60px auto;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(255, 253, 245, 0.3) 0%, rgba(255, 253, 245, 0.1) 100%);
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
}
.contacts-title {
    text-align: center;
    margin: 0 auto 40px;
    position: relative;
    padding-bottom: 15px;
    font-size: 2em;
    color: #5d4037;
    font-weight: 600;
    max-width: 800px;
}
.contacts-title span {
    position: relative;
    display: inline-block;
}
.contacts-title span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, #e6b17e, #8d6e63);
    border-radius: 2px;
}
.contact-intro {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 800px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #5d4037;
    padding: 0 20px;
}
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto 40px;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
.contact-method {
    background: #e6dcbc;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #d8cfb5;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
}
.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 177, 126, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(230, 177, 126, 0.3);
    color: #8d6e63;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.contact-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.contact-method:hover .contact-icon {
    color: #e6b17e;
    border-color: #e6b17e;
}
.contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact-info h3 {
    margin: 0 0 15px 0;
    color: #5d4037;
    font-size: 1.3em;
    font-weight: 600;
    width: 100%;
    text-align: center;
}
.contact-method p {
    margin: 0 0 20px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #2d4a5f;
    line-height: 1.5;
    width: 100%;
    word-break: break-word;
    text-align: center;
}
.contact-method p:first-letter {
    color: #2d4a5f;
    font-weight: 600;
}
.contact-link {
    display: block;
    color: #2d4a5f;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(230, 177, 126, 0.1);
    border: 1px solid rgba(230, 177, 126, 0.2);
    transition: all 0.3s ease;
    margin: 10px auto 0;
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
    text-align: center;
}
.contact-link:hover {
    background: rgba(230, 177, 126, 0.2);
    border-color: #e6b17e;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 177, 126, 0.15);
}
.contact-note {
    background: rgba(230, 177, 126, 0.08);
    border-radius: 12px;
    padding: 25px;
    margin: 0 auto 40px;
    border-left: 4px solid #e6b17e;
    text-align: center;
    max-width: 800px;
    width: calc(100% - 40px);
}
.contact-note p {
    margin: 10px 0;
    color: #5d4037;
    font-size: 1em;
    line-height: 1.6;
}
.contact-note strong {
    color: #8d6e63;
}

/* === МОБИЛЬНАЯ НАВИГАЦИЯ === */
.fixed-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #e6dcbc;
    border-top: 2px solid #ccc;
    display: flex;
    justify-content: space-around;
    padding: 15px 10px;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}
.fixed-bottom-nav .icon {
    margin-top: -15px;
}
.nav-icon {
    text-align: center;
    text-decoration: none;
    color: #000;
}
.nav-icon img {
    width: 26px;
    height: auto;
    margin-top: -15px;
}
.nav-icon span {
    display: block;
    font-size: 12px;
    margin-top: -5px;
}

/* === СТАТЬИ === */
.section-title {
    text-align: center;
    margin: 40px 0 30px 0;
    position: relative;
    padding-bottom: 15px;
    color: #5d4037;
    font-size: 1.8em;
}
.section-title span {
    position: relative;
    display: inline-block;
}
.section-title span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #e6b17e, #8d6e63);
    border-radius: 2px;
}
.intro-section {
    background: #e6dcbc;
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid #d8cfb5;
}
.intro-main {
    font-size: 1.2em;
    margin: 0 0 20px 0;
    line-height: 1.6;
    font-weight: bold;
    color: #5d4037;
}
.article-item {
    background: #e6dcbc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #d8cfb5;
}
.article-link {
    color: #5d4037;
    text-decoration: none;
    font-size: 1.3em;
    display: block;
    margin: 0 0 15px 0;
    transition: color 0.3s;
    font-weight: bold;
}
.article-description {
    margin: 15px 0;
    line-height: 1.6;
}
.article-action {
    margin-top: 20px;
}
.read-button {
    background: linear-gradient(135deg, #eae5d5, #d5a97a);
    color: #292720;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 115, 99, 0.2);
    cursor: pointer;
    font-size: 1em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.read-button:hover {
    background: linear-gradient(135deg, #d5a97a, #c49a70);
    color: #1a1814;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 115, 99, 0.3);
}
.read-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #c49a70, #b38c66);
    color: #292720;
}
.pantheon-section {
    margin: 50px 0;
}
.pantheon-content {
    background: #e6dcbc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #d8cfb5;
    text-align: center;
}
.gallery-image-container {
    margin: 0 auto 25px auto;
    display: inline-block;
    max-width: 100%;
}
.gallery-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: block;
    border: 1px solid #e6d7c4;
    margin: 0 auto;
}
.gallery-caption {
    text-align: center;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}
.gods-list-top,
.gods-list-bottom {
    margin-bottom: 15px;
}
.gallery-caption a {
    color: #5d4037;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap;
}
.gallery-caption a:hover {
    color: #e6b17e;
    text-decoration: underline;
}

/* === УТИЛИТЫ === */
.clearfix {
    float: none;
    clear: both;
}
.float-l { float: left; }
.float-r { float: right; }
.fnt-b { font-weight: bold; }
.fnt-i { font-style: italic; }
.tal-l { text-align: left !important; }
.tal-r { text-align: right !important; }
.tal-c { text-align: center !important; }
.mar-l { margin-left: 0; margin-right: auto; }
.mar-r { margin-left: auto; margin-right: 0; }
.mar-c { margin-left: auto; margin-right: auto; }

/* === ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ === */
.tesm {
    width: 100%;
    height: 34px;
    background: url(/data/snippets/div_tesma/div_tesma.png) repeat-x #ddd;
}
.clearleft { clear: left; }
.zakaz li {
    background: linear-gradient(to top, #6c1703, #000000);
    border-left: 2px solid #680419;
    border-right: 1px solid #000000;
    border-top: 2px solid #680419;
    border-bottom: 1px solid #000000;
    border-radius: 8px;
    list-style: none;
    display: inline-block;
}
.zakaz p {
    text-align: center;
}
.zakaz li:hover {
    color: #eee;
    background: linear-gradient(to top, #000000, #6c1703);
}
.zakaz li a {
    color: #C18645;
    font-family: Georgia, serif;
    font-size: 19px;
    text-align: justify;
    padding: 5px 8px;
    text-decoration: none;
    display: block;
}
.photo_reklama {
    background: linear-gradient(to top, #1a1615, #000000);
    margin: 10px;
    padding: 0;
    border: 1px solid #000;
    text-align: center;
    display: inline-block;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.photo_reklama img {
    width: 210px;
    border: 2px solid #0D0C0C;
    margin: auto;
}
.photo_reklama p {
    font-family: Slav, Georgia, serif;
    text-align: center;
    color: #a2a2a2;
    margin: 0;
}
.classic {
    padding: 0.8em 1em;
    background: #FFFFAA;
    border: 1px solid #FFAD33;
}
* html a:hover { background: transparent; }
.cart_cch_ajax_debug_wrap {
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border: solid 1px #000;
    top: 0;
    left: 0;
}
.msg {
    position: relative;
    display: block;
    background-color: #fff;
    padding-bottom: 10px;
    margin: 1em 0;
    font-family: Verdana;
    border: solid 2px #000;
    border-radius: 5px;
}
.msg:before {
    display: block;
    content: 'Сообщение';
    padding: 5px 10px;
    background-color: #fff;
    border-width: 0 0 2px 0;
    border-color: #000;
    border-style: solid;
}
.msg > span {
    display: block;
    margin: 10px;
}
.msg .title {
    display: block;
    font-weight: bold;
}
.msg .help {
    position: absolute;
    display: block;
    top: 5px;
    right: 10px;
    text-decoration: none;
    font-weight: bold;
}
.msg-error {
    background-color: #EF8585;
    border: solid 2px #b93030;
}
.msg-error:before {
    content: 'Ошибка!';
    background-color: #D13838;
    border-color: #b93030;
}
.button-container {
    text-align: center;
    margin-top: 20px;
}
.product-description {
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
    color: #333;
}
.zoom-on-hover {
    transition: transform 0.3s ease;
}
.zoom-on-hover:hover {
    transform: scale(1.1);
}
.centered {
    text-align: center;
    margin: 15px 0;
}
.img-caption {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 12px;
    font-size: 18px;
    color: #5d4037;
    text-align: center;
    font-style: italic;
}

/* ==============================================
МЕДИА-ЗАПРОСЫ (ОБЪЕДИНЕННЫЕ И ОПТИМИЗИРОВАННЫЕ)
============================================== */

/* Скрыть мобильную навигацию на больших экранах */
@media screen and (min-width: 900px) {
    .fixed-bottom-nav {
        display: none;
    }
    .review-card-horizontal {
        width: 350px;
        padding: 25px;
    }
}

/* Скрыть кнопку меню на больших экранах */
@media (min-width: 721px) {
    #menu-toggle {
        display: none;
    }
}

/* ПЛАНШЕТЫ И НОУТБУКИ (1200px - 721px) */
@media screen and (max-width: 1200px) {
    .img_levo,
    .img_levo img {
        float: none;
        width: 70%;
        margin: auto;
        display: block;
    }
}

@media screen and (max-width: 900px) {
    #wrap-content {
        margin: 0 0 1em 0;
    }
    #wrap-content .sap-content {
        margin: 0 0 0 193px;
        padding: 0 14px;
        padding-top: 5px;
    }
    #wrap-sidebar-right {
        margin-left: 0;
        left: 0;
        width: 100%;
        float: none;
        clear: both;
    }
    #s_sbr_box {
        position: static !important;
    }
    .reviews-swipe-hint {
        display: block;
    }
    .scroll-indicator {
        display: none;
    }
}

/* ПЛАНШЕТЫ (768px - 600px) */
@media (max-width: 768px) {
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px !important;
    }
    .fullscreen-image {
        padding: 10px;
    }
    .fullscreen-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        margin-top: 0;
    }
    .fullscreen-image .caption {
        font-size: 14px;
        margin-top: 5px;
    }
    .fullscreen-image .close-button {
        font-size: 20px;
        width: 25px;
        height: 25px;
    }
    .reviews-horizontal-wrapper {
        gap: 16px;
        padding: 10px 10px 25px;
    }
    .review-card-horizontal {
        padding: 18px 14px;
    }
    .review-content {
        font-size: 16px;
        padding-left: 22px;
        padding-right: 10px;
        line-height: 1.6;
    }
    .review-content::before {
        font-size: 1.7em;
        top: -3px;
    }
    .review-footer {
        padding-top: 12px;
    }
    .review-god {
        font-size: 12px;
        padding: 4px 10px;
    }
    .original-review-link {
        font-size: 14px;
        padding: 5px 10px;
        white-space: normal;
        text-align: left;
    }
    .review-card-horizontal::before,
    .review-card-horizontal::after {
        width: 35px;
        height: 35px;
    }
    .service-section > div {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card {
        padding: 20px;
    }
    /* МЕДИА-ЗАПРОСЫ ДЛЯ КОНТАКТОВ */
    .contacts-section {
        margin: 40px auto;
        padding: 30px 15px;
    }
    .contacts-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 15px;
    }
    .contact-method {
        padding: 20px;
    }
    .contact-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 15px;
    }
    .contact-icon svg {
        width: 25px;
        height: 25px;
    }
    .contact-info h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
    .contact-method p {
        font-size: 1em;
        margin-bottom: 15px;
    }
    .contact-link {
        padding: 9px 18px;
        font-size: 0.95em;
    }
    .contact-note {
        padding: 20px;
        width: calc(100% - 30px);
    }
    ul.menu {
        display: none;
        width: 100%;
        background: linear-gradient(to top, #6c1703, #000000);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
    }
    ul.menu.active {
        display: block;
    }
    ul.menu > li {
        float: none;
        margin: 0;
    }
    ul.menu ul {
        position: static;
        width: 100%;
    }
    #menu-toggle {
        display: block;
        font-size: 24px;
        color: #A2A2A2;
        background: none;
        border: none;
        cursor: pointer;
        text-align: center;
        width: 100%;
        margin: 10px 0;
        position: relative;
    }
    #menu-toggle::after {
        content: '\2630';
        margin-left: 10px;
        font-size: 20px;
    }
    #info-submenu {
        display: none;
    }
    #info-submenu.active {
        display: block;
    }
    body {
        padding-top: 60px;
    }
    #panel_prymary_nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: linear-gradient(to top, #6c1703, #000000);
    }
    .breadcrumb-navigation {
        font-size: 13px;
        padding: 8px 0;
        margin-bottom: 15px;
    }
    .intro-section,
    .article-item,
    .pantheon-content {
        padding: 20px;
    }
    .section-title,
    .contacts-title {
        font-size: 1.5em;
        margin: 30px 0 20px 0;
    }
    .article-link {
        font-size: 1.2em;
    }
    .read-button {
        padding: 12px 20px;
        font-size: 0.95em;
        min-width: 200px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .gallery-caption {
        font-size: 0.9em;
    }
    .gallery-caption a {
        white-space: normal;
        display: inline-block;
        margin: 2px 0;
    }
}

/* МОБИЛЬНЫЕ УСТРОЙСТВА (720px - 480px) */
@media screen and (max-width: 720px) {
    .img_centr_krkut img,
    .img_c_m img {
        width: 290px;
    }
    .koment {
        display: none;
    }
    .img_levo,
    .img_levo img {
        float: none;
        width: 80%;
        margin: auto;
        display: block;
    }
    /* КОНТАКТЫ ДЛЯ МОБИЛЬНЫХ */
    .contacts-section {
        margin: 40px auto;
        padding: 25px 10px;
    }
    .contacts-title {
        font-size: 1.6em;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    .contact-intro {
        padding: 0 15px;
        font-size: 1em;
        margin-bottom: 30px;
    }
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
        max-width: 500px;
    }
    .contact-method {
        padding: 20px 15px;
        width: 100%;
        margin: 0 auto;
    }
    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    .contact-icon svg {
        width: 22px;
        height: 22px;
    }
    .contact-info h3 {
        font-size: 1.15em;
        margin-bottom: 10px;
    }
    .contact-method p {
        font-size: 0.95em;
        margin-bottom: 15px;
        padding: 0 5px;
    }
    .contact-link {
        padding: 8px 16px;
        font-size: 0.9em;
        max-width: 220px;
    }
    .contact-note {
        padding: 18px 15px;
        margin: 0 auto 30px;
        width: calc(100% - 20px);
    }
}

@media screen and (max-width: 700px) {
    .img_levo,
    .img_levo img {
        float: none;
        width: 80%;
        margin: auto;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    #wrap-main {
        background-color: #0A0102;
    }
    h1 {
        margin: 5px 3px 0 3px;
    }
    #wrap-content .sap-content {
        margin: 0;
        padding: 0 14px;
        padding-top: 3px;
    }
    #wrap-sidebar-left {
        margin-left: 0;
        left: 0;
        width: 100%;
        float: left;
    }
    #wrap-sidebar-right p {
        color: #3d0f0f;
    }
    .quick-links {
        margin: 15px 0;
        padding: 10px;
    }
    .quick-links a {
        display: block;
        margin: 5px auto;
        width: 90%;
        max-width: 200px;
    }
    #wrap-sidebar-left {
        margin-left: 0;
        left: 0;
        width: 100%;
        float: left;
    }
    .nav-menu2 {
        text-align: center;
        display: none;
    }
    #nav-menu2-minimize {
        display: block;
    }
    #nav-menu2-minimize:after {
        margin: 0 0 0 10px;
        font-family: inherit;
        content: "\2261";
        position: relative;
        bottom: 10px;
    }
    .reviews-horizontal-wrapper {
        gap: 12px;
        padding: 8px 6px 20px;
    }
    .review-card-horizontal {
        padding: 16px 12px;
    }
    .review-content {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 10px;
        line-height: 1.55;
    }
    .review-content::before {
        font-size: 1.6em;
        top: -2px;
    }
    .review-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .review-god,
    .original-review-link {
        white-space: normal;
    }
    .original-review-link {
        font-size: 14px;
    }
}

/* МАЛЕНЬКИЕ МОБИЛЬНЫЕ УСТРОЙСТВА (480px и меньше) */
@media screen and (max-width: 480px) {
    .mso-page-content img {
        width: 90%;
        margin: auto;
        padding: 0;
        float: none;
        min-width: initial;
        max-width: initial;
    }
    .content_main img {
        width: 285px;
    }
    .cch-wrap .for_do-title th,
    .cch-wrap .for_posle-wrap th {
        font-size: 13pt;
    }
    h1, h2, h3 {
        font-size: 20px;
    }
    h4 {
        font-size: 20px;
        font-style: italic;
    }
    .breadcrumb-navigation {
        font-size: 12px;
        padding: 6px 0;
        margin-bottom: 12px;
    }
    .intro-section,
    .article-item,
    .pantheon-content {
        padding: 15px;
    }
    .section-title,
    .contacts-title {
        font-size: 1.3em;
    }
    .article-link {
        font-size: 1.1em;
    }
    .read-button {
        padding: 10px 15px;
        font-size: 0.9em;
        width: 100%;
        text-align: center;
        max-width: none;
        display: block;
    }
    .gallery-caption {
        font-size: 0.8em;
    }
    /* КОНТАКТЫ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ */
    .contacts-section {
        margin: 30px auto;
        padding: 20px 8px;
    }
    .contacts-title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    .contact-intro {
        font-size: 0.95em;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    .contact-methods {
        gap: 15px;
        padding: 0 8px;
    }
    .contact-method {
        padding: 18px 12px;
    }
    .contact-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    .contact-info h3 {
        font-size: 1.1em;
    }
    .contact-method p {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    .contact-link {
        padding: 7px 14px;
        font-size: 0.85em;
        max-width: 200px;
    }
    .contact-note {
        padding: 15px 12px;
        margin: 0 auto 25px;
        width: calc(100% - 16px);
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ УСТРОЙСТВА (360px и меньше) */
@media (max-width: 360px) {
    .contact-methods {
        padding: 0 8px;
    }
    .contact-method {
        padding: 12px;
        margin: 0 2px;
    }
    .contact-method p {
        font-size: 13px;
    }
    .contact-link {
        font-size: 13px;
        max-width: 220px;
    }
}

/* === СКРОЛЛБАР ДЛЯ ОТЗЫВОВ === */
.reviews-horizontal-wrapper::-webkit-scrollbar {
    height: 12px;
}
.reviews-horizontal-wrapper::-webkit-scrollbar-track {
    background: #f0ead9;
    border-radius: 6px;
}
.reviews-horizontal-wrapper::-webkit-scrollbar-thumb {
    background: #8d6e63;
    border-radius: 6px;
    border: 2px solid #f0ead9;
}
.reviews-horizontal-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a0522d;
}

/* === ЕДИНЫЙ СТИЛЬ ДЛЯ ВСЕХ КНОПОК: "Отправить" и "Добавить в корзину" === */
.brown-submit-btn,
.s_add_to_cart {
    background-color: #591000;
    color: #e6dcbc;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: bold;
    font-family: Georgia, 'Times New Roman', serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-sizing: border-box;
}

/* Центрирование только для кнопки отправки */
.brown-submit-btn {
    margin: 20px auto;
    min-width: 220px;
    width: auto;
}

/* Поведение при наведении */
.brown-submit-btn:hover,
.s_add_to_cart:hover {
    background-color: #631902;
    color: #f0f2dd;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* При нажатии */
.brown-submit-btn:active,
.s_add_to_cart:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}