/* AEO blocks — dneprkomfort.dp.ua */
.aeo-section {
    margin: 2.5rem 0;
}

.aeo-section__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.aeo-section__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #14149F 0%, #3B3BC4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(20, 20, 159, .25);
}

.aeo-section__icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.aeo-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00171F;
    margin: 0;
    line-height: 1.25;
}

.aeo-section__subtitle {
    font-size: .95rem;
    color: #5A6A7A;
    margin: .25rem 0 0;
    font-weight: 400;
}

/* ── FAQ ── */
.aeo-faq__list {
    display: grid;
    gap: .75rem;
}

.aeo-faq__item {
    border: 1px solid #E4E9F2;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s;
}

.aeo-faq__item:hover {
    border-color: #C5CEE8;
    box-shadow: 0 2px 12px rgba(20, 20, 159, .06);
}

.aeo-faq__item[open] {
    border-color: #14149F;
    box-shadow: 0 4px 20px rgba(20, 20, 159, .1);
}

.aeo-faq__question {
    padding: 1.1rem 1.35rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.02rem;
    color: #00171F;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.45;
    transition: background .2s;
}

.aeo-faq__question::-webkit-details-marker { display: none; }
.aeo-faq__question::marker { display: none; content: ""; }

.aeo-faq__question:hover {
    background: #F6F8FE;
}

.aeo-faq__chevron {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #EEF1FA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .3s, background .3s;
}

.aeo-faq__chevron svg {
    width: 12px;
    height: 12px;
    stroke: #14149F;
    stroke-width: 2.5;
    fill: none;
    transition: transform .3s;
}

.aeo-faq__item[open] .aeo-faq__chevron {
    background: #14149F;
}

.aeo-faq__item[open] .aeo-faq__chevron svg {
    stroke: #fff;
    transform: rotate(180deg);
}

.aeo-faq__answer {
    padding: 0 1.35rem 1.35rem;
    color: #3D4F63;
    line-height: 1.75;
    font-size: .97rem;
}

.aeo-faq__answer p {
    margin: 0 0 .75rem;
}

.aeo-faq__answer p:last-child {
    margin-bottom: 0;
}

.aeo-faq__answer ul,
.aeo-faq__answer ol {
    margin: .5rem 0 .75rem;
    padding-left: 1.3rem;
}

.aeo-faq__answer li {
    margin-bottom: .3rem;
}

.aeo-faq__answer strong {
    color: #00171F;
}

/* ── Related links ── */
.aeo-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .6rem;
}

.aeo-related__link {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1rem;
    background: #fff;
    border: 1px solid #E4E9F2;
    border-radius: 10px;
    text-decoration: none;
    color: #14149F;
    font-size: .92rem;
    font-weight: 500;
    transition: all .2s;
}

.aeo-related__link:hover {
    background: #14149F;
    color: #fff;
    border-color: #14149F;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(20, 20, 159, .2);
}

.aeo-related__link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.aeo-related__grid--limited:not(.aeo-related__grid--expanded) {
    max-height: calc(3 * 54px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

.aeo-related__grid--expanded {
    max-height: none;
    overflow: visible;
}

.aeo-related__toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: .6rem 1.4rem;
    background: transparent;
    border: 1px solid #14149F;
    border-radius: 10px;
    color: #14149F;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.aeo-related__toggle:hover {
    background: #14149F;
    color: #fff;
}

/* ── Geo cities ── */
.aeo-geo__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.aeo-geo__city {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem .9rem;
    background: #F0F3FC;
    border: 1px solid #DDE3F5;
    border-radius: 999px;
    text-decoration: none;
    color: #14149F;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s;
}

.aeo-geo__city:hover {
    background: #14149F;
    color: #fff;
    border-color: #14149F;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(20, 20, 159, .18);
}

.aeo-geo__city svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    flex-shrink: 0;
}

.aeo-geo__city--main {
    background: #14149F;
    color: #fff;
    border-color: #14149F;
    font-weight: 600;
}

.aeo-geo__city--main:hover {
    background: #0F0F7A;
}

.aeo-geo__city--active {
    background: #14149F;
    color: #fff;
    border-color: #14149F;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(20, 20, 159, .3);
    position: relative;
}

.aeo-geo__city--active:hover {
    background: #0F0F7A;
    color: #fff;
    border-color: #0F0F7A;
}

/* ── Trust / advantages ── */
.aeo-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.aeo-trust__card {
    display: flex;
    gap: .85rem;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid #E4E9F2;
    border-radius: 12px;
    transition: box-shadow .2s, transform .2s;
}

.aeo-trust__card:hover {
    box-shadow: 0 4px 18px rgba(20, 20, 159, .08);
    transform: translateY(-2px);
}

.aeo-trust__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #EEF1FE 0%, #E0E5FA 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aeo-trust__card-icon svg {
    width: 20px;
    height: 20px;
    fill: #14149F;
}

.aeo-trust__card-title {
    font-weight: 600;
    font-size: .95rem;
    color: #00171F;
    margin: 0 0 .25rem;
    line-height: 1.3;
}

.aeo-trust__card-text {
    font-size: .85rem;
    color: #5A6A7A;
    margin: 0;
    line-height: 1.5;
}

/* ── How to choose guide ── */
.aeo-desc__body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.aeo-desc__img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.aeo-desc .ds-category-description-text {
    max-height: 280px;
    overflow: hidden;
    position: relative;
    font-size: .97rem;
    color: #3D4F63;
    line-height: 1.75;
    overflow-wrap: break-word;
    transition: max-height .35s ease;
}

.aeo-desc .ds-category-description-text.aeo-desc--expanded {
    max-height: none;
    overflow: visible;
}

.aeo-desc__toggle-wrap {
    margin-top: .5rem;
}

.aeo-desc__toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 500;
    color: #14149F;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aeo-desc__toggle-icon {
    transition: transform .3s;
}

@media (min-width: 768px) {
    .aeo-desc__body {
        flex-direction: row;
        align-items: flex-start;
    }

    .aeo-desc__img {
        flex: 0 0 220px;
        margin: 0;
    }

    .aeo-desc__content {
        flex: 1;
        min-width: 0;
    }

    .aeo-desc .ds-category-description-text {
        font-size: .97rem;
    }
}

.aeo-guide__content {
    display: grid;
    gap: 1.5rem;
    min-width: 0;
}

.aeo-guide__block {
    background: #fff;
    border: 1px solid #E4E9F2;
    border-radius: 16px;
    padding: 1.35rem 1.45rem;
    min-width: 0;
    overflow: hidden;
}

.aeo-guide__block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #00171F;
    margin: 0 0 .65rem;
    line-height: 1.3;
}

.aeo-guide__block-text {
    font-size: .97rem;
    color: #3D4F63;
    line-height: 1.75;
    margin: 0 0 .85rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.aeo-guide__block-text:last-child {
    margin-bottom: 0;
}

.aeo-guide__list {
    margin: .5rem 0 .85rem;
    padding-left: 1.3rem;
    font-size: .97rem;
    color: #3D4F63;
    line-height: 1.75;
}

.aeo-guide__list li {
    margin-bottom: .4rem;
}

.aeo-guide__list strong {
    color: #00171F;
}

.aeo-guide__types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: .65rem;
}

.aeo-guide__type {
    background: #F8FAFF;
    border: 1px solid #E8EDF8;
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.aeo-guide__type-title {
    font-size: .97rem;
    font-weight: 600;
    color: #14149F;
    margin: 0 0 .35rem;
}

.aeo-guide__type-text {
    font-size: .9rem;
    color: #5A6A7A;
    margin: 0;
    line-height: 1.6;
}

/* ── BTU table ── */
.aeo-guide__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
    border-radius: 12px;
    border: 1px solid #E4E9F2;
    max-width: 100%;
}

.aeo-guide__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .93rem;
}

.aeo-guide__table thead th {
    background: #14149F;
    color: #fff;
    padding: .85rem 1.1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.aeo-guide__table tbody td {
    padding: .75rem 1.1rem;
    border-bottom: 1px solid #EEF1F8;
    color: #3D4F63;
    overflow-wrap: break-word;
}

.aeo-guide__table tbody tr:nth-child(even) {
    background: #F8FAFF;
}

.aeo-guide__table tbody tr:hover {
    background: #EEF2FE;
}

.aeo-guide__table tbody tr:last-child td {
    border-bottom: none;
}

.aeo-guide__table .highlight {
    color: #14149F;
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .aeo-products .aeo-swiper-prev,
    .aeo-products .aeo-swiper-next {
        display: none;
    }

    .aeo-section__title {
        font-size: 1.2rem;
        overflow-wrap: break-word;
    }

    .aeo-section__header {
        flex-wrap: wrap;
    }

    .aeo-section__icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .aeo-section__icon svg {
        width: 18px;
        height: 18px;
    }

    .aeo-faq__question {
        padding: .9rem 1rem;
        font-size: .95rem;
    }

    .aeo-faq__answer {
        padding: 0 1rem 1rem;
        font-size: .9rem;
    }

    .aeo-related__grid {
        display: flex;
        flex-wrap: wrap;
        gap: .45rem;
        grid-template-columns: unset;
    }

    .aeo-related__link {
        padding: .5rem .8rem;
        font-size: .8rem;
        gap: .35rem;
        border-radius: 8px;
        white-space: nowrap;
        width: auto;
    }

    .aeo-related__link svg {
        width: 12px;
        height: 12px;
    }

    .aeo-trust__grid {
        grid-template-columns: 1fr 1fr;
    }

    .aeo-geo__city {
        font-size: .82rem;
        padding: .4rem .7rem;
    }

    .aeo-guide__types {
        grid-template-columns: 1fr;
    }

    .aeo-guide__block {
        padding: 1.1rem 1.15rem;
    }

    .aeo-guide__block-title {
        font-size: 1.05rem;
    }

    .aeo-guide__table {
        font-size: .82rem;
        min-width: 0;
        table-layout: fixed;
        width: 100%;
    }

    .aeo-guide__table thead th {
        padding: .6rem .5rem;
        white-space: normal;
        word-break: break-word;
    }

    .aeo-guide__table tbody td {
        padding: .55rem .5rem;
        word-break: break-word;
    }

    .aeo-guide__list {
        padding-left: 1.1rem;
        font-size: .93rem;
    }

    .aeo-guide__type {
        padding: .9rem 1rem;
    }
}

@media (max-width: 480px) {
    .aeo-related__grid {
        display: flex;
        flex-wrap: wrap;
        gap: .4rem;
        grid-template-columns: unset;
    }

    .aeo-related__link {
        padding: .45rem .7rem;
        font-size: .75rem;
        gap: .3rem;
        border-radius: 8px;
        white-space: nowrap;
        width: auto;
    }

    .aeo-related__link svg {
        width: 11px;
        height: 11px;
    }

    .aeo-trust__grid {
        grid-template-columns: 1fr;
    }

    .aeo-guide__block {
        padding: .95rem .95rem;
        border-radius: 12px;
    }

    .aeo-guide__block-title {
        font-size: 1rem;
    }

    .aeo-guide__block-text,
    .aeo-guide__list {
        font-size: .9rem;
        line-height: 1.65;
    }

    .aeo-guide__table {
        font-size: .78rem;
    }

    .aeo-guide__table thead th,
    .aeo-guide__table tbody td {
        padding: .5rem .4rem;
    }
}
