/* ============================================================
 *  Autocredits page  (/product/autocredits/)
 *  v.20260520
 * ============================================================ */

.acp {
    background: #f7f8fa;
    color: #1a2845;
    padding: 24px 0 48px;
    font-size: 14px;
    line-height: 1.45;
}

.acp .container { max-width: 800px; }

/* breadcrumbs */
.acp-crumbs { font-size: 13px; color: #8a93a3; margin-bottom: 18px; }
.acp-crumbs a { color: #5a6478; text-decoration: none; }
.acp-crumbs a:hover { color: #365eba; }
.acp-crumbs__sep { margin: 0 8px; opacity: .5; }

/* hero */
.acp-hero {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 14px;
    padding: 28px 28px;
    margin-bottom: 18px;
}
.acp-hero__title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 10px;
    letter-spacing: -.01em;
    color: #1a2845;
}
.acp-hero__sub {
    font-size: 16px;
    color: #333;
    max-width: 100%;
    line-height: 1.45;
    margin: 0 0 22px;
}
.acp-hero__updated {
    font-size: 12px;
    color: #8a93a3;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f3f8;
}
.acp-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.acp-stat {
    background: #f7f8fa;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    padding: 14px 16px;
}
.acp-stat--accent {
    background: linear-gradient(135deg, #fff7f0, #ffeedd);
    border-color: #f76c16;
}
.acp-stat__lbl { font-size: 11px; color: #8a93a3; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.acp-stat__val { font-size: 22px; font-weight: 500; color: #1a2845; line-height: 1; }
.acp-stat--accent .acp-stat__val { color: #f76c16; }

/* tabs */
.acp-tabs {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.acp-tab {
    flex: 1;
    padding: 12px 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all .15s;
}
.acp-tab:hover { color: #1a2845; background: #f7f8fa; }
.acp-tab.is-on { background: #365eba; color: #fff; }
.acp-tab.is-on:hover { background: #2a4a96; color: #fff; }
.acp-tab__c { font-size: 12px; opacity: .7; margin-left: 6px; }

/* calculator */
.acp-calc {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
}
.acp-calc__hd {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
    gap: 16px;
    flex-wrap: wrap;
}
.acp-calc__title { font-size: 12px; color: #8a93a3; text-transform: uppercase; letter-spacing: .5px; font-weight: 500; }
.acp-calc__sort { font-size: 13px; color: #5a6478; }
.acp-calc__sort select {
    font-size: 13px;
    padding: 4px 10px;
    border: 1px solid #e5e9ef;
    border-radius: 6px;
    background: #f7f8fa;
    color: #1a2845;
    font-weight: 500;
    cursor: pointer;
    margin-left: 4px;
}
.acp-calc__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
.acp-calc__f { display: flex; flex-direction: column; }
.acp-calc__l { font-size: 12px; color: #8a93a3; margin-bottom: 6px; }
.acp-calc__i {
    padding: 11px 14px;
    border: 1px solid #e5e9ef;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #1a2845;
    background: #f7f8fa;
    transition: all .15s;
    font-family: inherit;
}
.acp-calc__i:focus { outline: none; border-color: #365eba; background: #fff; box-shadow: 0 0 0 3px rgba(54,94,186,.1); }

/* cards */
.acp-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.acp-card {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 18px 20px;
    position: relative;
    transition: all .15s;
}
.acp-card:hover { box-shadow: 0 2px 12px rgba(26,40,69,.06); }
.acp-card.is-best {
    border-color: #f76c16;
    box-shadow: 0 4px 18px rgba(247,108,22,.10);
}
.acp-card.is-best::before {
    content: 'Лучшая ставка';
    position: absolute;
    top: -10px;
    right: 16px;
    background: #f76c16;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.acp-card__row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
}
.acp-card__logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f0f3f8;
    border: 1px solid #e5e9ef;
    object-fit: contain;
    padding: 6px;
}
.acp-card__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #1a2845;
}
.acp-card__bn { font-size: 12px; color: #8a93a3; margin-bottom: 2px; }
.acp-card__pn { font-size: 16px; font-weight: 500; color: #1a2845; }
.acp-card__rate-blk { text-align: right; min-width: 100px; }
.acp-card__rate { display: flex; align-items: baseline; gap: 2px; justify-content: flex-end; color: #f76c16; line-height: 1; }
.acp-card__rate-v { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.acp-card__rate-u { font-size: 14px; font-weight: 600; }
.acp-card__rate-l { font-size: 11px; color: #8a93a3; text-transform: uppercase; letter-spacing: .4px; margin-top: 4px; }
.acp-card__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef0f4;
}
.acp-card__m-lbl { font-size: 11px; color: #8a93a3; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.acp-card__m-val { font-size: 16px; font-weight: 500; color: #333333; }
.acp-card__btm {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef0f4;
    gap: 12px;
}
.acp-card__payment { font-size: 16px; color: #5a6478; }
.acp-card__payment strong { color: green; font-weight: 600; }
.acp-card__payment-hint { color: #8a93a3; font-size: 12px; }
.acp-card__cta {
    padding: 10px 20px;
    background: #365eba;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background .15s;
}
.acp-card__cta:hover { background: #2a4a96; color: #fff; }
.acp-card.is-best .acp-card__cta { background: #f76c16; }
.acp-card.is-best .acp-card__cta:hover { background: #d05a10; }

/* empty state */
.acp-empty {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    color: #5a6478;
    font-size: 15px;
}
.acp-empty a { color: #365eba; font-weight: 500; text-decoration: none; margin-left: 6px; }

/* sections (FAQ, SEO) */
.acp-section {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 14px;
}
.acp-section__t { font-size: 22px; font-weight: 600; margin: 0 0 16px; color: #1a2845; }
.acp-text { font-size: 16px; color: #333; line-height: 1.45; }
.acp-text p { margin: 0 0 12px; }
.acp-text h3 { font-size: 16px; font-weight: 600; color: #1a2845; margin: 18px 0 8px; }

/* FAQ */
.acp-faq__item {
    padding: 14px 0;
    border-bottom: 1px solid #eef0f4;
}
.acp-faq__item:last-child { border-bottom: none; }
.acp-faq__item[open] .acp-faq__icon { transform: rotate(45deg); }
.acp-faq__q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #1a2845;
    cursor: pointer;
    list-style: none;
    gap: 12px;
}
.acp-faq__q::-webkit-details-marker { display: none; }
.acp-faq__icon {
    color: #8a93a3;
    font-size: 22px;
    font-weight: 300;
    transition: transform .2s;
    flex-shrink: 0;
}
.acp-faq__a {
    font-size: 16px;
    color: #5a6478;
    margin-top: 8px;
    line-height: 1.45;
}

/* mobile */
@media (max-width: 767px) {
    .acp-hero { padding: 20px 18px; }
    .acp-hero__title { font-size: 24px; }
    .acp-hero__sub { font-size: 14px; }
    .acp-hero__stats { grid-template-columns: repeat(2, 1fr); }
    .acp-stat__val { font-size: 18px; }

    .acp-tabs { padding: 4px; }
    .acp-tab { padding: 10px 8px; font-size: 13px; }

    .acp-calc__grid { grid-template-columns: 1fr; }
    .acp-calc__hd { flex-direction: column; align-items: flex-start; }

    .acp-card { padding: 16px; }
    .acp-card__row { grid-template-columns: 44px 1fr auto; gap: 12px; }
    .acp-card__logo { width: 44px; height: 44px; }
    .acp-card__pn { font-size: 14px; }
    .acp-card__rate-v { font-size: 22px; }
    .acp-card__meta { grid-template-columns: repeat(2, 1fr); }
    .acp-card__btm { flex-direction: column; align-items: stretch; }
    .acp-card__cta { text-align: center; }

    .acp-section { padding: 16px 18px; }
    .acp-section__t { font-size: 18px; }
}

/* Filter status — счётчик подходящих программ */
.acp-filter-status {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.acp-filter-status__text { font-size: 16px; font-weight: 500; color: #1a2845; }
.acp-filter-status__text strong { color: #f76c16; font-weight: 700; }
.acp-filter-status__hint { font-size: 14px; color: #8a93a3; }

/* No match — пустое состояние при фильтре */
.acp-no-match {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    margin-bottom: 14px;
}
.acp-no-match__icon { font-size: 40px; margin-bottom: 12px; opacity: .5; }
.acp-no-match__title { font-size: 17px; font-weight: 600; color: #1a2845; margin-bottom: 6px; }
.acp-no-match__hint { font-size: 13px; color: #5a6478; }