/* BASIC css start */
/* ===================================
   고정 메인배너
=================================== */
#bfFixedBanners {
    width: 100%;
    margin-top: 10px;
}

#bfFixedBanners .bf-fixed-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

#bfFixedBanners .bf-fixed-banner {
    display: block;
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 720 / 760;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    text-decoration: none;
}

#bfFixedBanners .bf-fixed-banner > img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    border-radius: 0;
}

#bfFixedBanners .bf-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f3efe9;
    color: #785f4c;
    text-align: center;
}

#bfFixedBanners .bf-coming-soon span {
    font-size: 12px;
    letter-spacing: 4px;
}

#bfFixedBanners .bf-coming-soon strong {
    font-size: 28px;
    font-weight: 500;
}

/* ===================================
   실시간 베스트
=================================== */
#bfBest {
    clear: both;
    padding: 64px 0 50px;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(119, 0, 51, .85) 0%,
            rgba(61, 0, 27, .65) 35%,
            rgba(12, 3, 9, 0) 75%
        ),
        #0c0309;
    color: #fff;
}

#bfBest .bfb-inner {
    width: calc(100% - 120px);
    max-width: 1340px;
    margin: 0 auto;
}

#bfBest .bfb-heading {
    margin-bottom: 32px;
    text-align: center;
}

#bfBest .bfb-eyebrow {
    margin: 0 0 12px;
    color: #ff4545;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

#bfBest .bfb-heading h2 {
    margin: 0;
    color: #fff;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -1.5px;
}

#bfBest .bfb-heading h2 span {
    color: #ff4545;
}

#bfBest .bfb-desc {
    margin: 12px 0 0;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

#bfBest .bfb-slider-area {
    position: relative;
    min-width: 0;
}

#bfBest .bfb-swiper {
    width: 100%;
    overflow: hidden;
}

#bfBest .bfb-swiper > .item-cont {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

#bfBest .item-cont::before,
#bfBest .item-cont::after {
    display: none !important;
    content: none !important;
}

#bfBest .item-cont > li,
#bfBest .item-cont > .item-list {
    position: relative;
    display: block;
    flex: 0 0 auto !important;
    float: none !important;
    clear: none !important;
    min-width: 0;
    max-width: none !important;
    height: auto;
    margin: 0;
    padding: 0 !important;
    box-sizing: border-box;
    color: #eee;
    text-align: left;
}

#bfBest .bfb-swiper:not(.bfb-ready) > .item-cont > li,
#bfBest .bfb-swiper:not(.bfb-ready) > .item-cont > .item-list {
    width: calc((100% - 54px) / 4);
    margin-right: 18px;
}

#bfBest .bfb-rank {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 50px;
    background: #ed1530;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
    pointer-events: none;
}

#bfBest .bfb-prev,
#bfBest .bfb-next {
    position: absolute;
    top: 35%;
    z-index: 4;
    width: 38px;
    height: 58px;
    margin: 0;
    padding: 0;
    border: 1px solid #555;
    background: #181818;
    transform: translateY(-50%);
    cursor: pointer;
}

#bfBest .bfb-prev {
    left: -50px;
}

#bfBest .bfb-next {
    right: -50px;
}

#bfBest .bfb-prev::after,
#bfBest .bfb-next::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 14px;
    height: 14px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

#bfBest .bfb-prev::after {
    left: 14px;
    transform: rotate(-135deg);
}

#bfBest .bfb-next::after {
    right: 14px;
    transform: rotate(45deg);
}

#bfBest .swiper-button-disabled {
    opacity: .25;
    pointer-events: none;
}

#bfBest .swiper-button-lock {
    display: none;
}

#bfBest .bfb-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

#bfBest .bfb-pagination {
    position: static;
    width: auto;
    line-height: 1;
}

#bfBest .bfb-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 18px;
    height: 3px;
    margin: 0 4px;
    border-radius: 0;
    background: #fff;
    opacity: .3;
}

#bfBest .bfb-pagination .swiper-pagination-bullet-active {
    background: #ff4545;
    opacity: 1;
}

#bfBest .bfb-play {
    margin: 0;
    padding: 5px 9px;
    border: 1px solid #555;
    border-radius: 0;
    background: transparent;
    color: #ccc;
    font-family: inherit;
    font-size: 11px;
    line-height: 1.4;
    cursor: pointer;
}

#bfBest .bfb-swiper.bfb-fallback {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ===================================
   할인율별 / 인기상품 공통
=================================== */
#bfSpecial,
#bfPopular {
    clear: both;
    padding: 70px 0;
}

#bfSpecial .bf-inner,
#bfPopular .bf-inner {
    width: calc(100% - 60px);
    max-width: 1340px;
    margin: 0 auto;
}

#bfPopular {
    background: #fff;
}

#bfPopular .bf-heading {
    margin-bottom: 36px;
    text-align: center;
}

#bfPopular .bf-eyebrow {
    margin: 0 0 12px;
    color: #862b3c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

#bfPopular .bf-heading h2 {
    margin: 0;
    color: #171717;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -1px;
}

#bfPopular .bf-desc {
    margin: 16px 0 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ===================================
   블프 리본 타이틀
=================================== */
#bfSpecial {
    padding: 64px 0 70px;
    background: #101010;
    color: #eee;
}

#bfSpecial .bf-ribbon-heading {
    margin: 0 auto 38px;
    padding: 0;
    border: 0;
    text-align: center;
}

#bfSpecial .bf-eyebrow {
    margin: 0 0 22px;
    color: #ff4545;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 3px;
}

#bfSpecial .bf-title-wrap {
    position: relative;
    isolation: isolate;
    width: 390px;
    max-width: 84%;
    margin: 0 auto;
    padding: 10px 0;
}

#bfSpecial .bf-title-ribbon {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: -7%;
    width: 114%;
    height: 62px;
    background: #ed1530;
    transform: translateY(-50%) rotate(-9deg);
}

#bfSpecial .bf-title-ribbon::before,
#bfSpecial .bf-title-ribbon::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 22px;
    background: #960c20;
}

#bfSpecial .bf-title-ribbon::before {
    left: 0;
    bottom: -21px;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

#bfSpecial .bf-title-ribbon::after {
    right: 0;
    top: -21px;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

#bfSpecial .bf-ribbon-heading h2 {
    position: relative;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: "Arial Black", "Noto Sans KR", sans-serif;
    font-size: 76px;
    font-weight: 900;
    font-style: normal;
    line-height: .94;
    letter-spacing: -4px;
    text-align: center;
}

#bfSpecial .bf-ribbon-heading h2 > span {
    display: block;
    white-space: nowrap;
}

#bfSpecial .bf-ribbon-heading h2 > span:first-child {
    letter-spacing: -2px;
}

#bfSpecial .bf-desc {
    margin: 26px 0 0;
    color: #ddd;
    font-size: 14px;
    line-height: 1.6;
}

#bfSpecial .bf-desc strong {
    color: #ff4545;
    font-weight: 800;
    white-space: nowrap;
}

/* ===================================
   할인율 탭
=================================== */
#bfSpecial .bf-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0 0 30px;
    padding: 4px 2px 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#bfSpecial .bf-tab {
    flex: 1 0 0;
    min-width: 90px;
    box-sizing: border-box;
    margin: 0;
    padding: 17px 12px;
    border: 1px solid #e7e3dc;
    border-radius: 0;
    background: #f0ede7;
    color: #171717;
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .5px;
    text-align: center;
    cursor: pointer;
}

#bfSpecial .bf-tab.is-active {
    border-color: #ed1530;
    background: #ed1530;
    color: #fff;
}

#bfSpecial .bf-panel[hidden] {
    display: none !important;
}

/* ===================================
   상품 진열
=================================== */
#bfSpecial .prod_box,
#bfPopular .prod_box {
    padding: 0;
}

#bfSpecial .item-cont,
#bfPopular .item-cont {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 38px 18px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

#bfSpecial .item-cont::before,
#bfSpecial .item-cont::after,
#bfPopular .item-cont::before,
#bfPopular .item-cont::after {
    display: none !important;
    content: none !important;
}

#bfSpecial .item-cont > li,
#bfSpecial .item-cont > .item-list,
#bfPopular .item-cont > li,
#bfPopular .item-cont > .item-list {
    display: block;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* PC 이미지 구조 */
#bfBest .tumb,
#bfSpecial .tumb,
#bfPopular .tumb {
    position: relative;
    width: 100%;
}

#bfBest .tumb > a,
#bfSpecial .tumb > a,
#bfPopular .tumb > a {
    display: block;
}

#bfBest .tumb > a > img:first-child,
#bfBest .tumb > a > div > img,
#bfSpecial .tumb > a > img:first-child,
#bfSpecial .tumb > a > div > img,
#bfPopular .tumb > a > img:first-child,
#bfPopular .tumb > a > div > img {
    display: block;
    width: 100%;
    height: auto;
}

/* 모바일 상품 카드 구조 */
#bfBest .item-list > .thumb,
#bfSpecial .item-list > .thumb,
#bfPopular .item-list > .thumb {
    width: 100%;
    margin: 0;
}

#bfBest .item_img,
#bfSpecial .item_img,
#bfPopular .item_img {
    position: relative;
    width: 100%;
}

/* 검정 배경의 상품명 */
#bfBest .prdname,
#bfBest .chkPrdName,
#bfBest .prdname a,
#bfBest .chkPrdName a,
#bfBest .prdname span,
#bfBest .chkPrdName span,
#bfSpecial .prdname,
#bfSpecial .chkPrdName,
#bfSpecial .prdname a,
#bfSpecial .chkPrdName a,
#bfSpecial .prdname span,
#bfSpecial .chkPrdName span {
    color: #fff !important;
}

/* 검정 배경의 가격 */
#bfBest .item_price,
#bfBest .price,
#bfBest .price *,
#bfSpecial .item_price,
#bfSpecial .price,
#bfSpecial .price * {
    color: #fff !important;
}

#bfBest .strike,
#bfBest .strike *,
#bfBest del,
#bfBest del *,
#bfSpecial .strike,
#bfSpecial .strike *,
#bfSpecial del,
#bfSpecial del * {
    color: #999 !important;
}

#bfBest .salePercent,
#bfBest .salePercent *,
#bfSpecial .salePercent,
#bfSpecial .salePercent * {
    color: #ff4545 !important;
}

#bfBest .item_etc,
#bfBest .item_option,
#bfSpecial .item_etc,
#bfSpecial .item_option {
    color: #bbb !important;
}

/* ===================================
   전체보기 버튼
=================================== */
#bfSpecial .bf-more-wrap,
#bfPopular .bf-more-wrap {
    clear: both;
    margin: 40px 0 20px;
    text-align: center;
}

#bfSpecial .bf-more-btn,
#bfPopular .bf-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 340px;
    max-width: 90%;
    min-height: 58px;
    box-sizing: border-box;
    padding: 15px 24px;
    border: 1px solid #222;
    border-radius: 0;
    background: #222;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}

#bfSpecial .bf-more-btn {
    border-color: #777;
    background: transparent;
    color: #fff;
}

#bfBest button:focus-visible,
#bfSpecial .bf-tab:focus-visible,
#bfSpecial .bf-more-btn:focus-visible,
#bfPopular .bf-more-btn:focus-visible {
    outline: 2px solid #ff4545;
    outline-offset: 3px;
}

@media (hover: hover) {
    #bfSpecial .bf-more-btn:hover {
        border-color: #ed1530;
        background: #ed1530;
    }

    #bfPopular .bf-more-btn:hover {
        border-color: #444;
        background: #444;
    }
}

/* ===================================
   모바일
=================================== */
@media (max-width: 767px) {
    #bfFixedBanners .bf-fixed-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #bfFixedBanners .bf-coming-soon {
        gap: 12px;
    }

    #bfFixedBanners .bf-coming-soon span {
        font-size: 10px;
        letter-spacing: 3px;
    }

    #bfFixedBanners .bf-coming-soon strong {
        font-size: 24px;
    }

    #bfBest {
        padding: 40px 0 32px;
    }

    #bfBest .bfb-inner {
        width: 92%;
    }

    #bfBest .bfb-heading {
        margin-bottom: 24px;
    }

    #bfBest .bfb-eyebrow {
        font-size: 9px;
        letter-spacing: 2px;
    }

    #bfBest .bfb-heading h2 {
        font-size: 27px;
    }

    #bfBest .bfb-desc {
        font-size: 12px;
    }

    #bfBest .bfb-swiper:not(.bfb-ready) > .item-cont > li,
    #bfBest .bfb-swiper:not(.bfb-ready) > .item-cont > .item-list {
        width: calc((100% - 12px) / 2);
        margin-right: 12px;
    }

    #bfBest .bfb-rank {
        width: 42px;
        height: 40px;
        font-size: 17px;
    }

    #bfBest .bfb-prev,
    #bfBest .bfb-next {
        display: none;
    }

    #bfBest .bfb-controls {
        gap: 10px;
        margin-top: 20px;
    }

    #bfBest .bfb-pagination .swiper-pagination-bullet {
        width: 10px;
        margin: 0 3px;
    }

    #bfSpecial,
    #bfPopular {
        padding: 42px 0;
    }

    #bfSpecial .bf-inner,
    #bfPopular .bf-inner {
        width: 92%;
    }

    #bfSpecial .bf-ribbon-heading {
        margin-bottom: 26px;
    }

    #bfSpecial .bf-eyebrow {
        margin-bottom: 16px;
        font-size: 9px;
        letter-spacing: 2px;
    }

    #bfSpecial .bf-title-wrap {
        width: 270px;
        max-width: 82%;
    }

    #bfSpecial .bf-ribbon-heading h2 {
        font-size: clamp(38px, 12vw, 56px);
        letter-spacing: -3px;
    }

    #bfSpecial .bf-title-ribbon {
        height: 44px;
    }

    #bfSpecial .bf-desc {
        margin-top: 22px;
        font-size: 12px;
    }

    #bfSpecial .bf-tabs {
        gap: 7px;
        margin-bottom: 24px;
    }

    #bfSpecial .bf-tab {
        flex: 0 0 70px;
        min-width: 70px;
        padding: 13px 8px;
        font-size: 23px;
    }

    #bfPopular .bf-heading {
        margin-bottom: 24px;
    }

    #bfPopular .bf-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    #bfPopular .bf-heading h2 {
        font-size: 25px;
    }

    #bfPopular .bf-desc {
        margin-top: 12px;
        font-size: 12px;
    }

    #bfSpecial .item-cont,
    #bfPopular .item-cont {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }

    #bfSpecial .bf-more-wrap,
    #bfPopular .bf-more-wrap {
        margin: 30px 0 10px;
    }

    #bfSpecial .bf-more-btn,
    #bfPopular .bf-more-btn {
        width: 280px;
        min-height: 50px;
        padding: 13px 20px;
        font-size: 14px;
    }
}
/* BASIC css end */

