/* ============================================================
   Shared static content page (cp) — used by info/article pages
   (Гарантія, Обмін та повернення, і т.д.). НЕ робити окремий css
   під кожну сторінку — підключати цей файл і використовувати .cp-*.
   Базові .the-page / .the-page-content — у mfixes.css (глобально).
   ============================================================ */
/*.cp-page .container-inner {
    max-width: 940px;
}*/
.cp-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: #171a20;
    margin: 10px 0 4px;
}

.cp-content {
    font-size: 15.5px;
    line-height: 1.7;
    color: #374151;
}
.cp-content > p {
    margin: 0 0 14px;
}
.cp-lead {
    font-size: 16.5px;
    color: #4b5563;
}
.cp-content p strong {
    color: #171a20;
    font-weight: 700;
}

.cp-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: #171a20;
    margin: 36px 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cp-content h2::before {
    content: "";
    flex: 0 0 4px;
    width: 4px;
    height: 22px;
    border-radius: 3px;
    background: var(--main-blue, #3076d5);
}
.cp-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #171a20;
    margin: 22px 0 8px;
}

/* checklist */
.cp-list {
    list-style: none;
    margin: 4px 0 16px;
    padding: 0;
}
.cp-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}
.cp-list li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 7px;
    height: 12px;
    border: solid var(--main-blue, #3076d5);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
/* neutral dot marker — для переліків, де «галочка» читається недоречно
   (напр. «коли гарантія не діє») */
.cp-list--dot li::before {
    content: "";
    top: 9px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 50%;
    background: #c2c7cf;
    transform: none;
}

/* numbered steps */
.cp-steps {
    list-style: none;
    counter-reset: cp;
    margin: 4px 0 16px;
    padding: 0;
}
.cp-steps li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    counter-increment: cp;
}
.cp-steps li::before {
    content: counter(cp);
    position: absolute;
    left: 0;
    top: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eaf1fc;
    color: var(--main-blue, #3076d5);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* action buttons */
.cp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0 22px;
}
.cp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}
.cp-btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.cp-btn--primary {
    background: var(--main-blue, #3076d5);
    color: #fff;
}
.cp-btn--primary svg path {
    fill: #fff;
}
.cp-btn--primary:hover {
    background: #2a69bf;
}
.cp-btn--outline {
    background: #fff;
    color: #171a20;
    border: 1px solid #d6dae0;
}
.cp-btn--outline svg path,
.cp-btn--outline svg rect {
    fill: #171a20;
}
.cp-btn--outline:hover {
    border-color: var(--main-blue, #3076d5);
    color: var(--main-blue, #3076d5);
}
.cp-btn--outline:hover svg path,
.cp-btn--outline:hover svg rect {
    fill: var(--main-blue, #3076d5);
}

/* requisites card */
.cp-req {
    background: #f7f9fc;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 8px 22px;
    margin: 6px 0 16px;
}
.cp-req__row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid #eaedf1;
    font-size: 15px;
}
.cp-req__row:last-child {
    border-bottom: none;
}
.cp-req__k {
    color: #6b7280;
    flex: 0 0 160px;
}
.cp-req__v {
    color: #171a20;
    font-weight: 600;
}
.cp-req__v a {
    color: inherit;
    text-decoration: none;
}
.cp-req__v a:hover {
    color: var(--main-blue, #3076d5);
}

/* cards grid — способи доставки / оплати тощо (перевикористовувані) */
.cp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin: 8px 0 20px;
}
.cp-card {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 6px 24px rgba(17, 26, 32, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}
.cp-card:hover {
    border-color: #d6dae0;
    box-shadow: 0 10px 30px rgba(17, 26, 32, 0.08);
    transform: translateY(-2px);
}
.cp-card__ico {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eef4ff;
    color: var(--main-blue, #3076d5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.cp-card__ico svg {
    width: 24px;
    height: 24px;
}
.cp-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #171a20;
    margin: 0;
}
.cp-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: #5b6470;
    margin: 0;
}
.cp-card__list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cp-card__list li {
    font-size: 14px;
    color: #374151;
    padding-left: 16px;
    position: relative;
}
.cp-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--main-blue, #3076d5);
}
.cp-card__list strong {
    color: #171a20;
    font-weight: 700;
}

/* pills / tags — бренди, теги тощо (перевикористовувані) */
.cp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 6px 0 16px;
}
.cp-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f4f7fb;
    border: 1px solid #e6e8ec;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition:
        border-color 0.15s ease,
        color 0.15s ease,
        background 0.15s ease;
}
.cp-tag:hover {
    border-color: var(--main-blue, #3076d5);
    color: var(--main-blue, #3076d5);
    background: #eef4ff;
}

/* stats band — показники (перевикористовувані) */
.cp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 16px 0 22px;
}
.cp-stat {
    background: #f7f9fc;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 20px 22px;
    text-align: center;
}
.cp-stat__num {
    font-size: 28px;
    font-weight: 800;
    color: var(--main-blue, #3076d5);
    line-height: 1.1;
}
.cp-stat__label {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

/* warning callout */
.cp-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 13px 16px;
    margin: 6px 0 16px;
    color: #9a3412;
    font-size: 14.5px;
    line-height: 1.6;
}

/* FAQ accordion (native <details>) */
.cp-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.cp-faq__item {
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s ease;
}
.cp-faq__item[open] {
    border-color: #d6dae0;
}
.cp-faq__item summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #171a20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.cp-faq__item summary::-webkit-details-marker {
    display: none;
}
.cp-faq__item summary h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #171a20;
}
.cp-faq__item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.cp-faq__item[open] summary::after {
    transform: rotate(-135deg);
}
.cp-faq__a {
    padding: 0 20px 16px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
}

/* long-text / legal pages (оферта, угода користувача) */
.cp-content ol,
.cp-content ul {
    margin: 0 0 16px;
    padding-left: 24px;
}
.cp-content > ol > li {
    margin-bottom: 18px;
    padding-left: 6px;
}
.cp-content ul > li,
.cp-content ol ol > li {
    margin-bottom: 8px;
}
.cp-content ol > li::marker {
    font-weight: 700;
    color: #171a20;
}
.cp-content li p {
    margin: 0 0 8px;
}
.cp-content li p:last-child {
    margin-bottom: 0;
}
.cp-content a {
    color: var(--main-blue, #3076d5);
    text-decoration: none;
}
.cp-content a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .cp-page h1 {
        font-size: 26px;
    }
    .cp-content h2 {
        font-size: 19px;
        margin-top: 28px;
    }
    .cp-btn {
        flex: 1 1 100%;
        justify-content: center;
    }
    .cp-req__k {
        flex-basis: 100%;
    }
}
