.container-shop-main {
    margin-left: calc(var(--bs-gutter-x)* -.5);
    margin-right: calc(var(--bs-gutter-x)* -.5);
    /* padding-top: 1.7rem !important; */
    background: #f5f5f5;
}

.items-wrap {
    padding-left: 15px;
    padding-right: 15px;
}

.items-wrap-mafeto {
    margin-top: -20px;
    margin-bottom: -20px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, #eed8c8, #f5f5f5);
}

.items-wrap-gel {
    margin-top: -20px;
    margin-bottom: -20px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, #f5f5f5, #dceec8);
}

.items-wrap-brand {
    margin-top: -20px;
    margin-bottom: -20px;
    padding-top: 20px;
    /* background: #f5f5f5; */
    color: #000;
}

.items-wrap-grey {
    padding: 10px;
    background: #f5f5f5;
}

.item-imagetype1-cloud {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #ffffff;
    background-color: #f76403;
    padding: 3px 5px 3px 5px;
    border-radius: .1rem;
    font-family: 'Freesentation-6SemiBold';
    font-size: 12px;
}

.item-imagetype2-cloud {
    position: absolute;
    top: 10px;
    left: 51px;
    color: #ffffff;
    background-color: #525252;
    padding: 3px 5px 3px 5px;
    border-radius: .1rem;
    font-family: 'Freesentation-6SemiBold';
    font-size: 12px;
}

.item-soldout-cloud {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #ffffff;
    background-color: #000000;
    padding: 3px 5px 3px 5px;
    border-radius: .1rem;
    font-family: 'Freesentation-6SemiBold';
    font-size: 12px;
}

/* 만약 PICK 배지가 없을 경우, NEW 배지를 기본적으로 좌측 상단 배치 */
.thumbnail-d-block:not(:has(.item-imagetype1-cloud)) .item-imagetype2-cloud {
    left: 10px;
    /* PICK이 없을 경우 원래 자리 */
}


.item-brand-cloud {
    color: #1e1e1e;
    background-color: #e9e9e9;
    padding: 4px 7px 4px 7px;
    border-radius: .5rem;
    font-family: 'Freesentation-6SemiBold';
    font-size: 10px;
}

.item-title {
    font-size: 14px;
    line-height: 1.2rem;
}

.item-title-box {
    padding-top: .5rem !important;
    padding-left: .6rem;
    padding-right: .6rem;
}

.item-subtitle {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2rem;
}

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

.item-price-box {
    padding-top: .15rem !important;
    padding-left: .6rem;
    padding-right: .6rem;
    padding-bottom: .9rem;
}

.inner-wrap {
    background: white;
}

.text-trunc {
    overflow: hidden;
    text-overflow: ellipsis;
}

.list10-wrap {
    font-family: 'notosanskr', 'Apple SD Gothic Neo';
}

.main-curation-title {
    line-height: 1.5rem;
    font-family: 'Freesentation-5Medium';
    font-size: 1.2rem !important;
    margin-bottom: 1.0rem !important;
}

.main-002-title {
    font-family: 'notosanskr', 'Apple SD Gothic Neo';
    margin-top: .25rem !important;
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1rem;
}

.main-002-basic {
    font-family: 'notosanskr', 'Apple SD Gothic Neo';
    margin-top: .15rem !important;
    margin-bottom: .1rem;
    font-size: .75rem;
    font-weight: 300;
    line-height: 1rem;
}

.main-002-price-wrap {
    padding-left: .5rem;
    padding-right: .5rem;
    padding-bottom: .6rem;
}

.item-price-002 {
    font-size: .75rem;
    font-weight: 600;
    color: black;
    line-height: 1rem;
}

.dc-member {
    font-size: .5rem;
    font-weight: 700;
    color: red;
}

.dc-member-lg {
    font-weight: 700;
    color: red;
}

.dc-price-percent-002 {
    font-weight: 700;
    color: red;
}

.star-img {
    margin-top: 1px;
}

.sit-score-cnt {
    color: #a1a1a1;
    font-weight: 400;
    font-size: .7rem;
    line-height: 0.95rem;
}

.pg_wrap .pg .pg_current,
.pg_wrap .pg .pg_page {
    padding: .5rem;
    font-size: 12px;
    padding: .5rem 1rem;
    background-color: #f5f5f5;
    border-radius: 22px;
    margin-right: .25rem;
}

.pg_wrap .pg .pg_current {
    color: #fff;
    background-color: #000000;
}

.review-count-text {
    height: 18px;
    line-height: 20px;
    vertical-align: middle;
    font-size: 13px;
}

.detail-coupon-desc {
    font-size: 13px;
    background: #f5f5f5;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
}

.detail-expect-point {
    font-size: 13px;
    border-radius: 5px;
    border: 1px solid #eaeaea;
}

.detail-recommend {
    background: #f5f5f5;
    margin-right: calc(var(--bs-gutter-x)* -0.5);
    margin-left: calc(var(--bs-gutter-x)* -0.5);
    padding-top: 35px;
    padding-bottom: 10px;
}

#tab-goods-info {
    margin-right: calc(var(--bs-gutter-x)* -0.5);
    margin-left: calc(var(--bs-gutter-x)* -0.5);
}

.item-total-score {
    display: grid;
    grid-auto-flow: column;
    justify-content: start;
}

.item-detail-subtitle {
    font-size: 19px;
    font-weight: 500;
    font-family: 'Noto Sans KR' !important;
}

.item-detail-use-totalstar {
    width: 21px;
    margin-top: 3px;
    margin-left: 4px;
}

#list-brand-title {
    line-height: 1.6rem;
    font-family: 'Freesentation-4Regular';
    font-size: 1.3rem !important;
    margin-bottom: 0px !important;
}

.shop-head-category {
    display: flex !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
    margin-top: 4px;
}

.dc-price-icon {
    margin-left: 3px;
    vertical-align: text-top;
}

.horizontal-scroll-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    margin-top: -7px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.brand-wrapper {
    background-color: #f5f5f5;
    padding-left: 15px;
    padding-right: 15px;
}

.brand-inner-wrapper {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.brand-bg-white {
    background: white;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.brand-title-sub {
    font-size: 12px;
    color: #979797;
}

.brand-grid {
    width: 75px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 3px;
    background: white;
}

.brand-description {
    font-size: 13px;
    padding-bottom: 22px;
}

.brand-items-title {
    line-height: 1.6rem;
    font-family: 'Freesentation-4Regular';
    font-size: 1.3rem !important;
    margin-bottom: -1px !important;
    background-color: #ebebeb;
    padding-left: 15px;
    padding-right: 15px;
}

.brand-title-wrapper {
    flex-direction: column;
    /* align-items: center; */
    display: flex;
    margin-bottom: 5px;
}

/* 카드 폭은 auto, 실제 이미지 75px */
#brandGlider .brand-grid {
    width: auto !important;
    min-width: unset !important;
    flex: 0 0 auto;
    display: inline-block;
    margin-right: 15px;
    /* 카드 간격 */
}

#brandGlider .brand-grid:last-child {
    margin-right: 0;
    /* 마지막 카드 간격 제거 */
}

#brandGlider .brand-grid img {
    width: 60px !important;
    height: auto;
}

/* 스크롤바 숨기기 */
#brandGlider {
    scrollbar-width: none;
    /* Firefox */
}

#brandGlider::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.brand-title-info-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-align: center;
    line-height: 1;
    padding-top: 5px;
    padding-bottom: 13px;
}

.brand-nation-img {
    height: 13px;
    object-fit: contain;
    display: block;
}

.brand-logo-img {
    max-width: 110px;
    max-height: 25px;
    /* 선택 옵션 */
    object-fit: contain;
    height: auto;
}

#sit_inf_explan img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* 더보기 버튼 기본 */
.btn-more {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .55rem;
    /* 작고 단정하게 */
    font-size: 11px;
    line-height: 1.2;
    border: 1px solid #d7d7d7;
    border-radius: 999px;
    /* 알약 모양 */
    background: #fff;
    color: #444;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
    margin-left: .5rem;
    /* 아이콘/텍스트와 살짝 간격 */
}

/* 호버/포커스/활성 */
.btn-more:hover {
    background: #f6f6f6;
    border-color: #cfcfcf;
}

.btn-more:active {
    background: #efefef;
    border-color: #c5c5c5;
}

.btn-more:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(50, 115, 220, .25);
    border-color: #3273dc;
}

/* 비활성화 상태가 필요할 때 */
.btn-more:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* 줄 간격/간격 보정 (리뷰 행 내에서 버튼 높이 맞추기) */
.list-group-horizontal .btn-more {
    align-self: flex-start;
    margin-top: .25rem;
}

/* 아이콘 옆 텍스트 간격(이미 사용중인 요소들 보정) */
.review-content-icon {
    width: 18px;
    height: 18px !important;
    margin-right: .5rem;
    vertical-align: text-bottom;
}

/* 긴 텍스트가 줄바꿈되면서 버튼 밀리지 않도록 컨테이너 보정 */
.flex.list-group-horizontal>div {
    min-width: 0;
    /* 긴 단어 줄바꿈 허용 */
}

.adv-short,
.dis-short,
.adv-full,
.dis-full {
    word-break: break-word;
    /* 과도한 단어도 안전하게 줄바꿈 */
}

.hm-coupon-home-label {
    display: inline-flex;
    gap: 4px;
    font-size: 9px;
    color: black;
}

.hm-coupon-home-label .bi {
    font-size: 9px;
    color: #ff6400;
}

.alert-soldout {
    color: white;
    font-size: 13px;
    background: black;
    border-radius: 5px;
}

.banner-snow-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

/* 눈 내리는 효과 시작 */
.banner-snow-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(#ffffff 1.5px, transparent 1.5px),
        radial-gradient(#ffffff 1.2px, transparent 1.2px),
        radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 120px 120px, 180px 180px, 240px 240px;
    background-position: 0 0, 60px -30px, -40px 20px;
    animation: banner-snow-fall 18s linear infinite;
    opacity: 0.9;
    z-index: 9991; /* 배너 안의 어떤 요소보다도 위 */
}

@keyframes banner-snow-fall {
    0% {
        background-position:
            0 0,
            60px -30px,
            -40px 20px;
    }

    100% {
        background-position:
            0 400px,
            60px 370px,
            -40px 420px;
    }
}
/* 눈 내리는 효과 끝 */