

/* Start:/local/templates/prom_s1/assets/promotion/promotion.css?17914151676214*/
/* Продвижение своего объявления: колонка в «Моих объявлениях», блок на
   детальной и окно с прайсом. Зелёный и скругления — как у кнопок торга и
   окна сделки (assets/offer/offer.css), окно — их же устройства. */

/* ─── Блок состояния ─────────────────────────────────────────────────────── */

.promotion-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
}

.promotion-status-active {
    padding: 2px 8px;
    border-radius: 10px;
    background: #fff3e0;
    color: #b35c00;
    font-weight: 600;
}

.promotion-status-pending {
    max-width: 240px;
    color: #6c8ebf;
}

.promotion-status-cancel {
    color: #2d6cdf;
    border-bottom: 1px dashed currentColor;
    cursor: pointer;
}

.promotion-status-cancel:hover { color: #1a4fa8; }

.promotion-status-cancel[aria-busy="true"] {
    opacity: .5;
    pointer-events: none;
}

/* На детальной — рядом с кнопками покупателя, под ценой. */
.promotion-owner {
    margin-top: 12px;
}

.promotion-owner[hidden] { display: none; }

.promotion-owner .promotion-status { font-size: 14px; gap: 8px; }

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

.promotion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid #2f8f4e;
    border-radius: 8px;
    background: #2f8f4e;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

.promotion-btn:hover { background: #267a41; }

.promotion-btn:disabled {
    opacity: .6;
    cursor: wait;
}

.promotion-btn--small {
    padding: 5px 12px;
    font-size: 12px;
}

.promotion-btn--ghost {
    background: #fff;
    color: #2f8f4e;
}

.promotion-btn--ghost:hover { background: #e7f5ec; }

/* ─── Окно ───────────────────────────────────────────────────────────────── */

.promotion-modal {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.promotion-modal[hidden] { display: none; }

.promotion-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.promotion-modal-box {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px 26px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.promotion-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: none;
    color: #8a9099;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.promotion-modal-title {
    margin: 0 30px 4px 0;
    font-size: 20px;
}

.promotion-modal-ad {
    margin-bottom: 14px;
    color: #6b7280;
    font-size: 14px;
}

.promotion-choose {
    margin-bottom: 10px;
    font-weight: 600;
}

.promotion-service {
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
}

.promotion-service--bundle { border-color: #f0b46a; }

.promotion-service-title {
    padding: 0 6px;
    font-weight: 700;
}

.promotion-service-text {
    margin-bottom: 8px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.promotion-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promotion-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.promotion-option:has(input:checked) {
    border-color: #2f8f4e;
    background: #e7f5ec;
}

.promotion-option-price { font-weight: 600; }

.promotion-note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.4;
}

.promotion-note--muted { color: #8a9099; }

.promotion-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
}

.promotion-error {
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fdecea;
    color: #b42318;
    font-size: 13px;
}

.promotion-error[hidden] { display: none; }

.promotion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 550px) {
    .promotion-modal { padding: 10px; }
    .promotion-modal-box { padding: 18px 16px 16px; }
}

/* ─── Страница услуг /promotion/ ─────────────────────────────────────────── */

.promotion-page { padding-bottom: 30px; }

.promotion-page-intro {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.5;
}

.promotion-page-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0 28px;
}

.promotion-page-service {
    padding: 16px 18px;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
}

.promotion-page-service.promotion-service--bundle { border-color: #f0b46a; }

.promotion-page-service-title {
    margin: 0 0 6px;
    font-size: 18px;
}

.promotion-page-prices {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.promotion-page-prices td {
    padding: 6px 0;
    border-top: 1px solid #f0f1f3;
}

.promotion-page-prices .promotion-option-price { text-align: right; }

.promotion-page-steps {
    max-width: 760px;
    padding-left: 20px;
    line-height: 1.5;
}

.promotion-page-steps li { margin-bottom: 6px; }

.promotion-page .promotion-btn {
    text-decoration: none;
    color: #fff;
}

/* End */
/* /local/templates/prom_s1/assets/promotion/promotion.css?17914151676214 */
