/* /kak-sdelat-zakaz/ — новый дизайн (aandem), 15.10.2026 */
.page-order,
.page-order *,
.page-order *::before,
.page-order *::after { box-sizing: border-box; }

.page-order {
    display: grid;
    gap: 32px;
    color: var(--ink, #1d1d1d);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 48px;
}
.page-order > script { display: none; }

.page-order h2 {
    margin: 0 0 20px;
    color: var(--ink, #1d1d1d);
    font-family: "Philosopher", Georgia, serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
}
.page-order p { margin: 0 0 12px; }
.page-order p:last-child { margin-bottom: 0; }
.page-order a { color: var(--red, #f14850); text-underline-offset: 3px; }
.page-order a:hover { color: var(--red-dark, #d8323a); }
.page-order section[id] { scroll-margin-top: 120px; }

.po-lead {
    max-width: 760px;
    margin: 0 !important;
    font-size: 18px;
    color: var(--muted, #6b7280);
}

/* 3 способа */
.po-ways {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.page-order .po-way {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    color: var(--ink, #1d1d1d);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line, #e6e8ee);
    border-radius: var(--radius-lg, 24px);
    box-shadow: 0 6px 22px rgba(30, 36, 48, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.page-order .po-way:hover {
    color: var(--ink, #1d1d1d);
    transform: translateY(-3px);
    border-color: var(--red, #f14850);
    box-shadow: 0 12px 30px rgba(30, 36, 48, .1);
}
.po-way:nth-child(1) { background: linear-gradient(135deg, var(--rose, #fdecee), #fff 70%); }
.po-way:nth-child(2) { background: linear-gradient(135deg, var(--mint, #e8f6f0), #fff 70%); }
.po-way:nth-child(3) { background: linear-gradient(135deg, var(--blue-soft, #eaf1fd), #fff 70%); }
.po-way__num {
    font-family: "Philosopher", Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--red, #f14850);
}
.po-way__title {
    font-family: "Philosopher", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
.po-way__text { color: var(--muted, #6b7280); flex: 1; }
.po-way__more { font-weight: 600; color: var(--red, #f14850); }

/* Белые блоки */
.po-section,
.po-card {
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line, #e6e8ee);
    border-radius: var(--radius-lg, 24px);
    box-shadow: 0 6px 22px rgba(30, 36, 48, .06);
}

/* Шаги корзины */
.page-order .po-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.po-step {
    position: relative;
    margin: 0;
    padding: 22px 20px 20px;
    background: var(--bg, #f6f7f9);
    border-radius: var(--radius-md, 16px);
    font-size: 15px;
    line-height: 1.5;
}
.po-step::marker { content: none; }
.po-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    color: #fff;
    background: var(--red, #f14850);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}
.po-note {
    margin: 0 0 24px;
    padding: 16px 20px;
    background: var(--mint, #e8f6f0);
    border-radius: var(--radius-md, 16px);
}

/* Кнопки */
.po-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.page-order .po-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.page-order .po-btn:hover { transform: translateY(-1px); }
.page-order .po-btn--red { color: #fff; background: var(--red, #f14850); }
.page-order .po-btn--red:hover { color: #fff; background: var(--red-dark, #d8323a); }
.page-order .po-btn--max { color: #fff; background: #7b4dff; }
.page-order .po-btn--max:hover { color: #fff; background: #6a3cf0; }
.page-order .po-btn--tg { color: #fff; background: #2aabee; }
.page-order .po-btn--tg:hover { color: #fff; background: #1d97d8; }

/* Телефон + мессенджеры */
.po-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.po-card { display: flex; flex-direction: column; }
.po-card > .po-btn,
.po-card > .po-btns { margin-top: auto; padding-top: 0; }
.po-card > p + .po-btn { margin-top: auto; }
.po-card .po-btn--red { align-self: flex-start; margin-top: 20px; }
.page-order .po-phone {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--ink, #1d1d1d);
    font-family: "Philosopher", Georgia, serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    text-decoration: none;
}
.po-muted { color: var(--muted, #6b7280); font-size: 15px; }

/* Полезно знать */
.po-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.page-order .po-info__item {
    display: block;
    padding: 20px;
    color: var(--ink, #1d1d1d);
    background: var(--bg, #f6f7f9);
    border-radius: var(--radius-md, 16px);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
}
.po-info__item b { display: block; margin-bottom: 6px; font-size: 16px; }
.page-order .po-info__link b { color: var(--red, #f14850); }
.page-order .po-info__link:hover { color: var(--ink, #1d1d1d); background: var(--rose, #fdecee); }

/* Адаптив */
@media (max-width: 1100px) {
    .page-order .po-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .po-ways, .po-pair { grid-template-columns: 1fr; }
    .page-order .po-steps { grid-template-columns: 1fr; gap: 10px; }
    .po-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
    .po-step__num { flex: 0 0 auto; margin: 0; width: 32px; height: 32px; font-size: 15px; }
    .po-section, .po-card { padding: 22px; }
    .po-way { padding: 22px; }
    .po-lead { font-size: 16px; }
    .po-btns .po-btn, .po-section > .po-btn, .po-card .po-btn--red { width: 100%; align-self: stretch; }
}
