/* ===== Страница «Интернет-магазины»: продающие блоки и квиз ===== */

:root {
    --shop-gold: #ce9248;
    --shop-gold-light: #f3d3a3;
    --shop-ink: #1a1108;
    --shop-text: #f1e3d3;
    --shop-muted: #a79c8f;
    --shop-panel: rgba(18, 16, 14, .94);
    --shop-line: rgba(255, 255, 255, .08);
}

/* --- кнопки --- */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    font: 600 16px/1.2 Montserrat, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, background .3s, color .3s;
}

.shop-btn:focus-visible {
    outline: 2px solid var(--shop-gold-light);
    outline-offset: 3px;
}

.shop-btn--gold {
    color: var(--shop-ink);
    background: linear-gradient(135deg, var(--shop-gold-light), var(--shop-gold) 55%, #9c6528);
    box-shadow: 0 10px 30px -10px rgba(206, 146, 72, .8);
}

.shop-btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -10px rgba(206, 146, 72, .95);
}

.shop-btn--ghost {
    color: var(--shop-text);
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(206, 146, 72, .55);
}

.shop-btn--ghost:hover {
    color: #fff;
    background: rgba(206, 146, 72, .16);
}

.shop-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- первый экран --- */
.diagonal-box.slogan.diagonal-box-main.shop-hero {
    height: auto !important;
    padding-bottom: 90px;
}

.shop-hero h1 {
    max-width: 50rem;
}

.shop-hero__facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    margin: 28px auto 0;
    padding: 0 16px;
    list-style: none;
    transform: skewY(var(--angle));
    color: var(--shop-muted);
    font: 500 15px/1.3 Montserrat, Arial, sans-serif;
}

.shop-hero__facts b {
    color: var(--shop-gold-light);
    font-weight: 700;
}

.shop-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    padding: 0 16px;
    transform: skewY(var(--angle));
}

/* --- рисовалка после переноса --- */
.shop-draw-title {
    margin-top: 80px;
}

/* --- «Крупный проект»: золотая диагональная полоса, как секция «Ваш успешный старт» --- */
.shop-big {
    position: relative;
    margin-top: 70px;
    padding: 130px 0 120px;
    overflow: hidden;
}

.shop-big:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 30px;
    background-image: linear-gradient(157deg, #413227, #b79654);
    transform: skewY(var(--angle));
    transform-origin: 50% 0;
    backface-visibility: hidden;
}

.shop-big__inner {
    z-index: 1;
    text-align: center;
}

.shop-big__inner h2 {
    color: #f1e3d3;
}

.shop-big__lead {
    max-width: 560px;
    margin: 0 auto 34px;
    padding: 0 16px;
    font-size: 18px;
    line-height: 1.55;
    color: #f1e3d3;
}

.shop-big__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 16px;
}

.shop-big__card {
    padding: 24px 22px 22px;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 0 5px rgba(255, 255, 255, .8);
    text-align: left;
    color: #f1e3d3;
    transition: transform .3s ease, box-shadow .3s ease;
}

.shop-big__card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, .8);
}

.shop-big__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: #b79654;
    background: rgba(183, 150, 84, .12);
    box-shadow: inset 0 0 0 1px rgba(183, 150, 84, .45);
}

.shop-big__icon svg {
    width: 22px;
    height: 22px;
}

.shop-big__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.shop-big__text {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(241, 227, 211, .7);
}

.shop-big__btn {
    margin-top: 38px;
    padding: 16px 38px;
    border: 0;
    border-radius: 15px;
    background: #000;
    box-shadow: 0 0 5px rgba(255, 255, 255, .8);
    color: #f1e3d3;
    font: 700 16px/1 Montserrat, Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, color .3s;
}

.shop-big__btn:hover,
.shop-big__btn:focus-visible {
    outline: none;
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 0 14px rgba(255, 255, 255, .9);
}

@media screen and (max-width: 640px) {
    .shop-big {
        margin-top: 40px;
        padding: 100px 0 90px;
    }

    .shop-big:before {
        top: 50px;
        bottom: 20px;
    }

    .shop-big__lead {
        font-size: 16px;
    }

    .shop-big__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .shop-big__card:hover {
        transform: none;
    }

    .shop-big__title {
        font-size: 18px;
    }
}

/* --- этапы работы --- */
.shop-steps {
    margin-top: 80px;
}

.shop-steps__list {
    display: grid;
    gap: 14px;
    margin: 30px 16px 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.shop-steps__list li {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 4px 18px;
    padding: 18px 22px;
    border-radius: 15px;
    background: #222;
    box-shadow: 0 0 5px rgba(255, 255, 255, .8);
    text-align: left;
    color: var(--shop-text);
    font-family: Montserrat, Arial, sans-serif;
    counter-increment: step;
}

.shop-steps__list li:before {
    content: counter(step);
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font: 700 20px/1 "EB Garamond", serif;
    color: var(--shop-ink);
    background: radial-gradient(circle at 30% 25%, var(--shop-gold-light), var(--shop-gold) 60%, #8a5a22);
    box-shadow: 0 0 22px -6px rgba(206, 146, 72, .8);
}

.shop-steps__list b {
    align-self: end;
    font-size: 17px;
    color: #fff;
}

.shop-steps__list span {
    font-size: 14px;
    line-height: 1.5;
    color: var(--shop-muted);
}

/* --- купон --- */
.shop-coupon-how {
    max-width: 520px;
    margin: 10px auto 0;
    padding: 0 16px;
    text-align: center;
    font: 500 16px/1.5 Montserrat, Arial, sans-serif;
    color: var(--shop-text);
}

.shop-coupon-how b {
    color: var(--shop-gold-light);
}

.shop-coupon-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin: 18px 0 10px;
    padding: 0 16px;
}

/* --- вопросы и ответы --- */
.shop-faq {
    margin-top: 80px;
}

/* --- финальный призыв --- */
.shop-final {
    margin-top: 80px;
    margin-bottom: 60px;
    padding: 44px 24px;
    border-radius: 24px;
    text-align: center;
    background:
        radial-gradient(600px 240px at 50% 0%, rgba(206, 146, 72, .22), transparent 70%),
        rgba(255, 255, 255, .02);
    box-shadow: inset 0 0 0 1px rgba(206, 146, 72, .3);
}

.shop-final p {
    max-width: 560px;
    margin: 0 auto;
    font: 500 17px/1.6 Montserrat, Arial, sans-serif;
    color: var(--shop-muted);
}

.shop-final__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}


/* ===== Квиз ===== */
.shop-quiz {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s;
    font-family: Montserrat, Arial, sans-serif;
}

.shop-quiz.is-open {
    opacity: 1;
}

.shop-quiz[hidden] {
    display: none;
}

.shop-quiz__box {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 30px 30px 26px;
    border-radius: 22px;
    background:
        radial-gradient(420px 200px at 100% 0%, rgba(206, 146, 72, .14), transparent 70%),
        var(--shop-panel);
    box-shadow: 0 40px 100px -30px #000, inset 0 0 0 1px rgba(206, 146, 72, .35);
    color: var(--shop-text);
    transform: translateY(16px) scale(.97);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(206, 146, 72, .55) transparent;
}

/* тонкая золотая полоса прокрутки */
.shop-quiz__box::-webkit-scrollbar {
    width: 4px;
}

.shop-quiz__box::-webkit-scrollbar-track {
    margin: 18px 0;
    background: transparent;
}

.shop-quiz__box::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: linear-gradient(180deg, var(--shop-gold-light), var(--shop-gold));
}

.shop-quiz__box::-webkit-scrollbar-thumb:hover {
    background: var(--shop-gold-light);
}

.shop-quiz.is-open .shop-quiz__box {
    transform: none;
}

.shop-quiz__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--shop-text);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.shop-quiz__close:hover {
    background: rgba(206, 146, 72, .25);
}

.shop-quiz__progress {
    height: 4px;
    margin: 4px 48px 22px 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.shop-quiz__progress i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--shop-gold), var(--shop-gold-light));
    transition: width .45s cubic-bezier(.2, .8, .2, 1);
}

.shop-quiz__step-label {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--shop-muted);
}

.shop-quiz__title {
    margin: 0 0 20px;
    font: 700 24px/1.25 Montserrat, Arial, sans-serif;
    text-align: left;
    color: #fff;
}

.shop-quiz__hint {
    margin: -12px 0 16px;
    font-size: 14px;
    color: var(--shop-muted);
}

.shop-quiz__options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.shop-quiz__option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 16px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px var(--shop-line);
    color: var(--shop-text);
    font: 500 15px/1.3 Montserrat, Arial, sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background .25s, box-shadow .25s, transform .25s;
}

.shop-quiz__option:hover,
.shop-quiz__option:focus-visible {
    outline: none;
    background: rgba(206, 146, 72, .12);
    box-shadow: inset 0 0 0 1px rgba(206, 146, 72, .6);
}

.shop-quiz__option[aria-pressed="true"] {
    background: rgba(206, 146, 72, .2);
    box-shadow: inset 0 0 0 1.5px var(--shop-gold), 0 0 24px -8px rgba(206, 146, 72, .8);
    color: #fff;
}

.shop-quiz__option i {
    flex: none;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25);
    font-style: normal;
    font-size: 13px;
    color: transparent;
    transition: background .25s, color .25s, box-shadow .25s;
}

.shop-quiz__option[aria-pressed="true"] i {
    background: var(--shop-gold);
    box-shadow: none;
    color: var(--shop-ink);
}

.shop-quiz__nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

.shop-quiz__back {
    border: 0;
    background: none;
    color: var(--shop-muted);
    font: 500 15px Montserrat, Arial, sans-serif;
    cursor: pointer;
}

.shop-quiz__back:hover {
    color: #fff;
}

.shop-quiz__back[hidden] {
    visibility: hidden;
    display: block;
}

.shop-quiz .shop-btn[disabled] {
    opacity: .45;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* итог и форма */
.shop-quiz__estimate {
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(206, 146, 72, .18), rgba(206, 146, 72, .04));
    box-shadow: inset 0 0 0 1px rgba(206, 146, 72, .35);
}

.shop-quiz__estimate small {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--shop-muted);
}

.shop-quiz__estimate strong {
    display: block;
    margin: 6px 0 4px;
    font-size: 26px;
    color: var(--shop-gold-light);
}

.shop-quiz__estimate p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--shop-text);
}

.shop-quiz__form {
    display: grid;
    gap: 12px;
}

.shop-quiz__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--shop-muted);
}

.shop-quiz__field input[type="text"],
.shop-quiz__field input[type="tel"] {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    box-shadow: inset 0 0 0 1px var(--shop-line);
    color: #fff;
    font: 500 16px Montserrat, Arial, sans-serif;
    box-sizing: border-box;
}

.shop-quiz__field input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1.5px var(--shop-gold);
}

.shop-quiz__channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-quiz__channels label {
    margin: 0;
}

.shop-quiz__channels input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.shop-quiz__channels span {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--shop-line);
    font-size: 14px;
    color: var(--shop-text);
    cursor: pointer;
    transition: background .25s, box-shadow .25s;
}

.shop-quiz__channels input:checked + span {
    background: rgba(206, 146, 72, .2);
    box-shadow: inset 0 0 0 1.5px var(--shop-gold);
    color: #fff;
}

.shop-quiz__channels input:focus-visible + span {
    outline: 2px solid var(--shop-gold-light);
    outline-offset: 2px;
}

.shop-quiz__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--shop-muted);
}

.shop-quiz__consent input {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--shop-gold);
}

.shop-quiz__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.shop-quiz__error {
    min-height: 1.4em;
    margin: 0;
    font-size: 14px;
    color: #ff9a8a;
}

.shop-quiz__done {
    padding: 20px 0 6px;
    text-align: center;
}

.shop-quiz__done-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    font-size: 34px;
    color: var(--shop-ink);
    background: radial-gradient(circle at 30% 25%, var(--shop-gold-light), var(--shop-gold) 60%, #8a5a22);
    box-shadow: 0 0 40px -6px rgba(206, 146, 72, .9);
}

.shop-quiz__done p {
    margin: 0 auto;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--shop-text);
}

.shop-quiz__panel {
    animation: shop-quiz-in .45s cubic-bezier(.2, .8, .2, 1);
}

@keyframes shop-quiz-in {
    from { opacity: 0; transform: translateX(18px); }
    to   { opacity: 1; transform: none; }
}

body.shop-quiz-lock {
    overflow: hidden;
}

@media (max-width: 640px) {
    .shop-hero__facts {
        font-size: 13px;
        gap: 8px 16px;
    }

    .shop-btn {
        width: 100%;
        max-width: 360px;
    }

    .shop-quiz__box {
        padding: 24px 18px 20px;
    }

    .shop-quiz__title {
        font-size: 20px;
    }

    .shop-quiz__options {
        grid-template-columns: 1fr;
    }

    .shop-steps__list li {
        grid-template-columns: 40px 1fr;
        padding: 14px 16px;
    }

    .shop-steps__list li:before {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-quiz,
    .shop-quiz__box,
    .shop-quiz__panel,
    .shop-btn {
        transition: none !important;
        animation: none !important;
    }
}

/* логотипы платформ */
.platforms-block .feature-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
}

.platforms-block .feature-card__icon img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* купон — награда за квиз */
.shop-quiz__reward {
    margin: -6px 0 18px;
    font-size: 14px;
    color: var(--shop-muted);
}

.shop-quiz__reward b {
    color: var(--shop-gold-light);
}

.shop-quiz__coupon {
    margin: 22px auto 0;
    max-width: 420px;
    padding: 18px 20px;
    border-radius: 16px;
    background: repeating-linear-gradient(135deg, rgba(206, 146, 72, .10) 0 12px, rgba(206, 146, 72, .04) 12px 24px);
    box-shadow: inset 0 0 0 1.5px rgba(206, 146, 72, .55);
    border: 0;
    outline: 1.5px dashed rgba(243, 211, 163, .35);
    outline-offset: -8px;
}

.shop-quiz__coupon small {
    display: block;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--shop-muted);
}

.shop-quiz__coupon-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0;
}

.shop-quiz__coupon-code {
    font: 700 24px/1.2 Montserrat, Arial, sans-serif;
    letter-spacing: .08em;
    color: var(--shop-gold-light);
}

.shop-quiz__coupon-copy {
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(206, 146, 72, .2);
    color: #fff;
    font: 500 13px Montserrat, Arial, sans-serif;
    cursor: pointer;
}

.shop-quiz__coupon-copy:hover {
    background: rgba(206, 146, 72, .35);
}

.shop-quiz__done .shop-quiz__coupon p {
    font-size: 13px;
    color: var(--shop-muted);
}

.shop-coupon-teaser {
    margin-top: 80px;
    padding: 40px 24px;
    border-radius: 24px;
    text-align: center;
    background:
        repeating-linear-gradient(135deg, rgba(206, 146, 72, .07) 0 14px, transparent 14px 28px),
        rgba(255, 255, 255, .02);
    box-shadow: inset 0 0 0 1.5px rgba(206, 146, 72, .45);
}

.shop-coupon-teaser p {
    max-width: 520px;
    margin: 0 auto 24px;
    font: 500 17px/1.6 Montserrat, Arial, sans-serif;
    color: var(--shop-muted);
}

.shop-coupon-teaser p b {
    color: var(--shop-gold-light);
}
