/* ============================================================
   ГЛАВСТРОЙРЕМОНТ — CUSTOM CSS
   ============================================================ */

/* === ОБЩИЕ === */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #1A1A1A;
    overflow-x: hidden;
    overflow-x: clip;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1A1A1A;
}

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

.padding-top { padding-top: 80px; }
.padding-bottom { padding-bottom: 80px; }
.background-grey { background-color: #F5F5F5; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 1.5rem !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }

/* === ПЛЕЙСХОЛДЕР === */
.placeholder {
    background: linear-gradient(135deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%, #e0e0e0);
    background-size: 40px 40px;
    border: 2px dashed #999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    border-radius: 8px;
}

/* === КНОПКИ === */
.primary_btn, .secondary_btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px 28px;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.primary_btn { background-color: #8B3A3A; color: #FFFFFF; }
.primary_btn:hover { background-color: #6B2A2A; color: #FFFFFF; }
.secondary_btn { background-color: #D4A574; color: #1A1A1A; }
.secondary_btn:hover { background-color: #C49564; color: #1A1A1A; }

/* === ПЛАШКА СО СКИДКОЙ === */
.discount-banner {
    background-color: #8B3A3A;
    padding: 12px 0;
}

.discount-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.discount-image .placeholder {
    width: 100px;
    height: 60px;
    min-height: 60px;
    border-radius: 6px;
    font-size: 10px;
    padding: 4px;
}

.discount-percent > div {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #D4A574;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discount-percent-value {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
}

.discount-percent-label {
    font-size: 10px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
}

.discount-text { flex: 1; min-width: 200px; }
.discount-text p { color: #FFFFFF; font-size: 15px; margin: 0; line-height: 1.4; }
.discount-text strong { color: #D4A574; }

/* === ШАПКА === */
.header-con {
    background-color: #FFFFFF;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

.header-con .navbar {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-con .navbar-brand {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.header-con .logo { margin: 0; }

.header-con .logo .placeholder {
    width: 200px;
    height: 60px;
    min-height: 60px;
    font-size: 11px;
    padding: 5px;
}

.header-con .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.header-con .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-con .navbar-nav .nav-item { list-style: none; }

.header-con .navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: #1A1A1A;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-con .navbar-nav .nav-link:hover,
.header-con .navbar-nav .nav-item.active .nav-link {
    color: #D4A574;
}

/* Бургер — по умолчанию скрыт */
.header-con .navbar-toggler {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    outline: none;
    margin-left: auto;
}

.header-con .navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #8B3A3A;
    border-radius: 2px;
    background-image: none !important;
}

/* === МОБИЛЬНЫЙ БУРГЕР (главная) === */
@media (max-width: 991px) {
    .header-con .navbar-toggler { display: flex !important; }

    .header-con .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #E5E5E5;
    }

    .header-con .navbar-collapse.show { display: block !important; }

    .header-con .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
}

/* === HERO === */
.banner-con {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.banner-con .banner-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    min-height: 100%;
    z-index: 0;
    border-radius: 0;
    border: none;
}

.banner-con .container { position: relative; z-index: 1; }

.banner_content { text-align: center; padding: 100px 0; }

.welcome-text {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #D4A574;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.banner-con h1 {
    font-size: 56px;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.banner-con p {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 30px;
}

/* === ПРЕЛОАДЕР === */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

#preloader.hidden { opacity: 0; pointer-events: none; }

.preloader-house {
    position: relative;
    width: 240px;
    height: 200px;
}

.brick {
    position: absolute;
    width: 55px;
    height: 28px;
    background-color: #8B3A3A;
    border-radius: 3px;
    opacity: 0;
    animation: brick-appear 0.3s forwards;
}

.brick-1-1 { bottom: 0; left: 0; animation-delay: 0.1s; }
.brick-1-2 { bottom: 0; left: 60px; animation-delay: 0.25s; }
.brick-1-3 { bottom: 0; left: 120px; animation-delay: 0.4s; }
.brick-1-4 { bottom: 0; left: 180px; animation-delay: 0.55s; }
.brick-2-1 { bottom: 30px; left: 30px; animation-delay: 0.7s; }
.brick-2-2 { bottom: 30px; left: 90px; animation-delay: 0.85s; }
.brick-2-3 { bottom: 30px; left: 150px; animation-delay: 1.0s; }
.brick-3-1 { bottom: 60px; left: 60px; animation-delay: 1.15s; }
.brick-3-2 { bottom: 60px; left: 120px; animation-delay: 1.3s; }

.roof {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 70px solid #6B2A2A;
    opacity: 0;
    animation: roof-appear 0.4s forwards;
    animation-delay: 1.45s;
}

@keyframes brick-appear {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes roof-appear {
    0% { opacity: 0; transform: translateX(-50%) translateY(-15px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* === ЗАГОЛОВКИ СЕКЦИЙ === */
.heading-title-con { margin-bottom: 50px; }

.heading-title-con .special-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #D4A574;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.heading-title-con h2 { font-size: 42px; line-height: 1.2; margin: 0; }

/* === ПРЕИМУЩЕСТВА === */
.promotion-box1 {
    background-color: #FAF6F1;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promotion-box1:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.promotion-box1 i {
    font-size: 42px;
    color: #8B3A3A;
    margin-bottom: 20px;
    display: block;
}

.promotion-box1 h4 { font-size: 22px; margin-bottom: 15px; }
.promotion-box1 p { font-size: 15px; color: #666; margin: 0; line-height: 1.6; }

/* === КАК МЫ РАБОТАЕМ === */
.work-step { padding: 30px 15px; text-align: center; }

.work-step .step-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #D4A574;
    margin-bottom: 15px;
    line-height: 1;
}

.work-step i {
    font-size: 36px;
    color: #8B3A3A;
    margin-bottom: 15px;
    display: block;
}

.work-step h5 { font-size: 20px; margin-bottom: 10px; }
.work-step p { font-size: 14px; color: #666; margin: 0; line-height: 1.5; }

/* === КАЛЬКУЛЯТОР === */
.calc-sidebar {
    background-color: #F5F5F5;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    top: 20px;
}

.calc-discount {
    background: linear-gradient(135deg, #8B3A3A, #6B2A2A);
    color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.calc-discount-label {
    color: #D4A574;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.calc-discount-value {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
    line-height: 1;
}

.calc-engineer {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.calc-engineer-photo {
    width: 80px;
    height: 80px;
    min-height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-size: 11px;
}

.calc-engineer h5 { margin: 0 0 5px; font-size: 18px; }
.calc-engineer .role { margin: 0; font-size: 14px; color: #666; }
.calc-engineer .experience { margin: 5px 0 0; font-size: 13px; color: #D4A574; font-weight: 600; }

.calc-info { margin-bottom: 30px; }

.calc-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 15px;
}

.calc-info-row:last-child { margin-bottom: 0; }

.calc-info-row i {
    color: #8B3A3A;
    margin-right: 12px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.calc-progress p { margin-bottom: 10px; font-weight: 600; font-size: 15px; }

.calc-progress .progress {
    height: 10px;
    border-radius: 10px;
    background-color: #E5E5E5;
    overflow: hidden;
}

.calc-progress .progress-bar {
    background-color: #8B3A3A;
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 25%;
}

.calc-main {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.calc-main h4 { font-size: 24px; margin-bottom: 30px; }
.calc-main h5 { font-size: 18px; margin-bottom: 15px; }

.calc-step { display: none; }
.calc-step.active { display: block; }

.calc-card {
    background-color: #FFFFFF;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.calc-card:hover {
    border-color: #D4A574;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.calc-card.selected {
    border-color: #D4A574;
    background-color: #FFF9F0;
}

.calc-card i {
    font-size: 48px;
    color: #8B3A3A;
    margin-bottom: 15px;
    display: block;
}

.calc-card h5 { margin: 0; font-size: 18px; }

.calc-card-check {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #D4A574;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calc-card.selected .calc-card-check { opacity: 1; }

.calc-card-small { padding: 20px; min-height: 100px; }
.calc-card-small i { font-size: 32px; margin-bottom: 10px; }
.calc-card-small p { font-size: 16px; font-weight: 600; margin: 0; }

.calc-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.calc-nav .primary_btn { margin-left: auto; }

.calc-result { padding: 40px 20px; text-align: center; }
.calc-result i { font-size: 72px; color: #8B3A3A; margin-bottom: 20px; display: block; }
.calc-result h3 { font-size: 28px; margin-bottom: 15px; }
.calc-result h3 span { color: #8B3A3A; }
.calc-result p { font-size: 18px; color: #666; margin: 20px 0 0; }

.calc-main .form-control {
    padding: 15px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.calc-main .form-control:focus {
    border-color: #D4A574;
    outline: none;
    box-shadow: none;
}

.calc-main label { font-weight: 600; margin-bottom: 8px; display: block; }

/* === ОТЗЫВЫ === */
.testimonial-box {
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 40px 30px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    margin: 10px 0;
    transition: box-shadow 0.3s ease;
}

.testimonial-box:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); }

.testimonial-con .row > [class*="col-"] { display: flex; }

.rating {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 3px;
}

.rating i { color: #D4A574; font-size: 18px; }

.review-text {
    font-style: italic;
    color: #666;
    line-height: 1.7;
    font-size: 16px;
    margin: 0 0 20px;
}

.testimonial-box .review-text {
    flex: 1;
}

.review-author { text-align: center; }
.testimonial-box .review-author {
    margin-top: auto;
    padding-top: 16px;
}
.review-author .name { font-size: 18px; font-weight: 600; display: block; margin-bottom: 5px; }
.review-author .review { font-size: 14px; color: #D4A574; }

/* === КОНТАКТЫ === */
.contact-form {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-form h4 { margin-bottom: 30px; font-size: 24px; }

.contact-form .form-control {
    padding: 15px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
}

.contact-form .form-control:focus {
    border-color: #D4A574;
    outline: none;
    box-shadow: none;
}

.contact-info { margin-top: 40px; }

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.contact-info p:last-child { margin-bottom: 0; }

.contact-info i {
    color: #8B3A3A;
    margin-right: 12px;
    width: 24px;
    text-align: center;
    font-size: 18px;
}

/* === ФУТЕР === */
.footer-con {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 60px 0 0;
}

.footer-con .middle_portion { padding-bottom: 40px; }

.footer-con h5.heading {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-con .footer-logo .placeholder {
    width: 150px;
    height: 50px;
    min-height: 50px;
    font-size: 11px;
    margin-bottom: 20px;
}

.footer-con .text {
    color: #B0B0B0;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-con .social-icons {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-con .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2A2A2A;
    border-radius: 50%;
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.footer-con .social-icons a:hover { background-color: #8B3A3A; }
.footer-con .social-icons i { font-size: 16px; }

.footer-con .links ul,
.footer-con .icon ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-con .links ul li,
.footer-con .icon ul li {
    margin-bottom: 12px;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.footer-con .links ul li i {
    color: #D4A574;
    margin-right: 8px;
    font-size: 12px;
}

.footer-con .links ul li a,
.footer-con .icon ul li a {
    color: #B0B0B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-con .links ul li a:hover,
.footer-con .icon ul li a:hover { color: #D4A574; }

.footer-con .icon ul li i {
    color: #D4A574;
    margin-right: 12px;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.footer-con .copyright {
    border-top: 1px solid #2A2A2A;
    padding: 20px 0;
    text-align: center;
}

.footer-con .copyright p {
    color: #B0B0B0;
    font-size: 14px;
    margin: 0;
}

/* === BACK TO TOP === */
#button {
    display: inline-block;
    background-color: #8B3A3A;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#button::after {
    content: "\f077";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    line-height: 50px;
    color: #FFFFFF;
}

#button:hover { background-color: #6B2A2A; }
#button.show { opacity: 1; visibility: visible; }

/* === PAGE HEADER === */
.page-header-con {
    background: linear-gradient(135deg, #8B3A3A 0%, #6B2A2A 100%);
    padding: 80px 0 60px;
    color: #fff;
    text-align: center;
}

.page-header-con h1 { font-size: 42px; font-weight: 700; margin-bottom: 15px; color: #fff; }
.page-header-con p { font-size: 18px; opacity: 0.9; color: #fff; }

/* === PRODUCT CARD === */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 58, 58, 0.15);
}

.product-image { position: relative; overflow: hidden; }

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;      /* фото вписывается целиком, по бокам — фон */
    background: #f5f5f5;      /* серый фон, чтобы пустота не бросалась в глаза */
    padding: 8px;

}

.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2D2D2D;
}

.product-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.5;
    max-height: calc(14px * 1.5 * 2);
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #8B3A3A;
    margin-bottom: 15px;
}

.catalog-section .row > [class*="col-"] {
    display: flex;
}

.product-card {
    width: 100%;
}

.product-card .product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-desc {
    flex: 1;
}

.product-card .product-price {
    margin-top: auto;
}

/* === TESTIMONIAL CARD === */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 58, 58, 0.15);
}

.testimonial-avatar { margin-bottom: 15px; }

.testimonial-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2D2D2D;
}

.review-order { font-size: 14px; color: #D4A574; margin-bottom: 15px; }

.rating { margin-bottom: 15px; }
.rating i { color: #FFB800; font-size: 16px; margin: 0 2px; }

.review-text { font-size: 15px; line-height: 1.6; color: #555; font-style: italic; }

.review-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.review-photo {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-photo:hover img { transform: scale(1.05); }

/* Разворачивание длинных отзывов */
.review-text-short {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text-wrapper.expanded .review-text-short {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-toggle {
    display: inline-block;
    background: none;
    border: none;
    color: #8B3A3A;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.review-toggle:hover,
.review-toggle:focus {
    color: #6B2A2A;
    border-bottom-color: #8B3A3A;
    outline: none;
    text-decoration: none;
}

/* === SERVICE CARD === */
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 58, 58, 0.15);
}

.service-card i { font-size: 48px; color: #8B3A3A; margin-bottom: 20px; }

.service-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2D2D2D;
}

.service-card p { font-size: 15px; color: #666; line-height: 1.6; }

/* === STAT CARD === */
.stat-card { padding: 40px 20px; }

.stat-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #8B3A3A;
    margin-bottom: 10px;
}

.stat-card p { font-size: 16px; color: #666; font-weight: 500; }

/* === CONTACT INFO CARD === */
.contact-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 58, 58, 0.15);
}

.contact-info-card i { font-size: 48px; color: #8B3A3A; margin-bottom: 20px; }

.contact-info-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2D2D2D;
}

.contact-info-card p { font-size: 16px; margin-bottom: 5px; }

.contact-info-card a {
    color: #8B3A3A;
    text-decoration: none;
    font-weight: 600;
}

.contact-info-card a:hover { color: #D4A574; }

/* === CONTACT FORM CONTAINER === */
.contact-form-container {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-form-container h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2D2D2D;
}

/* === SOCIAL LINKS === */
.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #2D2D2D;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 150px;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(139, 58, 58, 0.15);
    color: #8B3A3A;
}

.social-link i { font-size: 48px; color: #8B3A3A; }
.social-link span { font-size: 16px; font-weight: 600; }

/* === MAP CONTAINER === */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ============================================================
   АДАПТИВНОСТЬ ОСНОВНОГО САЙТА
   ============================================================ */

@media (max-width: 991px) {
    .padding-top { padding-top: 60px; }
    .padding-bottom { padding-bottom: 60px; }

    .discount-content { justify-content: center; text-align: center; }
    .discount-text { flex-basis: 100%; text-align: center; }

    .heading-title-con h2 { font-size: 32px; }
    .page-header-con h1 { font-size: 32px; }

    .calc-sidebar { position: static; }

    .preloader-house { transform: scale(0.85); }

    .stat-card h3 { font-size: 42px; }
    .service-card { padding: 30px 20px; }
    .contact-form-container { padding: 30px 20px; }
    .social-icons-large { gap: 15px; }
    .social-link { min-width: 120px; padding: 20px; }
}

@media (max-width: 767px) {
    .padding-top { padding-top: 40px; }
    .padding-bottom { padding-bottom: 40px; }

    .header-con .navbar-brand {
        margin-left: 15px;
    }

    .header-con .logo .placeholder {
        width: 150px;
        height: 50px;
        min-height: 50px;
        font-size: 10px;
    }

    .discount-banner { padding: 10px 0; }
    .discount-image .placeholder { width: 80px; height: 50px; min-height: 50px; font-size: 9px; }
    .discount-percent > div { width: 60px; height: 60px; }
    .discount-percent-value { font-size: 18px; }
    .discount-percent-label { font-size: 9px; }
    .discount-text p { font-size: 13px; }

    .banner-con { min-height: 450px; }
    .banner-con h1 { font-size: 28px; }
    .banner-con p { font-size: 16px; }
    .welcome-text { font-size: 14px; letter-spacing: 1px; }
    .banner_content { padding: 60px 0; }
    .banner-con .primary_btn { width: 100%; max-width: 300px; padding: 14px 20px; font-size: 14px; }

    .heading-title-con h2 { font-size: 26px; }
    .heading-title-con { margin-bottom: 30px; }

    .primary_btn, .secondary_btn { width: 100%; padding: 14px 20px; font-size: 14px; }

    .calc-nav { flex-direction: column; gap: 10px; }
    .calc-nav button { width: 100% !important; margin: 0 !important; }
    .calc-main { padding: 25px 20px; }
    .calc-card { min-height: 120px; padding: 20px 15px; }
    .calc-card i { font-size: 36px; }
    .calc-card h5 { font-size: 16px; }
    .calc-discount-value { font-size: 48px; }

    .preloader-house { transform: scale(0.7); }

    .testimonial-box { padding: 30px 20px; min-height: 280px; }

    .contact-form { padding: 25px 20px; }

    .footer-con { padding: 40px 0 0; }
}

@media (max-width: 479px) {
    .banner-con h1 { font-size: 22px; }
    .banner-con p { font-size: 14px; }
    .discount-percent > div { width: 55px; height: 55px; }
    .discount-percent-value { font-size: 16px; }
    .heading-title-con h2 { font-size: 22px; }
    .preloader-house { transform: scale(0.6); }
}

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ НА ГЛАВНОЙ (выезжает справа)
   ============================================================ */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.mobile-menu-header .placeholder {
    width: 150px;
    height: 45px;
    min-height: 45px;
    font-size: 10px;
    padding: 4px;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #8B3A3A;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #D4A574;
}

.mobile-menu-nav {
    flex: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu-link {
    display: block;
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: #FAF6F1;
    color: #8B3A3A;
    border-left-color: #8B3A3A;
    padding-left: 32px;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #E5E5E5;
}

.mobile-menu-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8B3A3A;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-phone:hover {
    color: #D4A574;
}

@media (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-menu-panel {
        display: none !important;
    }
    .mobile-menu-close {
        display: none;
    }
}

/* === СЛАЙДЕР ФОТО В ОТЗЫВАХ === */
.review-photos-slider {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.review-photos-slider .item {
    padding: 0 4px;
}

.review-photos-slider .review-photo {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.review-photos-slider .review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-photos-slider .review-photo:hover img {
    transform: scale(1.05);
}

.review-photos-slider .owl-dots {
    text-align: center;
    margin-top: 10px;
}

.review-photos-slider {
    position: relative;
}

.review-photos-slider .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex !important;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.review-photos-slider .owl-nav button.owl-prev,
.review-photos-slider .owl-nav button.owl-next {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background-color: #8B3A3A !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin: 0 8px;
    padding: 0;
    cursor: pointer;
}

.review-photos-slider .owl-nav button.owl-prev:hover,
.review-photos-slider .owl-nav button.owl-next:hover {
    background-color: #6B2A2A !important;
    transform: scale(1.1);
}

.review-photos-slider .owl-nav button i {
    font-size: 16px !important;
    color: #FFFFFF !important;
    line-height: 1;
}

.review-photos-slider .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0 3px;
    background-color: #D4D4D4;
    display: block;
    border-radius: 50%;
}

.review-photos-slider .owl-dot.active span {
    background-color: #8B3A3A;
}

/* === ЛАЙТБОКС === */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background-color: #8B3A3A;
}

/* ============================================================
   АДМИНКА — ВСЁ В ОДНОМ МЕСТЕ (БЕЗ ДУБЛИКАТОВ)
   ============================================================ */

.admin-body {
    font-family: 'Inter', sans-serif;
    background-color: #F5F5F5;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-sidebar {
    width: 260px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    min-height: 100vh;
    padding: 24px 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9000;
    overflow-y: auto;
}

.admin-logo {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
}

.admin-nav { list-style: none; padding: 0; margin: 0; }
.admin-nav li { margin: 0; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #B0B0B0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.admin-nav a:hover { background-color: rgba(255,255,255,.05); color: #FFFFFF; }
.admin-nav a.active { background-color: #8B3A3A; color: #FFFFFF; border-left-color: #D4A574; }
.admin-nav a i { font-size: 16px; width: 20px; text-align: center; }

.admin-content {
    margin-left: 260px;
    padding: 40px;
    min-height: 100vh;
}

.admin-page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 8px;
}

.admin-page-subtitle { color: #666; font-size: 15px; margin-bottom: 32px; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-admin {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: all .3s ease;
}
.stat-card-admin:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(139,58,58,.1); }
.stat-card-admin .stat-label { font-size: 14px; color: #666; margin-bottom: 8px; }
.stat-card-admin .stat-value { font-family: 'Montserrat', sans-serif; font-size: 40px; font-weight: 700; color: #8B3A3A; line-height: 1; }

.admin-table {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    border-collapse: collapse;
}
.admin-table th { background-color: #FAFAFA; padding: 16px; text-align: left; font-size: 13px; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid #EEE; }
.admin-table td { padding: 16px; border-bottom: 1px solid #F0F0F0; font-size: 14px; color: #333; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover { background-color: #FAFAFA; }
.admin-table img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }

.admin-form {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    max-width: 700px;
}
.admin-form .form-group { margin-bottom: 20px; }
.admin-form label { display: block; font-weight: 600; color: #333; margin-bottom: 8px; font-size: 14px; }
.admin-form input[type="text"], .admin-form input[type="number"], .admin-form input[type="email"], .admin-form input[type="tel"], .admin-form textarea, .admin-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color .3s ease;
    background-color: #FFFFFF;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: #8B3A3A; outline: none; box-shadow: none; }
.admin-form textarea { min-height: 120px; resize: vertical; }

/* Кнопка-бургер админки */
.admin-mobile-toggle {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #8B3A3A;
    color: #FFFFFF;
    border: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-mobile-toggle:hover { background-color: #6B2A2A; }

/* Оверлей админки */
.admin-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 8999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.admin-overlay.active {
    display: block;
    opacity: 1;
}

/* Адаптив админки */
@media (max-width: 991px) {
    .admin-mobile-toggle { display: flex !important; }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .admin-sidebar.open { transform: translateX(0); }

    .admin-content {
        margin-left: 0;
        padding: 70px 20px 120px;
    }

    .stat-grid { grid-template-columns: 1fr 1fr; }
    .admin-form { padding: 20px; }
}

@media (max-width: 576px) {
    .stat-grid { grid-template-columns: 1fr; }
    .admin-page-title { font-size: 24px; }
    .stat-card-admin .stat-value { font-size: 32px; }
}

/* ======================================================
   КНОПКИ АДМИНКИ — В СТИЛЕ САЙТА
   ====================================================== */

.btn-admin-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: #8B3A3A !important;
    color: #FFFFFF !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    width: auto !important;
    box-shadow: 0 2px 6px rgba(139, 58, 58, 0.2) !important;
}

.btn-admin-primary:hover {
    background-color: #6B2A2A !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(139, 58, 58, 0.35) !important;
}

.btn-admin-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background-color: #FFFFFF !important;
    color: #8B3A3A !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: 2px solid #8B3A3A !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    width: auto !important;
}

.btn-admin-secondary:hover {
    background-color: #8B3A3A !important;
    color: #FFFFFF !important;
}

.btn-admin-danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background-color: #FFFFFF !important;
    color: #D9534F !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: 2px solid #D9534F !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    width: auto !important;
}

.btn-admin-danger:hover {
    background-color: #D9534F !important;
    color: #FFFFFF !important;
}

.btn-remove-photo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background-color: #D9534F !important;
    color: #FFFFFF !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
    width: auto !important;
}

.btn-remove-photo:hover {
    background-color: #C9302C !important;
}

/* Кнопки в форме — в ряд, не на всю ширину */
.admin-form .btn-admin-primary,
.admin-form .btn-admin-secondary,
.admin-form .btn-admin-danger,
.admin-form .btn-remove-photo {
    width: auto !important;
    max-width: none !important;
}

/* Обёртка для кнопок в ряд */
.admin-form .form-actions,
.admin-form .d-flex.gap-2,
.admin-form > div > .d-flex {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 20px !important;
}

/* Превью фото — не на весь экран */
.upload-preview {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 20px !important;
    background-color: #FAFAFA !important;
    border-radius: 8px !important;
    margin-top: 12px !important;
}

.upload-preview img,
.image-upload-zone img {
    max-width: 280px !important;
    max-height: 280px !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
}

@media (max-width: 767px) {
    /* Кнопки в форме — на всю ширину */
    .admin-form .btn-admin-primary,
    .admin-form .btn-admin-secondary,
    .admin-form .btn-admin-danger,
    .admin-form .btn-remove-photo {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
    }

    /* Обёртка кнопок — колонка */
    .admin-form .form-actions,
    .admin-form .d-flex.gap-2 {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Превью фото — компактно */
    .upload-preview {
        padding: 12px !important;
    }

    .upload-preview img,
    .image-upload-zone img {
        max-width: 100% !important;
        max-height: 220px !important;
    }

    /* Галерея фото работ */
    .upload-gallery img {
        width: 80px !important;
        height: 60px !important;
    }

}

/* ===== TOAST — уведомление в стиле сайта ===== */
.site-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #FFFFFF;
    color: #1A1A1A;
    padding: 16px 22px;
    border-radius: 10px;
    border-left: 5px solid #8B3A3A;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    max-width: 380px;
    z-index: 2147483640;
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.site-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.site-toast.success { border-left-color: #4CAF50; }
.site-toast.error { border-left-color: #D9534F; }
.site-toast.warning { border-left-color: #F0AD4E; }

.site-toast .toast-title {
    font-weight: 700;
    color: #8B3A3A;
    margin-bottom: 4px;
    font-size: 16px;
}

.site-toast.success .toast-title { color: #2E7D32; }
.site-toast.error .toast-title { color: #C9302C; }
.site-toast.warning .toast-title { color: #B8860B; }

@media (max-width: 500px) {
    .site-toast {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

/* Селект — видимый текст */
.admin-form select,
.admin-form select option,
select.form-control,
select.form-control option {
    color: #1A1A1A !important;
    background-color: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.admin-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding: 12px 40px 12px 16px !important;
    line-height: 1.5 !important;
    height: auto !important;
    min-height: 48px !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B3A3A' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px !important;
    border: 2px solid #E5E5E5 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-family: 'Inter', sans-serif !important;
}

.admin-form select:focus {
    border-color: #8B3A3A !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(139, 58, 58, 0.1) !important;
}

/* Inputs — тоже проверим видимость */
.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form input[type="email"],
.admin-form input[type="tel"],
.admin-form input[type="password"],
.admin-form textarea {
    color: #1A1A1A !important;
    background-color: #FFFFFF !important;
    opacity: 1 !important;
}

.admin-form input::placeholder,
.admin-form textarea::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.upload-zone,
.image-upload-zone {
    width: 100%;
    padding: 16px;
    border: 1px dashed #CFCFCF;
    border-radius: 8px;
    background: #FAFAFA;
}

.upload-empty,
.upload-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-preview-box img,
.work-photo-item > img {
    display: block;
    max-width: 280px;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.upload-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.upload-hint {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.work-photo-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: top;
    gap: 8px;
    margin: 6px;
    padding: 10px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    background: #FFFFFF;
}

.work-photo-item > img {
    width: 120px;
    height: 90px;
}

.work-photo-item .upload-actions {
    flex-direction: column;
}

@media (max-width: 767px) {
    .upload-actions {
        width: 100%;
        flex-direction: column;
    }

    .upload-actions button {
        width: 100%;
        justify-content: center;
    }

    .work-photo-item {
        width: 100%;
        margin: 6px 0;
    }

    .work-photo-item > img {
        max-width: 100%;
    }
}

.upload-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #FAFAFA;
    border-radius: 8px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    box-sizing: border-box;
}

.crop-stage {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 400px;
    background: #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.crop-stage img,
.crop-stage > #cropImage,
.crop-stage > #bannerPreviewImage,
.crop-stage > #avatarImage {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    pointer-events: none !important;
    user-select: none;
    display: block !important;
}

.crop-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.crop-box {
    display: none;
    position: absolute;
    box-sizing: border-box;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.55);
    cursor: move;
    z-index: 2;
    touch-action: none;
}

.crop-box[style*="display: block"],
.crop-box.is-active {
    display: block;
}

.crop-handle {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #FFFFFF;
    border: 2px solid #8B3A3A;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: 3;
}
.crop-handle.nw { top: -7px; left: -7px; cursor: nwse-resize; }
.crop-handle.ne { top: -7px; right: -7px; cursor: nesw-resize; }
.crop-handle.sw { bottom: -7px; left: -7px; cursor: nesw-resize; }
.crop-handle.se { bottom: -7px; right: -7px; cursor: nwse-resize; }
.crop-handle.n  { top: -7px; left: 50%; margin-left: -7px; cursor: ns-resize; }
.crop-handle.s  { bottom: -7px; left: 50%; margin-left: -7px; cursor: ns-resize; }
.crop-handle.w  { top: 50%; left: -7px; margin-top: -7px; cursor: ew-resize; }
.crop-handle.e  { top: 50%; right: -7px; margin-top: -7px; cursor: ew-resize; }
.upload-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

@media (max-width: 767px) {
    .crop-stage { height: 260px; }
    .crop-handle { width: 18px; height: 18px; }
    .crop-handle.nw, .crop-handle.ne, .crop-handle.sw, .crop-handle.se { margin: -9px; }
    .crop-handle.nw { top: 0; left: 0; }
    .crop-handle.ne { top: 0; right: 0; }
    .crop-handle.sw { bottom: 0; left: 0; }
    .crop-handle.se { bottom: 0; right: 0; }
    .crop-handle.n { top: 0; }
    .crop-handle.s { bottom: 0; }
    .crop-handle.w { left: 0; }
    .crop-handle.e { right: 0; }
}

/* ===== МОДАЛКА ОПИСАНИЯ ТОВАРА ===== */
#descModal .desc-modal-dialog {
    max-width: 900px;
    width: 92%;
    margin: 1.75rem auto;
}

#descModal .desc-modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
}

#descModal .desc-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    color: #1A1A1A;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

#descModal .desc-modal-close:hover {
    background: #8B3A3A;
    color: #FFFFFF;
}

#descModal .desc-modal-body {
    display: flex;
    gap: 0;
    align-items: stretch;
    min-height: 380px;
}

#descModal .desc-modal-photo {
    flex: 0 0 340px;
    background: #F5F0EB;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

#descModal .desc-modal-photo img {
    max-width: 100%;
    max-height: 340px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

#descModal .desc-modal-info {
    flex: 1;
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#descModal .desc-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin: 0 0 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    padding-right: 40px;
}

#descModal .desc-modal-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #8B3A3A;
    margin-bottom: 20px;
}

#descModal .desc-modal-description-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-bottom: 20px;
}

#descModal .desc-modal-description-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 8px;
}

#descModal .desc-modal-description {
    background: #FAF6F1;
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 220px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
    scrollbar-width: thin;
    scrollbar-color: #D4A574 #F0EBE5;
}

#descModal .desc-modal-description::-webkit-scrollbar {
    width: 8px;
}

#descModal .desc-modal-description::-webkit-scrollbar-track {
    background: #F0EBE5;
    border-radius: 4px;
}

#descModal .desc-modal-description::-webkit-scrollbar-thumb {
    background: #D4A574;
    border-radius: 4px;
}

#descModal .desc-modal-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #8B3A3A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    width: 100%;
}

#descModal .desc-modal-buy-btn:hover {
    background: #6B2A2A;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    #descModal .desc-modal-body {
        flex-direction: column;
    }

    #descModal .desc-modal-photo {
        flex: 0 0 auto;
        max-height: 260px;
        padding: 16px;
    }

    #descModal .desc-modal-photo img {
        max-height: 220px;
    }

    #descModal .desc-modal-info {
        padding: 22px 20px;
    }

    #descModal .desc-modal-title {
        font-size: 20px;
        padding-right: 40px;
    }

    #descModal .desc-modal-price {
        font-size: 24px;
    }

    #descModal .desc-modal-description {
        max-height: 180px;
        font-size: 14px;
    }
}

/* ===== МОДАЛКА ПОДТВЕРЖДЕНИЯ ===== */
.confirm-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2147483000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.confirm-modal-overlay.is-open {
    display: flex;
}

.confirm-modal-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 28px 24px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    animation: confirmModalIn 0.2s ease-out;
}

@keyframes confirmModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.confirm-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #FDF0EF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D9534F;
    font-size: 28px;
}

.confirm-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 10px;
}

.confirm-modal-text {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 24px;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-modal-actions .btn-admin-secondary,
.confirm-modal-actions .btn-admin-danger {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    justify-content: center;
}

@media (max-width: 480px) {
    .confirm-modal-box {
        padding: 24px 20px 20px;
    }

    .confirm-modal-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .confirm-modal-actions button {
        width: 100%;
    }
}

/* ===== Комментарий в заявках ===== */
.request-data .req-comment {
    display: inline-block;
    background: #FAF6F1;
    border-left: 3px solid #D4A574;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    max-width: 260px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}

.request-data .req-empty {
    color: #BBB;
    font-size: 13px;
}

/* ===== METRICS ===== */
.metrics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.metric-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #8B3A3A;
}

.metric-card-label {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.metric-card-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1A1A1A;
}

.metrics-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chart-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chart-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 16px;
}

.chart-card-wide {
    grid-column: 1 / -1;
}

@media (max-width: 767px) {
    .metrics-charts {
        grid-template-columns: 1fr;
    }

    .metric-card-value {
        font-size: 22px;
    }
}

.ps-scores {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.ps-score {
    text-align: center;
}

.ps-score-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.ps-score-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

.ps-score-value.good {
    color: #2E7D32;
}

.ps-score-value.medium {
    color: #F0AD4E;
}

.ps-score-value.bad {
    color: #D9534F;
}

.ps-vitals {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #555;
}

.ps-date {
    margin-left: auto;
    color: #999;
    font-size: 12px;
}

@media (max-width: 767px) {
    .ps-scores {
        grid-template-columns: repeat(2, 1fr);
    }
}

.review-photos-slider .owl-dots .owl-dot span {
    background: #D4A574;
}

.review-photos-slider .owl-dots .owl-dot.active span {
    background: #8B3A3A;
}

.desc-show-more {
    display: inline-block;
    background: none;
    border: none;
    color: #8B3A3A;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}
.desc-show-more:hover,
.desc-show-more:focus {
    color: #6B2A2A;
    border-bottom-color: #8B3A3A;
    outline: none;
    text-decoration: none;
}

.snooze-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.snooze-modal-overlay.is-open {
    display: flex;
}
.snooze-modal-box {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px 26px 22px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.snooze-modal-title {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 6px;
}
.snooze-modal-text {
    font-size: 14px;
    color: #666;
    margin: 0 0 18px;
}
.snooze-modal-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 18px;
    box-sizing: border-box;
}
.snooze-modal-input:focus {
    border-color: #8B3A3A;
    outline: none;
}
.snooze-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.snooze-modal-actions button {
    flex: 1;
}
@media (max-width: 480px) {
    .snooze-modal-actions {
        flex-direction: column-reverse;
    }
}

/* Адаптив кнопок в таблице заявок */
.admin-table td.text-nowrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.admin-table td.text-nowrap > form {
    display: inline-flex;
    margin: 0;
}
@media (max-width: 767px) {
    .admin-table td.text-nowrap {
        flex-direction: column;
        align-items: stretch;
    }
    .admin-table td.text-nowrap > form,
    .admin-table td.text-nowrap > button,
    .admin-table td.text-nowrap .btn-admin-primary,
    .admin-table td.text-nowrap .btn-admin-secondary,
    .admin-table td.text-nowrap .btn-admin-danger {
        width: 100%;
        justify-content: center;
    }
}

.social-link i {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
    display: inline-block;
}

.desc-modal-description,
.promotion-box1 p,
.review-text,
.request-data,
.admin-table td,
.contact-form textarea,
.contact-form input {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
    hyphens: auto;
}

/* ===== PREMIUM TYPOGRAPHY (Manrope + Inter) ===== */
h1, h2, h3, h4, .h1, .h2, .h3, .h4,
.banner_content h1,
.heading-title-con h2,
.section-title,
.admin-page-title {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

h5, h6, .h5, .h6,
body, p, span, a, li, input, button, textarea, select,
.banner_content p,
.promotion-box1 p,
.product-desc,
.footer-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

.banner_content h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.special-text {
    display: inline-block;
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8B3A3A;
    margin-bottom: 16px;
}

.special-text::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #D4A574;
    margin: 8px auto 0;
}

.heading-title-con h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: #1A1A1A;
    margin-bottom: 16px;
}

.footer-col-title,
.footer-title {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.work-process-con .step-number,
.work-process-con .process-number,
.work-process-con h3 {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-weight: 700;
    color: #8B3A3A;
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* ===== PREMIUM HOVER ===== */
.promotion-box1,
.product-card,
.review-card,
.stat-card-admin,
.metric-card,
.chart-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.promotion-box1:hover,
.product-card:hover,
.review-card:hover,
.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(139, 58, 58, 0.12);
}

.primary_btn,
.btn-admin-primary,
.btn-admin-secondary,
.desc-modal-buy-btn,
.secondary_btn {
    transition: background-color 0.25s ease, color 0.25s ease,
                transform 0.2s ease, box-shadow 0.25s ease;
}

.primary_btn:hover,
.btn-admin-primary:hover,
.desc-modal-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 58, 58, 0.25);
}

.main-menu a,
.footer-nav a {
    position: relative;
    transition: color 0.2s ease;
}

.main-menu a::after,
.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #D4A574;
    transition: width 0.25s ease;
}

.main-menu a:hover::after,
.footer-nav a:hover::after {
    width: 100%;
}

.promotion-box1 i {
    transition: color 0.25s ease, transform 0.25s ease;
}

.promotion-box1:hover i {
    color: #D4A574;
    transform: scale(1.1);
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== PREMIUM OVERRIDE (убираем AI-штампы) ===== */

/* 1. HOVER: убираем подъём карточек */
.promotion-box1:hover,
.product-card:hover,
.review-card:hover,
.metric-card:hover,
.chart-card:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
}

/* 2. HOVER кнопок: убираем translateY и тень */
.primary_btn:hover,
.btn-admin-primary:hover,
.btn-admin-secondary:hover,
.desc-modal-buy-btn:hover,
.secondary_btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 3. HOVER иконок: убираем scale */
.promotion-box1:hover i {
    transform: none !important;
}

/* 4. НАВИГАЦИЯ: убираем underline-анимацию */
.main-menu a::after,
.footer-nav a::after {
    display: none !important;
    content: none !important;
}

/* 5. SCROLL ANIMATIONS: только мягкий opacity, без translateY */
.animate-on-scroll {
    opacity: 0.85 !important;
    transform: none !important;
    transition: opacity 0.6s ease !important;
    will-change: opacity !important;
}

.animate-on-scroll.is-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* Отключаем для тех, у кого prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transition: none !important;
    }
}

/* 6. SPECIAL-TEXT: без декоративной линии */
.special-text::after,
.special-text::before {
    display: none !important;
    content: none !important;
}

/* 7. Заголовки: Manrope, но без сжатия */
h1, h2, h3,
.banner_content h1,
.heading-title-con h2 {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

/* 8. Убеждаемся, что Inter НЕ содержит Montserrat fallback */
body, p, span, a, li, button, input, textarea, select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* 9. КНОПКИ: прямоугольные углы */
.primary_btn,
.secondary_btn,
.btn-admin-primary,
.btn-admin-secondary,
.desc-modal-buy-btn {
    border-radius: 2px !important;
    letter-spacing: 0.4px;
}

/* 10. ВОЗДУХ: padding секций 110px */
.padding-top {
    padding-top: 110px !important;
}

.padding-bottom {
    padding-bottom: 110px !important;
}

@media (max-width: 991px) {
    .padding-top { padding-top: 80px !important; }
    .padding-bottom { padding-bottom: 80px !important; }
}

@media (max-width: 575px) {
    .padding-top { padding-top: 60px !important; }
    .padding-bottom { padding-bottom: 60px !important; }
}

/* ===== HERO (premium) ===== */

.banner-con {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Фон hero: градиент кирпич -> почти чёрный.
   Placeholder текст "ЗДЕСЬ ФОНОВОЕ ФОТО" должен читаться белым поверх. */
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #6B2A2A 0%, #3A1818 50%, #1A1A1A 100%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    pointer-events: none;
}

/* Изображение hero перекрывает фон и градиент */
.banner-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Тёмный overlay ПОВЕРХ фото для контраста текста */
.banner-con::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.60) 0%,
        rgba(0, 0, 0, 0.40) 50%,
        rgba(0, 0, 0, 0.20) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.banner-con .container {
    position: relative;
    z-index: 3;
}

/* Контент hero - по левому краю */
.banner_content {
    max-width: 720px;
    text-align: left;
    padding: 80px 0;
}

.welcome-text {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4A574;
    margin-bottom: 24px;
}

.banner_content h1 {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 0 0 28px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.banner_content p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 36px;
    max-width: 560px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Кнопка hero */
.banner_content .primary_btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #8B3A3A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 18px 40px;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.banner_content .primary_btn:hover {
    background: #D4A574;
    color: #1A1A1A;
}

@media (max-width: 767px) {
    .banner-con {
        min-height: 70vh;
    }

    .banner_content {
        text-align: center;
        padding: 60px 0;
    }

    .banner_content h1,
    .banner_content p {
        margin-left: auto;
        margin-right: auto;
    }

    .banner_content p {
        font-size: 16px;
    }

    .banner_content .primary_btn {
        padding: 16px 32px;
        width: 100%;
        justify-content: center;
    }

    .banner-bg {
        font-size: 12px;
        padding: 0 16px;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .banner_content {
        text-align: center;
        padding: 80px 0;
    }

    .banner_content h1,
    .banner_content p {
        margin-left: auto;
        margin-right: auto;
    }

    .banner_content .primary_btn {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== ADVANTAGES (карточки с фото) ===== */

.advantages-grid {
    margin-top: 40px;
}

.promotion-box1 {
    background-color: #FFFFFF;
    border: 1px solid #F0EAE3;
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease;
}

.promotion-box1:hover {
    box-shadow: 0 8px 24px rgba(139, 58, 58, 0.10);
}

.advantage-photo,
.advantage-photo-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    display: block;
    background-color: #F5F0EA;
}

.advantage-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8AFA6;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    padding: 16px;
}

.promotion-box1 h4 {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 20px 20px 8px;
    letter-spacing: -0.01em;
}

.promotion-box1 p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.55;
    margin: 0 20px 24px;
    flex: 1;
}

@media (min-width: 1200px) {
    .advantages-grid > [class*="col-lg-3"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991px) and (min-width: 577px) {
    .advantages-grid > [class*="col-md-6"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .advantages-grid > [class*="col-sm-12"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.promotion-box1 > i {
    display: none;
}

/* ===== PRODUCT PAGE ===== */
.breadcrumbs {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 32px;
}

.breadcrumbs a {
    color: #8B3A3A;
    text-decoration: none;
}

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

.breadcrumbs span {
    margin: 0 8px;
}

.breadcrumbs .current {
    color: #666;
}

.product-detail {
    align-items: center;
}

.product-detail-photo {
    background: #FAF6F1;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.product-detail-photo img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 6px;
}

.product-detail-placeholder {
    aspect-ratio: 1;
    background: #F0EAE3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8AFA6;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
}

.product-detail-title {
    font-family: 'Manrope', -apple-system, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.product-detail-price {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #8B3A3A;
    margin-bottom: 24px;
}

.product-detail-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #444;
    margin-bottom: 32px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.product-detail-buy {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #8B3A3A;
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.25s ease;
    margin-bottom: 20px;
}

.product-detail-buy:hover {
    background: #6B2A2A;
}

.product-detail-contacts {
    margin-top: 16px;
}

.product-detail-phone {
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.product-detail-phone:hover {
    color: #8B3A3A;
}

@media (max-width: 991px) {
    .product-detail-photo {
        margin-bottom: 32px;
    }
}

.desc-modal-photo-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #F5F0EA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8AFA6;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
}

/* Убираем диагональные полоски с плейсхолдеров */
.placeholder {
    background: #F5F5F5 !important;
    background-image: none !important;
    color: #B8AFA6 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    border: 1px solid #EEEEEE !important;
}

/* display управляется inline-стилями / классами из шаблона */
.placeholder:not([style*="display: none"]):not([style*="display:none"]) {
    display: flex !important;
}

.admin-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.admin-breadcrumbs a {
    color: #8B3A3A;
    text-decoration: none;
}
.admin-breadcrumbs a:hover { text-decoration: underline; }
.admin-breadcrumbs .sep { color: #CCC; }
.admin-breadcrumbs .current { color: #1A1A1A; font-weight: 500; }

.admin-table tbody tr {
    transition: background-color 0.15s ease;
}
.admin-table tbody tr:hover {
    background-color: #FAF6F1;
}
.admin-table th,
.admin-table td {
    padding: 14px 16px;
}

.requests-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.filter-input {
    flex: 1;
    min-width: 240px;
    padding: 10px 16px;
    border: 1px solid #E5E0DA;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: #FFF;
    transition: border-color 0.2s ease;
}
.filter-input:focus {
    outline: none;
    border-color: #8B3A3A;
}
.filter-select {
    padding: 10px 16px;
    border: 1px solid #E5E0DA;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: #FFF;
    cursor: pointer;
}
.filter-select:focus {
    outline: none;
    border-color: #8B3A3A;
}

.smtp-info {
    background: #FAF6F1;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.smtp-row {
    display: flex;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #F0EAE3;
}
.smtp-row:last-child { border-bottom: none; }
.smtp-key {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #8B3A3A;
    min-width: 180px;
    flex-shrink: 0;
}
.smtp-desc {
    font-size: 13px;
    color: #666;
}

/* DASHBOARD */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}
@media (max-width: 1199px) { .dashboard-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .dashboard-cards { grid-template-columns: 1fr; } }

.dash-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0EAE3;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: box-shadow 0.2s ease;
}
.dash-card:hover {
    box-shadow: 0 6px 20px rgba(139, 58, 58, 0.08);
}
.dash-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #FAF0EC;
    color: #8B3A3A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.dash-card-content { flex: 1; min-width: 0; }
.dash-card-label {
    font-size: 13px; color: #888;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.dash-card-value {
    font-family: 'Manrope', sans-serif;
    font-size: 32px; font-weight: 800;
    color: #1A1A1A; line-height: 1; margin-bottom: 8px;
}
.dash-card-sub { font-size: 12px; }
.dash-card-today { color: #2E7D32; font-weight: 600; }
.dash-card-yesterday { color: #999; margin-left: 8px; }

.dashboard-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
@media (max-width: 991px) { .dashboard-row { grid-template-columns: 1fr; } }

.dash-chart-card,
.dash-recent-card {
    background: #FFFFFF; border-radius: 12px; padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #F0EAE3;
}
.dash-chart-card h3,
.dash-recent-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 16px; font-weight: 700;
    color: #1A1A1A; margin: 0 0 20px;
}
.dash-recent-list {
    display: flex; flex-direction: column;
    gap: 12px; margin-bottom: 20px;
}
.dash-recent-item {
    padding: 12px 0;
    border-bottom: 1px solid #F5F0EA;
}
.dash-recent-item:last-child { border-bottom: none; }
.dash-recent-head {
    display: flex; justify-content: space-between; margin-bottom: 4px;
}
.dash-recent-name { font-weight: 600; color: #1A1A1A; font-size: 14px; }
.dash-recent-date { font-size: 12px; color: #999; }
.dash-recent-body { font-size: 13px; color: #666; }
.dash-recent-all {
    display: inline-block; color: #8B3A3A;
    font-weight: 600; font-size: 14px;
    text-decoration: none; margin-top: 8px;
}
.dash-recent-all:hover { color: #6B2A2A; }

.request-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}
.request-status-badge.snoozed {
    background: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEBA8;
}

.copyright-info p {
    color: #888;
    font-size: 13px;
    margin: 8px 0 0;
    text-align: center;
}

@media (max-width: 767px) {
    .admin-table {
        display: block;
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    .admin-table thead {
        display: none;
    }
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .admin-table tr {
        background: #FFFFFF;
        border: 1px solid #F0EAE3;
        border-radius: 12px;
        margin-bottom: 16px;
        padding: 12px 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    .admin-table td {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 6px 0;
        border: none;
        font-size: 14px;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }
    .admin-table td::before {
        content: attr(data-label);
        flex: 0 0 90px;
        font-weight: 600;
        color: #888;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        padding-top: 2px;
        position: static;
    }
    .admin-table td:last-child {
        flex-direction: column;
        align-items: stretch;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid #F0EAE3;
    }
    .admin-table td:last-child::before {
        display: none;
    }
    .admin-table td.text-nowrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .admin-table td.text-nowrap > form {
        width: 100%;
        display: block;
        margin: 0;
    }
    .admin-table td.text-nowrap > form > button,
    .admin-table td.text-nowrap > button,
    .admin-table td.text-nowrap .btn-admin-primary,
    .admin-table td.text-nowrap .btn-admin-secondary,
    .admin-table td.text-nowrap .btn-admin-danger {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .admin-table td::before { font-size: 11px; }
}

button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible),
.navbar-toggler:focus,
.navbar-toggler:active,
#button:focus,
#button:active,
.primary_btn:focus,
.primary_btn:active,
.secondary_btn:focus,
.secondary_btn:active,
.btn-admin-primary:focus,
.btn-admin-primary:active,
.btn-admin-secondary:focus,
.btn-admin-secondary:active,
.btn-admin-danger:focus,
.btn-admin-danger:active,
.mobile-menu-close:focus,
.mobile-menu-close:active,
.desc-modal-close:focus,
.desc-modal-close:active {
    outline: none !important;
    box-shadow: none !important;
}

button, a, .btn, .navbar-toggler, .mobile-menu-close {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible {
    outline: 2px solid #8B3A3A;
    outline-offset: 2px;
}

.btn-admin-primary:disabled,
.btn-admin-secondary:disabled,
.btn-admin-danger:disabled,
.btn-admin-primary[disabled],
.btn-admin-secondary[disabled],
.btn-admin-danger[disabled] {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    background-color: #CCCCCC !important;
    color: #666666 !important;
    border-color: #CCCCCC !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none;
}

/* Адаптивность и кросс-платформенность */
@media (max-width: 767px) {
    input[type="text"], input[type="tel"], input[type="email"],
    input[type="password"], input[type="number"],
    textarea, select, .form-control {
        font-size: 16px !important;
    }
}

@supports (height: 100dvh) {
    #preloader,
    .mobile-menu-panel {
        height: 100dvh;
    }
}

* {
    -webkit-tap-highlight-color: transparent;
}

button, a, .btn, .primary_btn {
    touch-action: manipulation;
}

.error-404 {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1A0A0A;
    isolation: isolate;
}

.error-404__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: brick-collapse 2.4s cubic-bezier(0.25, 0.9, 0.35, 1) forwards;
    transform-origin: 50% 0%;
}

@keyframes brick-collapse {
    0%   { transform: translateY(-100%) scale(1.05); opacity: 0; filter: blur(6px); }
    35%  { opacity: 1; filter: blur(0); }
    60%  { transform: translateY(4%) scale(1.01); }
    80%  { transform: translateY(-1%) scale(1); }
    100% { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
}

.error-404::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(180,180,180,0.7) 50%, transparent 51%),
        radial-gradient(1px 1px at 60% 20%, rgba(150,150,150,0.6) 50%, transparent 51%),
        radial-gradient(2px 2px at 80% 40%, rgba(200,200,200,0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 35% 60%, rgba(170,170,170,0.6) 50%, transparent 51%),
        radial-gradient(2px 2px at 70% 70%, rgba(190,190,190,0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 15% 80%, rgba(160,160,160,0.6) 50%, transparent 51%);
    background-size: 100% 100%;
    animation: dust-fall 3s ease-in-out 0.6s forwards;
    opacity: 0;
}

@keyframes dust-fall {
    0%   { opacity: 0; transform: translateY(-30px); }
    20%  { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(60px); }
}

.error-404__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 60px 20px;
    max-width: 640px;
    animation: content-appear 1s ease-out 1.2s both;
}

@keyframes content-appear {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.error-404__code {
    font-size: clamp(72px, 14vw, 160px);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 16px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,0.7), 4px 4px 0 rgba(0,0,0,0.4);
    letter-spacing: 4px;
}

.error-404__text {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    margin: 0 0 12px;
    color: #f0f0f0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.error-404__hint {
    font-size: clamp(14px, 1.8vw, 16px);
    color: #c8c8c8;
    margin: 0 0 32px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

.error-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.error-404__actions .primary_btn {
    min-width: 200px;
    text-align: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .error-404 { min-height: 70vh; }
    .error-404__actions { flex-direction: column; align-items: stretch; }
    .error-404__actions .primary_btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .error-404__svg,
    .error-404__content,
    .error-404::before {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

.notification-channels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.notification-channel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.notification-channel.is-enabled {
    background: #F0F9F0;
    color: #2E7D32;
    border-left: 3px solid #4CAF50;
}

.notification-channel.is-disabled {
    background: #FDF0EF;
    color: #C9302C;
    border-left: 3px solid #D9534F;
}

.notification-channel__name { font-weight: 600; }

.notification-channel__reason {
    font-size: 13px;
    color: #999;
    margin-left: auto;
}

.notification-channel__status {
    font-size: 13px;
    margin-left: auto;
    opacity: 0.8;
}

.promo-hint {
    margin-top: 24px;
    padding: 20px;
    background: #FAF6F1;
    border-radius: 12px;
    border-left: 4px solid #D4A574;
    text-align: center;
}
.promo-hint p {
    margin: 0 0 12px;
    color: #666;
    font-size: 15px;
}
.promo-hint__code {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px dashed #8B3A3A;
}
.promo-hint__code span {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #8B3A3A;
    letter-spacing: 2px;
}
.promo-hint__copy {
    background: #8B3A3A;
    color: #FFFFFF;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.promo-hint__copy:hover {
    background: #6B2A2A;
}
@media (max-width: 767px) {
    .promo-hint__code {
        flex-direction: column;
        width: 100%;
    }
    .promo-hint__copy {
        width: 100%;
        justify-content: center;
    }
}
