

/* Start:/local/templates/torgoviyStelazh/css/home-app.css?179369339710309*/
/* Главная торговыйстеллаж.рф (подключается и мобильным шаблоном): кнопка «Перейти к конструктору» в первой секции
   и блок «Приложение для Windows» (как на своймагазин.рф — svoymagazin/css/home.css, .home-app) во второй;
   цвета — из темы сайта (--theme-base-color-*). */

/* Кнопка конструктора: цвет темы, отблеск раз в несколько секунд и мягкая пульсация; под курсором — свет
   (--cx/--cy ставит скрипт внизу index.php). Селектор сильнее жёлтых кнопок из main-template.css обоих шаблонов. */
.model-subtitle .model-subtitle-btn-group a.model-cta {
    --cta-h: var(--theme-base-color-hue, 266);
    --cta-s: var(--theme-base-color-saturation, 53%);
    --cta-l: var(--theme-base-color-lightness, 32%);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    padding: 20px 34px 20px 20px;
    border: 0;
    border-radius: 18px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #fff !important;
    background: linear-gradient(120deg,
        hsl(var(--cta-h) var(--cta-s) calc(var(--cta-l) + 20%)) 0%,
        hsl(var(--cta-h) var(--cta-s) calc(var(--cta-l) + 8%)) 50%,
        hsl(var(--cta-h) var(--cta-s) var(--cta-l)) 100%);
    background-size: 160% 100%;
    background-position: 0% 50%;
    box-shadow: 0 12px 30px hsl(var(--cta-h) var(--cta-s) 20% / 0.4), 0 2px 8px rgba(0, 0, 0, 0.14);
    text-decoration: none !important;
    animation: model-cta-pulse 2.8s ease-out infinite;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, background-position 0.6s ease;
}

.model-subtitle .model-subtitle-btn-group a.model-cta::before {   /* свет под курсором */
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), rgba(255, 255, 255, 0.32) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.model-subtitle .model-subtitle-btn-group a.model-cta::after {   /* отблеск */
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    z-index: -1;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
    transform: translateX(-130%) skewX(-18deg);
    animation: model-cta-shine 4.2s ease-in-out 1.2s infinite;
    pointer-events: none;
}

.model-subtitle .model-subtitle-btn-group a.model-cta:hover {
    transform: translateY(-3px) scale(1.03);
    background-position: 100% 50%;
    box-shadow: 0 18px 40px hsl(var(--cta-h) var(--cta-s) 20% / 0.5), 0 3px 10px rgba(0, 0, 0, 0.16);
    animation-play-state: paused;
}

.model-subtitle .model-subtitle-btn-group a.model-cta:hover::before {
    opacity: 1;
}

.model-subtitle .model-subtitle-btn-group a.model-cta:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

.model-subtitle .model-subtitle-btn-group a.model-cta:focus-visible {
    outline: 3px solid hsl(var(--cta-h) var(--cta-s) calc(var(--cta-l) + 30%));
    outline-offset: 4px;
}

.model-cta__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease;
}

.model-cta__icon svg {
    width: 26px;
    height: 26px;
}

.model-cta__arrow {
    flex: none;
    display: inline-flex;
    transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.model-cta__arrow svg {
    width: 24px;
    height: 24px;
}

a.model-cta:hover .model-cta__icon {
    transform: rotate(-12deg) scale(1.08);
    background: rgba(255, 255, 255, 0.24);
}

a.model-cta:hover .model-cta__arrow {
    transform: translateX(5px);
}

@keyframes model-cta-pulse {   /* расходящееся кольцо цвета темы */
    0% {
        box-shadow: 0 12px 30px hsl(var(--cta-h) var(--cta-s) 20% / 0.4), 0 2px 8px rgba(0, 0, 0, 0.14),
            0 0 0 0 hsl(var(--cta-h) var(--cta-s) calc(var(--cta-l) + 20%) / 0.45);
    }
    70%, 100% {
        box-shadow: 0 12px 30px hsl(var(--cta-h) var(--cta-s) 20% / 0.4), 0 2px 8px rgba(0, 0, 0, 0.14),
            0 0 0 16px hsl(var(--cta-h) var(--cta-s) calc(var(--cta-l) + 20%) / 0);
    }
}

@keyframes model-cta-shine {
    0% { transform: translateX(-130%) skewX(-18deg); }
    45%, 100% { transform: translateX(330%) skewX(-18deg); }
}

@media (max-width: 480px) {
    .model-subtitle .model-subtitle-btn-group a.model-cta {
        gap: 12px;
        padding: 14px 20px 14px 14px;
        font-size: 17px;
    }

    .model-cta__icon {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .model-subtitle .model-subtitle-btn-group a.model-cta,
    .model-subtitle .model-subtitle-btn-group a.model-cta::after {
        animation: none;
    }
}

/* Блок «Приложение для Windows» */
.app-snap {
    --app-h: var(--theme-base-color-hue, 266);
    --app-s: var(--theme-base-color-saturation, 53%);
    --app-l: var(--theme-base-color-lightness, 32%);
    position: relative;
    overflow: hidden;
    background: #16141d;
    color: #e7e6ee;
}

.app-snap::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -12%;
    width: 72%;
    height: 140%;
    background: radial-gradient(closest-side, hsl(var(--app-h) var(--app-s) calc(var(--app-l) + 14%) / 0.32), transparent 72%);
    pointer-events: none;
}

.app-block {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
    padding: 40px 0;
}

.app-block__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 14px 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 14px;
    font-weight: 600;
    color: hsl(var(--app-h) 60% 76%);
}

.app-block__eyebrow svg {
    width: 16px;
    height: 16px;
}

.app-block__title {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.12;
    color: #fff;
}

.app-block__lead {
    margin: 0 0 30px;
    font-size: clamp(16px, 1.2vw, 18px);
    line-height: 1.55;
    color: #aeaab9;
}

.app-block__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 28px;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

.app-block__feature {
    position: relative;
    margin: 0;
    padding: 0 0 0 16px;
}

.app-block__feature::before {   /* полоса цвета темы, как у выбранной строки в настройках приложения */
    content: '';
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 3px;
    height: auto;   /* у списков Аспро li::before — точка 4×4 */
    margin: 0;
    border-radius: 2px;
    background: hsl(var(--app-h) 55% 62%);
}

.app-block__feature-title {
    display: block;
    margin-bottom: 3px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.app-block__feature-text {
    display: block;
    font-size: 14.5px;
    line-height: 1.45;
    color: #9d99aa;
}

.app-block__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.app-block__btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px 14px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg,
        hsl(var(--app-h) var(--app-s) calc(var(--app-l) + 16%)) 0%,
        hsl(var(--app-h) var(--app-s) calc(var(--app-l) + 6%)) 60%,
        hsl(var(--app-h) var(--app-s) var(--app-l)) 100%);
    box-shadow: 0 10px 28px hsl(var(--app-h) var(--app-s) 12% / 0.55);
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-block__btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 4px hsl(var(--app-h) var(--app-s) 55% / 0.25),
        0 16px 36px hsl(var(--app-h) var(--app-s) 12% / 0.6);
}

.app-block__btn:active {
    transform: translateY(0);
}

.app-block__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.app-block__btn svg {
    flex: none;
    width: 26px;
    height: 26px;
}

.app-block__btn-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.app-block__btn-sub {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.8;
}

.app-block__web {
    font-size: 15px;
    font-weight: 600;
    color: #e7e6ee !important;
    text-decoration: none !important;
}

.app-block__web::after {
    content: '→';
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.app-block__web:hover::after {
    transform: translateX(4px);
}

.app-block__note {
    flex-basis: 100%;
    max-width: 580px;
    margin: 6px 0 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #84808f;
}

.app-block__shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.35);
}

@media (max-width: 900px) {
    .app-block {
        grid-template-columns: minmax(0, 1fr);
    }

    .app-snap::before {
        top: auto;
        bottom: -30%;
        right: -30%;
        width: 120%;
        height: 80%;
    }
}

@media (max-width: 640px) {
    .app-block__features {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .app-block__btn {
        width: 100%;
    }
}

/* End */
/* /local/templates/torgoviyStelazh/css/home-app.css?179369339710309 */
