/* =========================================
   bazaar 201 MAIN
   /css/main.css
========================================= */

.ff-main {
    width: 100%;
    background: #fff;
    color: #111;
    font-family: Arial, "Noto Sans KR", sans-serif;
}

.ff-main *,
.ff-main *::before,
.ff-main *::after {
    box-sizing: border-box;
}

.ff-main a {
    text-decoration: none;
    color: inherit;
}

/* 메인 전체 레이아웃 */
.ff-main-layout {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
}

.ff-main-content {
    width: 100%;
    min-width: 0;
}


/* =========================================
   메인 타이틀
========================================= */

.ff-hero-section {
    width: 100%;
}

.ff-section-title {
    margin: 0;
    padding: 48px 0 32px;

    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    letter-spacing: -1.5px;
}

/* =========================================
   메인 배너 2개
========================================= */

.ff-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ff-hero-banner {
    display: block;
    min-width: 0;
}

/* 메인 좌측 배너 */
.ff-hero-image {
    width: 100%;
    aspect-ratio: 1.11 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    background: #f0efeb;
}

.ff-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
}

/* 할인율 배지 */
.ff-sale-badge {
    position: absolute;
    top: 0;
    left: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 78px;
    height: 78px;
    padding: 0 8px;

    background: #000;
    color: #fff;

    font-size: 30px;
    font-weight: 800;
    z-index: 2;
}


/* 배너 가격 */
.ff-hero-price {
    position: absolute;
    right: 32px;
    bottom: 24px;
    top: auto;
    left: auto;

    color: #fff;
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
}
/* 두 번째 배너 */

.ff-hero-banner:nth-child(2) .ff-sale-badge {
    left: auto;
    right: 24px;
}

.ff-hero-banner:nth-child(2) .ff-hero-price {
    left: auto;
    right: 22px;
}

/* =========================================
   메인 하단 3개 영역
========================================= */

.ff-feature-section {
    display: grid;
    grid-template-columns: 24% 40% 36%;

    margin-top: 55px;
    margin-bottom: 80px;

    min-height: 210px;
}

.ff-feature-section > div {
    min-width: 0;
}

/* 빠른 배송 */

.ff-quick-delivery {
    padding-right: 20px;
    border-right: 1px solid #ddd;
}

.ff-quick-delivery h3 {
    margin: 0 0 18px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
}

.ff-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 8px;
}

.ff-quick-item {
    min-width: 0;
    text-align: center;
}

.ff-quick-image {
    width: 52px;
    height: 52px;
    margin: 0 auto 6px;

    border-radius: 50%;
    background: #eee;

    overflow: hidden;
}

.ff-quick-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-quick-item span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

/* 동영상 프로모션 */

.ff-video-promotion {
    padding: 0 30px;
    border-right: 1px solid #ddd;
}

.ff-video-box {
    width: 100%;
    aspect-ratio: 1.85 / 1;

    position: relative;
    overflow: hidden;
    background: #e5e5e5;
}

.ff-video-box img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ff-video-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 25%;

    color: #fff;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .35);
}

/* 주문 현황 */

.ff-order-status {
    padding-left: 28px;
}

.ff-order-status-inner {
    position: relative;

    min-height: 185px;
    height: 100%;

    padding: 35px 20px 20px;

    border: 7px solid #111;
    background: #fff;
}

.ff-order-time {
    position: absolute;
    top: 10px;
    right: 10px;

    font-size: 12px;
}

.ff-order-notice {
    margin: 15px 0 25px;
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
}

.ff-order-count {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.ff-order-count strong {
    color: #e6002d;
    font-size: 25px;
}

/* =========================================
   오른쪽 사이드바
========================================= */

.ff-main-sidebar {
    position: absolute;
    top: 0;
    left: calc(100% + 15px);
    width: 125px !important;
    min-width: 0;
    padding-top: 112px;
}

.ff-main-sidebar button,
.ff-main-sidebar input {
    font-family: inherit;
}

/* LIVE */

.ff-live-box {
    padding: 12px 10px 15px;
    background: #050505;
    color: #fff;
    text-align: center;
}

.ff-live-title {
    padding: 7px 0 15px;
    border-bottom: 1px solid #444;
    font-size: 10px;
    white-space: nowrap;
}

.ff-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 5px;
    border-radius: 50%;
    background: #21c06b;
    vertical-align: middle;
}

.ff-live-content {
    padding-top: 14px;
}

.ff-live-content span {
    display: block;
    font-size: 12px;
    color: #ccc;
}

.ff-live-content strong {
    display: block;
    margin: 3px 0 13px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.ff-live-content small {
    display: block;
    padding-top: 13px;
    border-top: 1px solid #444;
    font-size: 12px;
    color: #ddd;
}

/* 가격검색 */

.ff-price-search {
    margin-top: 9px;
    padding: 16px 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
}

.ff-price-search h3 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -1px;
}

.ff-price-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 7px 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ff-price-options input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    margin: 0;
	padding: 0;
    border: 1px solid #aaa;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.ff-price-options input[type="radio"]::before {
    content: "\2713";
    display: block;
    color: #aaa;
    font-size: 11px;
    line-height: 11px;
    text-align: center;
}

.ff-price-options input[type="radio"]:checked {
    border-color: #ff3150;
}

.ff-price-options input[type="radio"]:checked::before {
    color: #ff3150;
}

/* 직접 가격 입력 */

.ff-price-range {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 10px 26px;
    grid-template-rows: 22px 22px;
    gap: 2px 3px;
    align-items: center;
    margin-top: 15px;
}

.ff-price-range input {
    width: 100%;
    min-width: 0;
    height: 22px;
    padding: 2px 4px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 11px;
}

.ff-price-range input[name="min_price"] {
    grid-column: 1;
    grid-row: 1;
}

.ff-price-range input[name="max_price"] {
    grid-column: 1;
    grid-row: 2;
}

.ff-price-range > span:not(.ff-price-won) {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    font-size: 12px;
}

.ff-price-won {
    grid-column: 2;
    grid-row: 2;
    text-align: center;
    font-size: 11px;
}

.ff-price-range button {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 22px;
    padding: 0;
    border: 0;
    background: #000;
    color: #fff;
    cursor: pointer;
}

.ff-price-range button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* 24시간 상담 */

.ff-consult-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    margin: 28px auto 25px;
    border-radius: 8px;
    background: #ed002d;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* 앱 다운로드 */

.ff-app-links {
    text-align: center;
}

.ff-app-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ff-app-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    color: #000;
}

.ff-app-icons svg {
    width: 36px;
    height: 36px;
}

.ff-app-links > strong {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 800;
}

/* SNS */

.ff-social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}

.ff-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
}

.ff-social-instagram {
    background: linear-gradient(
        45deg,
        #ffdc80,
        #f77737,
        #e1306c,
        #833ab4,
        #405de6
    );
}

.ff-social-instagram svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.ff-social-kakao {
    background: #ffe812;
}

.ff-social-kakao span {
    padding: 5px 4px;
    border-radius: 50%;
    background: #3b1e1e;
    color: #ffe812;
    font-size: 9px;
    font-weight: 900;
}

/* 하단 이동 버튼 */

.ff-side-navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.ff-side-navigation button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    cursor: pointer;
}

.ff-side-navigation svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ff-side-history svg {
    width: 28px;
    height: 28px;
}


/* =========================================
   반응형
========================================= */

@media (max-width: 1024px) {

    .ff-main-layout {
        padding: 0 15px;
        grid-template-columns: minmax(0, 1fr) 115px;
    }

    .ff-feature-section {
        grid-template-columns: 1fr 1.4fr;
        gap: 20px;
    }

    .ff-quick-delivery {
        border-right: 0;
    }

    .ff-video-promotion {
        padding: 0;
        border-right: 0;
    }

    .ff-order-status {
        grid-column: 1 / -1;
        padding: 0;
    }

}

@media (max-width: 767px) {

    .ff-main-layout {
        display: block;
        padding: 0 12px;
    }

    .ff-section-title {
        padding: 35px 0 25px;
        font-size: 23px;
    }

    .ff-hero-grid {
        gap: 8px;
    }

    .ff-sale-badge {
		left: 8px;
		min-width: 42px;
		height: 42px;
		font-size: 17px;
	}

    .ff-hero-banner:nth-child(2) .ff-sale-badge {
        right: 8px;
    }

    .ff-hero-price {
		top: auto;
		left: auto;
		right: 10px;
		bottom: 12px;
		font-size: 25px;
		letter-spacing: -1px;
	}

    .ff-hero-banner:nth-child(2) .ff-hero-price {
        right: 8px;
    }

    .ff-feature-section {
        display: block;
        margin-top: 35px;
    }

    .ff-quick-delivery {
        padding: 0;
        margin-bottom: 35px;
    }

    .ff-quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ff-quick-image {
        width: 65px;
        height: 65px;
    }

    .ff-video-promotion {
        margin-bottom: 30px;
    }

    .ff-order-status {
        margin-bottom: 30px;
    }

    .ff-main-sidebar {
        padding-top: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .ff-price-search {
        margin-top: 0;
    }

    .ff-consult-btn {
        margin: 0 auto;
    }

}

/* ==========================================
   오늘의 바자
========================================== */

.ff-today-section {
    width: 100%;
    padding: 65px 0 90px;
    background: #fff;
}

.ff-today-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.ff-today-title {
    margin: 0 0 45px;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #111;
}

/* 상품 4열 */

.ff-today-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 35px;
}

/* 상품 카드 */

.ff-today-product {
    position: relative;
    min-width: 0;
}

.ff-today-product-link {
    display: block;
    color: #111;
    text-decoration: none;
}

/* 상품 이미지 */

.ff-today-image {
    position: relative;
    width: 100%;
    aspect-ratio: 0.72;
    overflow: hidden;
    background: #f4f4f4;
}

.ff-today-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 할인율 */

.ff-today-discount {
    position: absolute;
    left: 0;
    bottom: 0;
    min-width: 60px;
    height: 60px;
    padding: 0 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
    color: #fff;

    font-size: 25px;
    font-weight: 800;
}

/* 상품 정보 */

.ff-today-info {
    padding: 12px 0 0;
}

.ff-today-brand {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
}

.ff-today-name {
    margin: 0 0 5px;
    font-size: 13px;
    line-height: 1.4;
    color: #444;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ff-today-price {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #111;
}

/* 찜하기 */

.ff-today-wish {
    position: absolute;
    right: 5px;
    bottom: 52px;

    border: 0;
    background: transparent;

    font-size: 25px;
    color: #aaa;
    cursor: pointer;
}

.ff-today-wish:disabled {
    cursor: default;
}

/* ==========================================
   태블릿
========================================== */

@media (max-width: 1024px) {

    .ff-today-container {
        padding: 0 15px;
    }

    .ff-today-grid {
        gap: 25px 10px;
    }

    .ff-today-discount {
        min-width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* ==========================================
   모바일
========================================== */

@media (max-width: 767px) {

    .ff-today-section {
        padding: 45px 0 60px;
    }

    .ff-today-container {
        padding: 0 12px;
    }

    .ff-today-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-today-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 10px;
    }

    .ff-today-discount {
        min-width: 43px;
        height: 43px;
        font-size: 18px;
    }

    .ff-today-brand {
        font-size: 12px;
    }

    .ff-today-name {
        font-size: 12px;
    }

    .ff-today-price {
        font-size: 14px;
    }

    .ff-today-wish {
        font-size: 21px;
    }
}
/* ==========================================
   세상에 없는 가격
========================================== */

/* 세상에 없는 가격 - 검은색 배경 영역 */
.ff-special-section {
    width: 100%;
    padding: 55px 40px 60px;
    background: #050505;
    color: #fff;
}

/* 검은색 영역 내부 상품 배치 */
.ff-special-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* 타이틀 */

.ff-special-title {
    margin: 0 0 45px;
    text-align: center;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 전체 상품 배치 */

.ff-special-layout {
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
    gap: 42px;
    align-items: center;
}

/* 왼쪽 대형 상품 */

.ff-special-featured {
    min-width: 0;
}

.ff-special-featured a {
    display: block;
    text-decoration: none;
}

.ff-special-featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1.38 / 1;
    overflow: hidden;
    background: #222;
}

.ff-special-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-special-featured-discount {
    position: absolute;
    right: 0;
    bottom: 0;

    min-width: 65px;
    height: 65px;
    padding: 0 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ed002d;
    color: #fff;

    font-size: 26px;
    font-weight: 800;
}

/* 오른쪽 상품 3개 */

.ff-special-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    min-width: 0;
}

.ff-special-product {
    position: relative;
    min-width: 0;
}

.ff-special-product > a {
    display: block;
    color: #fff;
    text-decoration: none;
}

/* 작은 상품 이미지 */

.ff-special-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 0.72;
    overflow: hidden;
    background: #222;
}

.ff-special-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 작은 상품 할인율 */

.ff-special-product-discount {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: #ed002d;
    font-size: 31px;
    font-weight: 900;
    white-space: nowrap;
}

/* 상품 정보 */

.ff-special-product-info {
    padding-top: 9px;
    padding-right: 15px;
}

.ff-special-brand {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.ff-special-name {
    margin: 3px 0 5px;
    color: #ccc;
    font-size: 11px;
    line-height: 1.4;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ff-special-price {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

/* 찜하기 */

.ff-special-wish {
    position: absolute;
    right: 0;
    bottom: 37px;
    padding: 0;

    border: 0;
    background: transparent;

    color: #fff;
    font-size: 19px;
    cursor: default;
}

/* ==========================================
   태블릿
========================================== */

@media (max-width: 1024px) {

    .ff-special-container {
        padding: 0 15px;
    }

    .ff-special-layout {
        gap: 20px;
    }

    .ff-special-product-discount {
        font-size: 25px;
    }

}

/* ==========================================
   모바일
========================================== */

@media (max-width: 767px) {

    .ff-special-section {
        padding: 40px 0 45px;
    }

    .ff-special-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-special-layout {
        display: block;
    }

    .ff-special-featured {
        margin-bottom: 20px;
    }

    .ff-special-featured-image {
        aspect-ratio: 1.4 / 1;
    }

    .ff-special-featured-discount {
        min-width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .ff-special-products {
        gap: 7px;
    }

    .ff-special-product-discount {
        font-size: 19px;
    }

    .ff-special-brand {
        font-size: 11px;
    }

    .ff-special-name {
        font-size: 10px;
    }

    .ff-special-price {
        font-size: 11px;
    }

}
/* ==========================================
   순식간에 소진중! 판매 BEST
========================================== */

.ff-best-section {
    width: 100%;
    padding: 65px 0 70px;
    background: #fff;
}

.ff-best-title {
    margin: 0 0 48px;
    color: #000;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.ff-best-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 38px 12px;
}

.ff-best-product {
    position: relative;
    min-width: 0;
}

.ff-best-link {
    display: block;
    color: #111;
    text-decoration: none;
}

.ff-best-image {
    position: relative;
    width: 100%;
    aspect-ratio: 240 / 338;
    overflow: hidden;
    background: #f4f4f4;
}

.ff-best-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-best-rank {
    position: absolute;
    top: 0;
    left: 0;
    width: 33px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-size: 15px;
}

.ff-best-info {
    padding: 15px 8px 0;
}

.ff-best-brand {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 800;
}

.ff-best-name {
    margin: 0 0 7px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1.5;
}

.ff-best-original-price {
    display: block;
    color: #aaa;
    font-size: 12px;
}

.ff-best-price-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
}

.ff-best-discount {
    color: #f00038;
    font-size: 16px;
    font-weight: 800;
}

.ff-best-price {
    color: #000;
    font-size: 16px;
    font-weight: 800;
}

.ff-best-review {
    margin-top: 17px;
    color: #999;
    font-size: 12px;
}

.ff-best-badges {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}

.ff-best-badges span {
    padding: 2px 4px;
    border: 1px solid #ddd;
    color: #999;
    font-size: 11px;
}

.ff-best-wish {
    position: absolute;
    top: calc((100% - 0px) * 0);
    right: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 22px;
    cursor: default;
}

/* 모바일 */
@media (max-width: 767px) {

    .ff-best-section {
        padding: 45px 0;
    }

    .ff-best-title {
        margin-bottom: 30px;
        font-size: 22px;
    }

    .ff-best-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 10px;
    }

    .ff-best-info {
        padding: 10px 3px 0;
    }

    .ff-best-price-row {
        gap: 4px;
    }

    .ff-best-discount,
    .ff-best-price {
        font-size: 14px;
    }

    .ff-best-review {
        font-size: 10px;
    }
}

/* ==========================================
   9,900원 특가 배너
========================================== */

.ff-9900-section {
    width: 100%;
    padding: 70px 0;
    background: #fff;
    text-align: center;
}

.ff-9900-banner {
    display: block;
    width: 100%;
    max-width: 534px;
    margin: 0 auto;
}

.ff-9900-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================
   가격대별 판매 BEST
========================================== */

.ff-price-best-section {
    width: 100%;
    padding: 60px 0 70px;
    background: #fff;
}

.ff-price-best-title {
    margin: 0 0 40px;
    color: #000;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

/* 가격대 버튼 */

.ff-price-best-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ff-price-best-tab {
    min-height: 34px;
    padding: 7px 18px;
    border: 1px solid #ccc;
    border-radius: 30px;
    background: #fff;
    color: #999;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ff-price-best-tab:hover {
    border-color: #333;
    color: #333;
}

.ff-price-best-tab.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

/* 상품 5개 × 2줄 */

.ff-price-best-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 38px 10px;
}

.ff-price-best-panel[hidden] {
    display: none;
}

/* 모바일 */

@media (max-width: 767px) {

    .ff-price-best-section {
        padding: 45px 0;
    }

    .ff-price-best-title {
        margin-bottom: 28px;
        font-size: 22px;
    }

    .ff-price-best-tabs {
        gap: 6px;
        margin-bottom: 20px;
    }

    .ff-price-best-tab {
        padding: 7px 12px;
        font-size: 11px;
    }

    .ff-price-best-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 10px;
    }

}
/* ==========================================
   연령대별 랭킹
========================================== */

.ff-age-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 85px 0 95px;
    background: #f5f5f5;
}

/* 회색 배경을 화면 전체로 확장 */
.ff-age-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f5f5f5;
    z-index: -1;
}

.ff-age-container {
    width: 100%;
    margin: 0 auto;
}

.ff-age-title {
    margin: 0 0 45px;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: #000;
}

/* 연령대 탭 */

.ff-age-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
}

.ff-age-tab {
    padding: 9px 19px;
    border: 1px solid #aaa;
    border-radius: 30px;
    background: transparent;
    color: #888;
    font-size: 14px;
    cursor: pointer;
}

.ff-age-tab.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

/* 상품 3개 */

.ff-age-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ff-age-panel[hidden] {
    display: none;
}

.ff-age-product {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    min-width: 0;
}

/* 상품 이미지 */

.ff-age-image {
    display: block;
    width: 55%;
    flex-shrink: 0;
    aspect-ratio: 200 / 282;
    overflow: hidden;
    background: #eee;
}

.ff-age-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 상품 정보 */

.ff-age-info {
    flex: 1;
    min-width: 0;
    padding-bottom: 2px;
}

.ff-age-rank {
    display: block;
    margin-bottom: 22px;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
}

.ff-age-brand {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.ff-age-name {
    margin: 5px 0;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ff-age-original-price {
    display: block;
    color: #aaa;
    font-size: 11px;
}

.ff-age-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

.ff-age-discount {
    color: #f00038;
    font-size: 16px;
    font-weight: 800;
}

.ff-age-price {
    color: #000;
    font-size: 16px;
    font-weight: 800;
}

/* 담기 버튼 */

.ff-age-cart {
    margin-top: 14px;
    padding: 8px 12px;
    border: 1px solid #aaa;
    background: transparent;
    color: #111;
    font-size: 12px;
    cursor: default;
}

/* 모바일 */

@media (max-width: 767px) {

    .ff-age-section {
        padding: 50px 0;
    }

    .ff-age-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-age-tabs {
        gap: 5px;
        margin-bottom: 35px;
    }

    .ff-age-tab {
        padding: 8px 11px;
        font-size: 11px;
    }

    .ff-age-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ff-age-product {
        align-items: center;
    }

    .ff-age-image {
        width: 45%;
    }

    .ff-age-rank {
        margin-bottom: 15px;
        font-size: 36px;
    }

}

/* ==========================================
   이제 없어! 마지막 1장
========================================== */

.ff-last-section {
    width: 100%;
    padding: 65px 0 75px;
    background: #fff;
}

.ff-last-title {
    margin: 0 0 45px;
    text-align: center;
    color: #000;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

/* 상품 4개 × 2줄 */

.ff-last-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px 12px;
}

.ff-last-product {
    position: relative;
    min-width: 0;
}

.ff-last-link {
    display: block;
    color: #111;
    text-decoration: none;
}

/* 상품 이미지 */

.ff-last-image {
    position: relative;
    width: 100%;
    aspect-ratio: 240 / 338;
    overflow: hidden;
    background: #f4f4f4;
}

.ff-last-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 검은색 할인율 배지 */

.ff-last-discount {
    position: absolute;
    left: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 65px;
    height: 65px;
    padding: 0 8px;

    background: #000;
    color: #fff;

    font-size: 25px;
    font-weight: 800;
}

/* 상품 정보 */

.ff-last-info {
    padding: 10px 8px 0;
}

.ff-last-brand {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 800;
}

.ff-last-name {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.5;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ff-last-price {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #111;
}

/* 찜하기 */

.ff-last-wish {
    position: absolute;
    right: 8px;
    bottom: 39px;

    padding: 0;
    border: 0;
    background: transparent;

    color: #888;
    font-size: 22px;
    cursor: default;
}

/* 모바일 */

@media (max-width: 767px) {

    .ff-last-section {
        padding: 45px 0;
    }

    .ff-last-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-last-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 10px;
    }

    .ff-last-discount {
        min-width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .ff-last-info {
        padding: 9px 4px 0;
    }

    .ff-last-brand {
        font-size: 12px;
    }

    .ff-last-name {
        font-size: 11px;
    }

    .ff-last-price {
        font-size: 13px;
    }

    .ff-last-wish {
        right: 4px;
        bottom: 35px;
        font-size: 19px;
    }
}
/* ==========================================
   백화점급 바자
========================================== */

.ff-department-section {
    width: 100%;
    padding: 65px 0 85px;
    background: #fff;
}

/* 제목 */
.ff-department-title {
    margin: 0 0 45px;
    text-align: center;
    color: #000;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 상품 4개 × 2줄 */
.ff-department-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 35px;
}

/* 상품 */
.ff-department-product {
    position: relative;
    min-width: 0;
}

.ff-department-link {
    display: block;
    color: #111;
    text-decoration: none;
}

/* 상품 이미지 */
.ff-department-image {
    position: relative;
    width: 100%;
    aspect-ratio: 240 / 338;
    overflow: hidden;
    background: #f4f4f4;
}

.ff-department-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 할인율 */
.ff-department-discount {
    position: absolute;
    left: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 65px;
    height: 65px;
    padding: 0 8px;

    background: #000;
    color: #fff;

    font-size: 25px;
    font-weight: 800;
}

/* 상품 정보 */
.ff-department-info {
    padding: 10px 8px 0;
}

.ff-department-brand {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: 800;
}

.ff-department-name {
    margin: 0 0 6px;
    font-size: 12px;
    line-height: 1.5;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ff-department-price {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #111;
}

/* 찜하기 */
.ff-department-wish {
    position: absolute;
    right: 8px;
    bottom: 39px;

    padding: 0;
    border: 0;
    background: transparent;

    color: #888;
    font-size: 22px;
    cursor: default;
}

/* ==========================================
   모바일
========================================== */

@media (max-width: 767px) {

    .ff-department-section {
        padding: 45px 0 60px;
    }

    .ff-department-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-department-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 10px;
    }

    .ff-department-discount {
        min-width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .ff-department-info {
        padding: 9px 4px 0;
    }

    .ff-department-brand {
        font-size: 12px;
    }

    .ff-department-name {
        font-size: 11px;
    }

    .ff-department-price {
        font-size: 13px;
    }

    .ff-department-wish {
        right: 4px;
        bottom: 35px;
        font-size: 19px;
    }
}

/* ==========================================
   급한 모임엔 바자
========================================== */

.ff-meeting-section {
    width: 100%;
    padding: 65px 0 90px;
    background: #fff;
}

.ff-meeting-title {
    margin: 0 0 45px;
    text-align: center;
    color: #000;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 카테고리 탭 */
.ff-meeting-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.ff-meeting-tab {
    min-width: 110px;
    padding: 11px 18px;
    border: 1px solid #aaa;
    border-radius: 30px;
    background: #fff;
    color: #888;
    font-size: 13px;
    cursor: pointer;
}

.ff-meeting-tab.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.ff-meeting-panel[hidden] {
    display: none;
}

/* 상품 4개 × 1줄 */
.ff-meeting-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.ff-meeting-product {
    position: relative;
    min-width: 0;
}

.ff-meeting-link {
    display: block;
    color: #111;
    text-decoration: none;
}

/* 상품 이미지 */
.ff-meeting-image {
    position: relative;
    width: 100%;
    aspect-ratio: 300 / 424;
    overflow: hidden;
    background: #f4f4f4;
}

.ff-meeting-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 순위 */
.ff-meeting-rank {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 35px;
    background: #000;
    color: #fff;
    font-size: 15px;
}

/* 상품 정보 */
.ff-meeting-info {
    padding: 15px 10px 0;
}

.ff-meeting-brand {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 800;
}

.ff-meeting-name {
    margin: 0 0 10px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ff-meeting-original-price {
    display: block;
    color: #aaa;
    font-size: 13px;
}

.ff-meeting-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ff-meeting-discount {
    color: #ed0033;
    font-size: 20px;
    font-weight: 800;
}

.ff-meeting-price {
    color: #000;
    font-size: 20px;
    font-weight: 800;
}

/* 찜하기 */
.ff-meeting-wish {
    position: absolute;
    right: 10px;
    bottom: 84px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 24px;
    cursor: default;
}

/* 모바일 */
@media (max-width: 767px) {

    .ff-meeting-section {
        padding: 45px 0 60px;
    }

    .ff-meeting-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-meeting-tabs {
        gap: 6px;
        margin-bottom: 20px;
    }

    .ff-meeting-tab {
        min-width: 0;
        padding: 8px 12px;
        font-size: 11px;
    }

    .ff-meeting-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 10px;
    }

    .ff-meeting-info {
        padding: 10px 4px 0;
    }

    .ff-meeting-brand {
        font-size: 13px;
    }

    .ff-meeting-name {
        font-size: 11px;
    }

    .ff-meeting-discount,
    .ff-meeting-price {
        font-size: 15px;
    }

    .ff-meeting-wish {
        right: 4px;
        bottom: 70px;
        font-size: 20px;
    }
}

/* ==========================================
   후기 많은 상품만 모아
========================================== */

.ff-review-section {
    width: 100%;
    padding: 65px 0 90px;
    background: #fff;
}

.ff-review-title {
    margin: 0 0 45px;
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 카테고리 */
.ff-review-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.ff-review-tab {
    min-width: 110px;
    padding: 11px 16px;
    border: 1px solid #aaa;
    border-radius: 30px;
    background: #fff;
    color: #888;
    font-size: 13px;
    cursor: pointer;
}

.ff-review-tab.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.ff-review-panel[hidden] {
    display: none;
}

/* 슬라이더 */
.ff-review-slider {
    position: relative;
}

.ff-review-panel {
    overflow: hidden;
}

.ff-review-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 45px) / 4);
    gap: 15px;
    transition: transform 0.35s ease;
}

/* 상품 */
.ff-review-product {
    position: relative;
    min-width: 0;
}

.ff-review-link {
    display: block;
    color: #111;
    text-decoration: none;
}

.ff-review-image {
    width: 100%;
    aspect-ratio: 300 / 424;
    overflow: hidden;
    background: #f4f4f4;
}

.ff-review-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 상품 정보 */
.ff-review-info {
    padding: 15px 10px 0;
}

.ff-review-brand {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 800;
}

.ff-review-name {
    margin: 0 0 10px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ff-review-original-price {
    display: block;
    color: #aaa;
    font-size: 13px;
}

.ff-review-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ff-review-discount {
    color: #ed0033;
    font-size: 20px;
    font-weight: 800;
}

.ff-review-price {
    font-size: 20px;
    font-weight: 800;
}

/* 찜하기 */
.ff-review-wish {
    position: absolute;
    right: 10px;
    bottom: 84px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 24px;
}

/* 좌우 화살표 */
.ff-review-arrow {
    position: absolute;
    top: 30%;
    z-index: 5;
    width: 55px;
    height: 55px;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 25px;
    cursor: pointer;
}

.ff-review-prev {
    left: 0;
}

.ff-review-next {
    right: 0;
}

/* 모바일 */
@media (max-width: 767px) {

    .ff-review-section {
        padding: 45px 0 60px;
    }

    .ff-review-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-review-tabs {
        gap: 6px;
        margin-bottom: 20px;
    }

    .ff-review-tab {
        min-width: 0;
        padding: 8px 12px;
        font-size: 11px;
    }

    .ff-review-grid {
        grid-auto-columns: calc((100% - 10px) / 2);
        gap: 10px;
    }

    .ff-review-info {
        padding: 10px 4px 0;
    }

    .ff-review-brand {
        font-size: 13px;
    }

    .ff-review-name {
        font-size: 11px;
    }

    .ff-review-discount,
    .ff-review-price {
        font-size: 15px;
    }

    .ff-review-wish {
        right: 4px;
        bottom: 70px;
        font-size: 20px;
    }

    .ff-review-arrow {
        width: 35px;
        height: 45px;
        font-size: 18px;
    }
}
/* ==========================================
   찾았다! 귀한 사이즈
========================================== */

.ff-size-section {
    width: 100%;
    padding: 65px 0 90px;
    background: #fff;
}

.ff-size-title {
    margin: 0 0 45px;
    text-align: center;
    color: #000;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 배너 3개 × 2줄 */
.ff-size-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

/* 개별 배너 */
.ff-size-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 405 / 151;
    overflow: hidden;
    background: #eee;
}

/* 배너 이미지 */
.ff-size-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 어두운 오버레이 */
.ff-size-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

/* 가운데 문구 */
.ff-size-label {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);

    width: 100%;
    padding: 0 10px;

    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

/* 모바일 */
@media (max-width: 767px) {

    .ff-size-section {
        padding: 45px 0 60px;
    }

    .ff-size-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-size-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ff-size-item {
        aspect-ratio: 405 / 151;
    }

    .ff-size-label {
        font-size: 15px;
    }
}
/* ==========================================
   BAZAAR 201 PICK
========================================== */

.ff-pick-section {
    width: 100%;
    padding: 65px 0 90px;
    background: #fff;
}

/* 제목 */
.ff-pick-title {
    margin: 0 0 50px;
    text-align: center;
    color: #000;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 상품 4개 × 6줄 */
.ff-pick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 15px;
    row-gap: 40px;
}

/* 상품 카드 */
.ff-pick-product {
    position: relative;
    min-width: 0;
}

.ff-pick-link {
    display: block;
    color: #111;
    text-decoration: none;
}

/* 상품 이미지 */
.ff-pick-image {
    position: relative;
    width: 100%;
    aspect-ratio: 300 / 424;
    overflow: hidden;
    background: #f4f4f4;
}

.ff-pick-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 할인율 */
.ff-pick-discount {
    position: absolute;
    left: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 78px;
    height: 78px;
    padding: 0 8px;

    background: #000;
    color: #fff;

    font-size: 30px;
    font-weight: 800;
}

/* 상품 정보 */
.ff-pick-info {
    padding: 12px 10px 0;
}

.ff-pick-brand {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 800;
}

.ff-pick-name {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ff-pick-price {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

/* 찜하기 */
.ff-pick-wish {
    position: absolute;
    right: 10px;
    bottom: 58px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 23px;
    cursor: default;
}

/* 모바일 */
@media (max-width: 767px) {

    .ff-pick-section {
        padding: 45px 0 60px;
    }

    .ff-pick-title {
        margin-bottom: 30px;
        font-size: 25px;
    }

    .ff-pick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 10px;
    }

    .ff-pick-discount {
        min-width: 48px;
        height: 48px;
        font-size: 19px;
    }

    .ff-pick-info {
        padding: 9px 4px 0;
    }

    .ff-pick-brand {
        font-size: 12px;
    }

    .ff-pick-name {
        font-size: 11px;
    }

    .ff-pick-price {
        font-size: 13px;
    }

    .ff-pick-wish {
        right: 4px;
        bottom: 43px;
        font-size: 19px;
    }
}
/* ==========================================
   바자와 함께하는 착한 브랜드
========================================== */

.ff-brand-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 140px 0 165px;
    background: #f5f5f5;
}

/* 회색 배경을 브라우저 전체 너비로 확장 */
.ff-brand-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #f5f5f5;
    z-index: -1;
}

.ff-brand-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 제목 */
.ff-brand-title {
    margin: 0 0 70px;
    text-align: center;
    color: #000;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 브랜드 5개 */
.ff-brand-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 25px;
}

/* 브랜드 */
.ff-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #111;
    text-decoration: none;
}

/* 원형 로고 */
.ff-brand-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 165px;
    height: 165px;
    margin-bottom: 20px;

    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}

.ff-brand-circle img {
    display: block;
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* 영문 브랜드명 */
.ff-brand-name {
    display: block;
    margin-bottom: 5px;
    font-size: 19px;
    font-weight: 800;
}

/* 한글 브랜드명 */
.ff-brand-name-ko {
    display: block;
    font-size: 13px;
    color: #333;
}

/* 모바일 */
@media (max-width: 767px) {

    .ff-brand-section {
        padding: 65px 0 75px;
    }

    .ff-brand-container {
        padding: 0 12px;
    }

    .ff-brand-title {
        margin-bottom: 40px;
        font-size: 23px;
    }

    .ff-brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 10px;
    }

    .ff-brand-circle {
        width: 95px;
        height: 95px;
        margin-bottom: 12px;
    }

    .ff-brand-name {
        font-size: 12px;
    }

    .ff-brand-name-ko {
        font-size: 10px;
    }
}

/* ==========================================
   고객후기
========================================== */

.ff-customer-section {
    width: 100%;
    padding: 65px 0 90px;
    background: #fff;
}

/* 제목 */
.ff-customer-title {
    margin: 0 0 50px;
    text-align: center;
    color: #000;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 후기 5개 × 1줄 */
.ff-customer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

/* 개별 후기 */
.ff-customer-item {
    min-width: 0;
}

/* 고객 리뷰 이미지 */
.ff-customer-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    background: #f4f4f4;
}

.ff-customer-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 관련 상품 */
.ff-customer-product {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.ff-customer-product-image {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    overflow: hidden;
    background: #eee;
}

.ff-customer-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-customer-product-info {
    flex: 1;
    min-width: 0;
}

.ff-customer-product-name {
    margin: 0 0 3px;
    font-size: 11px;
    color: #333;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ff-customer-review-count {
    font-size: 10px;
    color: #999;
}

/* 후기 내용 */
.ff-customer-content {
    margin: 8px 0 5px;
    font-size: 12px;
    line-height: 1.5;
    color: #555;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 별점 */
.ff-customer-rating {
    color: #ffa46b;
    font-size: 17px;
    letter-spacing: -2px;
}

/* 작성자 */
.ff-customer-writer {
    display: block;
    margin-top: 6px;
    color: #999;
    font-size: 11px;
}

/* 모바일 */
@media (max-width: 767px) {

    .ff-customer-section {
        padding: 45px 0 60px;
    }

    .ff-customer-title {
        margin-bottom: 30px;
        font-size: 23px;
    }

    .ff-customer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 10px;
    }

    .ff-customer-product-image {
        width: 38px;
        height: 38px;
    }

    .ff-customer-content {
        font-size: 11px;
    }

    .ff-customer-rating {
        font-size: 15px;
    }
}
/* 사이드바 내부 스크롤바 숨김 */
@media (min-width: 1025px) {

    .ff-main-sidebar {
        scrollbar-width: none;
    }

    .ff-main-sidebar::-webkit-scrollbar {
        display: none;
    }

}

/* ========================================
   메인 상단 AI 자연어 검색
======================================== */

.ff-ai-hero {
    padding-top: 28px;
}

.ff-ai-hero .ff-hero-grid {
    display: grid;
    grid-template-columns: 35% minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;
}

/* 왼쪽 상품 이미지 */
.ff-ai-hero .ff-hero-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 315px;
    border-radius: 6px;
}

.ff-ai-hero .ff-hero-price {
    top: auto;
    left: auto;
    right: 22px;
    bottom: 18px;
    color: #fff;
    font-size: 38px;
    text-shadow: 0 1px 5px #555;
}

.ff-ai-hero .ff-sale-badge {
    left: 16px;
    top: 16px;
    background: #000;
    width: 55px;
    height: 55px;
    font-size: 22px;
}

/* 오른쪽 AI 영역 */
.ff-ai-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ff-ai-title {
    margin: 0 0 2px;
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -1.5px;
    font-weight: 850;
}

/* 검색창 */
.ff-ai-search {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 4px 5px 4px 14px;
    border: 1px solid #dedede;
    border-radius: 30px;
    box-shadow: 0 2px 4px #00000012;
}

.ff-ai-symbol {
    display: grid;
    place-items: center;
    flex: none;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #555;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.ff-ai-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: #111;
}

.ff-ai-clear {
    border: 0;
    background: #bbb;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.ff-ai-submit {
    flex: none;
    border: 0;
    border-radius: 25px;
    background: #e90032;
    color: #fff;
    padding: 11px 15px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* 추천 검색어 */
.ff-ai-suggestions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.ff-ai-chip {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 8px 5px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 10px;
    cursor: pointer;
}

.ff-ai-chip:hover {
    border-color: #e90032;
    color: #e90032;
}

/* 오늘 주문수 */
.ff-ai-order-bar {
    margin-top: auto;
    min-height: 70px;
    padding: 12px 16px;
    border-radius: 6px;
    background: #f9d8df;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ff-ai-order-main {
    white-space: nowrap;
    font-size: 18px;
}

.ff-ai-order-main strong {
    color: #e90032;
    font-size: 30px;
    letter-spacing: -1px;
}

.ff-ai-order-main span {
    font-size: 20px;
}

.ff-ai-order-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
}

.ff-ai-order-side small {
    font-size: 10px;
    font-weight: 400;
}

/* 반응형 */
@media (max-width: 900px) {
    .ff-ai-hero .ff-hero-grid {
        grid-template-columns: 35% minmax(0, 1fr);
        gap: 15px;
    }

    .ff-ai-title {
        font-size: 24px;
    }

    .ff-ai-suggestions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ff-ai-order-bar {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .ff-ai-hero .ff-hero-grid {
        grid-template-columns: 1fr;
    }

    .ff-ai-hero .ff-hero-image {
        height: 260px;
        min-height: 0;
    }

    .ff-ai-panel {
        gap: 12px;
    }

    .ff-ai-title {
        font-size: 25px;
    }

    .ff-ai-order-bar {
        margin-top: 8px;
    }
}

/* 메인 3개 영역 - 오른쪽 특가 이미지 배너 */
.ff-feature-special {
    min-width: 0;
    height: auto;
    overflow: hidden;
}

.ff-feature-special-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    overflow: hidden;
    background: #eeeeec;
    text-decoration: none;
}

.ff-feature-special-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-feature-special-title {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    padding: 0 10px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
    box-sizing: border-box;
    pointer-events: none;
}
/* 연령대별 랭킹 - 선택하지 않은 패널 숨김 */
.ff-age-panel[hidden] {
    display: none !important;
}
/* AI 추천 검색어 글자 크기 조정 */
.ff-ai-chip {
    font-size: 13px;
}
/* 메인 좌측 배너 할인율 - 정사각형 */
.ff-hero-banner .ff-hero-image .ff-sale-badge {
    position: absolute;
    top: 0 !important;
    left: 22px !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;

    width: 78px;
    height: 78px;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #000;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

/* 메인 두 번째 영역 - 가운데/오른쪽 배너 높이 통일 */
.ff-video-promotion .ff-video-box,
.ff-feature-special .ff-feature-special-link {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.85 / 1;
    overflow: hidden;
}

/* 이미지가 배너 영역을 정확히 채우도록 설정 */
.ff-video-promotion .ff-video-box img,
.ff-feature-special .ff-feature-special-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 관리자에서 등록한 picture 태그 대응 */
.ff-feature-special .ff-feature-special-link picture {
    display: block;
    width: 100%;
    height: 100%;
}


/* 메인 두 번째 영역 - 가운데/오른쪽 배너 높이 동일 */
.ff-video-promotion,
.ff-feature-special {
    height: 230px !important;
    min-height: 0 !important;
}

.ff-video-promotion .ff-video-box,
.ff-feature-special .ff-feature-special-link {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden;
}

.ff-video-promotion .ff-video-box img,
.ff-feature-special .ff-feature-special-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ff-feature-special .ff-feature-special-link picture {
    display: block;
    width: 100%;
    height: 100%;
}
/* BAZAAR 201 상품 목록 페이지 배경 */
body:has(#sct),
body:has(#sct) #wrapper,
body:has(#sct) #container,
body:has(#sct) #sct {
    background-color: #fff !important;
}
/* 상단 카테고리 메뉴 배경 */
.ff-navigation {
    background-color: #f5f5f5 !important;
}

/* 상품 목록 본문 배경 */
body:has(#sct) #sct {
    background-color: #ffffff !important;
}
/* 카테고리 제목 옆 상품 수 */
.ff-category-title .ff-category-count {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-left: 2px;
    vertical-align: middle;
}

/* BAZAAR 201 상품 목록 전체 폭 */
body:has(#sct) #wrapper,
body:has(#sct) #container {
    width: 100% !important;
    max-width: none !important;
}
/* 카테고리 페이지 본문 폭 - 메인화면 기준 */
body:has(#sct) #sct {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1250px !important;
    padding: 0 !important;
    margin: 0 auto !important;
}
/* 필터 + 상품 + 사이드바 3단 레이아웃 */
body:has(#sct) .ff-list-layout {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) 125px !important;
    column-gap: 20px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* 가운데 상품 영역 */
body:has(#sct) .ff-list-products {
    min-width: 0 !important;
}
/* 상품목록 오른쪽 사이드바 - 메인화면과 동일한 위치 */
body:has(#sct) .ff-list-layout {
    position: relative !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    column-gap: 20px !important;
}

body:has(#sct) .ff-list-layout > .ff-main-sidebar {
    position: absolute !important;
    top: 0 !important;
    left: calc(100% + 15px) !important;
    right: auto !important;
    bottom: auto !important;

    width: 125px !important;
    max-width: none !important;
    min-width: 0 !important;

    grid-column: auto !important;
    padding-top: 0 !important;
}