/* ═══════════════════════════════════════════════════════════════
 * Стили подборки «Умный климат» и карточки товара (climate.css)
 * 100% интеграция с дизайн-системой основного сайта DoorHan style.css
 * ═══════════════════════════════════════════════════════════════ */

/* ── 1. Хлебные крошки ──────────────────────────────────────── */
#dh-smarthome-landing .dh-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 25px;
    padding-top: 15px;
}

#dh-smarthome-landing .dh-breadcrumbs a {
    color: var(--dh-blue-active);
    text-decoration: none;
    font-weight: 500;
    transition: var(--dh-transition);
}

#dh-smarthome-landing .dh-breadcrumbs a:hover {
    color: var(--dh-orange-btn);
    text-decoration: underline;
}

#dh-smarthome-landing .dh-breadcrumbs .dh-bc-sep {
    color: #999999;
}

#dh-smarthome-landing .dh-breadcrumbs .dh-bc-curr {
    color: var(--dh-text-dark);
    font-weight: 600;
}

/* ── 2. Карточка товара в каталоге подборки ──────────────────── */
#dh-smarthome-landing .dh-sh-modules-grid .dh-sh-marketplaces {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
    min-height: auto;
}

#dh-smarthome-landing .dh-sh-modules-grid .dh-sh-marketplaces .dh-sh-btn-outline {
    width: 100%;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 10px 14px !important;
}



/* ── 3. Интерактивные атмосферные сцены автоматизации климата ───── */
#dh-smarthome-landing .dh-climate-scenes {
    margin-top: 55px;
    display: flex;
    flex-direction: column;
    gap: 65px;
}

#dh-smarthome-landing .dh-scene-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid #eef0f3;
}

/* Шапка сцены */
#dh-smarthome-landing .dh-scene-header {
    padding: 35px 35px 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #f0f2f5;
}

#dh-smarthome-landing .dh-scene-meta {
    flex: 1 1 500px;
    max-width: 720px;
}

#dh-smarthome-landing .dh-scene-controls {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

#dh-smarthome-landing .dh-scene-meta {
    max-width: 650px;
}

#dh-smarthome-landing .dh-scene-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dh-orange);
    margin-bottom: 8px;
}

#dh-smarthome-landing .dh-scene-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dh-blue);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

#dh-smarthome-landing .dh-scene-desc {
    font-size: 0.95rem;
    color: var(--dh-text-main);
    line-height: 1.55;
    margin: 0;
}

/* Блок управления в шапке (тумблер + статус) */
#dh-smarthome-landing .dh-scene-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

#dh-smarthome-landing .dh-scene-toggle {
    display: inline-flex;
    background: var(--dh-bg-light);
    border-radius: 30px;
    padding: 4px;
    border: 1px solid #e5e7eb;
}

#dh-smarthome-landing .dh-scene-toggle-btn {
    border: none;
    background: transparent;
    padding: 9px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #555555;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#dh-smarthome-landing .dh-scene-toggle-btn.active {
    background: var(--dh-blue);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(29, 54, 94, 0.25);
}

#dh-smarthome-landing .dh-scene-toggle-btn.active.accent-orange {
    background: var(--dh-orange-btn);
    box-shadow: 0 2px 8px rgba(234, 148, 45, 0.35);
}

/* Индикатор выполнения и завершения сценария */
#dh-smarthome-landing .dh-scene-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
}

#dh-smarthome-landing .dh-scene-status-badge {
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#dh-smarthome-landing .dh-scene-status-badge.running {
    background: rgba(234, 148, 45, 0.12);
    color: #d67e00;
    border: 1px solid rgba(234, 148, 45, 0.3);
}

#dh-smarthome-landing .dh-scene-status-badge.done {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(46, 125, 50, 0.25);
}

#dh-smarthome-landing .dh-scene-status-badge .dh-pulse-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: dhPulse 1s infinite alternate;
}

@keyframes dhPulse {
    from { opacity: 0.4; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1.15); }
}

#dh-smarthome-landing .dh-scene-replay-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dh-blue);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

#dh-smarthome-landing .dh-scene-replay-btn:hover {
    background: var(--dh-blue);
    color: #ffffff;
    border-color: var(--dh-blue);
}

/* Сценическая площадка (Stage) */
#dh-smarthome-landing .dh-scene-stage {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#dh-smarthome-landing .dh-scene-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 40, 0.3) 0%, rgba(8, 24, 40, 0.05) 50%, rgba(8, 24, 40, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Окно створка анимация в Сцене 1 */
#dh-smarthome-landing .dh-window-sash-zone {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    transition: all 0.6s ease;
}

#dh-smarthome-landing .dh-window-sash-zone.is-opened {
    background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    box-shadow: inset 5px 0 25px rgba(0, 84, 162, 0.2);
}

/* Солнце и физические шторы в Сцене 3 */
#dh-smarthome-landing .dh-sun-glare {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 230, 150, 0.45) 0%, rgba(255, 200, 100, 0.15) 50%, transparent 80%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.8s ease;
}

#dh-smarthome-landing .dh-curtain-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 29%;
    height: 100%;
    background: linear-gradient(90deg, rgba(245, 242, 236, 0.90) 0%, rgba(235, 230, 220, 0.95) 50%, rgba(225, 220, 210, 0.98) 100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.22);
    z-index: 3;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    pointer-events: none;
    border-left: 2px solid rgba(255,255,255,0.4);
}

#dh-smarthome-landing .dh-curtain-layer.is-closed {
    transform: translateX(0%);
    opacity: 1;
}

#dh-smarthome-landing .dh-scene-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.7);
    transition: all 0.35s ease;
    z-index: 5;
}

#dh-smarthome-landing .dh-scene-badge.is-highlight {
    border-color: var(--dh-orange-btn);
    box-shadow: 0 0 20px rgba(234, 148, 45, 0.5);
    scale: 1.04;
}

#dh-smarthome-landing .dh-scene-badge-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dh-blue);
    margin-bottom: 4px;
}

#dh-smarthome-landing .dh-scene-badge-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dh-text-dark);
}

#dh-smarthome-landing .dh-scene-badge-sub {
    font-size: 12px;
    color: #555555;
    margin-top: 2px;
}

/* =========================================================================
   ОБОРУДОВАНИЕ СЦЕНАРИЯ И ТЕХНОЛОГИЧЕСКИЙ МАРШРУТ (БАЗОВЫЙ / ПК ДЕСКТОП)
   ========================================================================= */
#dh-smarthome-landing .dh-scene-devices {
    padding: 24px 35px 28px;
    background: #ffffff;
    position: relative;
    z-index: 5;
    border-top: 1px solid #f0f2f5;
}

#dh-smarthome-landing .dh-scene-devices-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #777777;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#dh-smarthome-landing .dh-scene-flow-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow-x: visible;
    gap: 6px;
    padding: 6px 0 8px 0;
}

#dh-smarthome-landing .dh-scene-device-sku {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--dh-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

@media (min-width: 769px) {
    #dh-smarthome-landing .dh-scene-flow-wrapper {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        flex-wrap: nowrap;
        overflow-x: visible;
    }
    #dh-smarthome-landing .dh-scene-device-card {
        flex: 1 1 0;
        min-width: 0;
        padding: 8px 8px;
        gap: 8px;
    }
    #dh-smarthome-landing .dh-scene-device-img {
        width: 38px;
        height: 38px;
    }
    #dh-smarthome-landing .dh-flow-arrow {
        width: 14px;
        flex: 0 0 14px;
        transform: none;
    }
    #dh-smarthome-landing .dh-flow-arrow svg {
        width: 14px;
        height: 14px;
    }
    #dh-smarthome-landing .dh-flow-arrow.active {
        transform: scale(1.15);
    }
}


/* =========================================================================
   АДАПТИВНОСТЬ СЦЕНАРИЕВ И АНИМАЦИЙ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (<= 768px)
   ========================================================================= */
@media (max-width: 768px) {
    #dh-smarthome-landing .dh-scene-item {
        border-radius: 12px;
        margin-bottom: 24px;
    }

    #dh-smarthome-landing .dh-scene-header {
        padding: 20px 16px 16px;
        gap: 14px;
    }

    #dh-smarthome-landing .dh-scene-meta {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #dh-smarthome-landing .dh-scene-tag {
        font-size: 11px;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
    }

    #dh-smarthome-landing .dh-scene-title {
        font-size: 1.25rem;
        line-height: 1.3;
        margin: 0 0 8px 0;
    }

    #dh-smarthome-landing .dh-scene-desc {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    #dh-smarthome-landing .dh-scene-controls {
        width: 100%;
        align-items: stretch;
        gap: 10px;
        margin-top: 4px;
    }

    #dh-smarthome-landing .dh-scene-toggle {
        display: flex;
        width: 100%;
        border-radius: 12px;
        padding: 4px;
        background: #f1f4f8;
        border: 1px solid #e2e8f0;
        box-sizing: border-box;
    }

    #dh-smarthome-landing .dh-scene-toggle-btn {
        flex: 1 1 50%;
        padding: 10px 8px;
        font-size: 11.5px;
        border-radius: 9px;
        justify-content: center;
        text-align: center;
        gap: 6px;
        line-height: 1.2;
        box-sizing: border-box;
    }

    #dh-smarthome-landing .dh-scene-toggle-btn svg {
        flex-shrink: 0;
        width: 13px;
        height: 13px;
    }

    #dh-smarthome-landing .dh-scene-status-row {
        width: 100%;
        justify-content: center;
        min-height: 28px;
    }

    #dh-smarthome-landing .dh-scene-status-badge {
        font-size: 11.5px;
        padding: 3px 10px;
    }

    #dh-smarthome-landing .dh-scene-replay-btn {
        font-size: 11.5px;
        padding: 3px 8px;
    }

    /* Адаптивная высота сцены */
    #dh-smarthome-landing .dh-scene-stage {
        min-height: 260px;
        height: 62vw;
        max-height: 350px;
    }

    /* Компактные HUD-бейджи на сцене */
    #dh-smarthome-landing .dh-scene-badge {
        max-width: 46%;
        padding: 6px 9px;
        border-radius: 8px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    }

    #dh-smarthome-landing .dh-scene-badge-header {
        font-size: 8.5px;
        letter-spacing: 0.2px;
        margin-bottom: 2px;
        gap: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #dh-smarthome-landing .dh-scene-badge-val {
        font-size: 0.85rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #dh-smarthome-landing .dh-scene-badge-sub {
        display: none !important;
    }

    /* Блок оборудования и вертикальная цепочка */
    #dh-smarthome-landing .dh-scene-devices {
        padding: 18px 16px 20px;
    }

    #dh-smarthome-landing .dh-scene-devices-title {
        font-size: 11px;
        margin-bottom: 12px;
    }

    #dh-smarthome-landing .dh-scene-flow-wrapper {
        flex-direction: column;
        overflow-x: visible;
        overflow-y: visible;
        gap: 5px;
        padding: 4px 0 6px 0;
    }

    #dh-smarthome-landing .dh-scene-device-card {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
        padding: 9px 12px;
        gap: 12px;
        display: flex;
        align-items: center;
        border-radius: 8px;
        box-sizing: border-box;
    }

    #dh-smarthome-landing .dh-scene-device-img {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    #dh-smarthome-landing .dh-scene-device-info {
        flex: 1 1 auto;
        min-width: 0;
    }

    #dh-smarthome-landing .dh-scene-device-info h5 {
        font-size: 12px;
        margin: 0 0 2px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #dh-smarthome-landing .dh-scene-device-sku {
        font-size: 9.5px;
    }

    #dh-smarthome-landing .dh-scene-device-status {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Вертикальные стрелки между карточками оборудования */
    #dh-smarthome-landing .dh-flow-arrow {
        width: 100%;
        height: 18px;
        flex: 0 0 18px;
        transform: rotate(90deg);
        margin: 2px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #dh-smarthome-landing .dh-flow-arrow svg {
        width: 14px;
        height: 14px;
    }

    #dh-smarthome-landing .dh-flow-arrow.active {
        transform: rotate(90deg) scale(1.25);
        color: var(--dh-orange-btn);
    }
}

/* Безопасная угловая расстановка бейджей на мобильных экранах (<= 640px) */
@media (max-width: 640px) {
    /* Гараж Сцена 1: Выезд */
    #dh-smarthome-landing #badge-arr-swing { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-arr-cam { top: 8% !important; bottom: auto !important; right: 4% !important; left: auto !important; }
    #dh-smarthome-landing #badge-arr-drive { bottom: 6% !important; top: auto !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }

    /* Гараж Сцена 2: Климат */
    #dh-smarthome-landing #badge-gclim-sensor { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-gclim-fan { top: 8% !important; bottom: auto !important; right: 4% !important; left: auto !important; }
    #dh-smarthome-landing #badge-gclim-rad { bottom: 6% !important; top: auto !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }

    /* Гараж Сцена 3: Охрана */
    #dh-smarthome-landing #badge-gsec-sensor { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-gsec-cam { top: 8% !important; bottom: auto !important; right: 4% !important; left: auto !important; }
    #dh-smarthome-landing #badge-gsec-gw { bottom: 6% !important; top: auto !important; left: 4% !important; right: auto !important; transform: none !important; }
    #dh-smarthome-landing #badge-gsec-app { bottom: 6% !important; top: auto !important; right: 4% !important; left: auto !important; }

    /* Климат Сцена 1, 2, 3 */
    #dh-smarthome-landing #badge-win { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-gw-1 { top: 8% !important; bottom: auto !important; right: 4% !important; left: auto !important; transform: none !important; }
    #dh-smarthome-landing #badge-ac { bottom: 6% !important; top: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-sun-disp { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-sun-curtain { top: 8% !important; bottom: auto !important; right: 4% !important; left: auto !important; }
    #dh-smarthome-landing #badge-sun-ac { bottom: 6% !important; top: auto !important; left: 4% !important; right: auto !important; }

    /* Безопасность Сцена 1, 2, 3 */
    #dh-smarthome-landing #badge-domo-call { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-domo-panel { top: 8% !important; bottom: auto !important; right: 4% !important; left: auto !important; }
    #dh-smarthome-landing #badge-domo-lock { bottom: 6% !important; top: auto !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important; }
    #dh-smarthome-landing #badge-night-sensor { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-night-cam { top: 8% !important; bottom: auto !important; right: 4% !important; left: auto !important; }
    #dh-smarthome-landing #badge-night-app { bottom: 6% !important; top: auto !important; right: 4% !important; left: auto !important; }
    #dh-smarthome-landing #badge-water-sensor { top: 8% !important; bottom: auto !important; left: 4% !important; right: auto !important; }
    #dh-smarthome-landing #badge-water-valve { bottom: 6% !important; top: auto !important; right: 4% !important; left: auto !important; }
}


#dh-smarthome-landing .dh-scene-device-card {
    background: var(--dh-bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    border: 1px solid #eef0f3;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

#dh-smarthome-landing .dh-scene-device-card.is-step-active {
    background: #fff8f0;
    border-color: var(--dh-orange-btn);
    box-shadow: 0 4px 18px rgba(234, 148, 45, 0.35);
    transform: translateY(-2px);
    z-index: 2;
}

#dh-smarthome-landing .dh-scene-device-card.is-step-done {
    border-color: #2e7d32;
    background: #fbfdfb;
}

#dh-smarthome-landing .dh-scene-device-img {
    object-fit: contain;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 6px;
    padding: 2px;
    border: 1px solid #edf0f4;
}

#dh-smarthome-landing .dh-scene-device-info {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

#dh-smarthome-landing .dh-scene-device-info h5 {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--dh-text-dark);
    margin: 0 0 2px 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dh-smarthome-landing .dh-scene-device-status {
    font-size: 10.5px;
    color: #666666;
    margin: 0;
    line-height: 1.25;
    transition: color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#dh-smarthome-landing .dh-scene-device-card.is-step-active .dh-scene-device-status {
    color: #d67e00;
    font-weight: 600;
}

/* Маршрутная стрелка между карточками */
#dh-smarthome-landing .dh-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

#dh-smarthome-landing .dh-flow-arrow.active {
    color: var(--dh-orange-btn);
    transform: scale(1.15);
}

/* ── 4. Страница конкретного товара (product.php) ───────────── */
#dh-smarthome-landing .dh-sh-product-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
}

@media (min-width: 850px) {
    #dh-smarthome-landing .dh-sh-product-hero-grid {
        grid-template-columns: 420px 1fr;
    }
}

#dh-smarthome-landing .dh-sh-product-img-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#dh-smarthome-landing .dh-sh-product-img-card img:not(.dh-sh-video-icon) {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    margin-bottom: 20px;
}

#dh-smarthome-landing .dh-sh-product-info-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
}

#dh-smarthome-landing .dh-sh-product-sku-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666666;
}

#dh-smarthome-landing .dh-sh-product-sku-badge {
    background: var(--dh-bg-light);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--dh-text-dark);
}

#dh-smarthome-landing .dh-sh-product-instock {
    color: #2e7d32;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

#dh-smarthome-landing .dh-sh-product-instock::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2e7d32;
    border-radius: 50%;
}

#dh-smarthome-landing .dh-sh-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dh-blue);
    margin: 0 0 10px 0;
    line-height: 1.25;
}

#dh-smarthome-landing .dh-sh-product-lead {
    font-size: 1rem;
    color: var(--dh-text-main);
    line-height: 1.55;
    margin-bottom: 20px;
}

#dh-smarthome-landing .dh-sh-product-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 20px;
}

#dh-smarthome-landing .dh-sh-product-btns .dh-sh-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
}

#dh-smarthome-landing .dh-sh-product-btns .dh-sh-btn img {
    height: 20px;
    width: auto;
    margin: 0;
}

#dh-smarthome-landing .dh-sh-product-btns .dh-sh-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px !important;
}

/* Таблица ТТХ на карточке товара */
#dh-smarthome-landing .dh-sh-specs-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    padding: 40px 35px;
    margin-bottom: 40px;
}

#dh-smarthome-landing .dh-sh-specs-box h3 {
    font-size: 1.3rem;
    color: var(--dh-blue);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

#dh-smarthome-landing .dh-sh-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

#dh-smarthome-landing .dh-sh-specs-table tr {
    border-bottom: 1px solid #eeeeee;
}

#dh-smarthome-landing .dh-sh-specs-table tr:last-child {
    border-bottom: none;
}

#dh-smarthome-landing .dh-sh-specs-table td {
    padding: 12px 10px;
    font-size: 0.92rem;
    color: var(--dh-text-main);
}

#dh-smarthome-landing .dh-sh-specs-table td:first-child {
    color: #666666;
    width: 40%;
}

#dh-smarthome-landing .dh-sh-specs-table td:last-child {
    font-weight: 600;
    color: var(--dh-text-dark);
}

/* ── 3.1. Вводный блок перед сценариями ─────────────────────── */
#dh-smarthome-landing .dh-scenes-intro {
    text-align: center;
    max-width: 820px;
    margin: 65px auto 35px auto;
    padding: 0 15px;
}

#dh-smarthome-landing .dh-scenes-intro-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dh-orange-btn);
    background: rgba(234, 148, 45, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

#dh-smarthome-landing .dh-scenes-intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dh-blue);
    margin: 0 0 12px 0;
    line-height: 1.25;
}

#dh-smarthome-landing .dh-scenes-intro-lead {
    font-size: 1.05rem;
    color: var(--dh-text-main);
    line-height: 1.6;
    margin: 0;
}

/* ── 3.2. Анимация потока свежего воздуха (Сцена 1) ─────────── */
#dh-smarthome-landing .dh-air-breeze {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    background: linear-gradient(90deg, rgba(176, 212, 245, 0.35) 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transition: opacity 0.8s ease;
}

#dh-smarthome-landing .dh-air-breeze.is-active {
    opacity: 1;
    animation: dhAirWave 2.8s infinite ease-in-out;
}

@keyframes dhAirWave {
    0% { transform: translateX(-5%); opacity: 0.2; }
    50% { transform: translateX(4%); opacity: 0.45; }
    100% { transform: translateX(-5%); opacity: 0.2; }
}

/* ── 3.3. Интерактивная 3-комнатная панель зонирования (Сцена 2) */
#dh-smarthome-landing .dh-zoning-stage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background: #0f1c2d;
    min-height: 480px;
    box-sizing: border-box;
}

@media (max-width: 820px) {
    #dh-smarthome-landing .dh-zoning-stage-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

#dh-smarthome-landing .dh-zone-room-card {
    position: relative;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    box-sizing: border-box;
    border: 2px solid transparent;
    transition: all 0.5s ease;
}

#dh-smarthome-landing .dh-zone-room-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 40, 0.4) 0%, rgba(8, 24, 40, 0.1) 40%, rgba(8, 24, 40, 0.85) 100%);
    transition: all 0.6s ease;
    z-index: 1;
}

#dh-smarthome-landing .dh-zone-room-card.is-night::before {
    background: linear-gradient(180deg, rgba(5, 14, 28, 0.72) 0%, rgba(10, 20, 38, 0.45) 40%, rgba(5, 14, 28, 0.94) 100%);
}

#dh-smarthome-landing .dh-zone-room-card.is-highlight {
    border-color: var(--dh-orange-btn);
    box-shadow: 0 0 25px rgba(234, 148, 45, 0.45);
    transform: translateY(-2px);
}

#dh-smarthome-landing .dh-zone-room-content-top {
    position: relative;
    z-index: 2;
}

#dh-smarthome-landing .dh-zone-room-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

#dh-smarthome-landing .dh-zone-room-device {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.35);
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

#dh-smarthome-landing .dh-zone-room-content-bottom {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
    transition: all 0.35s ease;
}

#dh-smarthome-landing .dh-zone-room-temp {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--dh-blue);
    line-height: 1.1;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

#dh-smarthome-landing .dh-zone-room-mode {
    font-size: 12px;
    font-weight: 600;
    color: #444444;
    line-height: 1.35;
}

/* ── 3.4. Итоговый блок выгод (Что вы получаете) ─────────────── */
#dh-smarthome-landing .dh-climate-benefits-section {
    margin-top: 65px;
    margin-bottom: 20px;
}

#dh-smarthome-landing .dh-climate-benefits-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 35px auto;
}

#dh-smarthome-landing .dh-climate-benefits-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dh-blue);
    margin: 0 0 10px 0;
}

#dh-smarthome-landing .dh-climate-benefits-header p {
    font-size: 0.95rem;
    color: var(--dh-text-main);
    line-height: 1.55;
    margin: 0;
}

#dh-smarthome-landing .dh-climate-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

@media (max-width: 600px) {
    #dh-smarthome-landing .dh-climate-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

#dh-smarthome-landing .dh-climate-benefit-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #eef0f3;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

#dh-smarthome-landing .dh-climate-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    border-color: rgba(234, 148, 45, 0.4);
}

#dh-smarthome-landing .dh-benefit-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(0, 84, 162, 0.08);
    color: var(--dh-blue-active);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

#dh-smarthome-landing .dh-climate-benefit-card:nth-child(2) .dh-benefit-icon-box {
    background: rgba(234, 148, 45, 0.1);
    color: var(--dh-orange-btn);
}

#dh-smarthome-landing .dh-climate-benefit-card:nth-child(3) .dh-benefit-icon-box {
    background: rgba(46, 125, 50, 0.09);
    color: #2e7d32;
}

#dh-smarthome-landing .dh-climate-benefit-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dh-blue);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

#dh-smarthome-landing .dh-climate-benefit-card p {
    font-size: 0.92rem;
    color: var(--dh-text-main);
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

/* ── 3.5. Человекопонятные подписи в карточках устройств ─────── */
#dh-smarthome-landing .dh-scene-device-sku {
    font-size: 9.5px;
    font-weight: 600;
    color: #777777;
    background: #eef1f5;
    padding: 1px 5px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ── 3.6. Визуальные эффекты сценариев безопасности ────────── */
#dh-smarthome-landing .dh-security-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 65%, rgba(255, 235, 150, 0.45) 0%, rgba(255, 200, 50, 0.15) 45%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.8s ease;
}

#dh-smarthome-landing .dh-security-spotlight.is-active {
    opacity: 1;
}

#dh-smarthome-landing .dh-security-radar {
    position: absolute;
    top: 55%;
    left: 28%;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(234, 148, 45, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.4s ease;
}

#dh-smarthome-landing .dh-security-radar.is-active {
    opacity: 1;
    animation: dhRadarPulse 1.8s infinite ease-out;
}

@keyframes dhRadarPulse {
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0.9; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* ── 4.1. Улучшенный блок заказа на карточке товара (product.php) ── */
#dh-smarthome-landing .dh-sh-product-order-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 25px;
}

#dh-smarthome-landing .dh-sh-order-btn-calc {
    width: 100%;
    background: var(--dh-orange-btn);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(234, 148, 45, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
}

#dh-smarthome-landing .dh-sh-order-btn-calc:hover {
    background: #d67e00;
    box-shadow: 0 6px 18px rgba(234, 148, 45, 0.35);
    transform: translateY(-1px);
}

#dh-smarthome-landing .dh-sh-order-calc-sub {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin: 8px 0 0 0;
    line-height: 1.4;
}

#dh-smarthome-landing .dh-sh-order-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

#dh-smarthome-landing .dh-sh-order-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

#dh-smarthome-landing .dh-sh-order-divider-text {
    position: relative;
    z-index: 2;
    background: #f8fafc;
    padding: 0 14px;
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#dh-smarthome-landing .dh-sh-mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

#dh-smarthome-landing .dh-sh-mp-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dh-blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

#dh-smarthome-landing .dh-sh-mp-badge-tag {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

#dh-smarthome-landing .dh-sh-mp-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#dh-smarthome-landing .dh-sh-mp-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

#dh-smarthome-landing .dh-sh-mp-card-btn.ozon {
    background: #005bff;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 91, 255, 0.2);
}

#dh-smarthome-landing .dh-sh-mp-card-btn.ozon:hover {
    background: #004ecc;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 91, 255, 0.3);
}

#dh-smarthome-landing .dh-sh-mp-card-btn.wb {
    background: #cb11ab;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(203, 17, 171, 0.2);
}

#dh-smarthome-landing .dh-sh-mp-card-btn.wb:hover {
    background: #b00f94;
    transform: translateY(-1px);
}

#dh-smarthome-landing .dh-sh-mp-card-btn.ym {
    background: #ffffff;
    color: #1d365e !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

#dh-smarthome-landing .dh-sh-mp-card-btn.ym:hover {
    border-color: #fc3f1d;
    background: #fffdfd;
}

#dh-smarthome-landing .dh-sh-mp-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

#dh-smarthome-landing .dh-sh-mp-left img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

#dh-smarthome-landing .dh-sh-mp-name {
    font-size: 14px;
    font-weight: 700;
}

#dh-smarthome-landing .dh-sh-mp-action {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

/* Product Hero Media Box */
#dh-smarthome-landing .dh-sh-product-hero-media {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
}
#dh-smarthome-landing .dh-sh-product-main-img {
    max-width: 100% !important;
    max-height: 320px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}
#dh-smarthome-landing .dh-sh-product-hero-media .dh-sh-video-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 10 !important;
}

@media (max-width: 768px) {
    #dh-smarthome-landing .dh-sh-cta-box {
        padding: 28px 18px !important;
    }
}
