.fk-ebook {
    min-height: 70vh;
    padding: clamp(40px, 5vw, 72px) 0 clamp(76px, 9vw, 124px);
    background: var(--fk-ebook-light);
}

.fk-ebook__container {
    display: block;
}

.fk-ebook__layout {
    display: grid;
    grid-template-columns: minmax(270px, 410px) minmax(0, 1fr);
    gap: clamp(50px, 7vw, 96px);
    align-items: start;
}

.fk-ebook__cover {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
}

.fk-ebook__cover:empty {
    display: none;
}

.fk-ebook__cover img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 1;
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(61, 46, 81, .18);
    visibility: visible;
}

.fk-ebook__content {
    min-width: 0;
}

.fk-ebook h1 {
    margin: 0 0 30px;
    color: var(--fk-ebook-purple);
    font-family: "EPI Tight", "Arial Narrow", sans-serif;
    font-size: clamp(50px, 6vw, 76px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.fk-ebook__description {
    color: #332840;
    font-size: 16px;
    line-height: 1.72;
}

.fk-ebook__description p {
    margin-bottom: 1.1em;
}

.fk-ebook__description :where(ul, ol) {
    margin: 0 0 1.25em;
    padding-left: 1.35em;
}

.fk-ebook__description li + li {
    margin-top: .45em;
}

.fk-ebook__purchase {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 2px solid rgba(61, 46, 81, .14);
}

.fk-ebook__purchase > div {
    display: grid;
    gap: 8px;
}

.fk-ebook__availability {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #32663c;
    font-size: 14px;
    font-weight: 700;
}

.fk-ebook__availability span {
    width: 9px;
    height: 9px;
    background: #4d8b58;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(77, 139, 88, .13);
}

.fk-ebook__price {
    color: var(--fk-ebook-purple);
    font-size: 26px;
    line-height: 1.2;
}

.fk-ebook a.fk-ebook__buy,
.fk-ebook a.fk-ebook__buy:link,
.fk-ebook a.fk-ebook__buy:visited {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    color: var(--fk-ebook-white) !important;
    background: var(--fk-ebook-orange) !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(220, 123, 35, .4);
    font-weight: 700;
    text-decoration: none;
}

.fk-ebook a.fk-ebook__buy:hover,
.fk-ebook a.fk-ebook__buy:focus-visible {
    color: var(--fk-ebook-white) !important;
    background: #c96918 !important;
    box-shadow: 0 7px 18px rgba(220, 123, 35, .5);
    transform: translateY(-2px);
}

.fk-ebook__back {
    display: inline-block;
    margin-top: 30px;
    color: var(--fk-ebook-purple-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.fk-ebook__back:hover {
    color: var(--fk-ebook-purple);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fk-ebook--not-found {
    text-align: center;
}

.fk-ebook--not-found .fk-ebook__buy {
    margin-top: 20px;
}

@media (max-width: 820px) {
    .fk-ebook__layout {
        grid-template-columns: minmax(220px, 330px) minmax(0, 1fr);
        gap: 38px;
    }

    .fk-ebook h1 {
        font-size: clamp(46px, 7vw, 62px);
    }
}

@media (max-width: 700px) {
    .fk-ebook__layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .fk-ebook__cover {
        width: min(100%, 390px);
        margin-inline: auto;
    }

    .fk-ebook__purchase {
        align-items: stretch;
        flex-direction: column;
    }

    .fk-ebook__buy {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .fk-ebook {
        padding-top: 28px;
    }

    .fk-ebook h1 {
        font-size: clamp(42px, 14vw, 56px);
    }
}
