/* ==========================================================================
   Component: Authors Page
   Unique styles for the "Авторам" page. Reuses .shops-* classes from shops-page.
   ========================================================================== */

/* --- Hero buttons row --- */

.shops-hero__buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.shops-hero__btn--outline {
    background: transparent;
    color: var(--color-dark-600);
    border: 1px solid var(--color-dark-600);
}

.shops-hero__btn--outline:hover {
    background: var(--color-dark-600);
    color: var(--color-accent-600);
}

/* --- Steps --- */

.authors-steps {
    display: flex;
    flex-direction: column;
}

.authors-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-accent-200);
}

.authors-steps__item:first-child {
    border-top: 1px solid var(--color-accent-200);
}

.authors-steps__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid var(--color-accent-200);
    border-radius: 50%;
    font-family: var(--font-family-serif);
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-dark-600);
}

.authors-steps__text {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 20px;
    color: var(--color-dark-600);
    margin: 0;
    padding-top: 5px;
}

/* --- Books inline --- */

.authors-books {
    background: var(--color-accent-100);
    border: 1px solid var(--color-accent-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.authors-books__grid {
    display: flex;
    gap: 16px;
}

.authors-books__card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.authors-books__cover {
    width: 100%;
    aspect-ratio: 736 / 920;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.authors-books__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.authors-books__title {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 18px;
    color: var(--color-dark-600);
    margin: 0;
}

.authors-books__author {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: 17px;
    color: var(--color-dark-500);
    margin: 0;
}

.authors-books__link {
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-dark-600);
    text-decoration: underline;
}

/* --- FAQ --- */

.authors-faq {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.authors-faq__item {
    background: var(--color-accent-100);
    border: 1px solid var(--color-accent-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.authors-faq__question {
    font-family: var(--font-family);
    font-size: var(--font-size-lg);
    font-weight: 400;
    line-height: 18px;
    color: var(--color-dark-600);
    margin: 0;
}

.authors-faq__answer {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 20px;
    color: var(--color-dark-500);
    padding-right: var(--spacing-2xl);
    margin: 0;
}

/* --- Feature cards without icons (text only) --- */

.shops-features__card:not(:has(.shops-features__icon)) {
    padding: 24px 32px;
    justify-content: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .shops-hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .shops-hero__btn,
    .shops-hero__btn--outline {
        width: 100%;
        justify-content: center;
    }

    .authors-books__grid {
        flex-direction: column;
    }

    .authors-books__cover {
        max-width: 200px;
        margin: 0 auto;
    }
}
