.fav-main {
    background: #F5F5F5;
    min-height: calc(100vh - 400px);
    display: flex;
    flex-direction: column;
}

.fav-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px 40px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fav-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 24px 0 40px;
}

.fav-breadcrumbs a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #767676;
    text-decoration: none;
    transition: color 0.2s;
}

.fav-breadcrumbs a:hover {
    color: #48924E;
}

.fav-breadcrumbs-sep {
    font-size: 16px;
    color: #767676;
    margin: 0 8px;
}

.fav-breadcrumbs-current {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #000000;
}

.fav-page-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 24px;
    color: #000000;
    margin: 0 0 0;
    vertical-align: middle;
}

.fav-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 12px;
    flex: 1;
    min-height: 400px;
}

.fav-empty-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    color: #333333;
    margin: 0;
}

.fav-empty-hint {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #333333;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.fav-empty-heart {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.fav-empty-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #48924E;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: opacity 0.2s;
    margin-top: 10px;
}

.fav-empty-link:hover {
    opacity: 0.75;
}

@media (max-width: 768px) {
    .fav-container {
        padding: 0 16px 24px;
    }

    .fav-breadcrumbs {
        padding: 16px 0 14px;
    }

    .fav-breadcrumbs a,
    .fav-breadcrumbs-sep,
    .fav-breadcrumbs-current {
        font-size: 14px;
    }

    .fav-page-title {
        font-size: 20px;
    }

    .fav-empty {
        padding: 40px 16px;
        min-height: 350px;
        gap: 10px;
    }

    .fav-empty-title {
        font-size: 17px;
    }

    .fav-empty-hint {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fav-main {
        min-height: calc(100vh - 350px);
    }

    .fav-page-title {
        font-size: 18px;
    }

    .fav-empty {
        padding: 32px 12px;
        min-height: 300px;
    }

    .fav-empty-title {
        font-size: 16px;
    }

    .fav-empty-hint {
        font-size: 13px;
    }

    .fav-empty-link {
        font-size: 13px;
    }
}

.fav-list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 12px;
    margin-top: 30px;
}

.fav-list .catalog-card {
    width: calc((100% - 24px) / 3);
}

.fav-list .catalog-card-image-wrap {
    height: auto;
    aspect-ratio: 385 / 253;
}

@media (max-width: 1000px) and (min-width: 769px) {
    .fav-list .catalog-card {
        width: calc((100% - 12px) / 2);

    }

    .fav-list .catalog-card-image-wrap {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {

    .fav-list {
        justify-content: center;
    }

    .fav-list .catalog-card {
        width: 100%;
        max-width: 500px;
    }
}
