/*
 * 메인 페이지 표현 스타일 (shop/main_page_test.php)
 *
 * 원래 main_page_test.php 본문에 <style> 두 블록으로 인라인돼 있었다.
 * 요청마다 138KB를 캐시 없이 전송하던 것을 정적 asset으로 분리한다.
 * 로드 위치는 원본과 같은 body 지점이라 head 스타일시트보다 뒤에 오는
 * cascade 순서가 그대로 유지된다.
 *
 * 분리하면서 무효 선언 8개를 제거했다. 값과 단위 사이에 개행이 들어가
 * `width: 116 px !important` 형태로 출력되던 것들로, CSS 파서가 선언
 * 전체를 버리므로 렌더 결과에 영향이 없었다. 같은 규칙의 정상 구현은
 * lib/panda_search_insert_block.lib.php:492-506에 있다.
 */
    /* ------------------------------------------------------------
   [메인 상단 쿠팡형 레이아웃]
   - 배너와 카테고리 간격 최소화
   - 배너 하단 동그라미 pagination
   - 카테고리 카드/칸 느낌 제거
   - 카테고리 5 x 2 슬라이드  하단 바 pagination
------------------------------------------------------------ */

    .bp-hero {
        position: relative;
        margin-bottom: 0 !important;
    }

    #bpHeroSwiper {
        position: relative;
    }

    .bp-hero-slide img {
        display: block;
    }

    .bp-hero-pagination {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 11px;
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        pointer-events: auto;
    }

    .bp-hero-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 !important;
        border-radius: 50%;
        background: rgba(255, 255, 255, .58);
        border: 1px solid rgba(255, 255, 255, .65);
        opacity: 1;
    }

    .bp-hero-pagination .swiper-pagination-bullet-active {
        background: #fff;
        border-color: #fff;
    }

    .bp-main-categories {
        max-width: 1180px;
        margin: 0 auto 28px !important;
        padding: 12px 18px 9px !important;
        background: #fff !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden;
    }

    .bp-main-categories-swiper {
        padding: 0 !important;
        overflow: hidden;
    }

    .bp-main-categories-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .bp-main-categories-swiper .swiper-slide {
        height: auto;
    }

    .bp-main-category-col {
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    .bp-main-category-item,
    .bp-main-category-item--wide {
        width: 100%;
        min-height: 74px !important;
        padding: 3px 0 2px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #111;
        overflow: visible !important;
        transform: none !important;
    }

    .bp-main-category-item:hover,
    .bp-main-category-item:active {
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .bp-main-category-thumb,
    .bp-main-category-item--wide .bp-main-category-thumb {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .bp-main-category-thumb img,
    .bp-main-category-item--wide .bp-main-category-thumb img {
        width: 46px !important;
        height: 46px !important;
        object-fit: contain;
        display: block;
    }

    .bp-main-category-label,
    .bp-main-category-item--wide .bp-main-category-label {
        min-height: 16px !important;
        font-size: 12.5px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        color: #111 !important;
        letter-spacing: -0.055em;
        white-space: nowrap !important;
        text-align: center;
    }

    .bp-main-category-item.is-supermarket,
    .bp-main-category-item.is-reward {
        background: transparent !important;
        border-color: transparent !important;
    }

    .bp-main-categories-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 11px;
        margin-top: 2px;
        gap: 0;
    }

    .bp-main-categories-pagination .swiper-pagination-bullet {
        width: 42px;
        height: 4px;
        margin: 0 !important;
        border-radius: 999px;
        background: #e6e8ec;
        opacity: 1;
    }

    .bp-main-categories-pagination .swiper-pagination-bullet-active {
        background: #111827;
    }

    .bp-main-categories-nav {
        display: none !important;
    }

    @media (min-width: 1024px) {
        .bp-hero {
            margin-bottom: 0 !important;
        }

        .bp-main-categories {
            max-width: 1180px;
            margin-top: 0 !important;
            margin-bottom: 34px !important;
            padding: 14px 22px 10px !important;
        }

        .bp-main-category-item,
        .bp-main-category-item--wide {
            min-height: 80px !important;
            gap: 5px !important;
        }

        .bp-main-category-thumb,
        .bp-main-category-item--wide .bp-main-category-thumb {
            width: 52px !important;
            height: 52px !important;
            flex-basis: 52px !important;
        }

        .bp-main-category-thumb img,
        .bp-main-category-item--wide .bp-main-category-thumb img {
            width: 50px !important;
            height: 50px !important;
        }

        .bp-main-category-label,
        .bp-main-category-item--wide .bp-main-category-label {
            font-size: 13px !important;
        }

        /*
         * PC에서는 모바일 카테고리 하단선/보정 효과 제거
         */
        .bp-main-categories::after {
            content: none !important;
            display: none !important;
        }
    }

    /*
     * 모바일 전용 보정
     * PC 카테고리/히어로 레이아웃 오염 방지
     */
    @media (max-width: 767px) {
        .bp-product-slider-wrap .bp-section-nav {
            display: none !important;
        }

        .brand-promo-page {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .bp-hero {
            margin-top: 8px !important;
            margin-bottom: 0 !important;
        }

        #bpHeroSwiper {
            border-radius: 0 !important;
        }

        .bp-hero-pagination {
            bottom: 8px;
            gap: 6px;
        }

        .bp-hero-pagination .swiper-pagination-bullet {
            width: 7px;
            height: 7px;
            background: rgba(255, 255, 255, .55);
            border-color: rgba(255, 255, 255, .65);
        }

        .bp-hero-pagination .swiper-pagination-bullet-active {
            background: #fff;
            border-color: #fff;
        }

        .bp-main-categories {
            margin: 0 0 20px !important;
            padding: 8px 0 7px !important;
            border: 0 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
        }

        .bp-main-category-item,
        .bp-main-category-item--wide {
            min-height: 63px !important;
            padding: 2px 0 1px !important;
            gap: 3px !important;
        }

        .bp-main-category-thumb,
        .bp-main-category-item--wide .bp-main-category-thumb {
            width: 39px !important;
            height: 39px !important;
            flex: 0 0 39px !important;
        }

        .bp-main-category-thumb img,
        .bp-main-category-item--wide .bp-main-category-thumb img {
            width: 37px !important;
            height: 37px !important;
        }

        .bp-main-category-label,
        .bp-main-category-item--wide .bp-main-category-label {
            min-height: 15px !important;
            font-size: 10.8px !important;
            line-height: 1.12 !important;
            font-weight: 700 !important;
            letter-spacing: -0.065em;
        }

        .bp-main-categories-pagination {
            height: 10px;
            margin-top: 2px;
        }

        .bp-main-categories-pagination .swiper-pagination-bullet {
            width: 34px;
            height: 4px;
        }
    }

    html,
    body {
        margin: 0;
        padding: 0;
    }

    #container_title,
    .container_title,
    .page-title,
    .pg-title,
    .title {
        display: none !important;
    }

    .brand-promo-page * {
        box-sizing: border-box;
    }

    .brand-promo-page {
        max-width: 1480px;
        margin: 0 auto;
        padding: 0 20px 80px;
        margin-top: 0px;
    }

    .brand-promo-page a {
        text-decoration: none;
        color: inherit;
    }

    .bp-item {
        position: relative;
    }

    /*
     * [MAIN PRODUCT CARD]
     * 판다배송 카드에서 브랜드명과 내일도착 배지 사이 간격을 소폭 확대.
     * 기존 트럭 아이콘/배지 디자인은 그대로 유지한다.
     */
    .delivery_row.is-panda-delivery .delivery_badge {
        margin-right: 4px;
    }

    /*
     * [MAIN PRODUCT CARD]
     * 판다프레시 카드에서 브랜드명과 도착 배지 사이 간격만 소폭 확대.
     * 기존 자동차 아이콘/배지 디자인은 유지한다.
     */
    .delivery_row.delivery_row--fresh .delivery_badge {
        margin-right: 4px;
    }

    /*
     * [MAIN PRODUCT CARD]
     * 판다배송 상품은 일반회원도 구매 가능하다는 점을 카드에서 먼저 안내한다.
     * 판다프레시(JET_FRESH), 판매자 판다배송(SELLER_JET), 일반배송(NORMAL)에는 노출하지 않는다.
     */
    .bp-normal-member-badge-wrap {
        display: flex;
        align-items: center;
        min-height: 21px;
        margin: 0 0 3px;
    }

    .bp-normal-member-badge-wrap.is-empty {
        visibility: hidden;
        pointer-events: none;
    }

    .bp-normal-member-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        max-width: 100%;
        height: 19px;
        margin: 0;
        padding: 0 7px;
        border: 1px solid #d8e9ff;
        border-radius: 999px;
        background: #f4f9ff;
        color: #2563eb;
        font-size: 10.5px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -0.04em;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .bp-normal-member-badge--soop-only {
        border-color: #f3d8e6;
        background: #fff7fb;
        color: #be185d;
    }

    .brand-promo-page .bp-item .bp-item-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        min-height: 40px;
        margin: 0 0 2px;
        flex-wrap: nowrap;
    }

    .brand-promo-page .bp-item .bp-item-price-main {
        display: flex;
        align-items: baseline;
        min-height: 17px;
        min-width: 0;
    }

    .brand-promo-page .bp-item .bp-item-price-sub {
        display: flex;
        align-items: center;
        min-height: 18px;
        min-width: 0;
    }

    .brand-promo-page .bp-item .bp-item-price--fresh .price {
        color: #111;
    }

    .brand-promo-page .bp-item .bp-mobile-coupon-price {
        display: none;
    }

    /*
     * [MAIN PRODUCT CARD] 가격 옆 포인트 적용가 배지
     * - 일반 상품에만 출력
     * - 리워드몰 상품은 리워드몰 적용가 줄 자체가 포인트 안내이므로 미출력
     */
    .brand-promo-page .bp-item .bp-point-price-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 18px;
        margin-left: 0;
        padding: 0 7px 0 5px;
        border: 0;
        border-radius: 999px;
        background: #eaf3ff;
        color: #0d72de;
        line-height: 1;
        white-space: nowrap;
        box-sizing: border-box;
        vertical-align: middle;
        transform: translateY(-1px);
        flex: 0 0 auto;
    }

    .brand-promo-page .bp-item .bp-point-price-chip-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 14px;
        margin-right: 4px;
        padding: 0 5px;
        border-radius: 999px;
        background: #0d72de;
        color: #fff;
        font-size: 9px;
        font-weight: 900;
        letter-spacing: -0.055em;
    }

    .brand-promo-page .bp-item .bp-point-price-chip strong {
        color: #0d72de;
        font-size: 10.5px;
        font-weight: 900;
        letter-spacing: -0.055em;
    }

    /*
     * [MAIN PRODUCT CARD] 리워드몰 카드 높이 보정
     * - 일반 카드에 빈 공간을 넣지 않는다.
     * - 리워드몰 카드는 적용가 줄이 하나 더 있으므로 이미지만 소폭 낮춘다.
     * - 2행 슬라이더에서 아래줄 이미지 시작선 밀림을 줄이는 목적.
     */
    .brand-promo-page .bp-product-slider-wrap.is-2row .bp-item.bp-item--reward .bp-item-thumb {
        aspect-ratio: 1 / 0.90 !important;
        height: auto !important;
        overflow: hidden;
    }

    .brand-promo-page .bp-product-slider-wrap.is-2row .bp-item.bp-item--reward .bp-item-thumb img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .brand-promo-page .bp-product-slider-wrap.is-2row .bp-item.bp-item--reward .bp-reward-price-row {
        min-height: 18px;
        height: 18px;
        margin: 1px 0 0;
        padding: 2px 6px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .brand-promo-page .bp-item.bp-item--reward .bp-reward-price-label {
        height: 14px;
        padding: 0 5px;
        font-size: 8.5px;
        line-height: 1;
    }

    .brand-promo-page .bp-item.bp-item--reward .bp-reward-price-value {
        font-size: 11px;
        line-height: 1;
    }

    .brand-promo-page .bp-item.bp-item--reward .bp-reward-price-desc {
        font-size: 8.5px;
        line-height: 1;
    }

    @media (max-width: 767px) {
        .brand-promo-page .bp-item .bp-item-price-main {
            flex-wrap: nowrap;
            align-items: center;
            gap: 0;
            width: 100%;
            min-width: 0;
        }

        .brand-promo-page .bp-item .bp-item-price {
            gap: 1px;
            min-height: 38px;
            margin-bottom: 2px;
        }

        .brand-promo-page .bp-item .bp-item-price-sub {
            width: 100%;
            min-height: 17px;
        }

        .brand-promo-page .bp-item .bp-point-price-chip {
            height: 17px;
            margin-left: 0;
            padding: 0 6px 0 4px;
            max-width: 112px;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .brand-promo-page .bp-item .bp-point-price-chip-label {
            height: 13px;
            margin-right: 3px;
            padding: 0 4px;
            font-size: 8px;
            letter-spacing: -0.06em;
        }

        .brand-promo-page .bp-item .bp-point-price-chip strong {
            font-size: 9px;
            letter-spacing: -0.06em;
        }

        .brand-promo-page .bp-product-slider-wrap.is-2row .bp-item.bp-item--reward .bp-item-thumb,
        .brand-promo-page .bp-product-slider-wrap.is-mobile-2row .bp-item.bp-item--reward .bp-item-thumb {
            aspect-ratio: 1 / 0.73 !important;
            height: auto !important;
            max-height: none !important;
            overflow: hidden !important;
        }

        .brand-promo-page .bp-product-slider-wrap.is-2row .bp-item.bp-item--reward .bp-item-thumb img,
        .brand-promo-page .bp-product-slider-wrap.is-mobile-2row .bp-item.bp-item--reward .bp-item-thumb img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
        }

        .brand-promo-page .bp-item.bp-item--reward .bp-item-price {
            gap: 1px;
            min-height: 38px;
            margin-bottom: 2px;
        }

        .brand-promo-page .bp-item.bp-item--reward .bp-reward-price-row {
            width: 100%;
            min-height: 16px;
            height: 16px;
            margin: 1px 0 0;
            padding: 1px 5px;
            box-sizing: border-box;
            overflow: hidden;
        }

        .brand-promo-page .bp-item.bp-item--reward .bp-reward-price-label {
            height: 12px;
            padding: 0 4px;
            font-size: 8px;
        }

        .brand-promo-page .bp-item.bp-item--reward .bp-reward-price-value {
            font-size: 9px;
        }

        .brand-promo-page .bp-item.bp-item--reward .bp-reward-price-desc {
            font-size: 8px;
        }

        .brand-promo-page .bp-item .bp-mobile-coupon-price {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            max-width: 82px;
            height: 16px;
            margin-left: 4px;
            padding: 0 5px;
            border: 1px solid #0d72de;
            border-radius: 4px;
            background: #fff;
            color: #0d72de;
            font-size: 9px;
            line-height: 1;
            font-weight: 900;
            letter-spacing: -0.06em;
            white-space: nowrap;
            vertical-align: middle;
            box-sizing: border-box;
            overflow: hidden;
            text-overflow: ellipsis;
            transform: none;
            align-self: center;
        }
    }

    .brand-promo-page .bp-item .bp-price-point-badge {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        height: auto;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: #7c5cff;
        font-size: 8.8px;
        line-height: 1.15;
        font-weight: 700;
        letter-spacing: -0.055em;
        white-space: nowrap;
    }

    .brand-promo-page .bp-item .bp-price-point-badge::before {
        content: "·";
        margin-right: 3px;
        color: #7c5cff;
        font-weight: 900;
    }

    .brand-promo-page .bp-item .delivery_row {
        min-height: 22px;
        margin-top: 1px;
        gap: 4px;
    }

    .brand-promo-page .bp-item .bp-soop-price-row {
        display: flex;
        align-items: center;
        gap: 4px;
        width: 100%;
        min-height: 22px;
        margin: 2px 0 3px;
        padding: 3px 6px;
        border-radius: 999px;
        background: #eef6ff;
        color: #0d72de;
        overflow: hidden;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .brand-promo-page .bp-item .bp-soop-price-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 17px;
        padding: 0 6px;
        border-radius: 999px;
        background: #0d72de;
        color: #fff;
        font-size: 9.5px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -0.04em;
        flex: 0 0 auto;
        margin-right: 2px;
    }

    .brand-promo-page .bp-item .bp-soop-price-value {
        color: #0d72de;
        font-size: 13px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -0.055em;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .brand-promo-page .bp-item .bp-soop-price-desc {
        display: none;
    }

    @media (max-width: 767px) {
        .bp-normal-member-badge-wrap {
            min-height: 20px;
            margin: 0 0 2px;
        }

        .bp-normal-member-badge {
            height: 18px;
            padding: 0 6px;
            font-size: 10px;
        }

        .brand-promo-page .bp-item .bp-soop-price-row {
            min-height: 21px;
            margin: 2px 0 3px;
            padding: 3px 5px;
        }

        .brand-promo-page .bp-item .bp-soop-price-label {
            height: 16px;
            padding: 0 5px;
            font-size: 9px;
        }

        .brand-promo-page .bp-item .bp-soop-price-value {
            font-size: 12px;
        }
    }

    /* Swiper 1행 상품 슬라이더 폭 수축 방지
     PC 1행 Swiper에서 카드 폭이 0처럼 잡힐 수 있음
   - 슬라이더 안의 grid item/card 폭을 명시적으로 고정 */
    .bp-product-slide>.bp-grid-item {
        width: 100%;
        flex: 0 0 100%;
        min-width: 0;
    }

    .bp-product-slide>.bp-grid-item>.bp-item {
        width: 100%;
    }

    /* container query는 모바일 카드 하단 보정에서만 필요 */
    @media (max-width: 767px) {
        .bp-item {
            container-type: inline-size;
        }
    }

    /* 슬라이더 카드 hover 시 상단 잘림 방지 */
    .bp-product-slider-wrap {
        padding-top: 14px;
        overflow: hidden;
    }

    /*
     * [MAIN PRODUCT CARD - MOBILE THUMB FIX]
     * 관리자 페이지 옵션 기준:
     * - 실제 상품 이미지 표시 크기: design_json.card_image_size_mo
     * - 이미지 영역 가로 확대: design_json.card_image_expand_x_mo
     * - 이미지/박스 모서리: design_json.card_image_radius
     * - 상품 DB/업로드/썸네일 생성 로직은 건드리지 않음
     */
    @media (max-width: 767px) {
        .brand-promo-page .bp-item .bp-item-thumb {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;

            width: 100% !important;
            height: 150px !important;
            min-height: 150px !important;
            max-height: 150px !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            margin-inline: auto !important;
            background: #fafafa !important;
            overflow: hidden !important;
            line-height: 0 !important;
        }

        .brand-promo-page .bp-item .bp-item-thumb .sct_img {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            height: 100% !important;
            margin: 0 auto !important;
        }

        .brand-promo-page .bp-item .bp-item-thumb>img,
        .brand-promo-page .bp-item .bp-item-thumb img {
            display: block !important;
            margin-left: auto !important;
            margin-right: auto !important;
            flex: 0 0 auto !important;


            object-fit: contain !important;
            object-position: center center !important;
            margin-left: auto !important;
            margin-right: auto !important;
            flex: 0 0 auto !important;

        }
    }

    /*
     * 모바일 상품 슬라이더 헤더 전용
     * PC 및 일반 섹션 레이아웃 오염 방지
     */
    .bp-section-head--mobile-only {
        display: none;
    }

    @media (max-width: 767px) {
        .brand-promo-page .bp-section-head--mobile-only {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            width: 100%;
            margin: 0 0 8px;
            padding: 0 2px;
        }

        .brand-promo-page .bp-section-head--mobile-only .bp-section-title {
            margin: 0;
            flex: 1 1 auto;
            min-width: 0;
            color: #111;
            font-size: 15px;
            line-height: 1.25;
            font-weight: 900;
            letter-spacing: -0.055em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .brand-promo-page .bp-section-head--mobile-only .bp-section-more {
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            gap: 2px;
            flex: 0 0 auto;
            color: #7dd3fc;
            font-size: 12px;
            line-height: 1;
            font-weight: 800;
            letter-spacing: -0.04em;
            text-decoration: none;
            white-space: nowrap;
        }

        .brand-promo-page .bp-section-head--mobile-only .bp-section-more span {
            color: #7dd3fc;
            font-size: 16px;
            line-height: 1;
            transform: translateY(-1px);
        }
    }

    @media (max-width: 767px) {
        .bp-section-head {
            margin-bottom: 8px;
            padding: 0 2px;
        }

        .bp-section-title {
            font-size: 17px;
        }

        .bp-section-more {
            font-size: 12px;
        }
    }

    .bp-product-slider-wrap .bp-section-swiper {
        overflow: hidden;
        width: 100%;
    }

    .bp-product-slider-wrap .bp-section-swiper .swiper-wrapper {
        overflow: visible;
    }

    .bp-product-slider-wrap .bp-product-slide {
        overflow: hidden;
    }

    .bp-product-slider-wrap .bp-item:hover {
        transform: none;
    }

    @media (min-width: 1024px) {
        .bp-product-slider-wrap .bp-item:hover {
            transform: translateY(-3px) !important;
        }
    }

    .bp-item-ad-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 24px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(17, 24, 39, .82);
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.02em;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .14);
        backdrop-filter: blur(2px);
    }

    .bp-item.bp-item--ad {
        border: 2px solid #ffcfb8;
        background: linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
        box-shadow: 0 10px 24px rgba(255, 114, 53, 0.10);
    }

    .bp-item.bp-item--ad:hover {
        border-color: #ff9f75;
        box-shadow: 0 14px 30px rgba(255, 114, 53, 0.16);
    }

    .bp-item.bp-item--ad .bp-item-thumb {
        border-bottom: 1px solid #ffe2d3;
    }

    /* PC 임시 좌우 사이드 배너 (베타1) */
    .bp-page-shell {
        position: relative;
        max-width: 1480px;
        margin: 0 auto;
    }

    .bp-side-banner {
        position: absolute;
        top: 0;
        width: 68px;
        z-index: 60;
        display: none;
    }

    .bp-side-banner--left {
        right: calc(100% + 6px);
    }

    .bp-side-banner--right {
        left: calc(100% + 12px);
    }

    .bp-mobile-nav-toggle {
        display: none;
    }

    #bpRightSideBanner {
        width: 153px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(16px);
        transition: opacity .22s ease, transform .22s ease;
    }

    #bpRightSideBanner.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .bp-side-banner.is-fixed {
        position: fixed;
    }

    .bp-side-banner-inner>*+* {
        margin-top: 4px;
    }

    .bp-side-banner a {
        display: block;
    }

    .bp-side-banner img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* 메인 전환 탭 */
    /* PC 좌측 사이드 탭 */
    .bp-view-switch {
        width: 68px;
        top: 300px;
    }

    .bp-view-switch .bp-side-banner-inner {
        display: flex;
        flex-direction: column;
        /* gap: 12px; */
    }

    .bp-view-tab {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 102px;
        min-height: 112px;
        padding: 12px 8px 10px;
        border-radius: 0;
        border: 1px solid #dcdcdc;
        background: #f3f3f3;
        box-shadow: none;
        text-decoration: none;
        color: #444;
        overflow: visible;
    }

    .bp-view-tab.is-active {
        border-color: #1e88d9;
        background: #1e88d9;
        color: #fff;
        box-shadow: none;
    }

    .bp-view-tab-thumb {
        width: 44px;
        height: 44px;
        border-radius: 0;
        overflow: hidden;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }

    .bp-view-tab-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .bp-view-tab-title {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.2;
        font-weight: 800;
        color: inherit;
        text-align: center;
        word-break: keep-all;
    }

    .bp-view-tab-desc {
        position: absolute;
        top: 50%;
        left: calc(100% + 10px);
        transform: translateY(-50%);
        white-space: nowrap;
        min-height: 32px;
        padding: 0 12px;
        border-radius: 0;
        background: #ffffff;
        border: 1px solid #d9d9d9;
        color: #444;
        font-size: 11px;
        line-height: 32px;
        font-weight: 700;
        text-align: center;
        word-break: keep-all;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .18s ease, visibility .18s ease, left .18s ease;
        box-shadow: none;
        z-index: 5;
    }

    .bp-view-tab-desc:before {
        content: "";
        position: absolute;
        top: 50%;
        left: -6px;
        width: 12px;
        height: 12px;
        background: #ffffff;
        border-left: 1px solid #d9d9d9;
        border-top: 1px solid #d9d9d9;
        transform: translateY(-50%) rotate(45deg);
        border-radius: 0;
    }

    .bp-view-tab:hover .bp-view-tab-desc,
    .bp-view-tab:focus .bp-view-tab-desc {
        opacity: 1;
        visibility: visible;
        left: calc(100% + 14px);
    }


    .bp-section-side-nav {
        margin-top: 8px;
        padding: 7px 5px;
        border: 1px solid #eceff3;
        background: #ffffff;
        box-shadow: none;
        border-radius: 0;
    }

    .bp-section-side-nav-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .bp-section-side-link {
        display: block;
        position: relative;
        width: 58px;
        height: 42px;
        padding: 0;
        border-radius: 0;
        background: #fafafa;
        border: 1px solid #e3e6ea;
        box-shadow: none;
        color: #8b95a1;
        overflow: visible;
        white-space: nowrap;
        transition: width .24s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
    }

    .bp-section-side-link:hover {
        background: #f4f5f7;
        border-color: #d6dbe1;
        color: #66707c;
    }

    .bp-section-side-icon {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        transform: translate(-50%, -50%);
    }

    .bp-section-side-icon svg {
        width: 16px;
        height: 16px;
        display: block;
        fill: currentColor;
        filter: none;
    }

    .bp-section-side-link .bp-section-side-icon svg {
        color: currentColor;
    }

    .bp-section-side-text {
        display: inline-flex;
        align-items: center;
        max-width: 0;
        margin-left: 0;
        overflow: hidden;
        white-space: nowrap;
        opacity: 0;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1;
        height: 28px;
        padding: 0 9px;
        border: 1px solid transparent;
        background: #ffffff;
        color: #4b5563;
        transition: max-width .24s ease, opacity .14s ease, border-color .18s ease, color .18s ease, background-color .18s ease;
        position: absolute;
        left: calc(100% + 8px);
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        border-radius: 0;
        box-shadow: none;
        pointer-events: none;
    }

    .bp-section-side-link.is-peek {
        width: 58px;
    }

    .bp-section-side-link.is-peek .bp-section-side-text {
        max-width: var(--bp-peek-text-width, 150px);
        opacity: 1;
    }

    .bp-section-side-link.is-fading .bp-section-side-text {
        opacity: 0;
        max-width: 0;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        border-width: 0;
    }

    .bp-section-side-link.is-active .bp-section-side-icon svg {
        color: #ffffff;
    }

    /* 버튼별 고유색 */
    .bp-section-side-link[data-nav-kind="delivery"].is-active {
        background: #f6d98b;
        border-color: #ebc96f;
        color: #8a5a00;
    }

    .bp-section-side-link[data-nav-kind="delivery"].is-peek .bp-section-side-text {
        color: #8a5a00;
        border-color: #f3ddb0;
        background: #fffaf0;
    }

    .bp-section-side-link[data-nav-kind="sale"].is-active {
        background: #f6b8c3;
        border-color: #eea4b2;
        color: #9c2f54;
    }

    .bp-section-side-link[data-nav-kind="sale"].is-peek .bp-section-side-text {
        color: #9c2f54;
        border-color: #f2cad3;
        background: #fff7f8;
    }

    .bp-section-side-link[data-nav-kind="new"].is-active,
    .bp-section-side-link[data-nav-kind="best"].is-active,
    .bp-section-side-link[data-nav-kind="recommend"].is-active {
        background: #d7dce3;
        border-color: #c4cad3;
        color: #5f6873;
    }

    .bp-section-side-link[data-nav-kind="new"].is-peek .bp-section-side-text,
    .bp-section-side-link[data-nav-kind="best"].is-peek .bp-section-side-text,
    .bp-section-side-link[data-nav-kind="recommend"].is-peek .bp-section-side-text {
        color: #5f6873;
        border-color: #d9dee5;
        background: #f8fafc;
    }

    .bp-section-side-link[data-nav-kind="fresh"].is-active,
    .bp-section-side-link[data-nav-kind="veggie"].is-active,
    .bp-section-side-link[data-nav-kind="meat"].is-active,
    .bp-section-side-link[data-nav-kind="fish"].is-active,
    .bp-section-side-link[data-nav-kind="snack"].is-active,
    .bp-section-side-link[data-nav-kind="drink"].is-active {
        background: #cfe8cf;
        border-color: #bdddbd;
        color: #457245;
    }

    .bp-section-side-link[data-nav-kind="fresh"].is-peek .bp-section-side-text,
    .bp-section-side-link[data-nav-kind="veggie"].is-peek .bp-section-side-text,
    .bp-section-side-link[data-nav-kind="meat"].is-peek .bp-section-side-text,
    .bp-section-side-link[data-nav-kind="fish"].is-peek .bp-section-side-text,
    .bp-section-side-link[data-nav-kind="snack"].is-peek .bp-section-side-text,
    .bp-section-side-link[data-nav-kind="drink"].is-peek .bp-section-side-text {
        color: #457245;
        border-color: #d4e8d4;
        background: #f7fcf7;
    }

    .bp-section-side-link[data-nav-kind="default"].is-active {
        background: #ddd6f2;
        border-color: #cfc5ea;
        color: #6d5f96;
    }

    .bp-section-side-link[data-nav-kind="default"].is-peek .bp-section-side-text {
        color: #6d5f96;
        border-color: #ddd7ef;
        background: #faf8fd;
    }

    @media (max-width: 1439px) {
        .bp-side-banner--left {
            right: calc(100% + 2px);
        }

        .bp-section-side-link.is-peek {
            width: 68px;
        }

        .bp-section-side-link.is-peek .bp-section-side-text {
            max-width: var(--bp-peek-text-width, 150px);
        }
    }

    @media (max-width: 767px) {

        .bp-side-banner--right,
        .bp-view-switch,
        .bp-floating-switch {
            display: none !important;
        }

        #bpLeftSideBanner {
            display: none !important;
            position: fixed !important;
            top: 50%;
            left: 0;
            right: auto;
            width: 68px;
            z-index: 95;
            overflow: visible;
            transform: translate(-68px, -50%);
            transition: transform .22s ease;
        }

        #bpLeftSideBanner.is-mobile-ready {
            display: block !important;
        }

        #bpLeftSideBanner.is-mobile-open {
            transform: translate(0, -50%);
        }


        #bpLeftSideBanner .bp-side-banner-inner {
            position: relative;
            width: 68px;
            overflow: visible;
        }

        .bp-mobile-nav-toggle {
            display: flex;
            position: absolute;
            left: 100%;
            top: 50%;
            width: 32px;
            height: 52px;
            padding: 0;
            border: 1px solid #c8d2dc;
            border-left: 0;
            background: #eef4fb;
            color: #355f8a;
            font-size: 20px;
            font-weight: 800;
            line-height: 1;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0 10px 10px 0;
            transform: translateY(-50%);
        }

        .bp-mobile-nav-toggle-icon {
            display: block;
            line-height: 1;
        }

        .bp-mobile-nav-toggle:active {
            transform: translateY(-50%) scale(0.97);
        }

        #bpLeftSideBanner .bp-section-side-nav {
            display: none;
        }

        #bpLeftSideBanner.is-mobile-open .bp-section-side-nav {
            display: block;
        }

        #bpLeftSideBanner.is-mobile-open .bp-section-side-link,
        #bpLeftSideBanner.is-mobile-open .bp-section-side-link.is-peek,
        #bpLeftSideBanner.is-mobile-open .bp-section-side-link.is-fading {
            width: 58px !important;
            overflow: visible;
        }

        #bpLeftSideBanner.is-mobile-open .bp-section-side-text {
            left: calc(100% + 8px);
            top: 50%;
            transform: translateY(-50%);
            height: 32px;
            padding: 0 12px;
            line-height: 32px;
            font-size: 11px;
            border-radius: 6px;
            border: 1px solid #d9dee5;
            background: #ffffff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        #bpLeftSideBanner.is-mobile-open .bp-section-side-link.is-peek .bp-section-side-text {
            max-width: 220px !important;
            opacity: 1;
        }

        #bpLeftSideBanner.is-mobile-open .bp-section-side-link.is-fading .bp-section-side-text {
            opacity: 0;
            max-width: 0;
            padding-left: 0;
            padding-right: 0;
            border-width: 0;
            box-shadow: none;
        }

        #bpLeftSideBanner.is-mobile-open .bp-section-side-link.is-peek .bp-section-side-text {
            max-width: 140px;
            opacity: 1;
        }

        #bpLeftSideBanner.is-mobile-open .bp-section-side-link.is-fading .bp-section-side-text {
            opacity: 0;
            max-width: 0;
            padding-left: 0;
            padding-right: 0;
            border-width: 0;
            box-shadow: none;
        }

    }

    /* 모바일 좌하단 플로팅 버튼 */
    .bp-floating-switch {
        position: fixed;
        left: 4px;
        bottom: 77px;
        z-index: 90;
        display: none;
    }

    .bp-floating-switch-inner {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .bp-floating-tab {
        position: relative;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        border: 1px solid #e5e5e5;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .bp-floating-tab.is-active {
        border-color: #111;
    }

    .bp-floating-tab img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        display: block;
    }

    .bp-floating-tab-label {
        position: absolute;
        left: 66px;
        top: 50%;
        transform: translateY(-50%);
        white-space: nowrap;
        min-height: 28px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(17, 17, 17, .90);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
        transition: opacity .18s ease, visibility .18s ease, left .18s ease;
    }

    .bp-floating-tab-label:before {
        content: "";
        position: absolute;
        top: 50%;
        left: -6px;
        width: 12px;
        height: 12px;
        background: rgba(17, 17, 17, .90);
        transform: translateY(-50%) rotate(45deg);
        border-radius: 2px;
    }

    .bp-floating-tab.is-open {
        overflow: visible;
    }

    .bp-floating-tab.is-open .bp-floating-tab-label {
        opacity: 1;
        visibility: visible;
        left: 62px;
    }

    @media (min-width: 1600px) {
        .bp-side-banner:not(.bp-view-switch) {
            display: block;
        }

        .bp-view-switch {
            display: block;
        }

        #bpViewSwitch {
            display: none !important;
            top: 300px;
        }

        #bpViewSwitch.is-fixed {
            top: 300px !important;
        }

        /* 화면 확대/축소 또는 JS 위치계산으로 다시 나타나는 것 방지 */
        #bpViewSwitch,
        #bpViewSwitch.is-fixed,
        .bp-view-switch {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }

        .bp-section.is-current {
            scroll-margin-top: 110px;
        }

    }


    @media (max-width: 1023px) {
        .bp-floating-switch {
            display: none !important;
        }
    }

    .bp-hero {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        overflow: hidden;
    }

    .bp-hero .swiper {
        width: 100%;
    }

    .bp-hero-link {
        display: block;
        width: 100%;
        height: 100%;
    }

    .bp-hero-slide img {
        width: 100%;
        height: min(24vw, 360px);
        min-height: 240px;
        object-fit: cover;
        display: block;
    }


    /* ------------------------------------------------------------
   메인 상단 카테고리: 앱 홈 5 x 2 슬라이드 메뉴
   - 전체 카테고리 유지
   - 5 x 2 단위로 좌우 슬라이드
   - 개별 칸/card 느낌 제거
------------------------------------------------------------ */
    .bp-main-categories {
        position: relative;
        max-width: 1180px;
        margin: 14px auto 32px;
        padding: 18px 18px 14px;
        background: #fff;
        border: 1px solid #edf0f4;
        border-radius: 18px;
        box-shadow: 0 8px 22px rgba(20, 32, 48, .04);
        overflow: visible;
    }

    /*
     * 메인 상단 카테고리 하단 전체 구분선
     * - 기존 움직이는 pagination 위치는 그대로 유지
     * - 카테고리 영역 끝에서 끝까지 진한 밑줄 추가
     */
    .bp-main-categories::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -12px;
        height: 1px;
        background: #6b7280;
        opacity: .45;
    }

    .bp-main-categories-featured {
        display: none !important;
    }

    .bp-main-categories-swiper {
        padding: 0;
        overflow: hidden;
    }

    .bp-main-categories-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .bp-main-category-col {
        height: auto;
        display: flex;
        justify-content: center;
    }

    .bp-main-category-item,
    .bp-main-category-item--wide {
        width: 100%;
        min-height: 92px;
        padding: 8px 4px 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
        color: #111827;
        overflow: visible;
    }

    .bp-main-category-item:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
    }

    .bp-main-category-thumb,
    .bp-main-category-item--wide .bp-main-category-thumb {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        margin: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bp-main-category-thumb img,
    .bp-main-category-item--wide .bp-main-category-thumb img {
        width: 54px;
        height: 54px;
        object-fit: contain;
    }

    .bp-main-category-label,
    .bp-main-category-item--wide .bp-main-category-label {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 18px;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 700;
        color: #111;
        letter-spacing: -0.04em;
        white-space: nowrap;
        text-align: center;
    }

    .bp-main-category-item.is-supermarket,
    .bp-main-category-item.is-reward {
        background: transparent !important;
    }

    .bp-main-categories-nav {
        display: none !important;
    }

    .bp-main-categories-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 16px;
        margin-top: 8px;
    }

    .bp-main-categories-pagination .swiper-pagination-bullet {
        width: 42px;
        height: 5px;
        margin: 0 !important;
        border-radius: 999px;
        background: #e5e7eb;
        opacity: 1;
    }

    .bp-main-categories-pagination .swiper-pagination-bullet-active {
        background: #111;
    }

    .bp-mid-banners {
        margin-top: 34px;
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
    }

    .bp-banner-card {
        position: relative;
        overflow: hidden;
        border-radius: 26px;
        min-height: 180px;
        background-size: cover;
        background-position: center;
    }

    .bp-banner-card img {
        width: 100%;
        display: block;
        object-fit: cover;
    }

    .bp-login-cta-block {
        max-width: 1180px;
        margin: 10px auto 30px;
        padding: 0;
    }

    .bp-login-cta-title {
        margin: 0 0 10px;
        color: #111;
        font-size: 25px;
        line-height: 1.25;
        font-weight: 800;
        letter-spacing: -0.065em;
        word-break: keep-all;
    }

    .bp-login-cta-title strong {
        color: #0d72de;
        font-weight: 600;
    }

    .bp-login-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 58px;
        border-radius: 10px;
        background: #0d72de;
        color: #fff !important;
        font-size: 20px;
        line-height: 1;
        font-weight: 600;
        letter-spacing: -0.045em;
        text-decoration: none;
    }

    .bp-login-cta-btn span {
        margin-left: 6px;
        font-size: 25px;
        line-height: 1;
    }

    .bp-main-categories+.bp-login-cta-block,
    .bp-main-categories+.bp-banner-block {
        margin-top: 0;
    }

    .bp-banner-block {
        max-width: 1180px;
        margin: 18px auto 34px;
    }

    .bp-banner-block--large {
        max-width: 1440px;
    }

    .bp-banner-block--slim {
        max-width: 1200px;
    }

    .bp-banner-block-list {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 14px;
    }

    .bp-banner-block-card {
        display: block;
        overflow: hidden;
        border-radius: 18px;
        background: #fff;
    }

    .bp-banner-block-card img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-position: center center;
    }

    .bp-banner-block-card.is-main-banner-canvas-ready {
        background: transparent;
    }

    .bp-banner-block-card.is-main-banner-canvas-ready img {
        display: block;
    }

    .bp-banner-block-swiper {
        overflow: hidden;
        border-radius: 18px;
    }

    .bp-banner-block-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 8px;
    }

    .bp-banner-block-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 !important;
        border-radius: 50%;
        background: #d1d5db;
        opacity: 1;
    }

    .bp-banner-block-pagination .swiper-pagination-bullet-active {
        background: #111827;
    }

    @media (max-width: 767px) {
        .bp-banner-block {
            width: 100%;
            max-width: 100%;
            margin: 14px auto 22px;
        }

        .bp-banner-block-swiper,
        .bp-banner-block-card {
            border-radius: 8px;
        }
    }

    .bp-product-top-banner {
        width: 100%;
        margin: 0 0 16px;
    }

    .bp-product-top-banner-swiper {
        overflow: hidden;
        border-radius: 18px;
    }

    .bp-product-top-banner-card {
        display: block;
        overflow: hidden;
        border-radius: 18px;
        background: #fff;
    }

    .bp-product-top-banner-card img {
        display: block;
        width: 100%;
        height: 340px;
        max-width: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .bp-product-top-banner-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 8px;
    }

    .bp-product-top-banner-pagination .swiper-pagination-bullet {
        width: 7px;
        height: 7px;
        margin: 0 !important;
        border-radius: 50%;
        background: #d1d5db;
        opacity: 1;
    }

    .bp-product-top-banner-pagination .swiper-pagination-bullet-active {
        background: #0d72de;
    }

    @media (max-width: 767px) {
        .bp-product-top-banner {
            margin-bottom: 12px;
        }

        .bp-product-top-banner-swiper,
        .bp-product-top-banner-card {
            border-radius: 12px;
        }

        .bp-product-top-banner-card img {
            height: auto;
            object-fit: contain;
        }
    }

    .bp-section {
        margin-top: 54px;
    }

    .bp-editor-desc {
        margin-bottom: 18px;
        line-height: 1.8;
    }

    .bp-editor-desc * {
        max-width: 100%;
    }

    .bp-editor-desc p {
        margin: 0 0 8px;
    }

    .bp-product-slider-wrap {
        position: relative;
    }

    .bp-product-slider-wrap.is-2row {
        padding-top: 10px;
    }

    .bp-product-slider-wrap.is-1row-large {
        padding-top: 10px;
    }

    .bp-section-swiper {
        overflow: hidden;
    }

    .bp-product-slider-wrap.is-2row .bp-section-swiper {
        overflow: hidden;
        width: 100%;
    }

    .bp-product-slider-wrap.is-1row-large .bp-section-swiper {
        overflow: hidden;
        width: 100%;
    }

    .bp-section-swiper .swiper-wrapper {
        transition-timing-function: cubic-bezier(.22, .61, .36, 1) !important;
        will-change: transform;
    }

    .bp-section-swiper .swiper-slide,
    .bp-hero .swiper-slide {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .bp-product-slide {
        height: auto;
        display: flex;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide-page {
        width: 100%;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide-page>.bp-category-grid {
        width: 100%;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide--stack {
        height: auto;
        display: flex;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide-stack {
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide-stack .bp-grid-item {
        width: 100%;
        min-width: 0;
        display: flex;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide-stack .bp-item {
        width: 100%;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide-stack .bp-grid-item--empty {
        visibility: hidden;
        pointer-events: none;
    }

    .bp-product-slider-wrap.is-2row .bp-product-slide-stack .bp-grid-item--empty .bp-item {
        box-shadow: none;
        border-color: transparent;
        background: transparent;
    }

    @media (max-width: 767px) {
        .bp-product-slider-wrap.is-2row .bp-product-slide-stack {
            gap: 0;
        }
    }

    .bp-product-slider-wrap.is-1row-large .bp-product-slide {
        height: auto;
        display: flex;
    }

    .bp-product-slider-wrap.is-1row-large .bp-product-slide>.bp-grid-item {
        width: 100%;
        min-width: 0;
    }

    .bp-section-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .bp-section-nav {
        position: absolute;
        top: 44%;
        transform: translateY(-50%);
        z-index: 5;
        width: 44px;
        height: 44px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .95);
        color: #111;
        font-size: 24px;
        font-weight: 800;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
        cursor: pointer;
    }

    .bp-section-nav.is-hidden {
        display: none !important;
    }

    .bp-section-prev {
        left: -6px;
    }

    .bp-section-next {
        right: -6px;
    }

    .bp-category-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .bp-category-grid.cols-mo-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .bp-category-grid.cols-mo-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-grid-item,
    .bp-item {
        min-width: 0;
    }

    .bp-item {
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid #f0f0f0;
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 6px 18px rgba(17, 17, 17, .04);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

    .bp-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(17, 17, 17, .08);
        border-color: #e7e7e7;
    }

    .bp-item-thumb {
        display: block;
        background: #fafafa;
        flex: 0 0 auto;
    }

    .bp-item-thumb {
        position: relative;
        overflow: hidden;
    }

    .bp-item-thumb img {
        display: block;
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
        object-fit: contain;
        background: #fafafa;
    }

    @media (max-width: 767px) {
        .bp-item-thumb {
            min-height: 150px;
            background: #fafafa;
        }

        .bp-item-thumb img {
            width: 100%;
            height: 100%;
            min-height: 150px;
            object-fit: contain;
        }
    }

    .bp-state-overlay {
        position: absolute;
        inset: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    .bp-state-overlay--soldout {
        background: rgba(17, 24, 39, .22);
    }

    .bp-state-overlay--soldout img {
        width: 74%;
        max-width: 220px;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .bp-item--soldout .bp-item-thumb>img,
    .bp-item--soldout .bp-item-thumb .sct_img img {
        filter: grayscale(.2) brightness(.72);
    }

    .bp-item-thumb,
    .bp-item-thumb .sct_img {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .bp-item-thumb img,
    .bp-item-thumb-dummy,
    .bp-item-thumb .sct_img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .bp-item--custom .bp-item-thumb img,
    .bp-item--custom .bp-item-thumb .sct_img img {
        aspect-ratio: auto;
        height: var(--bp-card-height, auto);
    }

    .bp-item--custom .bp-item-thumb {
        max-width: var(--bp-card-width, 100%);
        margin: 0 auto;
    }

    .bp-item-thumb-dummy {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        color: #555;
        background: #f3f4f6;
    }

    .bp-item-body {
        padding: 7px 10px 9px;
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        min-height: 0;
    }

    .bp-item-name {
        min-height: 20px;
        max-height: 20px;
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 3px;
        color: #111;
        font-weight: 600;
        overflow: hidden;
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: normal;
    }

    .bp-item-name .cut,
    .bp-item-name a {
        display: block;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .bp-item-name a {
        color: #111;
    }

    .bp-item-subprice {
        display: none !important;
        min-height: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
        overflow: hidden !important;
    }

    .bp-item-subprice.is-empty {
        display: none !important;
    }

    .bp-item-price {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-bottom: 3px;
        min-height: 20px;
        min-width: 0;
    }

    .bp-item-price .sale {
        display: none !important;
    }

    .bp-item-price .price {
        font-size: 18px;
        color: #111;
        font-weight: 800;
        line-height: 1;
        display: inline-flex;
        align-items: baseline;
        white-space: nowrap;
    }

    .bp-price-unit {
        display: inline-block;
        margin-left: 1px;
        font-size: clamp(1.02rem, 7.4vw, 1.16rem) !important;
        line-height: 1;
        font-weight: 700;
        vertical-align: baseline;
    }

    .bp-price-point-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 20px;
        padding: 0 7px;
        border-radius: 6px;
        background: #8b5cf6;
        color: #fff;
        font-size: 9px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -0.07em;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .bp-item-price--fresh .price {
        color: #0d72de;
    }

    .bp-soop-price-row {
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;
        min-height: 20px;
        margin: 1px 0 3px;
        padding: 3px 5px;
        border-radius: 999px;
        background: #fff1f1;
        color: #ef4444;
        overflow: hidden;
        white-space: nowrap;
    }

    .delivery_row.delivery_row--fresh .delivery_arrival_badge {
        background: #ef4444;
    }

    .delivery_row:not(.delivery_row--fresh) .delivery_arrival_badge {
        background: #1d7fe8;
    }

    .bp-soop-price-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 16px;
        padding: 0 5px;
        border-radius: 999px;
        background: #ef4444;
        color: #fff;
        font-size: 10px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.04em;
        margin-right: 2px;
        flex: 0 0 auto;
    }

    .bp-soop-price-value {
        color: #ef4444;
        font-size: 13px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.04em;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    .bp-soop-price-value .bp-price-unit {
        margin-left: 0;
        font-size: 9.5px;
        line-height: 1;
        align-self: center;
        transform: none;
    }

    .bp-soop-price-desc {
        flex: 0 0 auto;
        min-width: auto;
        color: #ef4444;
        font-size: 10px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: -0.06em;
        white-space: nowrap;
        margin-left: 3px;
        display: inline-flex;
        align-items: center;
    }

    .bp-reward-price-row {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
        min-height: 22px;
        margin: 2px 0 4px;
        padding: 3px 6px;
        border-radius: 999px;
        background: #f5f3ff;
        color: #7c3aed;
        overflow: hidden;
        white-space: nowrap;
    }

    .bp-reward-price-label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 17px;
        padding: 0 6px;
        border-radius: 999px;
        background: #7c3aed;
        color: #fff;
        font-size: 10px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.04em;
        flex: 0 0 auto;
    }

    .bp-reward-price-value {
        color: #e11d48;
        font-size: 14px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -0.04em;
        flex: 0 0 auto;
    }

    .bp-reward-price-desc {
        min-width: 0;
        color: #7c3aed;
        font-size: 10.5px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.055em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .member_apply_text,
    .point_text,
    .member_text,
    .member_sub_text,
    .arrival_text,
    .delivery_badge,
    .delivery_type,
    .bp-item-badges span {
        font-size: 12px;
    }

    .main_delivery_meta {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto;
        min-height: 0;
        margin-top: 0;
        padding-top: 0;
    }

    .delivery_row {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 3px;
        min-width: 0;
    }

    /* PC에서만 배송 배지 아래로 보조 배지 내리기 */
    @media (min-width: 768px) {
        .delivery_row {
            flex-direction: row;
            align-items: center;
        }
    }

    .delivery_badge,
    .delivery_type,
    .bp-item-badges span {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        padding: 0 8px;
        border-radius: 999px;
    }

    .delivery_badge {
        gap: 6px;
        background: #f6f7fb;
        color: #222;
        font-weight: 800;
    }

    .delivery_badge_icon {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ff7235;
        display: inline-block;
    }

    .delivery_badge_icon.panda-fresh {
        background: #e11d48;
    }

    .delivery_badge_icon.panda-delivery {
        background: #ef4444;
    }

    .delivery_badge_icon.panda-seller {
        background: #8b5cf6;
    }

    .delivery_type {
        background: #fff4ef;
        color: #ff7235;
        font-weight: 800;
    }

    .delivery_arrival_badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        height: 19px;
        min-height: 19px;
        padding: 0 6px;
        border-radius: 3px;
        background: #1d7fe8;
        color: #fff;
        font-size: 11px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -0.055em;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .delivery_arrival_badge img {
        width: 13px;
        height: 13px;
        object-fit: contain;
        display: block;
        flex: 0 0 auto;
    }

    .point_row,
    .member_row,
    .arrival_row {
        margin-top: 6px;
        flex: 0 0 auto;
    }

    .point_text {
        display: inline-flex;
        align-items: center;
        min-height: 24px;
        padding: 0 8px;
        border-radius: 999px;
        background: #fff4ef;
        color: #ff7235;
        font-weight: 800;
    }

    .member_sub_text {
        display: block;
        margin-top: 2px;
        color: #666;
    }

    .bp-point-benefit {
        padding: 8px 10px;
        font-size: 11px;
        background: #f8fafc;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        color: #475569;
        font-weight: 700;
        min-height: 46px;
        align-items: flex-start;
    }

    .bp-point-benefit strong {
        font-size: 12px;
        color: #111;
    }

    .bp-item-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 5px;
        padding-top: 0;
        min-height: 0;
        align-items: flex-start;
    }

    .bp-item-badges span {
        background: #f7f7f8;
        color: #555;
        font-weight: 700;
    }

    .bp-item-badges--normal-top {
        margin-top: 4px;
        padding-top: 0;
        min-height: 0;
    }

    .bp-item--reward {
        border-color: #eadcff;
        background: linear-gradient(180deg, #fffaff 0%, #ffffff 62%);
    }

    .bp-product-slide .bp-item--reward,
    .bp-category-grid .bp-item--reward {
        height: 100%;
    }

    .bp-item--reward .bp-item-body {
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .bp-item--reward .bp-item-name {
        min-height: 20px;
        max-height: 20px;
        margin-bottom: 3px;
        overflow: hidden;
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .bp-item--reward .bp-item-subprice.is-empty {
        display: none;
    }

    .bp-item--reward .bp-item-subprice {
        min-height: 0;
        height: auto;
        margin: 0;
    }

    .bp-item--reward .bp-item-price {
        min-height: 20px;
        margin-top: 0;
        margin-bottom: 3px;
    }

    .bp-item--reward .main_delivery_meta {
        flex: 0 0 auto;
        min-height: 0;
    }

    .bp-item--reward .delivery_row {
        min-height: 18px;
        margin-top: 2px;
        margin-bottom: 0;
    }

    .bp-item--reward .bp-item-badges--reward {
        min-height: 22px;
        margin-top: 5px;
        padding-top: 0;
    }

    .bp-item--reward .bp-item-review {
        min-height: 15px;
        margin-top: 2px;
    }

    .bp-item--reward .bp-reward-benefit {
        display: none;
        min-height: 0;
        margin-top: 0;
        flex: 0 0 auto;
    }

    .bp-item--reward:hover {
        border-color: #d8c2ff;
    }

    .bp-item-badges--reward {
        gap: 6px;
    }

    .bp-item-badges span.bp-badge-soop-only {
        background: #f5f3ff;
        color: #7c3aed;
        border: 1px solid #eadcff;
    }

    .bp-item-badges span.bp-badge-reward {
        background: #eff6ff;
        color: #2563eb;
        border: 1px solid #dbeafe;
    }

    .bp-reward-benefit {
        display: none;
        margin-top: 0;
        padding: 0;
        border-radius: 10px;
        background: linear-gradient(135deg, #faf5ff 0%, #fff7ed 100%);
        border: 1px solid #f1e4ff;
    }

    .bp-reward-benefit-top {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 7px;
        font-size: 12px;
        font-weight: 800;
        color: #111827;
    }

    .bp-reward-benefit-top strong {
        color: #7c3aed;
    }

    .bp-reward-line {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 3px;
        font-size: 10.5px;
        font-weight: 700;
        color: #64748b;
    }

    .bp-reward-line strong {
        font-size: 11.5px;
        color: #111827;
    }

    .bp-reward-line--final {
        margin-top: 4px;
        padding-top: 5px;
        border-top: 1px dashed #d7dce5;
    }

    .bp-reward-line--final strong {
        font-size: 12.5px;
        color: #e11d48;
    }

    .bp-reward-lock-guide {
        display: none;
        margin-top: 8px;
        padding: 8px 9px;
        border-radius: 12px;
        background: #f5f3ff;
        border: 1px solid #e9ddff;
        color: #7c3aed;
        font-size: 12px;
        font-weight: 800;
    }

    .bp-item-review {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: 3px;
        min-height: 15px;
    }

    .bp-item-review.is-empty {
        visibility: visible;
    }

    .bp-item-review-placeholder {
        display: block;
        width: 100%;
        height: 1em;
    }

    .bp-item-review-stars {
        position: relative;
        display: inline-block;
        line-height: 1;
        font-size: 14px;
        letter-spacing: .5px;
    }

    .bp-item-review-stars-base {
        color: #d9d9d9;
    }

    .bp-item-review-stars-fill {
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        overflow: hidden;
        white-space: nowrap;
        color: #f7c948;
    }

    .bp-item-review-count {
        color: #666;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }

    .arrival_row--bottom {
        margin-top: auto;
        min-height: 20px;
        display: flex;
        align-items: center;
    }

    .bp-load-anchor {
        height: 1px;
    }

    .bp-category-loading {
        text-align: center;
        padding: 16px 0;
        color: #666;
        font-size: 13px;
    }

    .bp-loading-overlay {
        position: fixed;
        inset: 0;
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(17, 17, 17, .24);
        backdrop-filter: blur(2px);
    }

    .bp-loading-overlay.is-active {
        display: flex;
    }

    .bp-loading-overlay-box {
        min-width: 140px;
        padding: 18px 16px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .bp-loading-spinner {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 3px solid #e9e9e9;
        border-top-color: #111;
        animation: bpSpin .8s linear infinite;
    }

    .bp-loading-text {
        font-size: 12px;
        color: #333;
        font-weight: 700;
    }

    @keyframes bpSpin {
        to {
            transform: rotate(360deg);
        }
    }


    /* 개발용 판다배송 안내 팝업 */
    .bp-dev-popup {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 10000;
        align-items: center;
        justify-content: center;
        background: rgba(17, 17, 17, .46);
    }

    .bp-dev-popup.is-open {
        display: flex;
    }

    .bp-dev-popup-dialog {
        width: min(92vw, 420px);
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
        overflow: hidden;
    }

    .bp-dev-popup-head {
        padding: 18px 20px 10px;
    }

    .bp-dev-popup-title {
        font-size: 18px;
        line-height: 1.3;
        font-weight: 800;
        color: #111;
    }

    .bp-dev-popup-body {
        padding: 0 20px 18px;
        font-size: 14px;
        line-height: 1.65;
        color: #444;
        word-break: keep-all;
    }

    .bp-dev-popup-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 16px 16px;
        border-top: 1px solid #f0f0f0;
    }

    .bp-dev-popup-check {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        font-weight: 700;
        color: #666;
        user-select: none;
    }

    .bp-dev-popup-check input[type="checkbox"] {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        accent-color: #111;
        cursor: pointer;
    }

    .bp-dev-popup-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .bp-dev-popup-btn {
        min-width: 84px;
        height: 40px;
        padding: 0 14px;
        border: 0;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .bp-dev-popup-btn--ghost {
        background: #f5f6f8;
        color: #333;
    }

    .bp-dev-popup-btn--primary {
        background: #111;
        color: #fff;
    }

    .bp-product-slide .bp-grid-item,
    .bp-product-slide .bp-item,
    .bp-category-grid .bp-grid-item,
    .bp-category-grid .bp-item {
        height: 100%;
    }

    .bp-product-slide .bp-item-body,
    .bp-category-grid .bp-item-body {
        justify-content: flex-start;
    }

    @media (min-width: 1024px) {
        .delivery_badge {
            min-height: 26px;
            padding: 0 9px;
            gap: 7px;
        }

        .delivery_badge_icon {
            width: 24px;
            height: 24px;
            flex: 0 0 24px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        .delivery_badge_text {
            font-size: 18px;
            line-height: 1;
            font-weight: 900;
            letter-spacing: -0.055em;
        }

        .delivery_arrival_badge {
            height: 22px;
            min-height: 22px;
            padding: 0 9px;
            border-radius: 999px;
            font-size: 11px;
            gap: 4px;
        }

        .delivery_arrival_badge img {
            width: 14px;
            height: 14px;
        }

        .bp-reward-price-row {
            min-height: 23px;
            padding: 3px 7px;
        }

        .bp-reward-price-label {
            height: 18px;
            padding: 0 7px;
            font-size: 10.5px;
        }

        .bp-reward-price-value {
            font-size: 14.5px;
        }

        .bp-reward-price-desc {
            font-size: 10.5px;
        }

        .brand-promo-page {
            padding: 0 20px 80px;
        }

        .bp-main-categories-swiper {
            padding: 0 8px 2px;
        }

        .bp-main-categories {
            margin-top: 16px;
            margin-bottom: 22px;
        }

        .bp-main-category-item {
            min-height: 108px;
            padding: 13px 10px 11px;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 12px;
            box-shadow: 0 3px 10px rgba(20, 32, 48, .035);
        }

        .bp-main-category-thumb {
            width: 54px;
            height: 54px;
            margin-bottom: 9px;
            flex: 0 0 54px;
            border-radius: 12px;
        }

        .bp-main-category-thumb img {
            width: 43px;
            height: 43px;
        }

        .bp-main-category-label {
            font-size: 14px;
            line-height: 1.28;
            min-height: 36px;
            justify-content: center;
        }

        .bp-main-categories-nav {
            width: 30px;
            height: 30px;
            font-size: 17px;
        }

        .bp-main-categories-prev {
            left: -2px;
        }

        .bp-main-categories-next {
            right: -2px;
        }

        .bp-category-grid.cols-pc-1 {
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 24px;
        }

        .bp-category-grid.cols-pc-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
        }

        .bp-category-grid.cols-pc-3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 24px;
        }

        .bp-category-grid.cols-pc-4 {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 24px;
        }

        .bp-category-grid.cols-pc-5 {
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 24px;
        }

        .bp-product-slide {
            width: auto;
        }

        .bp-product-slider-wrap.is-1row-large .bp-section-swiper {
            overflow: hidden;
        }

        .bp-product-slider-wrap.is-1row-large .bp-item-thumb,
        .bp-product-slider-wrap.is-1row-large .bp-item-thumb .sct_img {
            aspect-ratio: 1 / 1;
        }

        .bp-product-slide .bp-item-body,
        .bp-category-grid .bp-item-body {
            min-height: 0;
        }

        .bp-product-slide .bp-item-name,
        .bp-category-grid .bp-item-name {
            min-height: 20px;
            max-height: 20px;
            line-height: 20px;
            -webkit-line-clamp: 1;
        }

        .bp-product-slider-wrap,
        .bp-product-slider-wrap.is-2row,
        .bp-product-slider-wrap.is-1row-large {
            padding-top: 8px;
        }
    }

    @media (max-width: 1023px) {
        .bp-main-categories {
            padding: 12px 10px 14px;
            margin: 10px 0 14px;
            border-radius: 16px;
        }

        .bp-main-categories-featured {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            margin-bottom: 10px;
        }

        .bp-main-category-item {
            min-height: 86px;
            padding: 9px 5px 7px;
            border-radius: 11px;
        }

        .bp-main-category-thumb {
            width: 42px;
            height: 42px;
            margin-bottom: 6px;
        }

        .bp-main-category-thumb img {
            width: 34px;
            height: 34px;
        }

        .bp-main-category-label {
            font-size: 12px;
            line-height: 1.25;
            min-height: 24px;
        }

        .bp-main-category-item--wide {
            min-height: 76px;
            padding: 10px 12px;
            gap: 10px;
        }

        .bp-main-category-item--wide .bp-main-category-thumb {
            width: 48px;
            height: 48px;
            margin: 0;
            border-radius: 14px;
        }

        .bp-main-category-item--wide .bp-main-category-thumb img {
            width: 43px;
            height: 43px;
        }

        .bp-main-category-item--wide .bp-main-category-label {
            font-size: 15px;
            line-height: 1.2;
        }
    }

    @media (max-width: 767px) {
        .bp-product-slider-wrap {
            padding-top: 5px;
        }

        .bp-product-slider-wrap.is-2row {
            padding-top: 4px;
        }

        .bp-product-slider-wrap.is-2row .bp-product-slide-stack {
            gap: 0;
        }

        .bp-category-grid {
            gap: 8px;
        }

        .bp-item {
            border-radius: 12px;
        }

        .bp-item-body {
            padding: 5px 6px 6px;
            min-height: 0;
            flex: 0 0 auto;
        }

        .bp-item-name {
            min-height: 18px;
            max-height: 18px;
            margin-bottom: 2px;
            font-size: 12.5px;
            line-height: 18px;
            font-weight: 600;
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .bp-item-subprice {
            display: none !important;
            min-height: 0 !important;
            height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            line-height: 0 !important;
            overflow: hidden !important;
            font-size: 0 !important;
        }

        .bp-item-subprice.is-empty {
            display: none !important;
        }

        .bp-item-price {
            min-height: 18px;
            margin-bottom: 2px;
            gap: 4px;
        }

        .bp-item-price .sale {
            display: none !important;
        }

        .bp-item-price .price {
            font-size: 15.5px;
            font-weight: 800;
        }

        .bp-soop-price-row {
            min-height: 18px;
            margin: 1px 0 2px;
            padding: 2px 4px;
            gap: 4px;
        }

        .bp-soop-price-label {
            height: 15px;
            padding: 0 4px;
            font-size: 9.2px;
        }

        .bp-soop-price-value {
            font-size: 11.5px;
        }

        .bp-soop-price-desc {
            font-size: 9.2px;
        }

        .bp-reward-price-row {
            min-height: 19px;
            margin: 1px 0 3px;
            padding: 2px 5px;
            gap: 5px;
        }

        .bp-reward-price-label {
            height: 15px;
            padding: 0 5px;
            font-size: 9px;
        }

        .bp-reward-price-value {
            font-size: 12.5px;
        }

        .bp-reward-price-desc {
            font-size: 9px;
        }

        .delivery_row {
            flex-wrap: nowrap;
            gap: 5px;
            margin-top: 2px;
            align-items: center;
            justify-content: flex-start;
        }

        .delivery_badge {
            min-height: 21px;
            padding: 0;
            gap: 4px;
            background: transparent;
            color: #0d72de;
            font-size: 12.5px;
            font-weight: 800;
            flex: 0 1 auto;
            min-width: 0;
            max-width: calc(100% - 58px);
        }

        .delivery_badge_text {
            display: inline-block;
            min-width: 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .delivery_badge_icon {
            width: 22px;
            height: 22px;
            flex: 0 0 22px;
            border-radius: 50%;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        .delivery_arrival_badge {
            height: 18px;
            min-height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            font-size: 9.8px;
            gap: 3px;
            flex: 0 0 auto;
            white-space: nowrap;
        }

        .delivery_arrival_badge img {
            width: 11px;
            height: 11px;
        }

        .bp-item-review {
            margin-top: 2px;
            min-height: 13px;
            gap: 3px;
        }

        .bp-item-review-stars {
            font-size: 11px;
            letter-spacing: 0;
        }

        .bp-item-review-count {
            font-size: 9.5px;
            font-weight: 600;
        }

        .bp-reward-benefit {
            display: none !important;
            margin-top: 0;
            padding: 0;
        }

        .bp-reward-lock-guide {
            display: none !important;
        }

        .bp-reward-benefit-top,
        .bp-reward-line {
            font-size: 9.5px;
        }

        .bp-reward-line strong {
            font-size: 10.5px;
        }

        .bp-reward-line--final strong {
            font-size: 11.5px;
        }

        .bp-main-categories+.bp-banner-block {
            margin-top: 4px !important;
        }

        .bp-banner-block {
            margin-top: 4px !important;
        }

        /* 모바일 카테고리: 마지막 시안처럼 칸/card 느낌 제거 */
        .bp-main-categories {
            padding: 10px 6px 4px !important;
            margin: 8px 0 0 !important;
            background: #fff;
            border-radius: 0;
            border: 0;
            border-top: 1px solid #f1f2f4;
            border-bottom: 1px solid #f1f2f4;
            box-shadow: none;
        }

        .bp-main-category-item,
        .bp-main-category-item--wide {
            min-height: 82px;
            padding: 6px 0 4px;
            border: 0 !important;
            border-radius: 0;
            background: transparent !important;
            box-shadow: none !important;
            gap: 6px;
        }

        .bp-main-category-thumb,
        .bp-main-category-item--wide .bp-main-category-thumb {
            width: 48px;
            height: 48px;
            flex: 0 0 48px;
            margin: 0;
            border-radius: 0;
            background: transparent;
        }

        .bp-main-category-thumb img,
        .bp-main-category-item--wide .bp-main-category-thumb img {
            width: 46px;
            height: 46px;
        }

        .bp-main-category-label,
        .bp-main-category-item--wide .bp-main-category-label {
            min-height: 18px;
            font-size: 13px;
            line-height: 1.2;
            font-weight: 600;
            white-space: nowrap;
            letter-spacing: -0.05em;
        }

        .bp-main-categories-pagination {
            height: 7px !important;
            margin-top: 1px !important;
        }

        .bp-main-categories-pagination .swiper-pagination-bullet {
            width: 36px;
            height: 4px;
            border-radius: 999px;
        }

        .inner.subs_wrap {
            padding-left: 2px !important;
            padding-right: 2px !important;
        }

        .brand-promo-page {
            padding: 0 6px 24px;
            margin-top: 8px;
        }

        .bp-editor-desc,
        .bp-section>h2,
        .bp-section>.sec_tit,
        .bp-section>.section_tit,
        .bp-section>.main_section_tit {
            padding-left: 2px;
            padding-right: 2px;
        }

        .bp-section-nav {
            display: flex !important;
            align-items: center;
            justify-content: center;
            width: 34px;
            height: 34px;
            font-size: 18px;
            top: 38%;
            z-index: 20;
        }

        /*
     * 모바일 1행 큰 상품 슬라이더
     * - 주목받는 베스트 셀렉션용
     * - 일반 2행 슬라이더보다 썸네일을 크게 보이게 한다.
     * - PC에는 영향 주지 않는다.
     */
        .bp-product-slider-wrap.is-1row-large {
            margin-left: 0;
            margin-right: 0;
        }

        .bp-product-slider-wrap.is-1row-large .bp-item {
            border-radius: 14px;
        }

        .bp-product-slider-wrap.is-1row-large .bp-item-body {
            padding: 6px 7px 7px;
            min-height: 0;
        }

        .bp-product-slider-wrap.is-1row-large .bp-item-name {
            min-height: 17px;
            max-height: 17px;
            font-size: 11.5px;
            line-height: 17px;
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .bp-product-slider-wrap.is-1row-large .bp-item-price .price {
            font-size: 17px;
        }

        .bp-product-slider-wrap.is-1row-large .bp-item-price .sale {
            display: none !important;
        }

        .bp-section-prev {
            left: 4px;
        }

        .bp-section-next {
            right: 4px;
        }

        .bp-section {
            margin-top: 22px;
        }

        .bp-editor-desc {
            margin-bottom: 8px;
        }

        .bp-mid-banners {
            margin-top: 12px;
            gap: 6px;
        }

        .bp-login-cta-block {
            margin: 6px 0 20px;
            padding: 0 8px;
        }

        .bp-login-cta-title {
            margin: 0 0 8px;
            font-size: 21px;
            line-height: 1.24;
            font-weight: 600;
            letter-spacing: -0.08em;
            word-break: keep-all;
        }

        .bp-login-cta-title strong {
            font-weight: 800;
        }

        .bp-login-cta-btn {
            min-height: 58px;
            border-radius: 9px;
            font-size: 19px;
            font-weight: 600;
        }

        .bp-login-cta-btn span {
            margin-left: 5px;
            font-size: 23px;
        }

        .bp-main-categories+.bp-login-cta-block,
        .bp-main-categories+.bp-banner-block {
            margin-top: 4px;
        }

        .bp-banner-block {
            margin: 12px 0 24px;
        }

        .bp-banner-block-card,
        .bp-banner-block-swiper {
            border-radius: 12px;
        }

        .bp-banner-block {
            margin-top: 10px !important;
            margin-bottom: 24px !important;
        }

        .bp-banner-block-card img {
            height: 132px;
            object-fit: cover;
            object-position: center center;
        }

        .bp-banner-card {
            border-radius: 14px;
            min-height: 0;
            background: #fff;
            overflow: hidden;
        }

        .bp-hero {
            margin-top: 10px;
        }

        #bpHeroSwiper {
            width: 100%;
            aspect-ratio: 401 / 186;
            overflow: hidden;
            background: #fff;
        }

        #bpHeroSwiper .swiper-wrapper,
        #bpHeroSwiper .swiper-slide,
        #bpHeroSwiper .bp-hero-slide,
        #bpHeroSwiper .bp-hero-link {
            height: 100%;
        }

        #bpHeroSwiper .bp-hero-link {
            display: block;
            width: 100%;
        }

        .bp-hero-slide {
            display: block;
            background: #fff;
            overflow: hidden;
        }

        .bp-hero-slide img {
            width: 100%;
            height: 100%;
            min-height: 0;
            max-height: none;
            object-fit: cover;
            object-position: center center;
            background: #fff;
            display: block;
        }

        .bp-banner-card img {
            width: 100%;
            height: auto;
            min-height: 0;
            max-height: none;
            object-fit: cover;
            background: #fff;
            display: block;
        }

        .bp-main-categories {
            display: block;
            padding: 10px 8px 12px;
            margin: 8px 0 12px;
            background: #fff;
            border-radius: 14px;
            border: 1px solid #edf0f4;
            box-shadow: 0 5px 16px rgba(20, 32, 48, .045);
        }

        .bp-main-categories-swiper {
            padding: 0;
        }

        .bp-main-categories-featured {
            display: none !important;
        }

        .bp-main-categories-featured {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
            margin-bottom: 10px;
        }

        .bp-main-category-col {
            width: auto;
            padding: 0;
            text-align: center;
            margin-bottom: 0;
        }

        .bp-main-category-col--wide {
            grid-column: span 2;
        }

        .bp-main-category-item--wide {
            min-height: 70px;
            padding: 9px 10px;
            flex-direction: row;
            justify-content: center;
            gap: 9px;
            text-align: center;
            border-radius: 10px;
        }

        .bp-main-category-item--wide .bp-main-category-thumb {
            width: 44px;
            height: 44px;
            margin: 0;
        }

        .bp-main-category-item--wide .bp-main-category-thumb img {
            width: 39px;
            height: 39px;
        }

        .bp-main-category-item--wide .bp-main-category-label {
            min-height: 0;
            font-size: 13px;
            line-height: 1.2;
            justify-content: center;
            text-align: center;
            font-weight: 800;
        }

        .bp-main-category-thumb {
            width: 38px;
            height: 38px;
            margin-bottom: 6px;
            border-radius: 10px;
        }

        .bp-main-category-thumb img {
            width: 32px;
            height: 32px;
        }

        .bp-main-category-label {
            font-size: 12px;
            margin: 0;
            line-height: 1.35;
            min-height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            white-space: normal;
            word-break: keep-all;
        }

        .bp-main-category-item:active {
            opacity: 0.6;
        }

        .bp-main-category-item,
        .bp-main-category-item--wide {
            min-height: 74px;
            padding: 7px 2px 6px;
            border-radius: 10px;
            border: 1px solid #eceff3;
            background: #fff;
            box-shadow: 0 2px 6px rgba(0, 0, 0, .035);
            gap: 5px;
        }

        .bp-main-category-thumb,
        .bp-main-category-item--wide .bp-main-category-thumb {
            width: 36px;
            height: 36px;
            flex: 0 0 36px;
            margin: 0;
            border-radius: 10px;
        }

        .bp-main-category-thumb img,
        .bp-main-category-item--wide .bp-main-category-thumb img {
            width: 32px;
            height: 32px;
        }

        .bp-main-category-label,
        .bp-main-category-item--wide .bp-main-category-label {
            min-height: 18px;
            font-size: 11.5px;
            line-height: 1.2;
            font-weight: 800;
            white-space: nowrap;
            letter-spacing: -0.05em;
        }

        .bp-main-categories-nav {
            display: none !important;
        }

        .bp-main-categories-prev {
            left: 2px;
        }

        .bp-main-categories-next {
            right: 2px;
        }

        .bp-category-grid {
            gap: 4px;
        }

        .bp-item {
            border-radius: 14px;
        }

        .bp-item-thumb {
            line-height: 0;
        }

        .bp-item-body {
            padding: 5px 6px 6px;
            min-height: 0;
            flex: 0 0 auto;
        }

        .bp-item-name {
            min-height: 17px;
            max-height: 17px;
            font-size: 12px;
            line-height: 17px;
            margin-bottom: 2px;
            overflow: hidden;
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
            word-break: normal;
        }

        .bp-item-name a {
            display: block;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .bp-item-subprice {
            display: none !important;
            min-height: 0 !important;
            height: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            line-height: 0 !important;
            overflow: hidden !important;
            font-size: 0 !important;
        }

        .bp-item-price {
            gap: 3px;
            margin-bottom: 2px;
            min-height: 17px;
        }

        .bp-item-price .sale {
            display: none !important;
        }

        .bp-item-price .price {
            font-size: 14px;
        }

        .bp-price-unit {
            font-size: .66em;
        }

        .bp-price-point-badge {
            height: 15px;
            padding: 0 5px;
            border-radius: 5px;
            font-size: 7px;
            font-weight: 900;
            letter-spacing: -0.08em;
            flex: 0 0 auto;
        }

        .main_delivery_meta {
            min-height: 0;
            margin-top: 0;
            margin-bottom: 0;
            padding-top: 0;
        }

        .delivery_row,
        .point_row,
        .member_row,
        .arrival_row {
            margin-top: 3px;
            margin-bottom: 0;
            gap: 3px;
        }

        .delivery_row {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: flex-start;
        }

        .delivery_badge {
            max-width: none;
            min-height: 18px;
            padding: 0;
            gap: 3px;
            background: transparent;
            color: #0d72de;
            font-size: 10px;
            font-weight: 800;
            flex: 0 0 auto;
        }

        .delivery_badge_text,
        .delivery_type,
        .point_text,
        .member_text,
        .member_sub_text,
        .arrival_text {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: keep-all;
        }

        .delivery_type,
        .point_text {
            display: inline-flex;
            max-width: 100%;
        }

        .delivery_badge,
        .delivery_type,
        .point_text,
        .bp-item-badges span {
            min-height: 18px;
            padding: 0;
            font-size: 10px;
        }

        .member_apply_text,
        .point_text,
        .member_text,
        .member_sub_text,
        .arrival_text,
        .delivery_badge,
        .delivery_type,
        .bp-item-badges span {
            font-size: 10px;
        }

        .member_sub_text {
            margin-top: 0;
            line-height: 1.15;
            letter-spacing: -0.25px;
        }

        .member_text,
        .arrival_text {
            font-size: 13px;
            line-height: 1.15;
            letter-spacing: -0.2px;
        }

        .delivery_badge {
            min-height: 18px;
            padding: 0;
        }

        .delivery_badge_text {
            font-size: 11.5px;
            font-weight: 900;
            line-height: 1;
            overflow: visible;
            text-overflow: clip;
            white-space: nowrap;
            flex: 0 0 auto;
        }

        .delivery_badge_icon {
            transform: scale(1.05);
            transform-origin: center;
        }

        .delivery_type,
        .point_text {
            font-size: 12.5px;
        }

        .point_row,
        .member_row,
        .arrival_row {
            margin-top: 2px;
        }

        .arrival_row--bottom {
            min-height: 18px;
        }

        .bp-item-price--fresh .member_apply_text {
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            word-break: keep-all;
            display: inline;
        }

        .bp-point-benefit {
            min-height: 34px;
            padding: 5px 6px;
            gap: 4px;
        }

        .bp-point-benefit strong {
            font-size: 11.5px;
        }

        .arrival_row--bottom {
            min-height: 14px;
        }

        .bp-item-badges {
            gap: 3px;
            padding-top: 4px;
            min-height: 20px;
        }

        .bp-item-badges--normal-top {
            margin-top: 4px;
            padding-top: 0;
            min-height: 0;
        }

        .bp-reward-benefit {
            display: none !important;
            margin-top: 0;
            padding: 0;
            border-radius: 0
        }

        .bp-item--reward .bp-item-body {
            min-height: 0;
            height: auto;
            display: flex;
            flex-direction: column;
        }

        .bp-item--reward .bp-item-name {
            min-height: 17px;
            max-height: 17px;
            margin-bottom: 2px;
            overflow: hidden;
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .bp-item--reward .bp-item-subprice.is-empty {
            display: none;
            visibility: visible;
        }

        .bp-item--reward .bp-item-subprice {
            min-height: 0;
            height: auto;
            margin: 0;
        }

        .bp-item--reward .bp-item-price {
            min-height: 17px;
            margin-top: 0;
            margin-bottom: 2px;
        }

        .bp-item--reward .main_delivery_meta {
            flex: 0 0 auto;
            min-height: 0;
        }

        .bp-item--reward .delivery_row {
            min-height: 18px;
            margin-top: 2px;
        }

        .bp-item--reward .bp-reward-benefit {
            display: none !important;
            min-height: 0;
            margin-top: 0;
            padding: 0;
            overflow: hidden;
        }

        .bp-item--reward .bp-item-badges--reward {
            min-height: 0;
            margin-top: 6px;
            padding-top: 0;
        }

        .bp-item--reward .bp-item-review {
            min-height: 13px;
            margin-top: 2px;
        }

        .bp-item--reward .bp-reward-benefit-top {
            display: block;
            margin-bottom: 4px;
            font-size: 9.5px;
            line-height: 1.25;
        }

        .bp-item--reward .bp-reward-benefit-top span,
        .bp-item--reward .bp-reward-benefit-top strong {
            display: block;
            white-space: normal;
            word-break: keep-all;
        }

        .bp-item--reward .bp-reward-benefit-top strong {
            margin-top: 2px;
            font-size: 9.5px;
        }

        .bp-item--reward .bp-reward-line {
            align-items: flex-start;
            gap: 4px;
            margin-top: 3px;
            font-size: 9.5px;
            line-height: 1.25;
        }

        .bp-item--reward .bp-reward-line span {
            flex: 1 1 auto;
            min-width: 0;
            white-space: normal;
            word-break: keep-all;
        }

        .bp-item--reward .bp-reward-line strong {
            flex: 0 0 auto;
            font-size: 12px;
            line-height: 1.15;
            white-space: nowrap;
        }

        .bp-item--reward .bp-reward-line--final {
            margin-top: 5px;
            padding-top: 5px;
        }

        .bp-item--reward .bp-reward-line--final strong {
            font-size: 13px;
        }

        .bp-reward-benefit-top {
            display: block;
            font-size: 10px;
            line-height: 1.3;
            margin-bottom: 5px;
        }

        .bp-reward-benefit-top strong {
            display: block;
            margin-top: 2px;
        }

        .bp-reward-line {
            font-size: 10px;
            margin-top: 3px;
        }

        .bp-reward-line strong {
            font-size: 12px;
        }

        .bp-reward-line--final {
            margin-top: 5px;
            padding-top: 5px;
        }

        .bp-reward-line--final strong {
            font-size: 13px;
        }

        .bp-reward-lock-guide {
            display: none !important;
            margin-top: 0;
            padding: 0;
            font-size: 0;
        }

        .bp-item-review {
            margin-top: 2px;
            gap: 5px;
            min-height: 13px;
        }

        .bp-item-review-stars {
            font-size: 10.5px;
            letter-spacing: .3px;
            line-height: 1;
        }

        .bp-item-review-count {
            font-size: 10px;
            line-height: 1;
        }

        /* 모바일에서 판다 계열은 하단 badges 숨김 */
        .bp-item--panda:not(.bp-item--reward) .bp-item-badges {
            display: none;
        }

        .bp-item--reward .bp-item-badges--reward {
            display: flex;
        }

        .bp-view-switch {
            display: none !important;
        }

        .bp-floating-switch {
            display: block;
            left: 6px;
            bottom: 77px;
        }

        .bp-floating-switch-inner {
            gap: 6px;
        }

        .bp-floating-tab {
            width: 52px;
            height: 52px;
        }

        .bp-floating-tab img {
            width: 24px;
            height: 24px;
        }

        .bp-floating-tab-label {
            left: 58px;
            min-height: 24px;
            padding: 0 8px;
            font-size: 10px;
            line-height: 24px;
        }
    }

    @media (max-width: 380px) {
        .bp-main-categories {
            padding-left: 6px;
            padding-right: 6px;
        }

        .bp-main-category-item {
            min-height: 74px;
            padding-left: 1px;
            padding-right: 1px;
        }

        .bp-main-category-thumb {
            width: 34px;
            height: 34px;
            margin-bottom: 5px;
        }

        .bp-main-category-thumb img {
            width: 29px;
            height: 29px;
        }

        .bp-main-category-label {
            font-size: 11px;
            line-height: 1.22;
            min-height: 22px;
        }

        .bp-main-category-item--wide {
            min-height: 62px;
            padding: 7px 6px;
            gap: 6px;
        }

        .bp-main-category-item--wide .bp-main-category-thumb {
            width: 38px;
            height: 38px;
        }

        .bp-main-category-item--wide .bp-main-category-thumb img {
            width: 34px;
            height: 34px;
        }

        .bp-main-category-item--wide .bp-main-category-label {
            font-size: 11px;
        }

        .bp-login-cta-title {
            font-size: 19px;
            line-height: 1.24;
        }

        .bp-login-cta-btn {
            min-height: 54px;
            font-size: 18px;
        }

        .bp-login-cta-btn span {
            font-size: 22px;
        }
    }

    /* ------------------------------------------------------------
   메인 상품카드 모바일 하단 정보 유동형 보정
   - px 고정 확대 제거
   - 넓은 카드에서는 크게, 좁은 카드에서는 내용이 들어가도록 자동 압축
   - 판다배송은 말줄임 금지
   - 너무 좁으면 내일도착만 자연스럽게 다음 줄 허용
------------------------------------------------------------ */
    @media (max-width: 767px) {
        .bp-item .bp-item-body {
            padding-top: 0 !important;
            padding-left: 0.38rem !important;
            padding-right: 0.38rem !important;
            padding-bottom: 0.42rem !important;
            padding-left: clamp(0.34rem, 2.1cqw, 0.58rem) !important;
            padding-right: clamp(0.34rem, 2.1cqw, 0.58rem) !important;
            padding-bottom: clamp(0.38rem, 2.2cqw, 0.64rem) !important;
        }

        .bp-item .bp-item-price {
            min-height: 1.22rem !important;
            margin-bottom: 0.16rem !important;
            min-height: clamp(1.15rem, 6.4cqw, 1.42rem) !important;
            margin-bottom: clamp(0.12rem, 1.1cqw, 0.25rem) !important;
        }

        .bp-item .bp-item-price .price {
            font-size: 1.08rem !important;
            font-size: clamp(1.02rem, 7.4vw, 1.16rem) !important;
            line-height: 1.05 !important;
            font-weight: 800 !important;
            letter-spacing: -0.055em !important;
        }

        .bp-item .bp-soop-price-row,
        .bp-item .bp-reward-price-row {
            max-width: 100% !important;
            min-height: 1.24rem !important;
            margin: 0.12rem 0 0.2rem !important;
            padding: 0.18rem 0.32rem !important;
            gap: 0.24rem !important;
            border-radius: 999px !important;
            min-height: clamp(1.16rem, 7.2cqw, 1.48rem) !important;
            margin: clamp(0.1rem, 1.1cqw, 0.22rem) 0 clamp(0.14rem, 1.2cqw, 0.26rem) !important;
            padding: clamp(0.14rem, 1.1cqw, 0.24rem) clamp(0.26rem, 1.8cqw, 0.42rem) !important;
            gap: clamp(0.16rem, 1.2cqw, 0.34rem) !important;
        }

        .bp-item .bp-soop-price-label,
        .bp-item .bp-reward-price-label {
            flex: 0 0 auto !important;
            height: 0.98rem !important;
            padding: 0 0.32rem !important;
            font-size: 0.58rem !important;
            height: clamp(0.9rem, 5.3cqw, 1.12rem) !important;
            padding: 0 clamp(0.24rem, 1.6cqw, 0.4rem) !important;
            font-size: clamp(0.54rem, 3.5cqw, 0.66rem) !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.06em !important;
        }

        .bp-item .bp-soop-price-value,
        .bp-item .bp-reward-price-value {
            flex: 0 0 auto !important;
            font-size: 0.84rem !important;
            font-size: clamp(0.78rem, 5.2cqw, 0.92rem) !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.06em !important;
        }

        .bp-item .bp-soop-price-desc,
        .bp-item .bp-reward-price-desc {
            min-width: 0 !important;
            font-size: 0.58rem !important;
            font-size: clamp(0.52rem, 3.25cqw, 0.64rem) !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.075em !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .bp-item .delivery_row {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            justify-content: flex-start !important;
            max-width: 100% !important;
            min-width: 0 !important;
            overflow: hidden !important;
            gap: 0.14rem !important;
            margin-top: 0.16rem !important;
            gap: clamp(0.1rem, 0.9cqw, 0.2rem) !important;
            margin-top: clamp(0.12rem, 1cqw, 0.22rem) !important;
        }

        .bp-item .delivery_badge {
            display: inline-flex !important;
            align-items: center !important;
            flex: 0 0 auto !important;
            width: auto !important;
            max-width: none !important;
            min-width: 0 !important;
            padding: 0 !important;
            background: transparent !important;
            color: #0d72de !important;
            white-space: nowrap !important;
            overflow: visible !important;
            min-height: 1.28rem !important;
            gap: 0.13rem !important;
            min-height: clamp(1.16rem, 7.2cqw, 1.5rem) !important;
            gap: clamp(0.08rem, 0.8cqw, 0.16rem) !important;
        }

        .bp-item .delivery_badge_icon {
            width: 1.28rem !important;
            height: 1.28rem !important;
            flex: 0 0 1.28rem !important;
            width: clamp(1.16rem, 7.2cqw, 1.5rem) !important;
            height: clamp(1.16rem, 7.2cqw, 1.5rem) !important;
            flex-basis: clamp(1.16rem, 7.2cqw, 1.5rem) !important;
            background-size: contain !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
        }

        .bp-item .delivery_badge_text {
            display: inline-block !important;
            flex: 0 0 auto !important;
            width: auto !important;
            max-width: none !important;
            min-width: auto !important;
            font-size: 0.78rem !important;
            font-size: clamp(0.72rem, 5.2cqw, 0.92rem) !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.085em !important;
            white-space: nowrap !important;
            overflow: visible !important;
            text-overflow: clip !important;
            word-break: keep-all !important;
        }

        .bp-item .delivery_arrival_badge {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 auto !important;
            min-width: 0 !important;
            width: auto !important;
            max-width: none !important;
            height: 1.08rem !important;
            min-height: 1.08rem !important;
            padding: 0 0.3rem !important;
            gap: 0.08rem !important;
            font-size: 0.58rem !important;
            height: clamp(0.98rem, 5.8cqw, 1.2rem) !important;
            min-height: clamp(0.98rem, 5.8cqw, 1.2rem) !important;
            padding: 0 clamp(0.22rem, 1.25cqw, 0.34rem) !important;
            gap: clamp(0.05rem, 0.55cqw, 0.1rem) !important;
            font-size: clamp(0.52rem, 3.15cqw, 0.64rem) !important;
            border-radius: 999px !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.08em !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: clip !important;
        }

        .bp-item .delivery_arrival_badge img {
            width: 0.58rem !important;
            height: 0.58rem !important;
            flex: 0 0 0.58rem !important;
            width: clamp(0.5rem, 3.1cqw, 0.66rem) !important;
            height: clamp(0.5rem, 3.1cqw, 0.66rem) !important;
            flex-basis: clamp(0.5rem, 3.1cqw, 0.66rem) !important;
        }

        .bp-item .bp-item-review {
            min-height: 1rem !important;
            margin-top: 0.18rem !important;
            gap: 0.18rem !important;
            min-height: clamp(0.92rem, 5.2cqw, 1.14rem) !important;
            margin-top: clamp(0.14rem, 1.1cqw, 0.26rem) !important;
            gap: clamp(0.14rem, 1cqw, 0.24rem) !important;
        }

        .bp-item .bp-item-review-stars {
            font-size: 0.8rem !important;
            font-size: clamp(0.72rem, 4.5cqw, 0.86rem) !important;
            line-height: 1 !important;
            letter-spacing: 0 !important;
        }

        .bp-item .bp-item-review-count {
            font-size: 0.68rem !important;
            font-size: clamp(0.62rem, 3.8cqw, 0.74rem) !important;
            line-height: 1 !important;
            font-weight: 800 !important;
        }
    }

    /* ------------------------------------------------------------
   메인 상품카드 모바일 배송 라벨 최종 재보정
   - 이전 clamp 값이 너무 작아서 실제 기기에서 글자가 안 보임
   - 판다배송 / 내일도착 한 줄 유지
   - 내일도착 라벨은 길게 늘어나지 않고 내용 크기만 사용
------------------------------------------------------------ */
    @media (max-width: 767px) {
        .bp-item .delivery_row {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 0.22rem !important;
            margin-top: 0.2rem !important;
            min-width: 0 !important;
            max-width: 100% !important;
            overflow: visible !important;
        }

        .bp-item .delivery_badge {
            display: inline-flex !important;
            align-items: center !important;
            flex: 0 0 auto !important;
            width: auto !important;
            min-width: 0 !important;
            max-width: none !important;
            min-height: 1.55rem !important;
            padding: 0 !important;
            gap: 0.18rem !important;
            background: transparent !important;
            color: #15918f !important;
            white-space: nowrap !important;
            overflow: visible !important;
        }

        .bp-item .delivery_badge_icon {
            width: 1.55rem !important;
            height: 1.55rem !important;
            flex: 0 0 1.55rem !important;
            background-size: contain !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
        }

        .bp-item .delivery_badge_text {
            display: inline-block !important;
            flex: 0 0 auto !important;
            width: auto !important;
            min-width: auto !important;
            max-width: none !important;
            font-size: 0.92rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.08em !important;
            white-space: nowrap !important;
            overflow: visible !important;
            text-overflow: clip !important;
            word-break: keep-all !important;
        }

        .bp-item .delivery_arrival_badge {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 0 0 auto !important;
            width: auto !important;
            min-width: 0 !important;
            max-width: none !important;
            height: 1.28rem !important;
            min-height: 1.28rem !important;
            padding: 0 0.42rem !important;
            gap: 0.12rem !important;
            border-radius: 999px !important;
            color: #fff !important;
            font-size: 0.68rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.07em !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: clip !important;
        }

        .bp-item .delivery_arrival_badge img {
            width: 0.72rem !important;
            height: 0.72rem !important;
            flex: 0 0 0.72rem !important;
            object-fit: contain !important;
            display: block !important;
        }
    }

    /* 아주 좁은 카드에서만 살짝 압축 */
    @media (max-width: 380px) {
        .bp-item .delivery_row {
            gap: 0.14rem !important;
        }

        .bp-item .delivery_badge {
            min-height: 1.42rem !important;
            gap: 0.12rem !important;
        }

        .bp-item .delivery_badge_icon {
            width: 1.42rem !important;
            height: 1.42rem !important;
            flex-basis: 1.42rem !important;
        }

        .bp-item .delivery_badge_text {
            font-size: 0.82rem !important;
            letter-spacing: -0.09em !important;
        }

        .bp-item .delivery_arrival_badge {
            height: 1.16rem !important;
            min-height: 1.16rem !important;
            padding: 0 0.3rem !important;
            font-size: 0.58rem !important;
        }

        .bp-item .delivery_arrival_badge img {
            width: 0.62rem !important;
            height: 0.62rem !important;
            flex-basis: 0.62rem !important;
        }
    }

    /* ------------------------------------------------------------
   메인 상품카드 모바일 하단 가독성 재보정
   - 숲회원/리워드몰/판다배송/내일도착 글자가 너무 작게 보이는 문제 보정
   - 한 줄 유지하되, 이전보다 읽히는 크기로 확대
------------------------------------------------------------ */
    @media (max-width: 767px) {

        .bp-item .bp-soop-price-row,
        .bp-item .bp-reward-price-row {
            min-height: 1.48rem !important;
            margin: 0.14rem 0 0.22rem !important;
            padding: 0.18rem 0.24rem !important;
            gap: 10px !important;
            border-radius: 999px !important;
        }

        .bp-item .bp-soop-price-label,
        .bp-item .bp-reward-price-label {
            height: 1.06rem !important;
            padding: 0 0.3rem !important;
            font-size: 0.68rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.06em !important;
        }

        .bp-item .bp-soop-price-value,
        .bp-item .bp-reward-price-value {
            font-size: 0.98rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.07em !important;
        }

        .bp-item .bp-soop-price-desc {
            flex: 0 0 auto !important;
            min-width: auto !important;
            font-size: 0.66rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.075em !important;
            white-space: nowrap !important;
            overflow: visible !important;
            text-overflow: clip !important;
        }

        .bp-item .bp-soop-point-desc {
            flex: 1 1 auto !important;
            min-width: 0 !important;
            font-size: 0.62rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.085em !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .bp-item .bp-reward-price-desc {
            flex: 1 1 auto !important;
            min-width: 0 !important;
            font-size: 0.66rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.085em !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .bp-item .delivery_row {
            gap: 0.2rem !important;
            margin-top: 0.18rem !important;
            flex-wrap: nowrap !important;
            align-items: center !important;
            overflow: visible !important;
        }

        .bp-item .delivery_badge {
            min-height: 1.52rem !important;
            gap: 0.14rem !important;
            flex: 0 0 auto !important;
            max-width: none !important;
            overflow: visible !important;
        }

        .bp-item .delivery_badge_icon {
            width: 1.52rem !important;
            height: 1.52rem !important;
            flex: 0 0 1.52rem !important;
        }

        .bp-item .delivery_badge_text {
            font-size: 0.94rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.085em !important;
            white-space: nowrap !important;
            overflow: visible !important;
            text-overflow: clip !important;
        }

        .bp-item .delivery_arrival_badge {
            height: 1.3rem !important;
            min-height: 1.3rem !important;
            padding: 0 0.36rem !important;
            gap: 0.1rem !important;
            border-radius: 999px !important;
            font-size: 0.7rem !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            letter-spacing: -0.07em !important;
            flex: 0 0 auto !important;
            width: auto !important;
            max-width: none !important;
            white-space: nowrap !important;
        }

        .bp-item .delivery_arrival_badge img {
            width: 0.72rem !important;
            height: 0.72rem !important;
            flex: 0 0 0.72rem !important;
        }
    }

    @media (max-width: 380px) {

        .bp-item .bp-soop-price-row,
        .bp-item .bp-reward-price-row {
            padding-left: 0.22rem !important;
            padding-right: 0.22rem !important;
            gap: 0.08rem !important;
        }

        .bp-item .bp-soop-price-label,
        .bp-item .bp-reward-price-label {
            font-size: 0.6rem !important;
            padding: 0 0.24rem !important;
        }

        .bp-item .bp-soop-price-value,
        .bp-item .bp-reward-price-value {
            font-size: 0.88rem !important;
        }

        .bp-item .bp-soop-price-desc {
            font-size: 0.56rem !important;
        }

        .bp-item .bp-soop-point-desc,
        .bp-item .bp-reward-price-desc {
            font-size: 0.52rem !important;
            letter-spacing: -0.095em !important;
        }

        .bp-item .delivery_row {
            gap: 0.12rem !important;
        }

        .bp-item .delivery_badge {
            min-height: 1.38rem !important;
            gap: 0.1rem !important;
        }

        .bp-item .delivery_badge_icon {
            width: 1.38rem !important;
            height: 1.38rem !important;
            flex-basis: 1.38rem !important;
        }

        .bp-item .delivery_badge_text {
            font-size: 0.82rem !important;
            letter-spacing: -0.095em !important;
        }

        .bp-item .delivery_arrival_badge {
            height: 1.14rem !important;
            min-height: 1.14rem !important;
            padding: 0 0.26rem !important;
            font-size: 0.58rem !important;
        }

        .bp-item .delivery_arrival_badge img {
            width: 0.6rem !important;
            height: 0.6rem !important;
            flex-basis: 0.6rem !important;
        }
    }

    /*
     * [상품카드 최종 보정]
     * 기존 CSS 중복 선언보다 우선 적용되도록 마지막 style 블록 끝에 둔다.
     * - 포인트 배지 글자 확대
     * - 새벽도착/내일도착 배지 색상 구분
     */
    .bp-item .delivery_row {
        gap: 3px !important;
    }

    .bp-item .delivery_badge {
        margin-right: 0 !important;
    }

    .bp-item .delivery_arrival_badge {
        margin-left: 0 !important;
    }

    .bp-item .bp-price-point-badge {
        height: 20px !important;
        min-height: 20px !important;
        padding: 0 8px !important;
        padding-top: 1px !important;
        border-radius: 6px !important;
        background: #8b5cf6 !important;
        color: #fff !important;
        font-size: 10px !important;
        line-height: 19px !important;
        font-weight: 900 !important;
        letter-spacing: -0.07em !important;
        white-space: nowrap !important;
        flex: 0 0 auto !important;
    }

    .bp-item .delivery_row.delivery_row--fresh .delivery_arrival_badge {
        background: #ec4899 !important;
    }

    .bp-item .delivery_row:not(.delivery_row--fresh) .delivery_arrival_badge {
        background: #1d7fe8 !important;
    }

    @media (max-width: 767px) {
        .bp-item .delivery_row {
            gap: 0.12rem !important;
        }

        .bp-item .delivery_badge {
            margin-right: 0 !important;
        }

        .bp-item .delivery_arrival_badge {
            margin-left: 0 !important;
        }

        .bp-item .bp-price-point-badge {
            height: 17px !important;
            min-height: 17px !important;
            padding: 0 6px !important;
            padding-top: 1px !important;
            border-radius: 5px !important;
            font-size: 8px !important;
            line-height: 16px !important;
            font-weight: 900 !important;
            letter-spacing: -0.08em !important;
        }

        .bp-item .delivery_row.delivery_row--fresh .delivery_arrival_badge {
            background: #ec4899 !important;
        }

        .bp-item .delivery_row:not(.delivery_row--fresh) .delivery_arrival_badge {
            background: #1d7fe8 !important;
        }
    }

    @media (max-width: 380px) {
        .bp-item .bp-price-point-badge {
            height: 16px !important;
            min-height: 16px !important;
            padding: 0 5px !important;
            padding-top: 1px !important;
            font-size: 7.4px !important;
            line-height: 15px !important;
        }
    }
