/* layout-! v_202508 */
/** by. yuha **/

@charset "utf-8";
@import "reset.css";
@import "common.css";
@import url("https://fastly.jsdelivr.net/npm/boxicons@2.1.4/css/boxicons.min.css");

@font-face {
    font-family: 'YESMyoungjo-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_13@1.0/YESMyoungjo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* common
=======================================================================================
======================================================================================= */
.wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.wrap_small {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px 160px;
}
.wrap_full {
    width: 100%;
    margin: 0 auto;
    padding: 60px 30px 60px;
}

/* 상품 리스트 -------------------------------------------------------------------------- */
.store_item {
    width: calc(50% - 8px);
    min-width: auto;
    cursor: pointer;
}
.store_item > a:has(.store_item_img){
    position: relative;
}
.store_item_img {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    margin-bottom: 16px;
}
.store_item_img_cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--grey100);
}
.store_item_img_cover img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50%;
    margin-left: -50%;
    transition: transform .5s cubic-bezier(.165, .84, .44, 1);
}
.store_item_img_cover:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
}
.store_item_mention{
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: url(../../web/img/UI/icon_mention_w.svg) center no-repeat var(--grey800);
    background-size: 16px;
    border-radius: 100%;
    width: 28px;
    height: 28px;
    max-width: 7vw;
    max-height: 7vw;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0.65;
}
.store_item_mention.on{
    background: url(../../web/img/UI/icon_mention_g.svg) center no-repeat #e4f6e9;
    background-size: 16px;
    opacity: 1;
}
.store_item_brand{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    font-size: 0.95em;
    margin-bottom: 4px;
}
.store_item_brand:after{
    content: "\ea50";
    font-family: boxicons !important;
}
.store_item_name {
    width: 100%;
    font-size: 0.89em;
    word-break: keep-all;
    line-height: 1.3;
    letter-spacing: -0.2px;
    font-weight: 300;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--grey500);
}
.store_item_price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 10px;
    gap: 4px;
}
.store_item_price .sale {
    font-size: 1.05em;
    color: var(--main600);
    font-weight: 600;
}
.store_item_price .price {
    font-weight: 500;
    white-space: nowrap;
    font-size: 1.05em;
    display: flex;
    flex-flow: column;
    align-items: center;
}
.store_item_price .OG {
    display: none;
    font-size: 0.85em;
    text-decoration: line-through;
    color: var(--grey300);
    width: 100%;
}
.store_item_badge {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.store_item_badge span {
    color: var(--grey400);
    font-size: 0.75em;
    line-height: 120%;
    font-weight: 500;
    vertical-align: baseline;
    padding: 4px 5px;
    background-color: #5d5d5d14;
    border-radius: 3px;
    min-width: 16px;
}
.store_item_badge span.pick{
    background: #e4f6e9;
    color: #4c876b;
}
.best .store_item_img:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey800);
    color: #fff;
    font-size: 0.9em;
    z-index: 99;
}
.best .store_item:nth-child(1) .store_item_img:before {
    content: "1";
}
.best .store_item:nth-child(2) .store_item_img:before {
    content: "2";
}
.best .store_item:nth-child(3) .store_item_img:before {
    content: "3";
}
.best .store_item:nth-child(4) .store_item_img:before {
    content: "4";
}
.best .store_item:nth-child(5) .store_item_img:before {
    content: "5";
}
.best .store_item:nth-child(6) .store_item_img:before {
    content: "6";
}
.best .store_item:nth-child(7) .store_item_img:before {
    content: "7";
}
.best .store_item:nth-child(8) .store_item_img:before {
    content: "8";
}
.best .store_item:nth-child(9) .store_item_img:before {
    content: "9";
}
.best .store_item:nth-child(10) .store_item_img:before {
    content: "10";
}

/* 상품 정렬 --------------------------------------------------------------------------- */
.store_sort{
    display: flex;
}
.store_sort select {
    width: fit-content;
    height: fit-content;
    border: none;
    text-align: right;
    padding: 0 6px;
    font-size: 0.85em;
    color: var(--grey600);
}

.store_sort::after {
    content: "\ec1b";
    font-family: "boxicons";
    font-size: 14px;
    color: var(--grey500);
}

/* 상품 리스트 -------------------------------------------------------------------------- */
.store_list {
    padding-bottom: 40px;
}
.store_list > ul {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    font-weight: 300;
    justify-content: flex-start;
    padding: 0 16px;
    gap: 16px;
    row-gap: 30px;
    margin-top: 20px;
}
.store_list li {
    width: calc(50% - 8px);
    min-width: auto;
    cursor: pointer;
    position: relative;
}

/* 상품 슬라이드 -------------------------------------------------------------------------- */
.slide_list > ul{
    display: flex;
}
.slide_list .swiper-slide{
    background: #fff;
    width: 45%;
    min-width: 130px;
}



/* 애니메이션 멘션 버튼 -------------------------------------------------------------------- */
.btn_mention{
    box-sizing:border-box;
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-width:0;
    gap:0;
    padding:10px 16px;
    height: 36px;
    border-radius:999px;
    background:#fff;
    color:#111;
    cursor:pointer;
    transition:
            inline-size .48s ease,
            padding .48s ease,
            border-radius .48s ease,
            background-color .48s ease,
            border-color .48s ease,
            color .38s ease,
            box-shadow .38s ease;
    will-change:inline-size;
    border: 1px solid var(--grey200);
}
.btn_mention .label-wrap{
    display:inline-flex;
    align-items:center;
    overflow:hidden;
    max-width:520px;
    transition:max-width .48s ease, opacity .34s ease, transform .34s ease;
}
.btn_mention .label{
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn_mention b{
    font-weight: 400;
}
.btn_mention .at{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 500;
    line-height:1;
    pointer-events:none;
    opacity:0;
    transform:scale(.85);
    transition:opacity .32s ease .1s, transform .32s ease .1s;
}
.btn_mention.is-compact{
    inline-size: 100px !important;
    padding:0;
    gap:0;
    border-color: var(--grey100);
}
.btn_mention.on.is-compact{
    background:#111;
    color:#fff;
    border: none;
}
.btn_mention:not(.on).is-compact{
    background:#fff;
    color:#111;
}
.btn_mention.is-compact .label-wrap{
    max-width:0;
    opacity:0;
    transform:translateX(-6px) scale(.98);
}
.btn_mention.is-compact .at{
    opacity:1;
    transform:scale(1);
}


/* layout
=======================================================================================
======================================================================================= */


/*brand detail ------------------------------------------------------------------------ */
.brand_title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 16px 0;
}
.brand_title h5{
    font-weight: 500;
    font-size: 1.2em;
}
.brand_detail_thumbnail{
    position: relative;
    width: 100%;
    padding-bottom: 95%;
    background-size: cover !important;
    background-position: center !important;
}
.brand_detail_thumbnail::before {
    position: absolute;
    content: "";
    top: 30px;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(255, 255, 255, 0) 12.99%, rgba(255, 255, 255, 0) 39.1%, rgba(255, 255, 255, 0.2) 56.45%, rgba(255, 255, 255, 0.8) 73.86%, rgb(255, 255, 255) 91.3%, rgb(255, 255, 255) 100%);
    transition: all 0.3s;
}
.brand_detail_info{
    display: flex;
    flex-flow: column;
    gap: 16px;
    padding: 0 16px 25px;
    margin-top: -70px;
    border-bottom: 10px solid var(--grey50);
}
.brand_detail_info .name{
    display: flex;
    flex-flow: column;
    gap: 8px;
}
.brand_detail_info .name_category{
    display: flex;
    gap: 4px;
}
.brand_detail_info .name_category span{
    color: #fff;
    font-size: 0.9em;
    padding: 4px 8px;
    background-color: var(--grey800);
}
.brand_detail_info .name_kor{
    font-size: 1.7em;
    font-weight: 500;
}
.brand_detail_info .name_eng{
    color: var(--grey400);
    font-size: 0.9em;
}
.brand_detail_txt{
    line-height: 1.4;
    color: var(--grey700);
    word-break: keep-all;
    margin-top: 6px;
}
.brand_detail_info .coupon {
    display: flex;
    align-items: normal;
    justify-content: space-between;
    background: #fff;
    position: relative;
}
.brand_detail_info .coupon_left{
    width: calc(100% - 50px);
    border-radius: 4px 6px 6px 4px;
    border: 1px solid var(--grey100);
    border-right: 0;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand_detail_info .coupon_left_discount {
    display: block;
    font-size: 0.95em;
    color: var(--main800);
}
.brand_detail_info .coupon_left_badge {
    font-size: 0.8em;
    font-weight: 500;
    padding: 4px 7px;
    background: #e4f6e9;
    color: #4c876b;
    border-radius: 3px;
}
.brand_detail_info .coupon_right {
    border: 1px solid var(--grey100);
    border-left: 1px dashed var(--grey100);
    border-radius: 6px 4px 4px 6px;
    text-align: center;
    width: 50px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 12px;
}
.brand_detail_info .coupon_right svg {
    width: 12px;
    max-width: 2.8vw;
}
.brand_best{
    padding: 10px 0 30px;
    border-bottom: 1px solid var(--grey50);
}
.brand_best .slide_list{
    padding: 20px 16px;
}




