.recent_buy_product_gn24,
.offline_category_gn24,
.recommend_event_list_gn24,
.offline_product_list_gn24 {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /*padding: 20px;*/
    padding: 20px 0;
}

.offline_product_list_gn24 {
    background: var(--gs-gray-100);
    padding: 20px 0;
}

.online_under_product_list,
.online_upper_product_list {
    position: relative;
    display: flex;
    flex-direction: column;
}

.online_under_product_list > .online_section,
.online_upper_product_list > .online_section {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
}

.online_under_product_list > .online_section.background,
.online_upper_product_list > .online_section.background {
    padding: 40px 0;
}

/*.online_under_product_list.last > .online_section {
    padding: 20px 0 28px !important;
}
.online_under_product_list.last::after {
    content:'';
    display: block;
    width: 100%;
    height: 8px;
    background: #F5F5F5;
    position:absolute;
    bottom: 0;
    left: 0;
}*/

.section_header_wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.section_header_wrapper.background {
    padding-bottom: 48px;
}

.section_header_gn24 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
    flex-shrink: 0;
}

.section_header_gn24 > div {
    display: flex;
    align-items: center;
}

.section_header_gn24 .title em {
    display: inline-block;
    background: #FCF254;
    border-radius: 80px;
    padding:2px 7px;
    line-height: 100%;
}

.offline_product_list_gn24 > .list_container {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    width: calc(100vw);
    padding: 0 20px;
}

.offline_product_list_gn24 > .list_container::-webkit-scrollbar { display: none; }

.product_list_grid_gn24 {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(auto-fill, 140px);
    grid-auto-flow: column;
    column-gap: 10px;
    row-gap: 16px;
}

.product_list_grid_gn24 > .product_detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

.product_list_grid_gn24 > .product_detail > .image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--gs-gray-200);
    border-radius: 12px;
}

.product_list_grid_gn24 > .product_detail > .image > img {
    object-fit: contain;
}

.product_list_grid_gn24 > .product_detail > .image > .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--smt-apricot-600);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product_list_grid_gn24 > .product_detail > .product_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product_list_grid_gn24 > .product_detail > .product_info > div {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product_list_grid_gn24 > .product_detail > .product_info > .price {
    display: flex;
    flex-direction: column;
}

.product_list_grid_gn24 > .product_detail > .product_info > .price > .discount_price {
    text-decoration: line-through;
}

.product_list_grid_gn24 > .product_detail > .product_info > .price > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product_list_grid_gn24 > .product_detail > .product_info > .price > div > span {
    margin-right: 4px;
}

.product_list_grid_gn24 > .product_detail > .product_info > .price > div > div {
    display: flex;
}

/* 추천 이벤트 행사 */
.recommend_event_grid_gn24 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    width: 100vw;
    padding: 0 20px;
}

.recommend_event_grid_gn24 span:first-child {
    width: 200px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.recommend_event_grid_gn24::-webkit-scrollbar { display: none; }
.recommend_event_grid_gn24 > li  {
    width: 251px;
}

.recommend_event_grid_gn24 > li > a > .event_image {
    min-width: 251px;
    min-height: 120px;
    display: block;
}

.recommend_event_grid_gn24 > li > a > .recommend_event_info_gn24 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* offline category */
.offline_category_gn24 > .header {
    width: 220px;
}

.offline_category_gn24 > .category {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#super_category_gn24 > ul {
    display: flex;
    align-items: center;
    padding: 0 20px;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    box-shadow: 0 -1px 0 0 inset var(--gs-gray-200);
    /*border-bottom: 1px solid var(--gs-gray-200);*/
}
#super_category_gn24 > ul::-webkit-scrollbar { display: none; }

#super_category_gn24 > ul > li {
    padding: 8px 16px;

    font-family: AppleSDGothicNeo;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    color: var(--gs-gray-600);
}

#super_category_gn24 > ul > .select {
    font-weight: 700;
    color: var(--bw-black);
    border-bottom: 2px solid #000;
}

#sub_category_gn24 > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    padding: 0 20px;
}
#sub_category_gn24 > ul::-webkit-scrollbar { display: none; }

#sub_category_gn24 > ul > li {
    display: flex;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;

    font-family: AppleSDGothicNeo;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
    color: var(--gs-gray-900);

    border-radius: 80px;
    border: 1px solid var(--gs-gray-300);
    background-color: var(--bw-white);
}

#sub_category_gn24 > ul > .select {
    border: 1px solid var(--gs-gray-900);
    background-color: var(--gs-gray-900);
    font-weight: 700;
    color: var(--bw-white);
}

.offline_category_gn24 > .product {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.offline_category_gn24 > .product > button {
    border: 1px solid var(--gs-gray-500);
    border-radius: 6px;
    width: calc(100vw - 40px);
    height: 42px;
    margin: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;

    /* 공통에 적용 안되는 요소 */
    color: var(--gs-gray-900);
    text-align: center;
    font-family: AppleSDGothicNeo;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
}

#category_product_list_gn24 {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(auto-fill, 1fr);
    grid-auto-flow: column;
    gap: 10px;
    padding: 0 20px;
    width: 100vw;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
#category_product_list_gn24::-webkit-scrollbar { display: none; }


#category_product_list_gn24 > .product_detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

#category_product_list_gn24 > .product_detail > .image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    background-color: #fff;
    border: 1px solid var(--gs-gray-200);
}

#category_product_list_gn24 > .product_detail > .image > .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--smt-apricot-600);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#category_product_list_gn24 > .product_detail > .product_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#category_product_list_gn24 > .product_detail > .product_info > span {
    word-break: break-all;
}

#category_product_list_gn24 > .product_detail > .product_info > .price {
    display: flex;
    flex-direction: column;
}

#category_product_list_gn24 > .product_detail > .product_info > .price > .discount_price {
    text-decoration: line-through;
}

#category_product_list_gn24 > .product_detail > .product_info > .price > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#category_product_list_gn24 > .product_detail > .product_info > .price > div > span {
    margin-right: 4px;
}

#category_product_list_gn24 > .product_detail > .product_info > .price > div > div {
    display: flex;
}

/* 최근 구매한 상품 */
.recent_buy_product_gn24 > .product_list {
    display: grid;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(auto-fill, 1fr);
    grid-auto-flow: column;
    gap: 10px;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    width: 100vw;
    padding: 0 20px;
}
.recent_buy_product_gn24 > .product_list::-webkit-scrollbar { display: none; }

.recent_buy_product_gn24 > .product_list > .product_detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .image {
    position: relative;
    width: 120px;
    height: 120px;
    border: 1px solid var(--gs-gray-200);
}

.recent_buy_product_gn24 > .product_list > .product_detail > .image > .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    /*width: 32px;*/
    /*height: 32px;*/
    /*border-radius: 50%;*/
    /*background-color: var(--smt-apricot-600);*/
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .image > .bottom {
    position: absolute;
    bottom: -1px;
    right: -1px;

    width: 32px;
    height: 32px;
    background-color: var(--bw-white);
    border: 1px solid var(--gs-gray-200);
    border-radius: 6px 0px 0px 0px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info > span {
    word-break: break-all;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info > .price {
    display: flex;
    flex-direction: column;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info > .price > .discount_price {
    text-decoration: line-through;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info > .price > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info > .price > div > div {
    display: flex;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info > .price > div > span {
    margin-right: 4px;
}

.recent_buy_product_gn24 > .product_list > .product_detail > .product_info > button {
    width: fit-content;
    padding: 2px 6px;
    border: 1px solid var(--smt-red-50, #F43636);
}

/* 리스트 2단 3단 wrapper */
.flatten_product_list_container {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    padding: 0 20px;
}

.flatten_product_list_container::-webkit-scrollbar { display: none; }

.flatten_product_list_container > .background_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: -1;
}

.flatten_product_list_container > .background_image > img {
    width: 100%;
    height: 100%;
}

/* 리스트 2단 */
/* 2025-03-17 [개선] 메인 개편 건 :: 스타일 수정 [S] */
.product_list_two_level {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(auto-fill, 140px);
    grid-auto-flow: column;
    column-gap: 10px;
    row-gap: 16px;
}

.product_list_two_level > .product_detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

.product_list_two_level > .product_detail > .image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--gs-gray-200);
    border-radius: 12px;
}
/* 2025-03-17 [개선] 메인 개편 건 :: 스타일 수정 [E] */

.product_list_two_level > .product_detail > .image > img {
    height: 100%;
    object-fit: contain;
}

.product_list_two_level > .product_detail > .image > .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--smt-apricot-600);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product_list_two_level > div > .image > .bottom {
    position: absolute;
    bottom: -1px;
    right: -1px;

    width: 32px;
    height: 32px;
    background-color: var(--bw-white);
    border: 1px solid var(--gs-gray-200);
    border-radius: 6px 0px 0px 0px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product_list_two_level > .product_detail > .product_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product_list_two_level > .product_detail > .product_info > div {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product_list_two_level > .product_detail > .product_info > .price {
    display: flex;
    flex-direction: column;
}

.product_list_two_level > .product_detail > .product_info > .price > .discount_price {
    text-decoration: line-through;
}

.product_list_two_level > .product_detail > .product_info > .price > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product_list_two_level > .product_detail > .product_info > .price > div > span {
    margin-right: 4px;
}

.product_list_two_level > .product_detail > .product_info > .price > div > div {
    display: flex;
}

/* 리스트 3단 (product_list_grid) => 리스트 3단 */
.product_list_three_level {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(auto-fill, 1fr);
    grid-auto-flow: column;
    column-gap: 24px;
    row-gap: 10px;
}

.product_list_three_level > div {
    width:100%;
    min-width: 285px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product_list_three_level > div .image {
    position: relative;
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    background-color: #fff;
    border: 1px solid var(--gs-gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.product_list_three_level > div > .image > .bottom {
    position: absolute;
    bottom: -1px;
    right: -1px;

    width: 32px;
    height: 32px;
    background-color: var(--bw-white);
    border: 1px solid var(--gs-gray-200);
    border-radius: 6px 0px 0px 0px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product_list_three_level > div > .product_info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    word-break: break-all;
    padding-top: 9px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product_list_three_level > div > .product_info > div:first-child {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product_list_three_level > div > .product_info > .discount_price {
    text-decoration: line-through;
}

.product_list_three_level > div > .product_info > .price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product_list_three_level > div > .product_info > .price > span {
    margin-right: 4px;
}

.product_list_three_level > div > .product_info > .price > div {
    display: flex;
}

.product_list_three_level > div > .product_info > button {
    width: fit-content;
    border: 1px solid var(--smt-blue-600, #5175F4);
    padding: 2px 6px;
}

/* 카테고리형 */

.online_product_category {
    /*width: 100%;*/
    display: flex;
    align-items: center;
    padding: 0 20px;
    /*border-bottom: 1px solid var(--gs-gray-200, #EEE);*/
    box-shadow: 0 -1px 0 0 inset var(--gs-gray-200);

    /* 두줄 방지 */
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* 두줄 방지 */
.online_product_category::-webkit-scrollbar { display: none; }

.online_product_category > span {
    padding: 8px 16px;
    white-space: nowrap;

    /* Body 1 */
    font-family: AppleSDGothicNeo;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */

}

.online_product_category > span.active {
    border-bottom: 2px solid var(--bw-black, #000);
    font-weight: 700;
}

.online_product_list {
    padding: 16px 20px 0 20px;
    overflow: auto;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.online_product_list::-webkit-scrollbar { display: none; }

.product_list_category {
    display: none;
}

.product_list_category.active {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-auto-flow: column;
    column-gap: 12px;
    row-gap: 20px;
}

.product_list_category > .product_detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc((100vw - 52px) / 2);
}

.product_list_category > .product_detail > .image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*min-width: 154px;*/
    /*min-height: 154px;*/
    width: calc((100vw - 52px) / 2);
    height: calc((100vw - 52px) / 2);
    overflow: hidden;
    background-color: #fff;
    border: 1px solid var(--gs-gray-200);
    border-radius: 12px;
}

.product_list_category > .product_detail > .image > img {
    object-fit: contain;
}

.product_list_category > .product_detail > .image > .badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--smt-apricot-600);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product_list_category > div > .image > .bottom {
    position: absolute;
    bottom: -1px;
    right: -1px;

    width: 32px;
    height: 32px;
    background-color: var(--bw-white);
    border: 1px solid var(--gs-gray-200);
    border-radius: 6px 0px 0px 0px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.product_list_category > .product_detail > .product_info {
    display: flex;
    flex-direction: column;
}

.product_list_category > .product_detail > .product_info > div,
.product_list_category > .product_detail > .product_info > span {
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product_list_category > .product_detail > .product_info > span:first-child {
    margin-bottom: 4px;
}

.product_list_category > .product_detail > .product_info > .price {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}

.product_list_category > .product_detail > .product_info > .discount_price {
    text-decoration: line-through;
}

.product_list_category > .product_detail > .product_info > .price > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product_list_category > .product_detail > .product_info > .price > div > span {
    margin-right: 4px;
}

.product_list_category > .product_detail > .product_info > .price > div > div {
    display: flex;
}

.category_product_list_body > .total_product_button {
    width: calc(100vw - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px 20px 0 20px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--gs-gray-500, #9A9A9A);
    background: var(--bw-white, #FFF);
    color: var(--gs-gray-900);

    /* Body 3 */
    font-family: NanumSquareRound;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 142.857% */
}

/* 데이터 로딩 중 리스트 레이아웃 */
.list_product_gn24.loading_layout ul {
    display: flex;
    justify-content: flex-start;
}
.list_product_gn24.loading_layout .item_product .item .img_area {
    max-width: 120px;
    max-height: 120px;
    background: #F5F5F5;
    border: none;
}
.list_product_gn24.loading_layout .item_product .item .info_area::before, .list_product.loading_layout .item_product .item .info_area::after {
    content: "";
    display: block;
    height: 18px;
    background: #F5F5F5;
}
.list_product_gn24.loading_layout .item_product .item .info_area::after {
    width: 70%;
    margin-top: 8px;
}

.loading_layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(auto-fill, 120px);
    grid-auto-flow: column;
    column-gap: 10px;
    row-gap: 16px;
}

.loading_layout > .product_detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.loading_layout > .product_detail > .image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    overflow: hidden;
    background: #F5F5F5;
}



.loading_layout > .product_detail > .product_info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.loading_layout > .product_detail > .product_info > .badge {
    display: flex;
    width: 56px;
    height: 20px;
    background: #F5F5F5;

    flex-direction: column;
}

.loading_layout > .product_detail > .product_info > .caption_1_gn24 {
    display: flex;
    height: 16px;
    width: 120px;
    background: #F5F5F5;
    flex-direction: column;
}

.loading_layout > .product_detail > .product_info > .price {
    display: flex;
    height: 32px;
    width: 120px;
    background: #F5F5F5;
    flex-direction: column;
    background: #F5F5F5;
}
