
/* 작품 더 보러가기 */
/* brand */
.mobile-wrap {
    width: 100%;
    max-width: 390px;
    min-height: 100vh;
    margin: 0 auto;
    background: #ffff99;
    position: relative;
    overflow: hidden;
}
/* artist */
.mobile-wrap-artist {background: #aee6ff; width: 390px;}
.mobile-wrap-fb {background: #BEFFAE; width: 390px;}

/* 상단 */
.top-header {
    height: 190px;
    border-bottom: 1px solid #333;
    position: relative;
    text-align: center;
}

.top-logo {
    height: 50px;
    border-bottom: 1px solid #333;
    font-size: 11px;
    font-weight: bold;
    padding-top: 15px;
}

.top-header h1 {
    font-size: 25px;
    margin-top: 18px;
    font-weight: 800;
}

.floating-badge {
    position: absolute;
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 50%;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.floating-badge::before {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    background: #ed654d;
    border-radius: 50%;
    z-index: -1;
}
/* desc */
/* .description {border-bottom: 1px solid #000;} */
.bt-line {width: 90%; height: 1px; background: #000;}
.desc-wrap {width: 100%;}
.desc-wrap img {width: 100%; height: 322px; object-fit: cover;}
.desc-wrap .desc {
    padding: 20px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}
.desc-wrap .desc-sns {margin-top: 20px;}
.desc-wrap .desc-sns a {
    display: inline-block;
    width: fit-content;
    height: 23px;
    background: #000;
    text-align: center;
    text-decoration: none;
    padding: 2px 5px;
    margin: 0 3px;

}
.desc-wrap .brand-sns a {color: #ffff99;}
.desc-wrap .artist-sns a {color: #aee6ff;}
.desc-wrap .fb-sns a {color: #BEFFAE;}

/* 브랜드 */
.brand-section {
    padding: 18px 20px 0;
}

.brand-section h2 {
    font-size: 11px;
    margin-bottom: 20px;
}
.brand-section h2 span:last-child {
    background: #000;
    border-radius: 100px;
    padding: 3px 7px;
    margin-left: 3px;
}
.brand-section h2 .brand_no {color: #ffff99;}
.brand-section h2 .art_no {color: #aee6ff;}
.brand-section h2 .fb_no {color: #BEFFAE;}

.brand-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.brand-tabs a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    width: 74px;
    height: 40px;
    border: 1px solid #333;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
    color: #000;
    font-weight: 700;
    text-align: center;
    padding: 12px;
}
.brand-tabs a::before {
    content: ""; 
    position: absolute; 
    top: -1px; 
    left: 50%; 
    width: 18px; 
    height: 8px;
    transform: translateX(-50%); 
    border-radius: 0 0 22px 22px;
    border: 1px solid #000;
    border-top: 0;
}
.brand-tab a::before {
        background: #ffff99; 
}
.artist-tab a::before {
        background: #aee6ff; 
}
.fb-tab a::before {
        background: #BEFFAE; 
}


.brand-tabs .active {
    background: #2453df;
    position: relative;
    /* display: inline-block; */
  }  
  .brand-tabs button::before {
    content: ""; 
    position: absolute;
    top: 0;
    left: 50%;
    width: 11px;
    height: 5px;
    transform: translateX(-50%); 
    /* background: #ffff99;*/
    background: inherit;
    border-radius: 0 0 22px 22px;
}

/* 상품 그리드 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 12px;
    padding: 40px 20px 0;
}
.product-grid a {
    text-decoration: none;
    color: #000;
}
.product {width: 100%; text-align: center; margin-top: 32px;}
.product img {width: 200px; margin-bottom: 20px;}
.product p {font-size: 14px; line-height: 1.5; font-weight: 900;}

.product-item {
    display: inline-block;
    text-align: center;
}
.product-item p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -1%;
    line-height: 1.45;
}
.items {
    text-align: left;
    width: 100%;
}

.product-img {
    width: 100%;
    background: #fff;
    border: 1px solid #888;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 170px;
    height: 148px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.product-item p {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    white-space: nowrap;
}
/* 한개짜리 */
.product-one {width: 100%; text-align: center;}
.one-product-item {margin: 20px auto;}
.one-product-item img {width: 300px; height: 300px; object-fit: fill;}
.one-product-item p {margin-top: 5px; font-weight: 700;}

/* 하단 */
.bt-btn {
    text-align: center;
    font-weight: 900;
}
.bt-btn p {
    font-size: 14px;
    margin: 40px 0 20px;
}
.bt-btn-tab a {
    width: 75px;
    height: 50px;
    padding-top: 18px;
    font-weight: 600;
}

.page-footer {
    margin-top: 100px;
    padding: 20px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        #fff
    );
    min-height: 100px;
}

.page-footer strong {
    font-size: 11px;
}

.page-footer p {
    font-size: 8px;
    margin-top: 5px;
}
.page-footer img {
    width: 103px;
}

/* Shared brand, artist and F&B reading progress. */
/* Clip horizontal overflow without creating a scroll container that blocks sticky. */
.scroll-wrap {
    overflow: clip;
}
.scroll-wrap .scroll-progress-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: inherit;
}

/* Unsupported browsers retain the original black divider. */
@supports (animation-timeline: scroll(root block)) {
    .scroll-wrap .scroll-progress-header {
        border-bottom-color: rgba(0, 0, 0, 0.2);
    }

    .scroll-wrap .scroll-progress-header::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 100%;
        height: 3px;
        background: #000;
        pointer-events: none;
        transform: scaleX(0);
        transform-origin: left center;
        animation: page-reading-progress auto linear both;
        animation-timeline: scroll(root block);
        animation-range: 0% 100%;
    }
}

@keyframes page-reading-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
