/* =========================================
   RETURN PAGE — Возврат товара
   Подключается после style.css
   Переиспользует: .policy-page, .policy-header,
   .cart-breadcrumbs, .section, .delivery__card,
   .delivery__icon, .pd-accordion, .trust-strip, .btn
   ========================================= */

/* =========================================
   БЫСТРЫЕ ФАКТЫ
   ========================================= */

.ret-facts {
    margin-top: 0;
    margin-bottom: 0;
}

/* =========================================
   СЕКЦИИ
   ========================================= */

.ret-section {
    padding: 72px 0 0;
}

.ret-section--gray {
    background: transparent;
    border-top: 1px solid var(--gray-line);
    margin-top: 72px;
    padding: 64px 0 0;
}

.ret-head {
    text-align: left;
    max-width: 560px;
    margin: 0 0 40px;
}

.ret-head .section__title {
    font-size: clamp(26px, 2.6vw, 34px);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

/* =========================================
   УСЛОВИЯ — две колонки
   ========================================= */

.ret-conditions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ret-conditions__col {
    padding: 32px 28px;
    border: 1px solid var(--gray-line);
    border-radius: var(--radius-lg);
}

.ret-conditions__col--muted {
    background: var(--gray-bg);
    border-color: transparent;
}

.ret-conditions__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ret-check,
.ret-cross {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ret-check li,
.ret-cross li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray-text);
}

.ret-check li::before,
.ret-cross li::before {
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
}

.ret-check li::before {
    content: "✓";
    background: var(--sage);
    color: var(--white);
}

.ret-cross li::before {
    content: "✕";
    background: var(--gray-line);
    color: var(--gray-text);
}

/* =========================================
   ПРИЧИНЫ — 2 карточки
   ========================================= */

.ret-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ret-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.ret-card .delivery__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
}

.ret-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.ret-card__lead {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 16px;
}

.ret-card__list {
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    border-top: 1px solid var(--gray-line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ret-card__list li {
    position: relative;
    padding-left: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-text);
}

.ret-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sage);
}

/* =========================================
   ПОРЯДОК — 4 шага
   ========================================= */

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

.ret-step {
    padding-top: 24px;
    border-top: 2px solid var(--black);
}

.ret-step__num {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--sage);
    margin-bottom: 14px;
}

.ret-step h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
}

.ret-step p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--gray-text);
}

.ret-step a {
    color: var(--black);
    border-bottom: 1px solid var(--gray-line);
}

.ret-step a:hover {
    border-color: var(--black);
}

/* =========================================
   ДЕНЬГИ — 4 карточки
   ========================================= */

.ret-money {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.ret-money__card {
    padding: 28px 24px;
    background: var(--gray-bg);
    border-radius: var(--radius-lg);
}

.ret-money__card h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ret-money__card p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--gray-text);
}

.ret-money__card strong {
    color: var(--black);
    font-weight: 600;
}

.ret-money__card a {
    color: var(--black);
    border-bottom: 1px solid var(--gray-line);
}

.ret-money__card a:hover {
    border-color: var(--black);
}

.ret-note {
    margin-top: 20px;
    padding: 20px 24px;
    border-left: 2px solid var(--sage);
    background: var(--gray-bg);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--gray-text);
}

.ret-note a {
    color: var(--black);
    border-bottom: 1px solid var(--gray-line);
}

.ret-note a:hover {
    border-color: var(--black);
}

/* =========================================
   FAQ
   ========================================= */

.ret-faq {
    max-width: 820px;
    border-top: 1px solid var(--gray-line);
}

.ret-faq .pd-accordion__body a {
    color: var(--black);
    border-bottom: 1px solid var(--gray-line);
}

.ret-faq .pd-accordion__body a:hover {
    border-color: var(--black);
}

/* =========================================
   CTA
   ========================================= */

.ret-cta {
    margin-top: 72px;
    padding: 48px 40px;
    background: var(--black);
    border-radius: var(--radius-lg);
    text-align: center;
}

.ret-cta__title {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 10px;
}

.ret-cta__text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.ret-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.ret-cta .btn--primary {
    background: var(--white);
    color: var(--black);
}

.ret-cta .btn--primary:hover {
    background: var(--yellow);
}

.ret-cta .btn--outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.ret-cta .btn--outline:hover {
    border-color: var(--white);
}

/* =========================================
   RESPONSIVE — 900px
   ========================================= */

@media (max-width: 900px) {
    .ret-facts {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 28px;
    }

    .ret-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ret-section {
        padding-top: 56px;
    }

    .ret-section--gray {
        margin-top: 56px;
        padding-top: 48px;
    }
}

/* =========================================
   RESPONSIVE — 640px
   ========================================= */

@media (max-width: 640px) {
    .ret-facts {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .ret-section {
        padding-top: 44px;
    }

    .ret-section--gray {
        margin-top: 44px;
        padding-top: 40px;
    }

    .ret-head {
        margin-bottom: 28px;
    }

    .ret-head .section__title {
        font-size: 24px;
    }

    .ret-conditions,
    .ret-grid,
    .ret-money {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ret-conditions__col,
    .ret-card {
        padding: 24px 20px;
    }

    .ret-money__card {
        padding: 22px 20px;
    }

    .ret-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ret-step {
        padding-top: 18px;
    }

    .ret-faq .pd-accordion summary {
        font-size: 14px;
        padding: 16px 0;
        align-items: flex-start;
    }

    .ret-faq .pd-accordion__body p {
        font-size: 13px;
    }

    .ret-note {
        padding: 16px 18px;
        font-size: 12px;
    }

    .ret-cta {
        margin-top: 44px;
        padding: 32px 20px;
    }

    .ret-cta__title {
        font-size: 22px;
    }

    .ret-cta__actions {
        flex-direction: column;
    }

    .ret-cta .btn {
        width: 100%;
    }
}

/* =========================================
   RESPONSIVE — 400px
   ========================================= */

@media (max-width: 400px) {
    .ret-check li,
    .ret-cross li,
    .ret-card__list li,
    .ret-money__card p {
        font-size: 12px;
    }

    .ret-step h3,
    .ret-card h3 {
        font-size: 15px;
    }

    .ret-cta__title {
        font-size: 20px;
    }
}

/* =========================================
   PREFERS REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .ret-card:hover {
        transform: none;
    }
}
