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

/* ---- Основная секция ---- */

.oc-section {
    padding: 40px 0 56px;
}

.cart-intro .section-intro {
    padding-bottom: 0 !important;
    background: none;
}

/* ---- Двухколонный layout ---- */

.oc-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.oc-main {
    padding-left: 133px;
    position: relative;
}

@media (min-width: 1081px) {
	.oc-main {
		width: 100%;
		max-width: 630px;
	}
}


.oc-main > svg {
    position: absolute;
    left: 0;
    top: 0;
}

.oc-aside {
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

/* ---- Галочка + подзаголовок ---- */

.oc-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.oc-checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-checkmark svg {
    width: 28px;
    height: 28px;
}

.oc-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-main);
    padding-top: 8px;
}

/* ---- Карточка с номером заявки ---- */

.oc-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid #F4B042;
    background: #FFFFFF;
    box-shadow: 0px 3px 10px 0px #0000001A;

    border-radius: 6px;
    margin-bottom: 28px;
}

.oc-card__icon {
    color: var(--accent);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-top: 2px;
}

.oc-card__icon svg {
    width: 100%;
    height: 100%;
}

.oc-card__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.oc-card__number {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- Кнопки ---- */

.oc-actions {
    display: grid;
    gap: 12px;
    flex-wrap: wrap;
	grid-template-columns: 1fr 1fr;
}

.oc-actions__btn {
    height: 48px;
    padding: 0 28px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.oc-actions__btn--outline {
    background: #F3F4F6;
    color: var(--text-main);
}

.oc-actions__btn--outline:hover {
    background: var(--accent);
}

/* ---- Правая панель: контакты ---- */

.oc-contacts {
    background: #F4B0421A;
    box-shadow: 0px 3px 10px 0px #00000033;

    border-radius: 6px;
    padding: 20px;
}

.oc-contacts__title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.oc-contacts__subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.oc-contacts__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 14px;
    transition: color 0.2s;
}

.oc-contacts__phone:last-child {
    margin-bottom: 0;
}

.oc-contacts__phone:hover {
    color: var(--accent);
}

.oc-contacts__phone svg {
    color: var(--accent);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* ---- Разделитель (акцент) ---- */

.oc-divider {
    padding: 24px 0;
}

.oc-divider__line {
    display: block;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    max-width: 180px;
    margin: 0 auto;
}

/* ---- Секция «Что будет дальше?» ---- */

.oc-steps-section {
    padding: 56px 0 64px;
    background: var(--graphite-pale);
    position: relative;
}

.oc-steps__heading {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 40px;
}

.oc-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.oc-step {
    border-top: 1px solid #F3F4F6;
    background: #FFFFFF;
    box-shadow: 0px 4px 6px -4px #00000033;

    border-radius: 14px;
    padding: 40px 20px 24px;
    position: relative;
}

.oc-step__num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -15px;
    top: -15px;
    border: 1px solid #F4B042
}

.oc-step__num::after {
    display: block;
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    border-radius: 50%;
    background-color: var(--accent);
}

.oc-step__num span {
    position: relative;z-index: 2;
}

.oc-step__title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.3;
}

.oc-step__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ============================================
   ПЛАНШЕТ ≤ 1080px
   ============================================ */

@media (max-width: 1080px) {
    .oc-layout {
        grid-template-columns: 1fr;
    }

    .oc-aside {
        position: static;
    }

    .oc-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   МОБАЙЛ ≤ 768px
   ============================================ */

@media (max-width: 768px) {
    .oc-section {
        padding: 24px 0 40px;
    }

    .oc-intro {
        flex-direction: column;
        gap: 14px;
    }

    .oc-steps-section {
        padding: 40px 0 48px;
    }

    .oc-steps__heading {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .oc-steps-grid {
        grid-template-columns: 1fr;
    }

    .oc-step__num {
        left: 0;
    }

    .oc-actions {
        flex-direction: column;
    }

    .oc-actions__btn {
        width: 100%;
    }

    .oc-main {
        display: grid;
        grid-template-columns: 54px 1fr;
        gap: 0px 12px;
        padding-left: 0;
    }

    .oc-main > svg {
        position: initial;
        width: 54px;
        height: 54px;
    }

    .oc-card {
        grid-column: 1 / 3;
    }

    .oc-actions  {
        grid-column:  1 /3;
    }
}

@media (max-width: 560px) {
	.oc-actions {
		grid-template-columns: 1fr;
	}
}
