/* === Базовые настройки и переменные === */
:root {
    --brand-primary: #8b6f47;
    --brand-dark: #3a2a1a;
    --brand-light: #f5efe6;
    --text-main: #333;
    --text-muted: #666;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 80px;
    font-family: Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.5;
    background: var(--brand-light);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* === Меню (десктоп) === */
.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 9999;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 0 0 16px 16px; /* Скругление только нижних углов шапки */
    margin-bottom: 24px;          /* Отступ снизу, чтобы отделить от слайдера */
    /* ФИКС: было overflow: hidden — оно обрезало выпадающие меню
       профиля и корзины по границе шапки. Теперь они видны целиком. */
    overflow: visible;
}

/* === Верхняя строка меню: корзина + профиль === */
.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    order: 2;
    z-index: 10;
    border-radius: 0 0 16px 16px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    order: 1;
    flex: 1;
}

.menu-list li {
    margin: 0;
    padding: 0;
}

.menu-list a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 24px;
    border: 2px solid #8b6f47;
    border-radius: 50px;
    background-color: #fff;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-block;
}

.menu-list a:hover,
.menu-list a.active {
    background-color: #8b6f47;
    color: #fff;
}

/* === Двойная кнопка авторизации === */
.auth-dual-btn {
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 2px solid #8b6f47 !important;
    border-radius: 50px !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
    width: auto !important;
    box-sizing: border-box !important;
}

.auth-part {
    text-decoration: none !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: Arial, sans-serif !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
    background-color: transparent !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    display: block !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.auth-part + .auth-part {
    border-left: 1px solid #ccc !important;
}

.auth-part:hover {
    background-color: #8b6f47 !important;
    color: #fff !important;
}

/* === Иконка пользователя с выпадающим меню === */
.user-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #8b6f47;
    color: #8b6f47;
    font-size: 17px;
    font-weight: 700;
    font-family: Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    padding: 0;
}

.user-avatar:hover {
    background: #8b6f47;
    color: #fff;
}

/* Фото-аватар в шапке: обрезаем в круг по контейнеру .user-avatar */
.user-avatar {
    overflow: hidden;
}

.user-avatar .user-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 10002;
    padding: 8px 0;
}

/* Открытое меню профиля (JS добавляет класс .open) */
.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.user-dropdown-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.user-dropdown-email {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 2px;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-dropdown-item:hover {
    background: #f9f6f0;
    color: #8b6f47;
}

.user-dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0;
}

.user-dropdown-logout {
    color: #c0392b;
}

.user-dropdown-logout:hover {
    background: #fdf2f2;
    color: #c0392b;
}

/* === Гамбургер === */
.hamburger {
    display: none;
    position: fixed;
    left: 16px;
    top: 25px;
    z-index: 10001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: #8b6f47;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hamburger:hover span { background-color: #6d5939; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

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

.menu-backdrop.backdrop-visible {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* === Основной контент === */
.page-content {
    padding-top: 24px;
    padding-bottom: 40px;
}

/* === Магазин: сетка и карточки === */
.shop-container { padding: 24px; max-width: 1200px; margin: 0 auto; }
.products-grid {
    display: grid;
    gap: 20px;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .products-grid {
        max-width: 1200px;
        margin: 0 auto;
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 600px) and (max-width: 1023px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 599px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.vk-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
.vk-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}
.vk-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #fafafa;
}
.vk-card-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 10;
}
.badge-new { background-color: #3498db; }
.badge-hit { background-color: #d93025; }
.vk-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.vk-card-title { margin: 0 0 8px 0; font-size: 17px; line-height: 1.3; color: #2c3e50; }
.vk-card-desc { margin: 0 0 16px 0; font-size: 14px; color: #555; line-height: 1.4; flex: 1; }
.vk-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.vk-price { font-size: 18px; font-weight: 700; color: #2c3e50; }
.vk-btn-buy {
    background-color: transparent;
    color: #8b6f47;
    border: 2px solid #8b6f47;
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
    display: inline-block;
}
.vk-btn-buy:hover { background-color: #8b6f47; color: #fff; }

/* === Секция «Хиты продаж» === */
.hits-of-sales {
    max-width: 1200px;
    margin: 48px auto;
    padding: 0 16px;
}

/* === Блок способов доставки === */
.delivery-methods {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
}
.delivery-grid {
    display: grid;
    gap: 20px;
    padding: 0 16px;
}
@media (min-width: 1024px) {
    .delivery-grid {
        max-width: 1200px;
        margin: 0 auto;
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 600px) and (max-width: 1023px) {
    .delivery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
    .delivery-grid { grid-template-columns: 1fr; }
}
.delivery-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.delivery-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.delivery-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.delivery-icon svg { display: inline-block; vertical-align: middle; }
.delivery-name { color: #333; font-size: 1.25rem; margin: 0 0 10px 0; }
.delivery-desc { color: #666; font-size: 0.95rem; line-height: 1.4; margin: 0 0 16px 0; }
.delivery-price {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* === Общие контейнеры === */
.content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.builder-options-wrapper {
    background-color: #eef2f7;
    border: 1px solid #b8cfe5;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
}
.builder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.option-group h3 { margin: 0 0 12px 0; color: #2c3e50; font-size: 16px; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.option-btn {
    border: 1px solid #ccc;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}
.option-btn:hover { border-color: #8b6f47; background: #faf7f2; }
.option-btn.selected { border-color: #8b6f47; background: #f9f6f0; color: #5a4630; }

/* === Страница оферты === */
.offer-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
}
.offer-title {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    color: #2c2c2c;
    margin-bottom: 10px;
    border-bottom: 3px solid #8b6f47;
    padding-bottom: 12px;
    display: inline-block;
}
.offer-subtitle { color: #666; font-size: 1rem; margin-bottom: 30px; letter-spacing: 0.5px; }
.offer-section { margin-bottom: 35px; line-height: 1.7; }
.offer-section h3 {
    color: #3a3a3a;
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}
.offer-section h3::before { content: "\2022"; color: #8b6f47; font-weight: bold; position: absolute; left: 0; top: 4px; }
.offer-highlight {
    background-color: #f9f7f4;
    padding: 18px;
    border-left: 5px solid #8b6f47;
    margin: 20px 0;
    font-style: italic;
    color: #4a4a4a;
}
.offer-terms-list { list-style: none; padding: 0; }
.offer-terms-list li {
    position: relative;
    padding: 8px 0 8px 26px;
    border-bottom: 1px dashed #eee;
    color: #555;
}
.offer-terms-list li::before { content: "\2714"; position: absolute; left: 0; top: 8px; color: #8b6f47; font-size: 14px; }
.offer-terms-list li:last-child { border-bottom: none; }
.offer-contacts { text-align: center; margin-top: 40px; padding: 20px; background-color: #f9f9f9; border-radius: 6px; }
.offer-contacts-title { margin: 0; font-weight: 600; font-size: 15px; color: #333; }
.offer-contacts-info { margin: 8px 0 0; font-size: 14px; color: #555; }
.offer-contacts-info a { color: #8b6f47; text-decoration: none; }
.offer-contacts-info a:hover { text-decoration: underline; }
.offer-contacts-btn { margin-top: 16px; }
.btn-offer-pdf {
    text-decoration: none;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 24px;
    border: 2px solid #8b6f47;
    border-radius: 50px;
    background-color: #fff;
    transition: all 0.25s ease;
    white-space: nowrap;
    display: inline-block;
    line-height: 1.4;
}
.btn-offer-pdf:hover { background-color: #8b6f47; color: #fff; }

/* === СОЦИАЛЬНЫЕ КНОПКИ === */
.social-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border: 1px solid #444;
}
.social-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    fill: currentColor;
    transition: color 0.25s ease;
}
.social-btn:hover { background: #333; border-color: #555; transform: translateY(-1px); }
.social-btn--vk:hover .social-icon { color: #0077FF; }
.social-btn--ok:hover .social-icon { color: #EE8208; }
.social-btn--rutube:hover .social-icon { color: #ED143B; }
.social-btn--max:hover .social-icon { color: #5533EE; }

/* === ПОДВАЛ САЙТА === */
.site-footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 48px 0 24px;
    margin-top: 64px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-title { color: #fff; font-size: 18px; margin-bottom: 16px; }
.footer-text { font-size: 14px; line-height: 1.5; color: #ccc; }
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-list li { color: #ccc; font-size: 14px; }
.footer-link { color: #ccc; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
    text-align: center;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 14px;
}

/* === Реквизиты ИП в подвале (для проверки оператором sms.ru) === */
.footer-legal {
    grid-column: 1 / -1; /* отдельная строка на всю ширину сетки подвала */
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

/* === Сброс пароля === */
.reset-password-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.reset-password-container {
    max-width: 440px;
    width: 100%;
    padding: 36px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.reset-password-title {
    text-align: center;
    font-size: 28px;
    color: #8b6f47;
    margin: 0 0 8px 0;
    line-height: 1.2;
}
.reset-password-subtitle {
    text-align: center;
    color: #666;
    font-size: 15px;
    margin: 0 0 28px 0;
    line-height: 1.5;
}
.reset-password-form .form-group { margin-bottom: 22px; }
.reset-password-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.reset-password-form .form-label.required::after {
    content: '*';
    color: #8b6f47;
    margin-left: 4px;
}
.reset-password-form .input-styled {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background: #fafafa;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.reset-password-form .input-styled:focus {
    outline: none;
    border-color: #8b6f47;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.15);
}
.reset-password-form .btn-submit {
    width: 100%;
    padding: 14px;
    border: 2px solid #8b6f47;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    cursor: pointer;
    background: #fff;
    color: #8b6f47;
    transition: all 0.25s ease;
}
.reset-password-form .btn-submit:hover { background: #8b6f47; color: #fff; }
.reset-password-form .btn-submit:active { transform: scale(0.99); }
.reset-password-flash {
    padding: 14px 18px;
    border-radius: 8px;
    background: #fdf2f2;
    color: #721c24;
    border: 1px solid #f5c6cb;
    font-size: 14px;
    margin-bottom: 20px;
}
.reset-password-footer { margin-top: 24px; text-align: center; }
.reset-password-footer a {
    color: #8b6f47;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.reset-password-footer a:hover { color: #6a5637; text-decoration: underline; }

/* === Профиль, корзина, заказы === */
.profile-card { border: 1px solid #e0e0e0; padding: 20px; border-radius: 8px; background: #fff; margin-bottom: 24px; }
.cart-list { list-style: none; padding: 0; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
.cart-total { font-size: 18px; font-weight: 700; margin: 12px 0; }
.orders-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.orders-table th, .orders-table td { padding: 10px; border: 1px solid #ddd; }
.orders-table thead tr { background: #f9f9f9; }
.text-right { text-align: right; }
.notice.warning { color: #c0392b; font-size: 14px; }

/* === КОРЗИНА: круглая иконка + выпадающее меню === */
.cart-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.cart-icon-btn {
    background: #fff;
    border: 2px solid var(--brand-primary);
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    transition: all 0.25s ease;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}
.cart-icon-btn:hover { background: var(--brand-primary); color: #fff; }
.cart-icon-btn.cart-bump { animation: cartBump 0.3s ease; }
@keyframes cartBump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #d93025;
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    padding: 0 4px;
    box-sizing: content-box;
}
.cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 300px;
    max-width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 10003;
    max-height: 480px;
    overflow-y: auto;
}
.cart-dropdown.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.cart-title { margin: 0; font-size: 17px; font-weight: 700; color: var(--brand-dark); }
.cart-items-count { font-size: 13px; color: var(--text-muted); }
.cart-items-list { list-style: none; padding: 0; margin: 0 0 12px 0; max-height: 280px; overflow-y: auto; }
.cart-item { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #faf6f0; }
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: 14px; color: var(--brand-dark); line-height: 1.3; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-info span { font-size: 12px; color: var(--text-muted); }
.cart-remove-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 4px 6px;
    margin-left: 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.cart-remove-btn:hover { color: #d32f2f; background: #fdf2f2; }
.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.2s;
    line-height: 1;
}
.cart-item-remove:hover { color: #d93025; }
.cart-empty-state { text-align: center; color: var(--text-muted); font-size: 14px; padding: 24px 0; }
.cart-footer { padding-top: 10px; border-top: 1px solid #f0f0f0; }
.cart-total { text-align: right; font-size: 15px; font-weight: 600; color: var(--brand-dark); margin-bottom: 10px; }
.cart-total b { font-size: 17px; }
.cart-checkout-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--brand-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.25s ease;
}
.cart-checkout-btn:hover { background: var(--brand-dark); }

/* Сетка оформления заказа */
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.checkout-items h2 { font-size: 20px; color: #333; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.cart-item-name { font-weight: 600; color: #222; line-height: 1.3; }
.cart-item-qty { color: #888; font-size: 14px; margin-left: 8px; }
.cart-item-price { font-weight: 700; color: #8b6f47; white-space: nowrap; }
.cart-total { margin-top: 20px; font-size: 22px; font-weight: 700; text-align: right; color: #333; padding: 16px 0; border-top: 2px solid #eee; }

/* Форма оформления */
.checkout-form-box h2 { font-size: 20px; color: #333; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 8px; }
.checkout-form-box label { display: block; margin-top: 16px; font-weight: 500; color: #444; }
.checkout-form-box input,
.checkout-form-box textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}
.checkout-form-box input:focus,
.checkout-form-box textarea:focus { outline: none; border-color: #8b6f47; }
.checkout-form-box textarea { resize: vertical; min-height: 90px; }
.vk-btn-buy[style*="width:100%"] { margin-top: 24px; }
.checkout-empty-state { text-align: center; padding: 40px 20px; background: #fafafa; border-radius: 8px; }
.checkout-empty-state p { color: #666; margin-bottom: 20px; }

/* === МОДАЛЬНЫЕ ОКНА (общие) === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10010;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.modal-window {
    background: #fff;
    padding: 32px;
    max-width: 560px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    position: relative;
    transform: translateY(-10px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.modal-overlay.active .modal-window {
    transform: translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 10;
}
.modal-close-btn:hover { color: #333; }
.modal-title {
    margin: 0 0 18px 0;
    font-size: 22px;
    color: var(--brand-dark);
}
.modal-body {
    line-height: 1.5;
    color: #444;
}
.modal-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.btn-primary {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--brand-primary);
    background: transparent;
    color: var(--brand-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-primary:hover {
    background: var(--brand-primary);
    color: #fff;
}
.btn-secondary {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-secondary:hover {
    border-color: #aaa;
    background: #e8e8e8;
}

/* === УВЕДОМЛЕНИЯ (flash-сообщения) === */
.flash-container {
    position: fixed;
    top: 80px; /* под меню */
    right: 16px;
    z-index: 10020;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.flash-message {
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.3s ease forwards;
    position: relative;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.flash-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}
.flash-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}
.flash-warning {
    background-color: #fff3e0;
    color: #ef6c00;
    border-left: 4px solid #ef6c00;
}
.flash-info {
    background-color: #e3f2fd;
    color: #0d47a1;
    border-left: 4px solid #0d47a1;
}
.flash-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.flash-close:hover { opacity: 1; }

/* === Уведомления (alert) — единый блок === */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}
.alert-danger {
    background-color: #fdf2f2;
    color: #b00020;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-info {
    background-color: #f0f8ff;
    color: #0c5460;
    border: 1px solid #b8daff;
}
.alert-warning {
    background-color: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ef6c00;
}

/* === Адаптив: десктоп === */
@media (min-width: 769px) {
    .top-bar { height: 80px; }
    .menu-list {
        display: flex;
        flex-direction: row;
        gap: 14px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    .hamburger, .menu-backdrop { display: none !important; }
    .user-menu-wrapper:hover .user-dropdown,
    .user-menu-wrapper:focus-within .user-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .cart-dropdown-wrapper:hover .cart-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* === Адаптив: мобильные === */
@media (max-width: 768px) {
    body { padding-top: 70px; }
    .top-bar {
        height: 70px;
        padding-right: 16px;
        flex: 1;
        justify-content: flex-end;
    }
    .top-bar-right { gap: 8px; }
    .main-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 9999;
    }
    .menu-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: #fff;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px;
        gap: 8px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
        z-index: 10001;
    }
    .menu-list.menu-open { transform: translateX(0); }
    .menu-list li { width: 100%; }
    .menu-list a {
        display: block;
        padding: 12px 18px;
        border: 2px solid #8b6f47;
        border-radius: 50px;
        font-size: 15px;
        font-weight: 500;
        color: #333;
        background: #fff;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        transition: all 0.25s ease;
    }
    .menu-list a:hover, .menu-list a.active { background-color: #8b6f47; color: #fff; }
    .hamburger {
        display: flex;
        position: fixed;
        left: 16px;
        top: 20px;
        z-index: 10002;
    }
    .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        pointer-events: none;
    }
    .menu-backdrop.backdrop-visible { opacity: 1; visibility: visible; pointer-events: all; }
    .cart-dropdown, .user-dropdown { z-index: 10003; }
    .user-dropdown.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .cart-dropdown {
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        min-width: auto;
        max-width: none;
        border-radius: 8px;
        padding: 12px;
    }
    .cart-dropdown-header h3 { font-size: 16px; }
    .cart-icon-btn { width: 44px; height: 44px; }
    .user-avatar { width: 44px; height: 44px; font-size: 18px; }
    .user-dropdown {
        position: fixed;
        top: 70px;
        right: 0;
        left: 0;
        min-width: auto;
        width: calc(100% - 32px);
        max-width: 320px;
        margin: 0 auto;
    }
    .auth-dual-btn {
        width: auto !important;
        flex-direction: row !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    .auth-part { flex: none !important; padding: 10px 16px !important; font-size: 13px !important; }
    .content-wrapper { padding: 0 16px; }
    .shop-container,
    .delivery-methods { padding: 16px; }
    .hits-of-sales { margin: 32px auto; padding: 0 8px; }
    .products-grid,
    .delivery-grid {
        grid-template-columns: 1fr;
        padding: 0 8px;
    }
    .builder-options-wrapper { padding: 16px; }
    .builder-grid { grid-template-columns: 1fr; }
    .offer-container { max-width: 100%; margin: 20px auto; padding: 20px; }
    .social-row { flex-direction: column; align-items: stretch; }
    .social-btn { justify-content: flex-start; }
    .footer-container { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-col { align-items: center; }
    .reset-password-wrapper { min-height: calc(100vh - 70px); padding: 16px; }
    .reset-password-container { padding: 28px 20px; }
    .reset-password-title { font-size: 24px; margin-bottom: 12px; }
    .reset-password-subtitle { font-size: 14px; margin-bottom: 20px; }
    .reset-password-form .btn-submit { padding: 12px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .orders-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .orders-table thead,
    .orders-table tbody,
    .orders-table tr,
    .orders-table th,
    .orders-table td {
        white-space: nowrap;
    }
    .modal-window { width: 95%; padding: 20px; }
}

@media (max-width: 600px) {
    .offer-container { margin: 15px; padding: 20px; }
    .offer-title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .vk-card-image-wrapper { height: 180px; }
}

/* === Фикс: на узких десктопах меню не должно вылезать за край === */
@media (min-width: 769px) and (max-width: 1100px) {
    .main-menu {
        padding: 0 12px;
        box-sizing: border-box;
    }
    .menu-list {
        gap: 6px;
        min-width: 0;
        flex-wrap: nowrap;
    }
    .menu-list a {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    .top-bar-right {
        gap: 6px;
    }
    .auth-part {
        padding: 8px 12px !important;
    }
}

/* === Страница «О мастерской» === */
.about-workshop .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-workshop .section-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 32px;
    color: #333;
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.about-workshop p {
    text-indent: 1.5em;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 1.2em;
    color: #444;
}

@media (max-width: 768px) {
    .about-workshop p {
        text-indent: 0;
        line-height: 1.6;
        font-size: 15px;
    }
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: block;
}

.team-section,
.values-section,
.custom-furniture-section {
    margin-bottom: 56px;
}

.team-section h2,
.values-section h2,
.custom-furniture-section h2 {
    margin-bottom: 20px;
    color: #3a2a1a;
    font-size: 1.6rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5em 0 0 0;
}

.features-list li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 12px;
    color: #3a2a1a;
    text-indent: 0;
    line-height: 1.5;
}

.features-list li::before {
    content: "\2705";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.value-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.value-card h3 {
    margin: 0 0 12px;
    color: #8b6f47;
    font-size: 1.15rem;
}

.value-card p {
    margin: 0;
    color: #555;
    line-height: 1.55;
    font-size: 15px;
    text-indent: 0;
}

.about-final {
    text-indent: 0;
    text-align: center;
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-top: 40px;
    padding: 24px;
    background: #f9f6f0;
    border-radius: 12px;
}

/* === Главная: «О студии и процессе» — текст + видео === */
.about-video-section { padding: 40px 0; }

.about-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.about-video-text p {
    line-height: 1.6;
    color: #444;
    margin: 0 0 12px;
}

.video-col {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #000;
    width: 100%;
}

.video-col iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Мобильные: текст сверху, видео под ним по центру на всю ширину */
@media (max-width: 768px) {
    .about-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .video-col {
        max-width: 640px;
        margin: 0 auto;
        width: 100%;
    }
}

/* === Стили авторизации: регистрация и вход (клиент) === */
.auth-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 32px;
    border: 2px solid var(--brand-primary);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.auth-title {
    text-align: center;
    color: var(--brand-primary);
    font-size: 28px;
    margin-bottom: 28px;
    line-height: 1.2;
}

/* --- Страница выбора способа регистрации --- */
.auth-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.auth-option {
    border: 1px solid #e0dcd5;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.auth-option-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.auth-option h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.auth-option-desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: #888;
    line-height: 1.4;
    flex: 1; /* описание растягивается, кнопки выравниваются по низу */
}

.auth-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 24px;
    font-size: 14px;
    line-height: 1.3;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: normal; /* текст кнопки переносится на 2 строки, не распирает карточку */
}

.auth-btn--outline {
    border: 1px solid #b98d5f;
    color: #7a5c3e;
    background: transparent;
}

.auth-btn--outline:hover {
    background: #b98d5f;
    color: #fff;
    border-color: #b98d5f;
}

.auth-btn--solid {
    border: none;
    color: #fff;
    background: #b98d5f;
}

.auth-btn--solid:hover {
    background: #fff;
    color: #7a5c3e;
}

.auth-form .form-group { margin-bottom: 20px; }

.input-styled {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background-color: #fafafa;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-styled:focus {
    outline: none;
    border-color: var(--brand-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.15);
}

.btn-register {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--brand-primary);
    border-radius: 50px;
    background-color: #fff;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

.btn-register:active {
    transform: scale(0.98);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.auth-footer a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover { text-decoration: underline; }

/* --- Мобильная версия страниц авторизации --- */
@media (max-width: 520px) {
    .auth-page-wrapper {
        min-height: auto;
        padding: 16px;
    }

    .auth-card {
        max-width: 480px;
        margin: 20px auto;
        padding: 24px 16px;
    }

    .auth-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Колонки складываются в одну — кнопкам хватает места */
    .auth-options {
        grid-template-columns: 1fr;
    }

    .auth-btn {
        padding: 14px 16px;
        font-size: 15px;
    }
}

/* === Контейнер для входа (на весь экран) === */
.admin-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.login-container-full {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border: 2px solid #8b6f47;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 12px;
}

/* === Личный кабинет: боковая навигация === */
.lk-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.profile-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    position: sticky;
    top: 100px;
}

.profile-sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 16px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.profile-sidebar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-primary, #8b6f47);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-sidebar-name {
    font-size: 13px;
    color: #555;
    word-break: break-all;
}

.profile-menu-list { list-style: none; margin: 0; padding: 0; }

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}

.profile-menu-item:hover { background: #f9f6f0; color: #8b6f47; }
.profile-menu-item.active {
    background: var(--brand-light, #fbf8f2);
    color: #5a4630;
    font-weight: 600;
}

/* Основной контент ЛК (правая колонка) */
.profile-main-content {
    flex: 1;
    min-width: 0;
}

.profile-main-content h1 {
    margin-top: 0;
    color: var(--brand-dark, #3a2a1a);
}

.profile-main-content .text-muted {
    color: var(--text-muted, #666);
    font-size: 14px;
}

@media (max-width: 768px) {
    .lk-layout { flex-direction: column; gap: 20px; }
    .profile-sidebar { width: 100%; position: static; }
}

/* === Настройки аккаунта: карточки и форма === */
.settings-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    max-width: 640px;
}

.settings-card h2 {
    margin-top: 0;
    font-size: 20px;
    color: var(--brand-dark, #3a2a1a);
}

.settings-card-hint {
    color: #777;
    font-size: 14px;
    margin-top: -8px;
    margin-bottom: 16px;
}

.settings-actions {
    margin-top: 8px;
    margin-bottom: 24px;
}

/* Поля Symfony-формы на странице настроек */
.settings-form .form-group,
.settings-form > div {
    margin-bottom: 16px;
}

.settings-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.settings-form input,
.settings-form select,
.settings-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background: #fafafa;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #222;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.15);
}

/* Кнопка сохранения в стиле сайта */
.settings-form button[type="submit"] {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--brand-primary);
    border-radius: 50px;
    background: #fff;
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 15px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}

.settings-form button[type="submit"]:hover {
    background: var(--brand-primary);
    color: #fff;
}

.settings-form button[type="submit"]:active {
    transform: scale(0.99);
}

/* Ошибки валидации Symfony Forms */
.settings-form ul.errors,
.settings-form .invalid-feedback,
.settings-form .form-error {
    color: #c0392b;
    font-size: 13px;
    margin: 4px 0 0;
    padding-left: 18px;
}

.settings-form .form-group.has-error input,
.settings-form .form-group.has-error select,
.settings-form div.has-error input {
    border-color: #c0392b;
    background: #fdf6f6;
}
.hero-slider {
  position: relative;
}
