.bycf-wrapper,
.bycf-wrapper * {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.bycf-wrapper {
    width: 100%;
    background: #f5f3f0;
    overflow: hidden;
}

.bycf-top-area {
    background: #5B8183;
    padding: 28px 24px 24px;
}

.bycf-subtitle {
    text-align: center;
    color: #f6f6f6;
    max-width: 780px;
    margin: 0 auto 24px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
}

.bycf-search-row {
    max-width: 820px;
    margin: 0 auto 28px;
    position: relative;
    display: flex;
    align-items: center;
}

.bycf-search-input {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 999px;
    padding: 0 70px 0 20px;
    font-size: 18px;
    color: #4d4d4d;
    outline: none;
}

.bycf-search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #bfe5e1;
    cursor: pointer;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bycf-filter-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 26px;
}

.bycf-line {
    display: block;
    width: 180px;
    height: 1px;
    background: rgba(255,255,255,.7);
}

.bycf-filter-title {
    color: #f3efe9;
    margin: 0;
    font-size: 34px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-family: Georgia, serif;
}

.bycf-main-filter-row,
.bycf-chip-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.bycf-label {
    color: #f4efe8;
    font-size: 16px;
    font-weight: 500;
    min-width: fit-content;
}

.bycf-switch {
    display: inline-flex;
    background: rgba(191, 229, 225, 0.65);
    border-radius: 999px;
    overflow: hidden;
}

.bycf-switch-btn {
    min-width: 110px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    padding: 0 20px;
    transition: all .25s ease;
}

.bycf-switch-btn.bycf-active {
    background: rgba(97, 131, 132, 0.95);
    color: #fff;
}

.bycf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.bycf-chip {
    height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(220, 244, 241, 0.7);
    background: transparent;
    color: #eef8f6;
    cursor: pointer;
    font-size: 14px;
    transition: all .25s ease;
    white-space: nowrap;
}

.bycf-chip:hover,
.bycf-chip.bycf-selected {
    background: #bde9e4;
    color: #ffffff;
    border-color: #bde9e4;
}

.bycf-advanced-toggle-wrap {
    margin: 20px auto 0;
    background: #f6f1ea;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    padding: 12px 20px;
    text-align: center;
}

.bycf-advanced-toggle {
    background: transparent;
    border: 0;
    color: #1d1d1d;
    font-family: Georgia, serif;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
}

.bycf-advanced-panel {
    display: none;
    padding: 24px 0 12px;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
}

.bycf-advanced-col {
    flex: 1;
}

.bycf-advanced-divider {
    width: 1px;
    background: rgba(255,255,255,.55);
    min-height: 90px;
}

.bycf-label-advanced {
    margin-bottom: 14px;
    display: block;
}

.bycf-clear-wrap {
    text-align: center;
    margin-top: 10px;
}

.bycf-clear-btn {
    background: #ffffff;
    color: #333;
    border: 0;
    border-radius: 999px;
    padding: 10px 28px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.bycf-results-area {
    background: #f5f3f0;
    padding: 55px 40px 70px;
}

.bycf-carousel-shell {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
}

.bycf-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.bycf-carousel-track {
    display: flex;
    transition: transform .35s ease;
    will-change: transform;
}

.bycf-card {
    padding: 0 18px;
    flex: 0 0 33.3333%;
}

.bycf-card-image-link {
    display: block;
    text-decoration: none;
}

.bycf-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ddd;
}

.bycf-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bycf-card-title {
    margin: 16px 0 0;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.bycf-card-title a {
    color: #2c2c2c;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
}

.bycf-nav {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background: #ffffff;
    color: #000;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.bycf-prev {
    left: -12px;
}

.bycf-next {
    right: -12px;
}

.bycf-nav.is-disabled {
    opacity: .35;
    pointer-events: none;
}

.bycf-loading,
.bycf-empty {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: #555;
}

/* Responsive */
@media (max-width: 1024px) {
    .bycf-subtitle {
        font-size: 18px;
    }

    .bycf-card {
        flex: 0 0 50%;
    }

    .bycf-filter-title {
        font-size: 28px;
    }

    .bycf-line {
        width: 110px;
    }

    .bycf-nav {
        width: 50px;
        height: 50px;
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .bycf-top-area {
        padding: 22px 16px 18px;
    }

    .bycf-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .bycf-search-input {
        height: 46px;
        font-size: 15px;
    }

    .bycf-filter-title-wrap {
        gap: 12px;
        margin-bottom: 20px;
    }

    .bycf-filter-title {
        font-size: 22px;
    }

    .bycf-line {
        width: 50px;
    }

    .bycf-main-filter-row,
    .bycf-chip-row {
        flex-direction: column;
        gap: 12px;
    }

    .bycf-advanced-panel {
        flex-direction: column;
        gap: 20px;
        padding-top: 18px;
    }

    .bycf-advanced-divider {
        display: none;
    }

    .bycf-results-area {
        padding: 30px 14px 40px;
    }

    .bycf-card {
        flex: 0 0 100%;
        padding: 0 10px;
    }

    .bycf-nav {
        width: 42px;
        height: 42px;
        font-size: 30px;
        top: 34%;
    }

    .bycf-prev {
        left: -2px;
    }

    .bycf-next {
        right: -2px;
    }

    .bycf-card-title {
        font-size: 16px;
    }
}