/* Lumera calculator-only styles. Loaded only by index.html. */

/* =========================================
   07. КАЛЬКУЛЯТОР WIZARD (МАКЕТ И ПРОГРЕСС)
   ========================================= */
.calculator::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(14,165,233,0.05) 0%, transparent 70%); border-radius: 50%; }
.wizard-wrapper { max-width: 950px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
@media (max-width: 768px) { .wizard-wrapper { padding: 30px 20px; } }

.progress-container { display: flex; justify-content: space-between; margin-bottom: 50px; position: relative; padding: 0 20px; }
.progress-line { position: absolute; top: 50%; left: 20px; right: 20px; height: 6px; background: #e2e8f0; transform: translateY(-50%); z-index: 1; border-radius: 6px; }
.progress-line-fill { position: absolute; top: 50%; left: 20px; height: 6px; background: linear-gradient(90deg, var(--primary), #38bdf8); transform: translateY(-50%); z-index: 1; transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1); border-radius: 6px; box-shadow: 0 0 10px rgba(14,165,233,0.4); }

.step-indicator {
    width: 48px; height: 48px; border: 3px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--text-light); font-size: 1.1rem;
    position: relative; z-index: 2; transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.step-indicator.active { border-color: var(--primary); background: var(--primary); color: white; transform: scale(1.2); box-shadow: var(--shadow-glow); }
.step-indicator.completed { border-color: var(--primary); background: var(--bg-white); color: var(--primary); }

.step-card { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateX(30px); transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1); }
.step-card.active-step { opacity: 1; visibility: visible; transform: translateX(0); position: relative; }
.step-card.exit-step { transform: translateX(-30px); }
.step-title { font-size: 1.8rem; font-weight: 800; color: var(--dark); margin-bottom: 40px; text-align: center; }

/* =========================================
   08. КАЛЬКУЛЯТОР (КАРТОЧКИ, ПОЛЗУНКИ И ДР)
   ========================================= */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.choice-grid .choice-card { min-width: 0; }
.choice-grid.cleaning-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.choice-grid:has(.choice-card:hover) .choice-card:not(:hover) { opacity: 0.6; transform: scale(0.98); filter: grayscale(20%); }

@media (max-width: 600px) {
    .choice-grid.cleaning-choice-grid { grid-template-columns: 1fr; gap: 8px; }
}

.choice-card {
    padding: 35px 25px; text-align: center; cursor: pointer; transition: var(--transition);
    position: relative; overflow: hidden; background: var(--glass-bg-gradient);
}
.choice-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--primary-light), transparent); opacity: 0; transition: opacity 0.3s ease; }
.choice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #cbd5e1; }
.choice-card.selected { border-color: var(--primary); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15); transform: translateY(-5px) scale(1.02); animation: card-pulse 2s infinite; }
.choice-card.selected::before { opacity: 1; }
.choice-card i { font-size: 2.5rem; color: #94a3b8; margin-bottom: 15px; transition: var(--transition); position: relative; z-index: 1; }
.choice-card.selected i { color: var(--primary); transform: scale(1.1); animation: float 3s ease-in-out infinite; }
.choice-card h4 { font-size: 1.05rem; color: var(--dark); font-weight: 800; margin-bottom: 8px; line-height: 1.3; position: relative; z-index: 1; }
.choice-card p { font-size: 0.85rem; color: var(--text-light); position: relative; z-index: 1; font-weight: 500; }

.choice-card[data-clean="fire"].selected { border-color: var(--danger); box-shadow: 0 10px 20px rgba(225, 29, 72, 0.15); }
.choice-card[data-clean="fire"].selected::before { background: linear-gradient(135deg, #ffe4e6, transparent); }
.choice-card[data-clean="fire"].selected i { color: var(--danger); }

/* =======================================================
   СТИЛИ И КИНЕМАТИЧЕСКАЯ АНИМАЦИЯ ДЛЯ СПЕЦИАЛЬНОЙ УБОРКИ
   ======================================================= */
/* Контейнер-обертка для позиционирования руки и сердца (компактный размер под узкую иконочную колонку) */
/* Раньше рука/сердце позиционировались абсолютным bottom (0 / 13px) —
   это никогда не было настоящим центрированием относительно wrapper,
   поэтому композиция сидела заметно выше середины кнопки. Grid-стек
   (оба элемента в одной ячейке grid-area:1/1) центрирует руку честно,
   а сердце держим над ней через margin-top, не трогая transform —
   его анимируют keyframes hand-push/heart-float ниже. */
.special-heart-wrapper {
    position: relative;
    width: 100%;
    height: 28px;
    margin-bottom: 0;
    display: grid;
    place-items: center;
}

/* Базовое состояние руки */
.special-heart-wrapper .special-hand {
    grid-area: 1 / 1;
    font-size: 1.4rem;
    line-height: 1;
    color: #94a3b8;
    transform-origin: bottom center;
    transition: var(--transition);
}

/* Базовое состояние сердца (лежит на ладони) */
.special-heart-wrapper .special-heart {
    grid-area: 1 / 1;
    font-size: 0.8rem;
    line-height: 1;
    color: #94a3b8;
    margin-top: -11px; /* Высота над рукою — той же пропорції, что и раньше (bottom:13px vs bottom:0) */
    transform-origin: bottom center;
    transition: var(--transition);
}

/* --- СОСТОЯНИЕ АКТИВАЦИИ (КОГДА КАРТОЧКА ВЫБРАНА) --- */
.choice-card[data-clean="special"].selected { 
    border-color: #8b5cf6; 
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.15); 
}
.choice-card[data-clean="special"].selected::before { 
    background: linear-gradient(135deg, #ede9fe, transparent); 
}

/* Запуск анимации руки: толчок вверх */
.choice-card.selected .special-hand {
    color: #8b5cf6;
    animation: hand-push 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* Запуск анимации сердца: полет, парение и мягкое приземление */
.choice-card.selected .special-heart {
    color: #8b5cf6;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
    animation: heart-float 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* --- КЛЮЧЕВЫЕ КАДРЫ ТЯГУЧЕЙ АНИМАЦИИ --- */

/* 1. Рука: слегка приседает, резко выталкивает и плавно возвращается */
@keyframes hand-push {
    0%, 100% { transform: translateY(0) scaleY(1); }
    12% { transform: translateY(3px) scaleY(0.85); }   /* Замах / Приседание перед толчком */
    22% { transform: translateY(-5px) scaleY(1.05); }  /* Резкий импульс / Выталкивание вверх */
    32% { transform: translateY(0) scaleY(1); }       /* Возврат ладони в исходную точку */
    75% { transform: translateY(0) scaleY(1); }       /* Ожидание мягко падающего сердца */
}

/* 2. Сердце: падает вместе с рукой, взлетает, зависает в воздухе и плавно садится */
@keyframes heart-float {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    12% { transform: translateY(2px) scale(0.95); }                /* Падает вместе с ладонью при замахе */
    22% { transform: translateY(-10px) scale(1.15); }              /* Момент отрыва и вылета вверх */
    40% { transform: translateY(-17px) scale(1) rotate(-8deg); }   /* Верхняя точка (апекс), заваливание влево */
    52% { transform: translateY(-15px) scale(1) rotate(6deg); }    /* Легкое парение / зависание со смещением вправо */
    70% { transform: translateY(0) scale(1) rotate(0deg); }        /* Мягкая и аккуратная посадка обратно в руку */
}

/* Ползунки */
.slider-group { margin-bottom: 45px; padding: 30px; background: var(--glass-bg-gradient); }

/* Step 2: два ползунка в одну строку, чтобы шаг влезал на экран ноутбука */
.slider-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.slider-row .slider-group { margin-bottom: 0; }
@media (max-width: 640px) { .slider-row { grid-template-columns: 1fr; gap: 14px; } }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; font-size: 1.2rem; }
.slider-value { font-size: 2.2rem; font-weight: 800; color: var(--primary); text-shadow: 0 4px 10px rgba(14,165,233,0.2); }

input[type=range] {
    -webkit-appearance: none; width: 100%; background: transparent; height: 30px; outline: none;
    --thumb-x: 0px; --thumb-skew: 0deg; --thumb-s-x: 1; --thumb-s-y: 1;
    --thumb-trans: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 8px; cursor: pointer; background: var(--track-bg, #e2e8f0); border-radius: 4px; transition: background 0.1s; }
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; height: 28px; width: 28px; border-radius: 50%; background: var(--primary); cursor: grab; margin-top: -10px;
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.2), 0 4px 10px rgba(0,0,0,0.1); 
    transform: translateX(var(--thumb-x)) skewX(var(--thumb-skew)) scaleX(var(--thumb-s-x)) scaleY(var(--thumb-s-y)); transition: var(--thumb-trans);
}
input[type=range]:active::-webkit-slider-thumb { cursor: grabbing; background: var(--primary-hover); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.4), 0 2px 4px rgba(0,0,0,0.2); }

/* Доп. услуги */
.extra-category-title { font-size: 1.3rem; font-weight: 800; color: var(--dark); margin-bottom: 25px; display: flex; align-items: center; gap: 12px; }
.extra-category-title i { color: var(--bg-white); background: var(--primary); padding: 10px; border-radius: 12px; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(14,165,233,0.3); }
.extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 15px; }
.extra-box { display: flex; align-items: center; padding: 18px; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.extra-box::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: rgba(14, 165, 233, 0.4); transition: var(--transition); }
.extra-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.extra-box:hover::before { background: #cbd5e1; }
.extra-box.selected { border-color: var(--primary); box-shadow: 0 8px 15px rgba(14, 165, 233, 0.1); }
.extra-box.selected::before { background: var(--primary); width: 100%; opacity: 0.05; }
.extra-box i { font-size: 1.5rem; color: #94a3b8; margin-right: 15px; width: 28px; text-align: center; transition: var(--transition); z-index: 1; }
.extra-box.selected i { color: var(--primary); }
.extra-info { z-index: 1; }
.extra-info h5 { font-size: 1.05rem; color: var(--dark); font-weight: 800; line-height: 1.2; }
.extra-info p { font-size: 0.9rem; color: var(--primary); font-weight: 700; margin-top: 5px; }

/* Счетчики */
.counter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; }
.counter-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.counter-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #cbd5e1; }
.counter-info h5 { font-size: 1.05rem; color: var(--dark); font-weight: 800; margin-bottom: 4px;}
.counter-info p { font-size: 0.9rem; color: var(--text-light); font-weight: 800; }
.counter-controls { display: flex; align-items: center; gap: 12px; background: transparent; padding: 0; }
.counter-btn { width: 34px; height: 34px; border: none; background: #f1f5f9; border-radius: 50%; font-size: 1.2rem; font-weight: bold; cursor: pointer; color: var(--text-main); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.counter-btn:hover { background: var(--primary); color: white; transform: scale(1.05); }
.counter-btn:active { transform: scale(0.95); }
.counter-value { font-size: 1.2rem; font-weight: 800; width: 24px; text-align: center; color: var(--dark); }

/* =========================================
   КОМПАКТНІ КАРТКИ З ІКОНКАМИ (ДЛЯ ВІКОН)
   ========================================= */
.compact-grid {
    gap: 10px; /* Зменшуємо відстань між елементами */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* Трохи ущільнюємо колонки */
}

.compact-item {
    padding: 10px 14px; /* Зменшуємо внутрішні відступи */
}

/* Налаштування блоку з текстом і іконкою */
.counter-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Стиль самої іконки */
.counter-icon {
    font-size: 1.2rem;
    color: #94a3b8;
    background: #dfe5ec38;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

/* Ефект при наведенні миші на картку */
.counter-item:hover .counter-icon,
.extra-box:hover .counter-icon i {
    color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.05);
}

/* Зменшуємо шрифти для компактних карток */
.compact-item .counter-info h5,
.compact-item .extra-info h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    line-height: 1.2;
}

.compact-item .counter-info p,
.compact-item .extra-info p {
    font-size: 0.85rem;
}

/* Зменшуємо кнопки +/- */
.compact-item .counter-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}
.compact-item .counter-value {
    font-size: 1.1rem;
}

/* Чек и Форма */
.summary-receipt { padding: 40px; position: relative; border: 2px dashed #8d8d8d42; }
.summary-receipt::before, .summary-receipt::after { content: ''; position: absolute; width: 30px; height: 30px; background: var(--bg-body); border-radius: 50%; top: -15px; }
.summary-receipt::before { left: -15px; border-right: 2px dashed #cbd5e1; border-bottom: 2px dashed #cbd5e1; transform: rotate(-45deg); }
.summary-receipt::after { right: -15px; border-left: 2px dashed #cbd5e1; border-bottom: 2px dashed #cbd5e1; transform: rotate(45deg); }
.receipt-line { display: flex; justify-content: space-between; margin-bottom: 15px; color: var(--text-main); font-size: 1.05rem; font-weight: 500; }
.receipt-line.total { margin-top: 30px; padding-top: 30px; border-top: 2px dashed #cbd5e1; font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.receipt-line span.price { font-weight: 800; color: var(--dark); }
.receipt-line.total span.price { color: var(--primary); font-size: 2rem; text-shadow: 0 4px 10px rgba(14,165,233,0.2); }

.contact-form-wizard { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .contact-form-wizard { grid-template-columns: 1fr; } }
.contact-input-wizard { width: 100%; padding: 18px 20px; font-size: 1.05rem; outline: none; transition: var(--transition); font-family: inherit; background: #ffffff12; }
.contact-input-wizard:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); }

/* Липкая нижняя панель */
.bottom-bar { position: sticky; bottom: 20px; padding: 20px 30px; z-index: 100; margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; transition: var(--transition); background: var(--glass-bg-gradient); }
.stats-display { display: grid; grid-template-columns: minmax(145px, 1fr) minmax(220px, 1.35fr) minmax(100px, .8fr); gap: 24px; align-items: center; min-width: 0; }
.stat-item { display: flex; flex-direction: column; }
.stat-label { font-size: 0.8rem; color: var(--text-light); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-number { display: inline-block; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.stat-value.highlight .stat-number { min-width: 4ch; }
.stat-value.highlight { display: inline-flex; align-items: baseline; gap: .25ch; white-space: nowrap; }
.stat-time-controls { min-width: 220px; }
.stat-value#barTime { min-width: 11ch; white-space: nowrap; }
.stat-minutes { display: inline-flex; align-items: baseline; gap: .25ch; visibility: visible; }
.stat-minutes.is-hidden { visibility: hidden; }
#barCleanersBox { min-width: 105px; flex-shrink: 0; }
.stat-value small { font-size: 1.1rem; color: var(--text-light); }
.stat-value.highlight { color: var(--primary); }
.nav-buttons { display: flex; gap: 20px; min-width: 0; }
.bottom-bar > .nav-buttons { flex-shrink: 0; }
.btn-prev { background: var(--bg-body); color: var(--text-main); border: 2px solid var(--border); box-shadow: none; }
.btn-prev:hover { background: #f8fafca3; border-color: #cbd5e1; transform: translateX(-5px); box-shadow: none; }
.btn-prev::after { display: none; }

@media (min-width: 769px) {
    .stats-display > .stat-item:first-child { flex: 0 0 auto; }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .bottom-bar { gap: 14px; padding: 16px 18px; }
    .stats-display { grid-template-columns: minmax(125px, .85fr) minmax(200px, 1.4fr) minmax(85px, .7fr); gap: 12px; }
    .bottom-bar > .nav-buttons { gap: 8px; }
    .bottom-bar > .nav-buttons .btn { padding: 12px 16px; font-size: 1rem; }
}

@media (max-width: 768px) {
    .stat-time-controls { min-width: 0; }
    .stat-value#barTime { min-width: 0; }
    #barCleanersBox { min-width: 0; }
    .step-card { padding: 30px 20px; width: 120%; margin-left: -30px; }
    .bottom-bar { display: flex; padding: 15px 20px; bottom: 10px; flex-direction: column; gap: 15px; }
    .stats-display { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; width: 100%; gap: 10px; margin-bottom: 5px; }
    .stat-item { border-left: none !important; padding-left: 0 !important; align-items: flex-start; }
    .stat-label { font-size: 0.7rem; margin-bottom: 2px; }
    .stat-value { font-size: 1.3rem; }
    .stat-value small { font-size: 0.85rem; }
    #barCleaners { font-size: 1rem !important; padding-top: 0 !important; }
    .nav-buttons { width: 100%; display: flex; gap: 10px; }
    .nav-buttons .btn { flex: 1; text-align: center; padding: 14px 10px; font-size: 1rem; }
    
    .hero-content {
        margin-bottom: -55% !important;
    }

    .bottom-bar.is-floating {
        position: fixed !important;
        display: block !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        width: 96% !important;
        margin: 2% !important;
        box-sizing: border-box !important;
        padding: 15px 20px calc(15px + env(safe-area-inset-bottom)) !important;
        border-radius: 25px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(46px);
        -webkit-backdrop-filter: blur(46px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 -10px 30px rgba(14, 165, 233, 0.2) !important;

        /* Плавное тягучее появление/зникнення: display не анимируется и раньше
           обрывал переход мгновенно (display:none -> block). Теперь панель
           всегда display:block, а видимость управляется opacity/transform —
           visibility выключает её из tab-order только ПОСЛЕ завершения ухода. */
        visibility: hidden;
        opacity: 0;
        pointer-events: none !important;
        transform: translateY(45px) scale(0.96);
        transition: opacity var(--viscous-duration) var(--viscous-ease),
                    transform var(--viscous-duration) var(--viscous-ease),
                    visibility 0s linear var(--viscous-duration);
    }

    /* Сдвиг кнопки заказа вверх, когда показан калькулятор */
    .bottom-bar.is-floating.show ~ .fab-container {
        /* Высота панели (70px) + отступ от нее (15px) = 85px */
        bottom: 225px;
        /* Добавляем плавность перемещения */
        transition: transform var(--transition), bottom 0.4s ease-out;
    }

    .bottom-bar.is-floating.show {
        visibility: visible;
        opacity: 1 !important;
        pointer-events: all !important;
        transform: translateY(0) scale(1) !important;
        transition: opacity var(--viscous-duration) var(--viscous-ease),
                    transform var(--viscous-duration) var(--viscous-ease),
                    visibility 0s linear 0s;
    }
}

/* =========================================
   09. АНИМАЦИИ (ГЛОБАЛЬНЫЕ И ИКОНКИ КАЛЬКУЛЯТОРА)
   ========================================= */
@keyframes auto-glow { 0% { left: -100%; } 15% { left: 100%; } 100% { left: 100%; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0px); } }
@keyframes card-pulse { 0% { box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15), 0 0 0 0 rgba(14, 165, 233, 0.4); } 70% { box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15), 0 0 0 15px rgba(14, 165, 233, 0); } 100% { box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15), 0 0 0 0 rgba(14, 165, 233, 0); } }
@keyframes orbit-rotate { from { transform: rotate(0deg) translateZ(0); } to { transform: rotate(360deg) translateZ(0); } }
@keyframes glow-expand { 0% { scale: 1; opacity: 0.4; } 100% { scale: 1.8; opacity: 0.7; } }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes pulse-tag { 0% { box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); } 50% { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6); } 100% { box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); } }
@keyframes wave-flow { from { stroke-dashoffset: 22; } to { stroke-dashoffset: 0; } }
@keyframes arrow-bounce-vertical { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes bg-shimmer { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes fluid-flow { 0% { transform: translate(0, 0) scale(1) rotate(0deg); } 33% { transform: translate(150px, -100px) scale(1.15) rotate(15deg); } 66% { transform: translate(-100px, 150px) scale(0.85) rotate(-15deg); } 100% { transform: translate(100px, 100px) scale(1.2) rotate(5deg); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-fab { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); } 70% { box-shadow: 0 0 0 20px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* Специфические анимации иконок калькулятора */
@keyframes sweep { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-15deg); } 75% { transform: rotate(15deg); } }
@keyframes clink-left { 0%, 100% { transform: rotate(0deg); } 40%, 60% { transform: rotate(20deg); } }
@keyframes clink-right { 0%, 100% { transform: rotate(0deg); } 40%, 60% { transform: rotate(-20deg); } }
@keyframes zap { 0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; } 5% { transform: scale(1.2) rotate(-15deg); opacity: 0.8; } 10% { transform: scale(1.1) rotate(10deg); opacity: 1; } 15% { transform: scale(1.3) rotate(-5deg); opacity: 0.9; } 20% { transform: scale(1) rotate(0deg); opacity: 1; } }
@keyframes sparkle-magic { 0% { transform: scale(1) rotate(0deg); opacity: 0.8; } 50% { transform: scale(1.25) rotate(90deg); opacity: 1; filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.9)); } 100% { transform: scale(1) rotate(180deg); opacity: 0.8; } }
@keyframes bounce-leaf { 0%, 100% { transform: translateY(0) rotate(0deg) scale(1); } 50% { transform: translateY(-12px) rotate(15deg) scale(1.1); } }
@keyframes box-bounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.05); } }
@keyframes fly-out-p1 { 0% { transform: translate(-50%, 0) scale(0); opacity: 0; } 50% { opacity: 1; } 100% { transform: translate(-12px, -18px) rotate(45deg) scale(1); opacity: 0; } }
@keyframes fly-out-p2 { 0% { transform: translate(-50%, 0) scale(0); opacity: 0; } 50% { opacity: 1; } 100% { transform: translate(0px, -24px) rotate(-20deg) scale(1); opacity: 0; } }
@keyframes fly-out-p3 { 0% { transform: translate(-50%, 0) scale(0); opacity: 0; } 50% { opacity: 1; } 100% { transform: translate(9px, -12px) rotate(110deg) scale(1); opacity: 0; } }
@keyframes hammer-strike { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-45deg); } 40% { transform: rotate(25deg); } 50% { transform: rotate(-10deg); } 60% { transform: rotate(0deg); } }
@keyframes drop-drip { 0% { transform: translateY(-10px) scaleY(0.8); opacity: 0; } 20% { transform: translateY(-5px) scaleY(1.1); opacity: 1; } 50% { transform: translateY(15px) scaleY(1.3) scaleX(0.8); opacity: 1; } 60% { transform: translateY(15px) scaleY(0.5) scaleX(1.5); opacity: 0; } 100% { transform: translateY(15px); opacity: 0; } }
@keyframes burn-flicker { 0%, 100% { transform: scale(1) skewX(0deg); color: var(--danger); filter: drop-shadow(0 0 5px rgba(225, 29, 72, 0.5)); } 25% { transform: scale(1.15) scaleY(1.1) skewX(-5deg); color: #ea580c; filter: drop-shadow(0 -6px 10px rgba(234, 88, 12, 0.7)); } 50% { transform: scale(0.95) scaleY(0.9) skewX(3deg); color: #f59e0b; filter: drop-shadow(0 -2px 6px rgba(245, 158, 11, 0.6)); } 75% { transform: scale(1.1) scaleY(1.05) skewX(-2deg); color: #ea580c; filter: drop-shadow(0 -5px 12px rgba(234, 88, 12, 0.8)); } }

/* Применение анимаций иконок калькулятора */
.clinking-glasses { display: flex; justify-content: center; gap: 2px; height: 28px; margin-bottom: 0; position: relative; z-index: 1; }
.clinking-glasses i { font-size: 1.4rem; color: #94a3b8; transition: var(--transition); transform-origin: bottom center; }
.choice-card.selected .clinking-glasses i { color: #f59e0b; }
.choice-card.selected .left-glass { animation: clink-left 1s ease-in-out infinite; }
.choice-card.selected .right-glass { animation: clink-right 1s ease-in-out infinite; }
.choice-card.selected i.fa-champagne-glasses { animation: clink 0.8s ease-in-out infinite; color: #f59e0b; }
.choice-card.selected i.fa-bolt { animation: zap 2s linear infinite; color: #eab308; filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.6)); }
.choice-card.selected i.fa-wand-magic-sparkles { animation: sparkle-magic 2.5s ease-in-out infinite; color: var(--primary); }
.choice-card.selected i.fa-leaf { animation: bounce-leaf 1.5s ease-in-out infinite; color: var(--accent); filter: drop-shadow(0 5px 8px rgba(16, 185, 129, 0.4)); }
.moving-box-wrapper { position: relative; display: flex; align-items: center; justify-content: center; height: 28px; margin-bottom: 0; }
/* Небольшая поправка на оптический центр иконки (у fa-box-open заметно больше
   «воздуха» снизу глифа, чем сверху) — margin, а не transform, чтобы не
   конфликтовать с анимацией box-bounce (она анимирует transform). */
.moving-box-wrapper .fa-box-open { font-size: 1.5rem; line-height: 1; margin-top: 3px; }
.choice-card.selected .fa-box-open { animation: box-bounce 0.8s ease-in-out infinite; color: #a16207; }
.box-particle { position: absolute; width: 4px; height: 4px; background: #a16207; border-radius: 2px; opacity: 0; top: 6px; left: 50%; }
.choice-card.selected .p1 { animation: fly-out-p1 1s ease-out infinite; }
.choice-card.selected .p2 { animation: fly-out-p2 1s ease-out infinite 0.2s; } 
.choice-card.selected .p3 { animation: fly-out-p3 1s ease-out infinite 0.4s; }
.choice-card.selected i.fa-broom { animation: sweep 1s ease-in-out infinite; }
.choice-card.selected i.fa-hammer { transform-origin: bottom left; animation: hammer-strike 1.5s ease-in-out infinite; color: #f97316; filter: drop-shadow(0 4px 6px rgba(249, 115, 22, 0.3)); }
/* Компактный кластер капель: разного размера, на разных уровнях,
   абсолютным позиционированием вмещается в узкую иконочную колонку плитки. */
.dripping-drops { position: relative; width: 30px; height: 32px; margin-bottom: 0; }
.dripping-drops i { position: absolute; font-size: 0.7rem; color: #94a3b8; transition: var(--transition); }
.choice-card.selected .dripping-drops i { color: #0ea5e9; filter: drop-shadow(0 3px 4px rgba(14, 165, 233, 0.4)); }
.dripping-drops .drop-1 { left: 0; top: 7px; font-size: 0.66rem; }
.dripping-drops .drop-2 { left: 10px; top: 12px; font-size: 0.92rem; }
.dripping-drops .drop-3 { left: 20px; top: 1px; font-size: 0.62rem; }
.choice-card.selected .drop-1 { animation: drop-drip 1.8s infinite 0s; }
.choice-card.selected .drop-2 { animation: drop-drip 1.8s infinite 0.6s; }
.choice-card.selected .drop-3 { animation: drop-drip 1.8s infinite 1.2s; }
.choice-card.selected i.fa-fire { transform-origin: bottom center; animation: burn-flicker 0.6s infinite; }

/* =======================================================
   ФИКС ПЕРЕКРЫТИЯ: ПРЯЧЕМ НИЖНЮЮ ПАНЕЛЬ ПРИ ОТКРЫТИИ ОФЕРТЫ
   ======================================================= */
body:has(#legalModal.active) .bottom-bar.is-floating.show {
    transform: translateY(150%) !important; /* Плавно уводим панель вниз за экран */
    opacity: 0 !important;                  /* Растворяем её */
    pointer-events: none !important;        /* Отключаем любые случайные клики по ней */
}

/* =======================================================
   ФИКС МОБИЛЬНОГО ЧЕКА (КРАСИВАЯ ВЕРСТКА ДЛЯ ШАГА 5)
   ======================================================= */
@media (max-width: 768px) {
    .summary-receipt {
        padding: 25px 15px; /* Делаем внутренние отступы компактнее */
    }

    .receipt-line {
        display: flex;
        justify-content: space-between;
        align-items: flex-start; /* Прижимаем к верху, если текст слева идет в 2-3 строки */
        gap: 15px; /* Гарантированный отступ между текстом и ценой */
        line-height: 1.4;
    }

    /* Левая часть (Название услуги) */
    .receipt-line span:first-child {
        flex: 1 1 auto; /* Разрешаем занимать всё доступное место */
        text-align: left;
        word-break: break-word; /* Аккуратно переносим длинные названия на новые строки */
    }

    /* Правая часть (Цена или количество) */
    .receipt-line span:last-child,
    .receipt-line span.price {
        flex: 0 0 auto; /* КАТЕГОРИЧЕСКИ запрещаем цене сжиматься */
        white-space: nowrap; /* ЗАПРЕЩАЕМ перенос цены на новую строку! */
        text-align: right;
    }

    /* Центрируем строку "Разом до сплати" */
    .receipt-line.total {
        align-items: center; 
        margin-top: 20px;
    }
    
    /* Делаем шрифт полей формы более читаемым на смартфонах */
    .contact-input-wizard {
        font-size: 1rem; 
        padding: 16px 15px;
    }
}

/* =======================================================
   АККОРДЕОН ДЛЯ КАТЕГОРИЙ ДОП. УСЛУГ (ШАГ 4)
   ======================================================= */
.extra-category-title {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0 !important; /* Сбрасываем фиксированный отступ */
    padding: 12px 0;
    transition: var(--transition);
}

/* Динамическая стрелочка, которую мы добавим через JS */
.category-chevron {
    margin-left: auto; /* Прижимаем стрелку к правому краю */
    font-size: 1.1rem;
    color: var(--text-light);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Состояние, когда категория раскрыта */
.extra-category.active-category .category-chevron {
    transform: rotate(-180deg);
    color: var(--primary);
}

/* Анимация плавного схлопывания/раскрытия списков */
.extra-category .counter-grid,
.extra-category .extras-grid {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s ease,
                margin 0.6s ease;
    margin-top: 0;
}

/* Раскрытое состояние контейнеров (с запасом по высоте) */
.extra-category.active-category .counter-grid,
.extra-category.active-category .extras-grid {
    max-height: 2500px; /* Высота с запасом для больших сеток вроде кухни */
    opacity: 1;
    margin-top: 25px; /* Возвращаем красивый отступ только при открытии */
}

/* =======================================================
   ФИКС НАЛОЖЕНИЯ ПАНЕЛИ НА МОБИЛЬНУЮ КЛАВИАТУРУ (ШАГ 5)
   ======================================================= */
@media (max-width: 768px) {
    .bottom-bar.hide-for-keyboard {
        transform: translateY(150%) !important; /* Уводим плавно вниз за экран */
        opacity: 0 !important;                  /* Растворяем */
        pointer-events: none !important;        /* Блокируем клики */
        visibility: hidden !important;
        /* Клавиатура должна прятать панель быстро, а не тягуче — иначе панель
           будет заметно наезжать на поле ввода, пока идёт долгая анимация. */
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s !important;
    }
}
/* --- Step 5: понятная структура чекаута --- */
/* Breakout: делаем чекаут шире родительского wizard-wrapper (950px),
   т.к. форма справа была слишком узкой. Применяем только к активному шагу. */
#step-5.active-step {
    width: min(94vw, 1080px);
    left: 50%;
    margin-left: max(-47vw, -540px);
    margin-right: 0;
}

#step-5 .step-title { margin-bottom: 8px; }

.checkout-lead {
    max-width: 640px;
    margin: 0 auto 26px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.5;
    font-weight: 500;
}

.checkout-col { display: flex; flex-direction: column; }

.checkout-block-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.checkout-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    color: #fff;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.28);
}

.checkout-block-titles h4 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.checkout-block-titles p {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.3;
}

.checkout-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 2px 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
}

.checkout-note i { color: var(--primary); font-size: 0.95rem; }

.label-optional { color: var(--text-light); font-weight: 500; }

.extra-category-title {
    min-height: 58px;
    padding: 9px 10px 9px 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.extra-category-title:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.24);
    outline-offset: 3px;
}

.category-chevron {
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 13px;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.1);
    transform: none;
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.category-chevron i {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.extra-category-title:hover .category-chevron {
    transform: translateY(-2px);
    border-color: rgba(14, 165, 233, 0.42);
}

.extra-category.active-category .category-chevron {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), #38bdf8);
    transform: none;
}

@media (max-width: 800px) {
    .checkout-compact-grid { grid-template-columns: 1fr; gap: 14px; }
    .checkout-compact-grid .summary-receipt { padding: 18px; }
}

@media (max-width: 720px) {
    .navbar .logo-img { height: 36px; max-width: 126px; }
}

@media (max-width: 420px) {
    #step-5 .step-title { font-size: 1.3rem; }
    .checkout-compact-grid .contact-form-wizard { grid-template-columns: 1fr; }
}

/* =========================================
   Step 4 refresh: компактный аккордеон услуг
   ========================================= */
/* Breakout: делаем шаг шире родительского wizard-wrapper (950px),
   чтобы комфортно поместить 3 колонки. ВАЖНО: применяем только к
   активному шагу, иначе неактивный (высокий) step-4 остаётся в потоке
   и добавляет пустой отступ на всех остальных шагах.
   Позицию НЕ переопределяем — она приходит из .step-card(.active-step). */
#step-4.active-step {
    width: min(94vw, 1140px);
    left: 50%;
    margin-left: max(-47vw, -570px);
    margin-right: 0;
}

/* Ширина/смещение breakout применяются мгновенно — анимируем только
   появление (fade + slide), иначе блок «раздувается» при смене шага. */
#step-4.active-step,
#step-5.active-step {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#step-4 .step-title {
    margin-bottom: 28px;
    font-size: clamp(1.45rem, 3vw, 1.8rem);
}

#step-4 .extra-category {
    margin-bottom: 12px;
}
#step-4 .extra-category:last-child { margin-bottom: 0; }

#step-4 .extra-category-title {
    min-height: 48px;
    gap: 10px;
    padding: 6px 8px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(46px);
    -webkit-backdrop-filter: blur(46px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.045);
    font-size: 1rem;
    line-height: 1.25;
}

#step-4 .extra-category-title > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    box-shadow: 0 6px 12px rgba(14, 165, 233, 0.22);
    font-size: 0.9rem;
}

#step-4 .category-chevron {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 2px solid rgba(14, 165, 233, 0.16);
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #0284c7);
    box-shadow: 0 5px 12px rgba(14, 165, 233, 0.22);
}

#step-4 .category-chevron i { font-size: 0.8rem; }
#step-4 .extra-category-title:hover { border-color: rgba(14, 165, 233, 0.35); transform: translateY(-1px); }
#step-4 .extra-category-title:hover .category-chevron { transform: none; }
#step-4 .extra-category.active-category .extra-category-title {
    border-color: rgba(14, 165, 233, 0.4);
    background: rgba(240, 249, 255, 0.92);
}

#step-4 .extra-category .counter-grid,
#step-4 .extra-category .extras-grid {
    max-height: 0;
    margin: 0;
    padding: 0 6px;
    overflow: hidden;
    scrollbar-width: thin;
}

#step-4 .extra-category.active-category .counter-grid,
#step-4 .extra-category.active-category .extras-grid {
    max-height: min(52vh, 480px);
    margin-top: 5px;
    padding: 12px 8px 10px;
    overflow-y: auto;
}

#step-4 .counter-grid,
#step-4 .extras-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#step-4 .counter-item,
#step-4 .extra-box {
    min-height: 60px;
    padding: 10px 13px;
    border-radius: 13px;
}

#step-4 .counter-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

#step-4 .counter-controls { gap: 7px; }
#step-4 .counter-btn { width: 28px; height: 28px; }

/* Внутренняя группировка услуг по типу внутри категории (напр. cat-sofa:
   дивани / матраци / крісла-стільці / текстиль) — заголовок на всю ширину грида. */
.counter-grid .service-subgroup-title,
.extras-grid .service-subgroup-title {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 2px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--primary-hover, var(--primary));
}
.counter-grid .service-subgroup-title:first-child,
.extras-grid .service-subgroup-title:first-child {
    margin-top: 0;
}
.counter-grid .service-subgroup-title i,
.extras-grid .service-subgroup-title i {
    font-size: 0.85rem;
    color: var(--primary);
}

.wizard-wrapper:has(#step-4.active-step) .bottom-bar {
    margin-top: 24px;
    padding: 14px 24px;
    border-radius: 18px;
}

/* На шагах с большим количеством данных делаем нижнюю панель шире,
   чтобы статистика и навигация не конкурировали за одну строку. */
.wizard-wrapper:has(#step-4.active-step) .bottom-bar,
.wizard-wrapper:has(#step-5.active-step) .bottom-bar {
    width: min(94vw, 1080px);
    margin-left: calc((950px - min(94vw, 1080px)) / 2);
    margin-right: calc((950px - min(94vw, 1080px)) / 2);
    box-sizing: border-box;
}

@media (max-width: 992px) {
    /* Планшет: убираем breakout, возвращаем ширину в рамки wrapper и 2 колонки */
    #step-4.active-step { width: 100%; left: auto; margin-left: 0; margin-right: 0; }
    #step-4 .counter-grid,
    #step-4 .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wizard-wrapper:has(#step-4.active-step) .bottom-bar,
    .wizard-wrapper:has(#step-5.active-step) .bottom-bar {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 620px) {
    #step-4.active-step { width: calc(100% + 40px); left: auto; margin-left: -20px; margin-right: -20px; }
    #step-4 .step-title { margin-bottom: 14px; font-size: 1.25rem; }
    #step-4 .extra-category { margin-bottom: 8px; }
    #step-4 .extra-category:last-child { margin-bottom: 0; }
    #step-4 .extra-category-title { min-height: 44px; gap: 6px; padding: 5px 6px; font-size: 0.8rem; line-height: 1.15; }
    #step-4 .extra-category-title > i,
    #step-4 .category-chevron { width: 28px; height: 28px; flex-basis: 28px; }
    #step-4 .counter-grid,
    #step-4 .extras-grid { grid-template-columns: 1fr; }
    #step-4 .extra-category.active-category .counter-grid,
    #step-4 .extra-category.active-category .extras-grid { max-height: 46vh; }
    .wizard-wrapper:has(#step-4.active-step) .bottom-bar { margin-top: 16px; padding: 12px 14px; }
}

/* ---- 5. Живой счётчик выбора на заголовках категорий ---- */
.cat-count-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    margin-left: auto;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.35);
}
.cat-count-badge.show {
    display: inline-flex;
    animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badgePop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
/* шеврон встаёт вплотную к бейджу только когда бейдж показан */
#step-4 .extra-category-title .cat-count-badge.show + .category-chevron { margin-left: 8px; }

/* ---- 6. Пульс цены в нижней панели ---- */
#barTotal { transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); display: inline-flex; align-items: baseline; gap: .25ch; white-space: nowrap; }
#barTotal.price-pulse { transform: scale(1.12); }

/* ---- 7. Trust-бейджи над кнопкой (шаг 5) ---- */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 16px;
}
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}
.trust-badge i { color: var(--primary); font-size: 0.9rem; }
@media (max-width: 480px) {
    .trust-badge { padding: 7px 11px; font-size: 0.78rem; }
}
