/* static/css/style.css */

/* Подключение винтажных шрифтов */
@import url("../vendor/fonts/fonts.d2ba7feea950.css");   /* свои файлы, см. tools/build_fonts.py */

/* ==================== ОСНОВНЫЕ СТИЛИ ==================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==================== СТИЛИ ДЛЯ HERO СЕКЦИИ ==================== */
.hero-section {
    position: relative;
    background-image: url("/static/images/hero-bouquet.66e65c97ca06.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(140, 74, 91, 0.3);
    z-index: 1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: fantasy, 'Great Vibes', cursive;
    font-size: 5.5rem;
    color: var(--ink);
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;  /* Ширина вашего вензеля */
    height: 300px; /* Высота вашего вензеля */
    background-image: url("/static/images/venzel.e174d843ec67.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    z-index: 4;
    pointer-events: none;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    height: 300px;
    background-image: url("/static/images/venzel.e174d843ec67.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    z-index: 4;
    pointer-events: none;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--ink);
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.hero-description {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--ink);
    max-width: 600px;
    margin: 2rem auto;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 5;
}

.hero-section .btn {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 0 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    min-width: 220px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Для десктопа */
@media (min-width: 768px) {
    .hero-btn {
        min-width: 250px;
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
}

/* Для мобильных */
@media (max-width: 767px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .hero-title::before,
    .hero-title::after {
        width: 40px;
        height: 40px;
        top: -30px;
        bottom: -30px;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Стили для кнопок */
.hero-section .btn-dark {
    background: var(--ink);
    border: 2px solid var(--gold);
    color: var(--on-ink);
}

.hero-section .btn-dark:hover {
    background: var(--plum);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-section .btn-outline-dark {
    background: transparent;
    border: 2px solid var(--ink);
    color: var(--ink);
}

.hero-section .btn-outline-dark:hover {
    background: var(--ink);
    color: var(--on-ink);
    transform: translateY(-3px);
}

/* Обеспечиваем одинаковую высоту */
.hero-section .btn-dark,
.hero-section .btn-outline-dark {
    height: auto;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Для десктопа */
@media (min-width: 768px) {
    .hero-section .btn-dark,
    .hero-section .btn-outline-dark {
        min-height: 62px;
    }
}

.hero-decoration {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-decoration svg {
    width: 100%;
    height: auto;
    fill: rgba(255, 255, 255, 0.3);
}

/* ==================== СТИЛИ ДЛЯ ФИЛЬТРОВ ==================== */
/* ==================== ЕДИНЫЕ СТИЛИ ДЛЯ ФИЛЬТРОВ ==================== */

/* Общий контейнер фильтров */
.filter-sidebar {
    position: sticky;
    top: 20px;
    z-index: 10;
}

.filter-card {
    background: var(--surface);
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 8px 25px rgba(140, 74, 91, 0.1);
}

/* Заголовок фильтров */
.filter-header {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    padding: 1rem 1.25rem;
    border: none;
}

.filter-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--on-plum);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-header h5 i {
    font-size: 1.1rem;
}

/* Тело фильтров */
.filter-body {
    padding: 1.25rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Секция фильтра */
.filter-section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 1.25rem;
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Заголовок секции */
.filter-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.filter-section-title i {
    color: var(--brand);
    font-size: 1rem;
}

/* Группа опций */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Опции (radio и checkbox) */
.filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--ink-3);
    transition: all 0.2s ease;
    padding: 0.25rem 0;
}

.filter-option:hover {
    color: var(--brand);
    transform: translateX(3px);
}

.filter-option input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--brand);
    margin: 0;
}

.filter-option label {
    cursor: pointer;
    margin: 0;
    flex: 1;
}

/* Группа radio-кнопок (цена) */
.price-radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-radio-group .filter-option {
    justify-content: space-between;
}

.price-radio-group .filter-option span {
    color: var(--brand);
    font-weight: 500;
}

/* Быстрый выбор (чекбоксы) */
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-filter-badge {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-filter-badge:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    transform: translateY(-2px);
}

.quick-filter-badge.active {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--ink);
}

.quick-filter-badge i {
    font-size: 0.8rem;
}

/* Поле поиска */
.filter-search {
    margin-bottom: 1.25rem;
}

.filter-search .input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.filter-search .input-group-text {
    background: var(--surface);
    border: 1px solid var(--line);
    border-right: none;
    color: var(--brand);
    padding: 0.5rem 0.75rem;
}

.filter-search .form-control {
    border: 1px solid var(--line);
    border-left: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}

.filter-search .form-control:focus {
    border-color: var(--brand);
    box-shadow: none;
}

.filter-search .form-control:focus + .input-group-text {
    border-color: var(--brand);
}

/* Сортировка */
.filter-sort select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--ink-3);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-sort select:hover {
    border-color: var(--brand);
}

.filter-sort select:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: 0 0 0 2px rgba(140, 74, 91, 0.2);
}

/* Кнопки фильтров */
.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.btn-apply {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    color: var(--ink);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 74, 91, 0.4);
    color: var(--on-plum);
    text-decoration: none;
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-3);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-reset:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
    text-decoration: none;
}

/* Счетчик активных фильтров */
.filter-active-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--ink);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.1rem 0.4rem;
    margin-left: 0.5rem;
}

/* Адаптивность для фильтров */
@media (max-width: 991.98px) {
    .filter-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 1.5rem;
    }

    .filter-body {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .filter-card {
        border-radius: 16px;
    }

    .filter-section {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .filter-option {
        font-size: 0.8rem;
    }

    .quick-filter-badge {
        padding: 0.25rem 0.7rem;
        font-size: 0.7rem;
    }
}

/* Анимация для фильтров */
.filter-option {
    animation: fadeInLeft 0.3s ease forwards;
    opacity: 0;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Стили для активных фильтров в строке */
.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--brand-soft);
    border-radius: 12px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--brand);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: var(--brand);
}

.active-filter-tag i {
    cursor: pointer;
    font-size: 0.7rem;
    transition: color 0.2s ease;
}

.active-filter-tag i:hover {
    color: var(--danger);
}

/* Стили для кастомных чекбоксов и радио (опционально) */
.custom-checkbox,
.custom-radio {
    position: relative;
    padding-left: 1.8rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--ink-3);
}

.custom-checkbox input,
.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.custom-radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark,
.custom-radio:hover input ~ .checkmark {
    border-color: var(--brand);
}

.custom-checkbox input:checked ~ .checkmark {
    background: var(--brand);
    border-color: var(--brand);
}

.custom-checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-radio input:checked ~ .checkmark {
    background: var(--brand);
    border-color: var(--brand);
}

.custom-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--surface);
}

.custom-radio input:checked ~ .checkmark:after {
    display: block;
}
/* ==================== НАВБАР ==================== */
.navbar {
    background-color: rgba(140, 74, 91, .06) !important;
    padding: 0.5rem 0 !important;
    min-height: 60px;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-family: fantasy, 'Great Vibes', cursive !important;
    color: var(--ink) !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
    letter-spacing: 1px;
}

.nav-link {
    font-size: 0.95rem !important;
    font-family: 'Playfair Display', serif !important;
    color: var(--ink) !important;
    padding: 0.4rem 0.8rem !important;
    transition: all 0.3s ease;
    margin: 0 0.15rem;
}

.nav-link:hover {
    color: var(--on-plum) !important;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    transform: scale(1.02);
}

.nav-link.active {
    color: var(--on-plum) !important;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-weight: 500;
}

.navbar .container {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
        text-align: center;
    }
    .navbar-nav {
        margin-top: 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .nav-link {
        font-size: 0.85rem !important;
        padding: 0.35rem 0.6rem !important;
    }
    .navbar-brand {
        font-size: 1.3rem !important;
    }
}

/* ==================== КАРТОЧКИ ЦВЕТОВ ==================== */
.flower-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flower-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(140, 74, 91, 0.3) !important;
}

.flower-card .card-img-top {
    height: 220px !important;
    object-fit: cover;
    width: 100%;
}

.flower-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.flower-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    min-height: 2.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.flower-card .card-text.text-muted.small,
.flower-card .category-name-in-card {
    font-size: 0.675rem !important;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    min-height: 2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    color: var(--ink-3);
}

.flower-card .fw-bold {
    font-size: 1.1rem;
    margin-top: auto;
    margin-bottom: 0.75rem;
    color: var(--brand) !important;
}

/* Блок с количеством и кнопкой добавления */
.flower-card .quantity-container {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 0;
}

/* Поле ввода количества */
.flower-card .quantity-input {
    flex: 2;
    border: 1px solid var(--brand);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    min-width: 0;
    height: 40px;
    background: var(--surface);
    transition: all 0.3s ease;
}

.flower-card .quantity-input:focus {
    outline: none;
    border-color: var(--brand-deep);
    box-shadow: 0 0 0 2px rgba(140, 74, 91, 0.25);
}

/* Кнопка добавления */
.flower-card .add-to-bouquet {
    flex: 1;
    background-color: var(--surface) !important;
    color: var(--on-plum) !important;
    min-width: 44px;
    height: 40px;
    border-radius: 8px !important;
    font-weight: bold;
    font-size: 1.3rem;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.flower-card .add-to-bouquet:hover {
    background-color: var(--brand-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(140, 74, 91, 0.4);
}

.flower-card .add-to-bouquet:active {
    transform: scale(0.95);
}

.flower-card .add-to-bouquet.added {
    background-color: var(--success) !important;
    color: white !important;
    animation: pulse 0.3s ease;
}

/* Уменьшаем расстояние между карточками */
.flower-card-container {
    margin-bottom: 1px !important;
    padding: 0 1px !important;
}

.col-md-4 {
    padding-left: 1px !important;
    padding-right: 1px !important;
    margin-bottom: 1px !important;
}

.row.equal-height-row {
    margin-left: -1px;
    margin-right: -1px;
}

.row.equal-height-row > [class*="col-"] {
    padding-left: 1px;
    padding-right: 1px;
    margin-bottom: 1px;
}

/* ==================== КАРТОЧКИ БУКЕТОВ ==================== */
.bouquet-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bouquet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(140, 74, 91, 0.3) !important;
}

.bouquet-card .card-img-top {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.bouquet-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.bouquet-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    min-height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.bouquet-card .card-text.text-muted.small {
    font-size: 0.75rem;
    line-height: 1.4;
    min-height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 0.75rem;
    word-break: break-word;
}

.bouquet-card .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* ==================== СТРАНИЦА КАТЕГОРИИ ==================== */
.category-page .category-header {
    margin-bottom: 2rem;
    text-align: center;
}

.category-page .category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.category-page .category-description {
    color: var(--ink-3);
    font-size: 1rem;
}

/* ==================== СТРАНИЦА ДЕТАЛЬНОГО ПРОСМОТРА БУКЕТА ==================== */
.bouquet-detail {
    /* Основные стили для страницы букета */
}

.bouquet-detail .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.bouquet-detail .breadcrumb-item a {
    color: var(--brand);
    text-decoration: none;
}

.bouquet-detail .breadcrumb-item a:hover {
    text-decoration: underline;
}

.bouquet-detail .breadcrumb-item.active {
    color: var(--ink-3);
}

/* Основное изображение */
.bouquet-detail .main-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.bouquet-detail .main-image img {
    width: 100%;
    object-fit: cover;
}

/* Дополнительные изображения */
.bouquet-detail .additional-images {
    margin-top: 1rem;
}

.bouquet-detail .additional-image {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bouquet-detail .additional-image:hover {
    transform: scale(1.05);
    border-color: var(--brand);
}

.bouquet-detail .additional-image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

/* Информация о букете */
.bouquet-detail .info-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.bouquet-detail .bouquet-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Характеристики */
.bouquet-detail .characteristics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.bouquet-detail .characteristic-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-3);
    font-size: 0.9rem;
}

.bouquet-detail .characteristic-item i {
    color: var(--brand);
    font-size: 1.1rem;
}

/* Цена */
.bouquet-detail .price {
    margin-bottom: 1.5rem;
}

.bouquet-detail .old-price {
    text-decoration: line-through;
    color: var(--ink-3);
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.bouquet-detail .current-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--brand);
}

/* Состав и описание */
.bouquet-detail .section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

.bouquet-detail .composition,
.bouquet-detail .description {
    color: var(--ink-3);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Категории-теги */
.bouquet-detail .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.bouquet-detail .category-tag {
    background-color: var(--brand-soft);
    color: var(--ink);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Кнопки действий */
.bouquet-detail .action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bouquet-detail .btn-add-to-cart {
    flex: 2;
    background-color: var(--surface);
    color: var(--on-plum);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bouquet-detail .btn-add-to-cart:hover {
    background-color: var(--brand-deep);
    transform: translateY(-2px);
}

.bouquet-detail .btn-customize {
    flex: 1;
    background-color: transparent;
    border: 1px solid var(--brand);
    color: var(--brand);
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bouquet-detail .btn-customize:hover {
    background-color: var(--surface);
    color: var(--on-plum);
}

/* Информация о доставке */
.bouquet-detail .delivery-info {
    background-color: var(--surface-2);
    border-radius: 12px;
    padding: 1rem;
}

.bouquet-detail .delivery-item {
    text-align: center;
}

.bouquet-detail .delivery-item i {
    font-size: 1.5rem;
    color: var(--brand);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.bouquet-detail .delivery-item p {
    font-size: 0.75rem;
    margin: 0;
    color: var(--ink-3);
}

/* Похожие букеты */
.bouquet-detail .similar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-align: center;
    margin: 2rem 0;
}

/* Отзывы */
.bouquet-detail .reviews-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    text-align: center;
    margin: 2rem 0;
}

.bouquet-detail .review-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.bouquet-detail .review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bouquet-detail .review-author {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bouquet-detail .review-rating {
    color: var(--warning);
    font-size: 0.9rem;
}

.bouquet-detail .review-text {
    color: var(--ink-3);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bouquet-detail .review-date {
    font-size: 0.75rem;
    color: var(--ink-3);
}

/* ==================== КАРУСЕЛЬ ==================== */
.carousel-item {
    transition: transform 0.6s ease-in-out;
    min-height: 400px;
}

.carousel-item .row {
    margin-left: 0;
    margin-right: 0;
}

.carousel-item .card {
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.carousel-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--brand-soft);
    border-radius: 50%;
    padding: 1.5rem;
    background-size: 50%;
}

.carousel-indicators {
    margin-bottom: -1rem;
    position: relative;
    z-index: 10;
}

.carousel-indicators button {
    background-color: var(--brand) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    margin: 0 5px !important;
}

.carousel-indicators button.active {
    background-color: var(--brand-deep) !important;
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 1;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--brand-deep) !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* ==================== БЛОК ВЫБРАННЫХ ЦВЕТОВ ==================== */
.sticky-top {
    z-index: 100;
}

.selected-flower-item {
    transition: background-color 0.2s ease;
    padding: 10px;
    border-radius: 5px;
}

.selected-flower-item:hover {
    background-color: var(--surface-2);
}

#selected-flowers-container::-webkit-scrollbar {
    width: 6px;
}

#selected-flowers-container::-webkit-scrollbar-track {
    background: var(--surface-3);
    border-radius: 3px;
}

#selected-flowers-container::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 3px;
}

#selected-flowers-container::-webkit-scrollbar-thumb:hover {
    background: var(--brand-deep);
}

/* ==================== ПАГИНАЦИЯ ==================== */
.page-link {
    color: var(--brand);
    border: 1px solid var(--brand);
    margin: 0 2px;
    border-radius: 5px !important;
}

.page-link:hover {
    background-color: var(--surface);
    color: var(--on-plum);
    border-color: var(--line);
}

.page-item.active .page-link {
    background-color: var(--surface);
    border-color: var(--line);
    color: var(--on-plum);
}

/* ==================== КНОПКИ ==================== */
.btn-primary-custom {
    background-color: var(--surface);
    color: var(--on-plum);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--brand-deep);
    color: var(--ink);
    transform: translateY(-2px);
}

.btn-outline-primary-custom {
    border: 1px solid var(--brand);
    color: var(--brand);
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background-color: var(--surface);
    color: var(--on-plum);
}

.bg-primary-custom {
    background-color: var(--brand-soft);
    color: var(--ink);
}

.bg-primary-custom h5,
.bg-primary-custom h4,
.bg-primary-custom h3 {
    color: var(--ink);
}

/* ==================== КАРТОЧКИ КАТЕГОРИЙ ==================== */
.category-card {
    border: 1px solid var(--brand);
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: var(--surface);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--brand-soft);
}

.category-name {
    color: var(--ink-2);
    font-size: 0.9rem;
}

.category-card-icon {
    font-size: 1.5rem;
    color: var(--brand);
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Стили для преимуществ */
.advantage-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 16px;
}

.advantage-item:hover {
    transform: translateY(-5px);
    background-color: var(--brand-soft);
}

/* ==================== ФОРМЫ ==================== */
.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(140, 74, 91, 0.25);
}

/* ==================== ФУТЕР ==================== */
footer {
    background-color: rgba(140, 74, 91, .06) !important;
    color: var(--ink) !important;
    backdrop-filter: blur(5px);
}

/* ==================== УВЕДОМЛЕНИЯ ==================== */
.toast {
    background-color: var(--brand-soft) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.toast.bg-success {
    background-color: var(--success) !important;
}

.toast.bg-warning {
    background-color: var(--warning) !important;
}

.toast.bg-info {
    background-color: var(--info) !important;
}

.toast-body {
    color: white !important;
    font-weight: 500;
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

/* ==================== МОДАЛЬНОЕ ОКНО ПЕРСОНАЛЬНЫХ ДАННЫХ ==================== */
.privacy-policy-content {
    font-size: 14px;
    line-height: 1.6;
}

.privacy-policy-content h4 {
    color: var(--brand);
    font-family: 'Playfair Display', serif;
}

.privacy-policy-content h5 {
    color: var(--ink);
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.privacy-policy-content ul {
    padding-left: 20px;
}

.privacy-policy-content li {
    margin-bottom: 5px;
}

#privacyPolicyModal {
    z-index: 10000 !important;
}

#privacyPolicyModal .modal-backdrop {
    z-index: 9999 !important;
}

#privacyPolicyModal .modal-dialog {
    z-index: 10001 !important;
}

/* ==================== COOKIES ==================== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
    border: 1px solid var(--brand);
}

/* Пока открыто модальное окно, полоска о данных прячется.
   Она висит поверх всего (z-index выше, чем у окон Bootstrap) и накрывала
   правый нижний угол окна — там, где кнопка «Отправить». Человек нажимал
   и не понимал, почему ничего не происходит: нажатие доставалось полоске.
   Закроется окно — полоска вернётся, согласие никуда не денется. */
body.modal-open .cookie-consent {
    display: none !important;
}

.cookie-consent-content {
    padding: 20px;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cookie-consent-header i {
    font-size: 24px;
    color: var(--brand);
}

.cookie-consent-header h5 {
    margin: 0;
    color: var(--ink);
    font-family: 'Playfair Display', serif;
}

.cookie-consent-body {
    margin-bottom: 20px;
    color: var(--ink-3);
    font-size: 14px;
    line-height: 1.5;
}

.cookie-consent-body a {
    color: var(--brand);
    text-decoration: none;
}

.cookie-consent-body a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-consent-buttons .btn {
    padding: 8px 20px;
    font-size: 14px;
}

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

/* Телефон. Плашка стояла на `bottom: 10px` — то есть ровно под нижним
   меню, которое прибито к низу экрана и имеет высоту около 70 пикселей.
   Кнопки «Понятно» и «Все документы» оказывались под меню: их не было
   видно и в них нельзя было попасть пальцем. Плашка при этом не
   прокручивалась (она закреплена, а не лежит в потоке), так что добраться
   до кнопок было нельзя вообще никак — она висела навсегда.

   Поднимаем над меню и ограничиваем высоту: на узком экране с крупным
   системным шрифтом текст перерастает экран, и кнопки снова уезжают — на
   этот раз за верхний край. Поэтому содержимое прокручивается внутри
   плашки. */
@media (max-width: 768px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: calc(var(--mobnav-h, 80px) + env(safe-area-inset-bottom, 0px) + 12px);
        max-height: calc(100vh - var(--mobnav-h, 80px) - env(safe-area-inset-bottom, 0px) - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cookie-consent-content {
        padding: 16px;
    }

    .cookie-consent-body {
        margin-bottom: 14px;
    }

    /* Кнопки во всю ширину: палец попадает в них без прицеливания, а
       рядом друг с другом на узком экране они сжимались до полосок. */
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
        padding: 10px 16px;
    }
}

/* ==================== АНИМАЦИИ ==================== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* ==================== РАЗНОЕ ==================== */
.row {
    align-items: flex-start;
}

.container-fluid,
.container,
.row,
.col-lg-3,
.col-lg-6,
.col-lg-9 {
    overflow: visible !important;
}

.col-lg-3 {
    overflow: visible !important;
}

.sidebar-right .remove-flower:hover,
.sidebar-right .minus-qty:hover,
.sidebar-right .plus-qty:hover {
    background-color: var(--surface) !important;
    border-color: var(--line) !important;
    transition: all 0.2s ease;
}

.sidebar-right #checkout-bouquet:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(140, 74, 91, 0.4);
}

/* Адаптивность для карточек на мобильных */
@media (max-width: 768px) {
    .flower-card .card-img-top {
        height: 180px !important;
    }

    .flower-card .card-title {
        font-size: 0.85rem;
        min-height: 2rem;
    }

    .flower-card .card-text.text-muted.small {
        font-size: 0.6rem !important;
    }

    .flower-card .fw-bold {
        font-size: 0.95rem;
    }

    .flower-card .quantity-input {
        height: 36px;
        font-size: 0.85rem;
    }

    .flower-card .add-to-bouquet {
        min-width: 40px;
        height: 36px;
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-title::before,
    .hero-title::after {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-section .btn {
        display: block;
        margin: 1rem auto;
        max-width: 250px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .carousel-indicators {
        margin-bottom: -1rem;
    }

    .flower-card .d-flex.align-items-center {
        justify-content: space-between;
    }

    .flower-card .quantity-input {
        width: calc(100% - 44px) !important;
        max-width: none;
    }

    /* Адаптивность страницы детального просмотра */
    .bouquet-detail .bouquet-name {
        font-size: 1.5rem;
    }

    .bouquet-detail .current-price {
        font-size: 1.5rem;
    }

    .bouquet-detail .action-buttons {
        flex-direction: column;
    }

    .bouquet-detail .delivery-info .row {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        margin-bottom: 10px;
    }

    .category-name {
        font-size: 0.8rem;
    }

    .bouquet-detail .characteristics {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .flower-card .card-body,
    .bouquet-card .card-body {
        padding: 0.75rem;
    }

    .flower-card .card-img-top {
        height: 150px !important;
    }

    .flower-card .card-title {
        font-size: 0.8rem;
    }

    .flower-card .quantity-input {
        height: 32px;
        font-size: 0.8rem;
    }

    .flower-card .add-to-bouquet {
        width: 36px;
        height: 32px;
        font-size: 1.1rem;
    }
}

/* ==================== КАРТОЧКИ АКСЕССУАРОВ ==================== */
.accessory-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(140, 74, 91, 0.3);
}
.accessory-card.selected {
    border-color: var(--brand);
    background-color: var(--brand-soft);
}
.accessory-card .card-img-top {
    height: 150px;
    object-fit: cover;
}
.accessory-card .form-check {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}
.accessory-card .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

/* Стили для галереи на странице букета */
.image-zoom-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.zoomable-image {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.zoomable-image:hover {
    transform: scale(1.2);
}

.thumbnail-wrapper {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
}

.thumbnail-wrapper.active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(140, 74, 91, 0.3);
}

.thumbnail-wrapper:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-img {
    transition: opacity 0.3s ease;
}
/* ==================== МОДАЛЬНЫЕ ОКНА АВТОРИЗАЦИИ ==================== */
.modal .modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.modal .modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem 0 1.5rem;
}

.modal .modal-body {
    background-color: var(--surface);
    padding: 0 1.5rem 2rem 1.5rem;
}

.modal.fade .modal-dialog {
    transform: scale(0.95) translateY(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal .nav-tabs {
    border-bottom: none;
    gap: 0.5rem;
    justify-content: center;
}

.modal .nav-tabs .nav-link {
    border: none;
    color: var(--ink-3);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.modal .nav-tabs .nav-link:hover {
    color: var(--brand);
    background-color: rgba(140, 74, 91, 0.08);
    transform: translateY(-2px);
}

.modal .nav-tabs .nav-link.active {
    color: var(--ink);
    background-color: var(--brand-soft);
    box-shadow: 0 4px 12px rgba(140, 74, 91, 0.3);
}

.modal .form-label {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.modal .input-group-text {
    border: 1px solid var(--line);
    border-right: none;
    background-color: var(--surface);
    padding: 0.625rem 0.75rem;
}

.modal .form-control {
    border: 1px solid var(--line);
    border-left: none;
    padding: 0.625rem 0.75rem;
    transition: all 0.3s ease;
}

.modal .form-control:focus {
    border-color: var(--brand);
    box-shadow: none;
}

.modal .form-control:focus + .input-group-text {
    border-color: var(--brand);
}

.modal .btn-primary-custom {
    background-color: var(--surface);
    color: var(--on-plum);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.modal .btn-primary-custom:hover {
    background-color: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 74, 91, 0.4);
}

#smsModal .form-control {
    font-family: monospace;
    font-weight: bold;
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    letter-spacing: 8px;
    font-size: 1.5rem;
}

#smsModal .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(140, 74, 91, 0.2);
}

.modal .form-control.is-invalid {
    border-color: var(--danger);
    background-image: none;
}

.modal .invalid-feedback {
    display: block;
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.modal .alert-danger {
    background-color: var(--danger-soft);
    border-color: var(--danger-soft);
    color: var(--danger);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

@media (max-width: 576px) {
    .modal .modal-body {
        padding: 0 1rem 1.5rem 1rem;
    }
    .modal .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    #smsModal .form-control {
        letter-spacing: 4px;
        font-size: 1.2rem;
    }
}

/* ==================== ДРОПДАУН ПОЛЬЗОВАТЕЛЯ ==================== */
.user-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 0.8rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.user-dropdown:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.user-dropdown .user-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(140, 74, 91, 0.3);
}

.user-dropdown .user-avatar i {
    font-size: 1.2rem;
    color: var(--ink);
}

.user-dropdown .user-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
}

.user-dropdown-menu {
    min-width: 280px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--surface);
    animation: slideDown 0.2s ease-out;
}

.user-dropdown-menu .dropdown-header {
    padding: 1rem;
    background-color: var(--brand-soft);
    border-radius: 16px 16px 0 0;
}

.user-dropdown-menu .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-dropdown-menu .user-info-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(140, 74, 91, 0.2);
}

.user-dropdown-menu .user-info-avatar i {
    font-size: 2rem;
    color: var(--brand);
}

.user-dropdown-menu .user-info-avatar img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.user-dropdown-menu .user-info-text {
    flex: 1;
}

.user-dropdown-menu .user-info-text div {
    font-size: 0.95rem;
    color: var(--ink);
}

.user-dropdown-menu .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    color: var(--ink-2);
    transition: all 0.2s ease;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    font-size: 1rem;
    color: var(--brand);
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: var(--brand-soft);
    color: var(--brand);
    padding-left: 1.3rem;
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background-color: var(--danger-soft);
    color: var(--danger);
}

.user-dropdown-menu .dropdown-divider {
    margin: 0.3rem 0;
    border-top-color: var(--line-soft);
}

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

.login-btn {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    color: var(--ink) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 74, 91, 0.4);
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
}

@media (max-width: 768px) {
    .user-dropdown .user-name {
        font-size: 0.85rem;
    }
    .user-dropdown .user-avatar {
        width: 28px;
        height: 28px;
    }
    .user-dropdown-menu {
        min-width: 260px;
    }
    .login-btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .user-dropdown .user-name {
        display: none;
    }
    .user-dropdown .user-avatar {
        margin: 0;
    }
}

/* ==================== ЛИЧНЫЙ КАБИНЕТ ==================== */
.profile-container {
    min-height: calc(100vh - 200px);
    margin-bottom: 2rem;
}

.profile-sidebar {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.profile-user-card {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--ink);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar i {
    font-size: 3rem;
    color: var(--on-plum);
}

.profile-username {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-email {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.profile-verified {
    display: inline-block;
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.profile-menu {
    padding: 0.5rem 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--ink-3);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.profile-menu-item i {
    width: 20px;
    font-size: 1.1rem;
    color: var(--brand);
}

.profile-menu-item:hover {
    background: var(--brand-soft);
    color: var(--brand);
    padding-left: 1.8rem;
}

.profile-menu-item.active {
    background: var(--brand-soft);
    color: var(--brand);
    border-right: 3px solid var(--brand);
    font-weight: 500;
}

.profile-menu-item.text-danger:hover {
    background: var(--danger-soft);
    color: var(--danger);
}

.profile-menu-item.text-danger:hover i {
    color: var(--danger);
}

.profile-content {
    background: var(--surface);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.profile-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--line-soft);
}

.profile-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.profile-subtitle {
    font-size: 0.8rem;
    color: var(--ink-3);
    margin: 0;
}

.profile-info-card {
    background: var(--surface-2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: var(--surface-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-large i {
    font-size: 4rem;
    color: var(--brand);
}

.btn-profile-edit {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--brand);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-profile-edit:hover {
    color: var(--brand-deep);
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-item {
    margin-bottom: 0.5rem;
}

.info-item.full-width {
    grid-column: span 2;
}

.info-item label {
    display: block;
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item .info-value {
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 500;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: var(--surface-2);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-top: 0.25rem;
}

.profile-section {
    margin-top: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.section-link {
    font-size: 0.75rem;
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--brand-deep);
}

/* ==================== СТИЛИ ЗАКАЗОВ МЕНЮ ПОКУПАТЕЛЯ ==================== */

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--surface-2);
    border-radius: 16px;
    transition: all 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.order-item:hover {
    background: var(--brand-soft);
    transform: translateX(5px);
}

.order-info {
    flex: 1;
}

.order-number {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.order-date {
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-bottom: 0.25rem;
}

.order-date i {
    margin-right: 0.25rem;
}

.order-amount {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--brand);
}

.order-status {
    margin: 0 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.status-new { background: var(--brand-soft); color: var(--ink); }
.status-processing { background: var(--gold); color: var(--ink); }
.status-confirmed { background: var(--success-soft); color: var(--ink); }
.status-assembling { background: var(--info-soft); color: var(--ink); }
.status-delivery { background: var(--brand-soft); color: var(--ink); }
.status-completed { background: var(--success); color: var(--on-brand); }
.status-cancelled { background: var(--danger); color: var(--on-brand); }

.order-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.order-link, .order-hide-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: none;
    border-radius: 50%;
    color: var(--brand);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.order-link:hover, .order-hide-btn:hover {
    background: var(--ink);
    color: var(--on-ink);
}

.order-hide-btn:hover {
    background: var(--danger);
    color: var(--on-brand);
}

@media (max-width: 768px) {
    .order-item {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .order-info {
        width: 100%;
    }

    .order-status {
        margin-left: 0;
    }

    .order-actions {
        margin-left: auto;
    }
}
.rating-input i {
    transition: all 0.2s ease;
}

.rating-input i:hover,
.rating-input i.active {
    color: var(--warning) !important;
}

@media (max-width: 768px) {
    /* Четыре числа в одну полосу, а не столбиком.
       Было: на 768px — по два в ряд, на 576px — по одному, то есть четыре
       крупные карточки друг под другом почти во весь экран. Четыре числа —
       это сводка, на неё смотрят одним взглядом; растянутая на экран, она
       превращается в четыре экрана прокрутки до того, ради чего человек
       вообще пришёл в кабинет. */
    .profile-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    .stat-item { padding: 0.6rem 0.25rem; }
    .stat-icon { font-size: 1.05rem; margin-bottom: 0.2rem; }
    .stat-number { font-size: 1.15rem; }
    .stat-label { font-size: 0.62rem; margin-top: 0.1rem; }
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .info-item.full-width {
        grid-column: span 1;
    }
    .profile-content {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    .order-item {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .order-info {
        width: 100%;
    }
    .order-status {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    /* Полоса из четырёх остаётся полосой и на узком экране — только
       теснее. Раньше здесь стояло `1fr`, и четыре числа вставали
       столбиком, занимая экран целиком. */
    .profile-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.35rem;
    }
    .stat-item { padding: 0.5rem 0.15rem; }
    .stat-number { font-size: 1.05rem; }
    .stat-label { font-size: 0.58rem; }
    .profile-title {
        font-size: 1.2rem;
    }
    .profile-avatar-large {
        width: 100px;
        height: 100px;
    }
}
/* ==================== СТИЛИ ДЛЯ КНОПКИ СКРЫТИЯ/ПОКАЗА ЗАКАЗОВ ==================== */

.btn-eye {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--ink-3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.btn-eye:hover {
    background: var(--ink);
    border-color: var(--line);
    color: var(--on-ink);
    transform: scale(1.05);
}

.btn-eye:active {
    transform: scale(0.95);
}

.btn-eye i {
    font-size: 1.2rem;
}

/* Для активного состояния (когда показываем все заказы) */
.btn-eye.active {
    background: var(--ink);
    border-color: var(--line);
    color: var(--on-ink);
}

/* Для мобильных */
@media (max-width: 768px) {
    .btn-eye {
        width: 36px;
        height: 36px;
    }

    .btn-eye i {
        font-size: 1rem;
    }
}
/* ==================== СТИЛИ ДЛЯ ВИТРИНЫ, СОБРАТЬ БУКЕТ И КОРЗИНЫ ==================== */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(140, 74, 91, 0.15) !important;
}

.filter-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.filter-header {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    color: var(--ink);
    padding: 1rem 1.25rem;
    border: none;
}

.filter-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.filter-body {
    padding: 1.25rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title i {
    color: var(--brand);
    font-size: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-radio,
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--ink-3);
    transition: color 0.2s ease;
}

.filter-radio:hover,
.filter-checkbox:hover {
    color: var(--brand);
}

.filter-radio input,
.filter-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--brand);
}

.filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-filter {
    background: var(--ink);
    color: var(--on-ink);
    border: none;
    padding: 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 74, 91, 0.3);
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-3);
    padding: 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-soft);
}

.product-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 20px;
    background: var(--surface);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(140, 74, 91, 0.15);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
}

.product-badge span {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-hit {
    background: var(--gold);
    color: var(--ink);
}

.badge-new {
    background: var(--success);
    color: var(--on-brand);
}

.badge-sale {
    background: var(--danger);
    color: var(--on-brand);
}

.product-body {
    padding: 1rem;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
}

.product-category {
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.product-price-old {
    font-size: 0.8rem;
    color: var(--ink-3);
    text-decoration: line-through;
    margin-left: 0.5rem;
    font-weight: normal;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-quantity {
    width: 60px;
    text-align: center;
    border: 1px solid var(--brand);
    border-radius: 10px;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.btn-add {
    flex: 1;
    background: var(--ink);
    color: var(--on-ink);
    border: none;
    border-radius: 10px;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
}

.cart-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cart-header {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    color: var(--ink);
    padding: 1rem 1.25rem;
}

.cart-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--line-soft);
    transition: background 0.3s ease;
}

.cart-item:hover {
    background: var(--brand-soft);
}

.cart-item-image {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.6rem;
    font-weight: 300;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

.cart-item-price {
    font-size: 0.7rem;
    color: var(--brand);
    font-weight: 500;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.quantity-btn {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.cart-item-total {
    text-align: right;
    min-width: 80px;
}

.cart-item-total-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand);
}

.cart-item-remove {
    color: var(--ink-3);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: var(--danger);
}

.cart-footer {
    padding: 0.7rem;
    background: var(--surface-2);
    border-top: 1px solid var(--line-soft);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-top: 2px solid var(--line);
}

.cart-total-label {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--ink);
}

.cart-item-total-price {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.flower-qty {
    width: 40px !important;
    font-size: 0.75rem;
    padding: 0.2rem 0;
}

.btn-checkout {
    width: 100%;
    background: var(--ink);
    color: var(--on-ink);
    border: none;
    border-radius: 12px;
    padding: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: var(--brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(140, 74, 91, 0.3);
}

.btn-clear {
    width: 100%;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.5rem;
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: var(--danger-soft);
}

.empty-cart {
    text-align: center;
    padding: 2rem;
}

.empty-cart-icon {
    font-size: 3rem;
    color: var(--brand);
    margin-bottom: 1rem;
}

.empty-cart-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.empty-cart-text {
    font-size: 0.75rem;
    color: var(--ink-3);
    margin-bottom: 1.5rem;
}

.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.page-link-custom {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link-custom:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.page-link-custom.active {
    background: var(--ink);
    border-color: var(--line);
    color: var(--on-ink);
}

@media (max-width: 768px) {
    .product-image {
        height: 180px;
    }
    .product-title {
        font-size: 0.85rem;
    }
    .product-price {
        font-size: 0.95rem;
    }
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    .cart-item-title {
        font-size: 0.85rem;
    }
    .filter-body {
        max-height: none;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 150px;
    }
    .cart-item {
        flex-wrap: wrap;
    }
    .cart-item-total {
        text-align: left;
        margin-left: 70px;
    }
}

.border-primary-custom {
    border: 2px solid var(--brand) !important;
}
/* ==================== СТИЛИ ДЛЯ ОТЗЫВОВ ПОЛЬЗОВАТЕЛЯ ==================== */

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-item {
    background: var(--surface-2);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.review-item:hover {
    background: var(--brand-soft);
    transform: translateX(5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-bouquet-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.review-bouquet-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--surface);
}

.review-bouquet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.review-bouquet-img i {
    font-size: 2rem;
    color: var(--brand);
}

.review-bouquet-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.review-bouquet-name a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-bouquet-name a:hover {
    color: var(--brand);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating i {
    color: var(--warning);
    font-size: 0.8rem;
}

.review-date {
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-left: 0.5rem;
}

.review-status {
    flex-shrink: 0;
}

.badge-approved, .badge-pending {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

.badge-approved {
    background: var(--success-soft);
    color: var(--success);
}

.badge-pending {
    background: var(--warning-soft);
    color: var(--gold);
}

.review-content {
    color: var(--ink-3);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.review-note {
    font-size: 0.7rem;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Стили для выбора товара */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.product-select-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-select-item:hover {
    background: var(--brand-soft);
    transform: translateX(5px);
}

.product-select-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-select-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-select-image i {
    font-size: 2rem;
    color: var(--brand);
}

.product-select-info {
    flex: 1;
}

.product-select-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.product-select-order {
    font-size: 0.7rem;
    color: var(--ink-3);
}

.product-select-arrow {
    color: var(--brand);
    font-size: 1.2rem;
}

/* Стили для выбранного товара в форме */
.selected-product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--brand-soft);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.selected-product-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
}

.selected-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selected-product-name {
    font-weight: 600;
    color: var(--ink);
}

.rating-input i {
    transition: all 0.2s ease;
    margin-right: 0.25rem;
}

.rating-input i:hover,
.rating-input i.active {
    color: var(--warning) !important;
}

/* ==================== СТИЛИ ДЛЯ МЕНЮ ИЗБРАННОГО ==================== */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.favorite-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(140, 74, 91, 0.15);
}

.favorite-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.favorite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.favorite-card:hover .favorite-card-image img {
    transform: scale(1.05);
}

.favorite-card-image .no-image {
    width: 100%;
    height: 100%;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-card-image .no-image i {
    font-size: 3rem;
    color: var(--brand);
}

.favorite-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.favorite-remove i {
    font-size: 1rem;
    color: var(--danger);
    transition: all 0.3s ease;
}

.favorite-remove:hover {
    background: var(--danger);
    transform: scale(1.1);
}

.favorite-remove:hover i {
    color: var(--on-plum);
}

.favorite-card-body {
    padding: 1rem;
}

.favorite-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.favorite-card-title a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.favorite-card-title a:hover {
    color: var(--brand);
}

.favorite-card-description {
    font-size: 0.75rem;
    color: var(--ink-3);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.favorite-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.favorite-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
}

.btn-detail {
    font-size: 0.75rem;
    color: var(--ink-3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    color: var(--brand);
    gap: 0.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .favorites-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .favorite-card-image {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== КАТЕГОРИИ НА ГЛАВНОЙ ==================== */

.category-hero-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.category-hero-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.category-hero-card:hover .category-hero-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.category-hero-card:hover .category-hero-btn {
    background: rgba(255, 255, 255, 0.1);
}

.category-hero-icon {
    font-size: 3.5rem;
    color: var(--on-plum);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-hero-card:hover .category-hero-icon {
    /* Убираем transform: scale(1.1); */
    /* Оставляем только плавное изменение, если нужно */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.category-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--on-plum);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.category-hero-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 80%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.category-hero-btn {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    border: 2px solid var(--line);
    border-radius: 50px;
    color: var(--on-plum);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.9;
    background: transparent;
    backdrop-filter: blur(4px);
}

.category-hero-card:hover .category-hero-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--on-plum);
    border-color: var(--line);
    transform: none;
    box-shadow: none;
    backdrop-filter: blur(4px);
}

/* Для планшетов */
@media (max-width: 768px) {
    .category-hero-card {
        height: 280px;
    }

    .category-hero-title {
        font-size: 1.5rem;
    }

    .category-hero-description {
        font-size: 0.8rem;
        max-width: 90%;
        margin-bottom: 1rem;
    }

    .category-hero-icon {
        font-size: 2.5rem;
    }

    .category-hero-btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Для мобильных */
@media (max-width: 576px) {
    .category-hero-card {
        height: 240px;
    }

    .category-hero-title {
        font-size: 1.2rem;
    }

    .category-hero-description {
        font-size: 0.7rem;
        display: none;
    }

    .category-hero-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .category-hero-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.8rem;
    }
}
/* ==================== СТИЛИ КАРТОЧЕК ИЗБРАННОГО ==================== */

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 8px;
}

.favorite-btn i {
    font-size: 1.3rem;
    color: var(--ink-3);
    transition: all 0.3s ease;
    filter: drop-shadow(2px 5px 5px rgba(0, 0, 0, 0.5));
    text-shadow: 0 1px 2px rgba(0, 50, 50, 1);
}

/* Активное состояние (в избранном) */
.favorite-btn.active i {
    color: var(--danger);
    filter: drop-shadow(3px 3px 5px rgba(255, 77, 77, 0.3));
}

/* При наведении */
.favorite-btn:hover {
    transform: scale(1.1);
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.3));
}

.favorite-btn:hover i {
    color: var(--danger);
}

/* Анимация пульсации */
.favorite-btn.pulse {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Для мобильных */
@media (max-width: 768px) {
    .favorite-btn i {
        font-size: 1.1rem;
        filter: drop-shadow(2px 5px 5px rgba(0, 0, 0, 0.5));
    }

    .favorite-btn {
        padding: 6px;
    }
}
/* Стили для увеличения изображения при наведении */
.image-zoom-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.zoomable-image {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.zoomable-image:hover {
    transform: scale(1.2);
}

/* Стили для миниатюр */
.thumbnail-wrapper {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.thumbnail-wrapper.active {
    border: 2px solid var(--brand);
    box-shadow: 0 0 0 2px rgba(140, 74, 91, 0.3);
}

.thumbnail-wrapper:not(.active):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-img {
    transition: opacity 0.3s ease;
}

/* Стили для выбора рейтинга */
.rating-input i {
    transition: all 0.2s ease;
}

.rating-input i:hover,
.rating-input i.active {
    color: var(--warning) !important;
}


/* ==================== СТИЛИ СТРАНИЦЫ О НАС ==================== */

.about-hero {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--surface) 100%);
    padding: 3rem 2rem;
    border-radius: 30px;
    margin-bottom: 2rem;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.about-subtitle {
    font-size: 1rem;
    color: var(--brand);
    letter-spacing: 2px;
}

.about-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(140, 74, 91, 0.15);
}

.about-card-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-soft);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.about-card-icon i {
    font-size: 1.5rem;
    color: var(--brand);
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--ink);
}

.about-card p {
    color: var(--ink-3);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--ink-3);
    font-size: 0.9rem;
}

.about-list li i {
    color: var(--brand);
    font-size: 0.9rem;
}

.advantage-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--brand-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--brand);
}

.advantage-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    font-size: 0.8rem;
    color: var(--ink-3);
    line-height: 1.4;
}

.team-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--brand-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.team-avatar i {
    font-size: 3rem;
    color: var(--brand);
}

.team-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.8rem;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.team-description {
    font-size: 0.8rem;
    color: var(--ink-3);
    line-height: 1.4;
}

.testimonial-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 0.8rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--ink-3);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.8rem;
    color: var(--ink-3);
}

.testimonial-author strong {
    color: var(--ink);
}

.cta-card {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--surface) 100%);
    padding: 3rem 2rem;
    border-radius: 30px;
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--ink-3);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-title {
        font-size: 2rem;
    }
}

/* ==================== СТИЛИ СТРАНИЦЫ КОНТАКТОВ ==================== */

.contact-hero {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--surface) 100%);
    padding: 3rem 2rem;
    border-radius: 30px;
    margin-bottom: 2rem;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--brand);
    letter-spacing: 2px;
}

.contact-info-card, .contact-form-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-info-card h3, .contact-form-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-description, .form-description {
    color: var(--ink-3);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--brand-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--brand);
}

.contact-details strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--ink-3);
    font-size: 0.9rem;
}

.contact-details a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--brand);
}

/* Значки соцсетей убраны со страницы контактов и из футера: все ссылки
   вели на «#». Правила без разметки оставлять незачем — они переживают
   вёрстку и потом сбивают с толку. */

.faq-item {
    background: var(--surface);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.faq-question i {
    color: var(--brand);
    font-size: 1rem;
}

.faq-answer {
    font-size: 0.85rem;
    color: var(--ink-3);
    padding-left: 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }

    .contact-info-card, .contact-form-card {
        padding: 1.5rem;
    }
}

/* ==================== СТИЛИ ОФОРМЛЕНИЯ ЗАКАЗА ==================== */

.success-modal-content {
    background: var(--surface);
    border-radius: 30px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon i {
    font-size: 3rem;
    color: var(--success);
}

.success-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1rem;
}

.success-message {
    color: var(--ink-3);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.order-details {
    background: var(--surface-2);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.order-details p {
    margin-bottom: 0.5rem;
    color: var(--ink-2);
}

.order-details p:last-child {
    margin-bottom: 0;
}

.redirect-timer {
    background: var(--brand-soft);
    border-radius: 12px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--brand);
}

.redirect-timer i {
    margin-right: 0.5rem;
}

.redirect-timer strong {
    font-size: 1.2rem;
    color: var(--brand);
}

.success-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.success-buttons .btn-apply,
.success-buttons .btn-reset {
    padding: 0.6rem 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .success-modal-content {
        padding: 2rem 1.5rem;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .success-buttons {
        flex-direction: column;
    }
}
.order-status-timeline {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -2rem;
    width: 32px;
    height: 32px;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-item.completed .timeline-icon {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--on-brand);
}

.timeline-content {
    padding-left: 0.5rem;
}

.timeline-content strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-content small {
    font-size: 0.7rem;
    color: var(--ink-3);
}

/* ==================== МАРАФОН(ЛЕНТА КАРТИНОК) ==================== */

.marquee-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, var(--brand-soft) 0%, var(--surface) 50%, var(--brand-soft) 100%);
    padding: 2rem 0;
    position: relative;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.marquee-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(140, 74, 91, 0.3);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.marquee-item:hover img {
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .marquee-item {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .marquee-item {
        width: 150px;
        height: 150px;
    }
}

/* ==================== МОБИЛЬНОЕ МЕНЮ ==================== */

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* Цвета — из палитры: на тёмной теме белая подложка нижнего меню
       светилась внизу экрана прямоугольником. */
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateZ(0);
    will-change: transform;
    display: none; /* Скрыто по умолчанию */
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 12px;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--ink-3);
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    min-width: 60px;
}

.mobile-nav-item i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.mobile-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover {
    color: var(--brand);
    transform: translateY(-2px);
    background: var(--brand-soft);
}

.mobile-nav-item.active {
    color: var(--brand);
    background: var(--brand-soft);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

/* Показываем меню только на мобильных */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex !important;
    }

    /* Добавляем отступ внизу для основного контента */
    body {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Увеличиваем отступ для основного контента */
    .main-content {
        margin-bottom: 70px !important;
        padding-bottom: 20px;
    }

    /* Скрываем стандартную навигацию на мобильных */
    .navbar {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-nav-item {
        padding: 4px 6px;
        min-width: 50px;
    }

    .mobile-nav-item i {
        font-size: 1.1rem;
    }

    .mobile-nav-item span {
        font-size: 0.6rem;
    }

    .main-content {
        margin-bottom: 65px !important;
    }
}

/* Для устройств с вырезом (iPhone X и выше) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .main-content {
        margin-bottom: calc(70px + env(safe-area-inset-bottom)) !important;
    }
}

/* Стили для свайп-навигации */
.swipe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(140, 74, 91, 0.2) 0%, rgba(140, 74, 91, 0.1) 100%);
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.swipe-overlay.show {
    opacity: 1;
    animation: fadeOut 0.3s ease forwards;
}

.swipe-indicator {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--brand);
    background: rgba(255, 255, 255, 0.95);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    font-weight: bold;
}

.swipe-indicator.show {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.swipe-indicator.left {
    left: 20px;
}

.swipe-indicator.right {
    right: 20px;
}

@keyframes fadeOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
/* ==================== МОДАЛЬНОЕ ОКНО ОТПРАВКИ СООБЩЕНИЯ ==================== */

.success-icon, .error-icon {
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

.modal .btn-apply, .modal .btn-reset {
    min-width: 120px;
}

/* ==================== ЧАТ-ВИДЖЕТ ==================== */
.chat-widget-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9998;
}

.chat-widget-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(140, 74, 91, 0.4);
}

.chat-widget-button i {
    font-size: 28px;
    color: var(--on-plum);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger);
    color: var(--on-brand);
    font-size: 12px;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Модальное окно чата */
.chat-widget-modal {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

.chat-widget-modal.show {
    display: flex;
}

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

/* Заголовок чата */
.chat-widget-header {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--on-plum);
    font-weight: 600;
}

.chat-widget-title i {
    font-size: 20px;
}

.chat-widget-close {
    background: none;
    border: none;
    color: var(--on-plum);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-widget-close:hover {
    transform: scale(1.1);
}

/* Тело чата */
.chat-widget-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Сообщения */
.chat-message {
    display: flex;
    margin-bottom: 10px;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.user .message-content {
    background: var(--brand-soft);
    color: var(--ink);
    border-radius: 15px 15px 5px 15px;
}

.chat-message.system .message-content {
    background: var(--surface-3);
    color: var(--ink);
    border-radius: 15px 15px 15px 5px;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message-time {
    font-size: 10px;
    color: var(--ink-3);
    margin-top: 5px;
    text-align: right;
}

/* Форма пользователя */
.chat-user-form {
    padding: 15px;
    border-top: 1px solid var(--line-soft);
    background: var(--surface-2);
}

.chat-user-form .form-group {
    margin-bottom: 10px;
}

.chat-user-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
}

.chat-user-form .form-control:focus {
    outline: none;
    border-color: var(--brand);
}

/* Поле ввода */
.chat-input-area {
    display: flex;
    padding: 15px;
    gap: 10px;
    border-top: 1px solid var(--line-soft);
    background: var(--surface);
}

.chat-input-area textarea {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    resize: none;
    font-size: 14px;
    font-family: inherit;
}

.chat-input-area textarea:focus {
    outline: none;
    border-color: var(--brand);
}

.btn-send {
    width: 40px;
    height: 40px;
    background: var(--ink);
    border: none;
    border-radius: 50%;
    color: var(--on-ink);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-send:hover {
    background: var(--brand-deep);
    transform: scale(1.05);
}

.btn-send:active {
    transform: scale(0.95);
}

/* Адаптивность */
@media (max-width: 768px) {
    .chat-widget-modal {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 80px;
        height: 450px;
    }

    .chat-widget-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .chat-widget-button i {
        font-size: 24px;
    }
}

.chat-user-form {
    padding: 15px;
    border-top: 1px solid var(--line-soft);
    background: var(--surface-2);
    transition: all 0.3s ease;
}

.chat-user-form.hidden {
    display: none;
}

.chat-input-area {
    transition: all 0.3s ease;
}

/* ==================== СТИЛИ ЧАТОВ ПОЛЬЗОВАТЕЛЕЙ ==================== */
:root {
    --primary-pink: var(--brand);
    --primary-purple: var(--brand-deep);
    --dark-brown: var(--ink);
}

.chat-page {
    background: var(--surface-2);
    min-height: calc(100vh - 200px);
}

/* Левая боковая панель */
.chat-sidebar {
    background: var(--surface);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-pink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-title i {
    color: var(--primary-pink);
}

/* Поиск */
.search-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(140, 74, 91, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 350px;
    overflow-y: auto;
    margin-top: 8px;
}

.search-results.show {
    display: block;
}

/* Счетчик онлайн */
.online-count {
    font-size: 0.8rem;
    color: var(--success);
    margin-left: 8px;
    font-weight: normal;
}

.online-count span {
    background: var(--success-soft);
    padding: 2px 8px;
    border-radius: 20px;
}

/* Список пользователей */
.users-list {
    max-height: 450px;
    overflow-y: auto;
}

.user-card {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--surface);
}

.user-card:hover {
    background: var(--brand-soft);
    transform: translateX(5px);
}

.user-info-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar i {
    font-size: 1.2rem;
    color: var(--on-plum);
}

.user-details {
    flex: 1;
}

.user-name-line {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.user-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.status-online-dot {
    background: var(--success);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.user-username {
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-left: 4px;
}

.empty-online {
    text-align: center;
    padding: 2rem;
    color: var(--ink-3);
}

.empty-online i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-pink);
    opacity: 0.5;
}

/* История переписки */
.chat-history {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.chat-history-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line-soft);
    font-weight: 600;
    color: var(--dark-brown);
    background: var(--surface);
    font-size: 1rem;
}

.chat-history-header i {
    color: var(--primary-pink);
    margin-right: 8px;
}

.chat-list {
    max-height: 550px;
    overflow-y: auto;
}

/* Карточка чата */
.chat-room-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line-soft);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--surface);
    cursor: pointer;
}

.chat-room-item:hover {
    background: var(--brand-soft);
    transform: translateX(5px);
}

.chat-room-avatar {
    flex-shrink: 0;
    margin-right: 15px;
}

.avatar-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder i {
    font-size: 1.5rem;
    color: var(--on-plum);
}

.chat-room-info {
    flex: 1;
    min-width: 0;
}

.chat-room-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.unread-badge {
    background: var(--danger);
    color: var(--on-brand);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.chat-room-message {
    font-size: 0.85rem;
    color: var(--ink-3);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-label {
    color: var(--primary-pink);
    font-weight: 500;
}

.message-text {
    color: var(--ink-3);
}

.message-text.text-muted {
    color: var(--ink-4);
    font-style: italic;
}

.chat-room-time {
    font-size: 0.7rem;
    color: var(--ink-3);
}

.chat-room-arrow {
    margin-left: 12px;
    color: var(--primary-pink);
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-room-item:hover .chat-room-arrow {
    opacity: 1;
}

.empty-state {
    text-align: center;
    padding: 3rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    color: var(--ink-3);
    margin-bottom: 0.5rem;
}

/* Скроллбары */
.users-list::-webkit-scrollbar,
.chat-list::-webkit-scrollbar,
.search-results::-webkit-scrollbar {
    width: 5px;
}

.users-list::-webkit-scrollbar-track,
.chat-list::-webkit-scrollbar-track,
.search-results::-webkit-scrollbar-track {
    background: var(--surface-3);
    border-radius: 10px;
}

.users-list::-webkit-scrollbar-thumb,
.chat-list::-webkit-scrollbar-thumb,
.search-results::-webkit-scrollbar-thumb {
    background: var(--primary-pink);
    border-radius: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .avatar-placeholder {
        width: 45px;
        height: 45px;
    }

    .avatar-placeholder i {
        font-size: 1.2rem;
    }

    .chat-room-name {
        font-size: 0.9rem;
    }

    .chat-room-message {
        font-size: 0.75rem;
    }

    .chat-room-time {
        font-size: 0.65rem;
    }

    .user-avatar {
        width: 38px;
        height: 38px;
    }

    .user-name-line {
        font-size: 0.8rem;
    }
}
/* Кнопки действий */
.chat-room-actions {
    display: flex;
    gap: 8px;
    margin-left: 12px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.chat-room-item:hover .chat-room-actions {
    opacity: 1;
}

.chat-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-3);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-action-btn i {
    font-size: 1rem;
}

.chat-action-btn:hover {
    background: var(--danger-soft);
    border-color: var(--danger);
    color: var(--danger);
    transform: scale(1.05);
}

.chat-action-btn.hide-chat:hover {
    background: var(--info-soft);
    color: var(--info);
}

.chat-action-btn.delete-chat:hover {
    background: var(--danger-soft);
    color: var(--danger);
}

/* Для мобильных устройств кнопка видна всегда */
@media (max-width: 768px) {
    .chat-room-actions {
        opacity: 0.7;
    }
}
/* Убираем подчеркивания у ссылок */
.chat-room-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    color: inherit;
}

.chat-room-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Убираем стандартные стили ссылок */
a, a:hover, a:focus, a:active {
    text-decoration: none;
}

/* Карточка чата */
.chat-room-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line-soft);
    background: var(--surface);
    transition: all 0.3s ease;
    position: relative;
}

.chat-room-item:hover {
    background: var(--brand-soft);
}
/* Анимации для онлайн индикатора */
@keyframes onlinePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.online-pulse {
    animation: onlinePulse 2s ease-in-out infinite;
}

/* Анимация появления элементов */
.online-user-item {
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для подсветки поиска */
.search-highlight {
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    color: var(--ink);
    padding: 0 4px;
    border-radius: 4px;
    display: inline-block;
}

/* Стили для инициалов в аватарах */
.avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-weight: 600;
    font-size: 1.1rem;
}

.avatar-initials {
    color: var(--on-plum);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Для чата */
.chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.chat-header-avatar .avatar-initials {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Для большого аватара в профиле */
.avatar-initials-large {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--surface-3) 0%, var(--brand-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
}

/* Для карточек пользователей в поиске */
.user-avatar .avatar-initials {
    font-size: 0.9rem;
}

/* Стили для карточек отзывов */
.review-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--surface-3), var(--brand-soft));
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(140, 74, 91, 0.15);
}

.review-rating i {
    color: var(--warning);
    font-size: 0.9rem;
    margin-right: 2px;
}

.review-quote {
    font-size: 2rem;
    color: var(--brand);
    opacity: 0.5;
}

.review-text {
    color: var(--ink-3);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.review-author {
    border-top: 1px solid var(--line-soft);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.review-author strong {
    color: var(--ink);
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.7rem;
    color: var(--ink-3);
    margin-top: 4px;
}

/* ===== HERO (новый пример ниже) ===== */
.hero-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--color-off-white);
  overflow: hidden;
  padding: 3rem 0;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.hero-title .accent {
  color: var(--color-rose);
  font-style: italic;
}
.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}
.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 45%;
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .hero-image { display: none; }
}