/* ============================================================
   warranty-consumer-content — Действия потребителя при возврате продукции
   BEM block: wconsumer
   ============================================================ */

/* ---- LAYOUT ---- */

.wconsumer {
    padding: 80px 120px 64px 120px;
    background: #fff;
    overflow-x: clip;
}

.wconsumer__inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* ---- SIDEBAR ---- */

.wconsumer__sidebar {
    width: 360px;
    flex-shrink: 0;
    position: sticky;
    top: 148px;
    align-self: flex-start;
}

.wconsumer__sidebar-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wconsumer__sidebar-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.wconsumer__sidebar-box {
    background: var(--color-bg-light);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wconsumer__sidebar-title {
    font-family: var(--font-neo);
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1px;
    color: #000;
    margin: 0;
}

/* Doc links */

.wconsumer__docs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wconsumer__doc-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--color-primary);
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 22px;
}

.wconsumer__doc-link img {
    flex-shrink: 0;
    display: block;
    width: auto;
    height: auto;
    max-width: 24px;
    max-height: 24px;
    margin-top: 0;
}

.wconsumer__doc-link:hover {
    opacity: 0.75;
}

.wconsumer__sidebar-box .wconsumer__doc-link {
    font-size: 14px;
}

/* Contacts */

.wconsumer__contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-divider);
}

.wconsumer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wconsumer__contact-label {
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.wconsumer__contact-value {
    font-family: var(--font-neo);
    font-size: 24px;
    line-height: 28px;
    color: #000;
    text-decoration: none;
}

.wconsumer__contact-value:hover {
    color: var(--color-primary);
}

/* Help */

.wconsumer__sidebar-help {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
    margin-top: auto;
}

.wconsumer__help-label {
    font-family: var(--font-inter);
    font-size: 14px;
    line-height: 22px;
    color: #5f5f5f;
    margin: 0;
}

.wconsumer__sidebar-help .btn {
    width: 100%;
}

/* ---- MAIN ---- */

.wconsumer__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.wconsumer__title {
    font-family: var(--font-neo);
    font-size: 48px;
    line-height: 58px;
    letter-spacing: -1.8px;
    color: #000;
    margin: 0;
}

/* ---- STEPS ---- */

.wconsumer__steps {
    display: flex;
    flex-direction: column;
}

.wconsumer__step {
    display: flex;
    gap: 42px;
    align-items: flex-start;
}

/* Left column: number + line */

.wconsumer__step-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
}

.wconsumer__step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-neo);
    font-size: 24px;
    line-height: 1;
    color: #000;
}

.wconsumer__step-line {
    flex: 1;
    width: 1px;
    background: var(--color-divider);
    min-height: 44px;
}

/* Step body */

.wconsumer__step-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 32px;
}

.wconsumer__step--last .wconsumer__step-body {
    padding-bottom: 0;
}

.wconsumer__step-title {
    font-family: var(--font-neo);
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1px;
    color: #000;
    margin: 0;
    min-height: 64px;
    display: flex;
    align-items: center;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wconsumer__step-desc {
    font-family: var(--font-inter);
    font-size: 19px;
    line-height: 30px;
    color: #5f5f5f;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.wconsumer__step-body .wconsumer__doc-link {
    margin-top: 0;
}

.wconsumer__email-link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---- DOWNLOAD BUTTON ---- */

.wconsumer__download {
    padding-top: 16px;
}

.wconsumer__download--mobile {
    display: none;
}

/* ============================================================
   RESPONSIVE — Tablet 1170px
   ============================================================ */

@media (max-width: 1170px) {
    .wconsumer {
        padding: 64px 40px;
    }

    .wconsumer__inner {
        gap: 40px;
    }

    .wconsumer__sidebar {
        width: 280px;
    }

    .wconsumer__sidebar-title {
        font-size: 28px;
        line-height: 34px;
    }

    .wconsumer__title {
        font-size: 40px;
        line-height: 48px;
    }

    .wconsumer__step-title {
        font-size: 28px;
        line-height: 34px;
    }

    .wconsumer__step-desc {
        font-size: 16px;
        line-height: 26px;
    }
}

/* ============================================================
   RESPONSIVE — Medium tablet 800px
   ============================================================ */

@media (max-width: 800px) {
    .wconsumer__inner {
        flex-direction: column;
    }

    .wconsumer__sidebar {
        width: 100%;
        position: static;
    }

    .wconsumer__sidebar-img {
        padding: 0 40px;
    }

    .wconsumer__title {
        font-size: 32px;
        line-height: 38px;
        letter-spacing: -1px;
    }

    .wconsumer__step-title {
        font-size: 24px;
        line-height: 28px;
        min-height: 56px;
    }

    .wconsumer__step-num {
        width: 56px;
        height: 56px;
    }
}

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

@media (max-width: 640px) {
    .wconsumer {
        padding: 0;
    }

    .wconsumer__main {
        padding: 32px 24px;
        gap: 32px;
    }

    .wconsumer__step {
        gap: 16px;
    }

    .wconsumer__step-body {
        padding-bottom: 32px;
    }

    .wconsumer__step-desc {
        font-size: 14px;
        line-height: 22px;
    }

    .wconsumer__contact-value {
        font-size: 20px;
        line-height: 24px;
    }

    .wconsumer__download--inline {
        display: none;
    }

    .wconsumer__download--mobile {
        display: block;
        width: 100%;
    }

    .wconsumer__download--mobile .btn {
        width: 100%;
        height: 44px;
        font-size: 16px;
        line-height: 21px;
    }

    .wconsumer__sidebar-box {
        min-height: fit-content;
    }
}

