@charset "utf-8";

#container {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* content 상단 이미지(_h)는 배너 배경으로 쓰고 기본 출력은 숨긴다. */
#ctt_himg {
    display: none;
}

#ctt.jc-goods {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

#ctt.jc-goods .jc-goods-contents {
    width: 100%;
    padding: 120px;
    background: #ffffff;
}

#ctt.jc-goods .jc-goods-contents-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

/* Figma 106:2888: 필터 컨테이너 — flex col, gap 12px */
#ctt.jc-goods .jc-goods-filter {
    width: 244px;
    flex: 0 0 244px;
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    overflow: visible;
}

/* Figma 106:2889: 필터 헤드 — 필터 / 초기화 가로 배치 */
#ctt.jc-goods .jc-goods-filter-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 30px;
    width: 100%;
    min-height: 28px;
    flex: none;
    align-self: stretch;
}

#ctt.jc-goods .jc-goods-filter-title {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
    color: #000000;
}

#ctt.jc-goods .jc-goods-reset {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    align-items: center;
    color: #000000;
    cursor: pointer;
}

#ctt.jc-goods .jc-goods-filter-body {
    width: 100%;
}

#ctt.jc-goods .jc-goods-filter-actions {
    display: none;
}

/* Figma 855:3866 — Checkbox Chips Group 한 개, width 120px */
#ctt.jc-goods .jc-goods-filter-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 120px;
    flex: none;
    flex-shrink: 0;
    align-self: flex-start;
}

#ctt.jc-goods .jc-goods-filter-label {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    color: #000000;
}

/* Figma: 리스트 gap 8px, width 120px */
#ctt.jc-goods .jc-goods-filter-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    width: 120px;
    min-width: 120px;
}

/* Figma 853:3684: Checkbox and Label — gap 12px, min-width 120px */
#ctt.jc-goods .jc-check-chip-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 12px;
    min-width: 120px;
    min-height: 21px;
    cursor: pointer;
    box-sizing: border-box;
}

/* 칩 텍스트는 기존 jc-chip 스타일을 그대로 쓰되, 제작용 is-white 칩 추가 */
#ctt.jc-goods .jc-chip.is-white {
    background: #F9F9F9;
    border: 1px solid #EBEBEB;
    color: #000000;
}

#ctt.jc-goods .jc-goods-gallery-area {
    width: 956px;
    max-width: calc(100% - 292px);
    flex: 0 1 956px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 352px;
    min-width: 0;
}

/* search row + search bar - Frame 261 */
#ctt.jc-goods .jc-search-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

#ctt.jc-goods .jc-search-bar {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    width: 244px;
    height: 44px;
    background: #F9F9F9;
    border: 1px solid #EBEBEB;
    border-radius: 9999px;
    flex: none;
    order: 0;
    position: relative;
}

#ctt.jc-goods .jc-search-bar__icon {
    width: 32px;
    height: 32px;
    flex: none;
    background: url("../../img/search_black.svg") center / 32px 32px no-repeat;
}

#ctt.jc-goods .jc-search-bar__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: "Pretendard", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    color: #000;
    padding-right: 28px;
    /* 취소 버튼 영역 확보 */
    appearance: none;
    -webkit-appearance: none;
}

/* 브라우저 기본 search X 버튼 숨김 */
#ctt.jc-goods .jc-search-bar__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

#ctt.jc-goods .jc-search-bar__input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

#ctt.jc-goods .jc-search-bar__input:focus {
    outline: none;
}

/* 검색어 취소 버튼 (Bounding box + cancel) */
#ctt.jc-goods .jc-search-bar__cancel {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 0;
    padding: 0;
    border-radius: 50%;
    background-color: #000000;
    /* Bounding box */
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 0;
    display: none;
}

/* 안쪽 X 아이콘(cancel) */
#ctt.jc-goods .jc-search-bar__cancel::before,
#ctt.jc-goods .jc-search-bar__cancel::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.6px;
    background: #ffffff;
    border-radius: 999px;
    transform-origin: center;
}

#ctt.jc-goods .jc-search-bar__cancel::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#ctt.jc-goods .jc-search-bar__cancel::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#ctt.jc-goods .jc-search-bar__cancel.is-visible {
    display: block;
}

/* mobile filter toggle button (tune icon) */
#ctt.jc-goods .jc-filter-toggle {
    box-sizing: border-box;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid #EBEBEB;
    border-radius: 9999px;
    background: #FFFFFF;
    cursor: pointer;
    flex: 0 0 auto;
    flex-shrink: 0;
}

#ctt.jc-goods .jc-filter-toggle__icon {
    width: 32px;
    height: 32px;
    background: url(../../img/tune.svg) no-repeat center;
    background-size: 20px 20px;
}

#ctt.jc-goods .jc-goods-gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Figma PC: 1280px 이상에서 4열 221px 고정 */
@media (min-width: 1280px) {
    #ctt.jc-goods .jc-goods-gallery-grid {
        grid-template-columns: repeat(4, 221px);
    }
}

#ctt.jc-goods .jc-goods-card {
    min-width: 0;
}

#ctt.jc-goods .jc-goods-card.is-hidden {
    display: none;
}

#ctt.jc-goods .jc-goods-card-link {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: inherit;
}

#ctt.jc-goods .jc-goods-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 221 / 224;
    padding: 8px;
    display: flex;
    align-items: flex-start;
    background-color: #f7f7f7;
    background-image:
        linear-gradient(45deg, #e7e7e7 25%, transparent 25%),
        linear-gradient(-45deg, #e7e7e7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e7e7e7 75%),
        linear-gradient(-45deg, transparent 75%, #e7e7e7 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
    border-radius: 0;
    overflow: hidden;
}

#ctt.jc-goods .jc-goods-thumb.has-image {
    background-color: #f3f3f3;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: none;
}

#ctt.jc-goods .jc-goods-thumb-hover {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 220ms ease;
    pointer-events: none;
}

#ctt.jc-goods .jc-goods-card-link:hover .jc-goods-thumb-hover,
#ctt.jc-goods .jc-goods-card-link:focus-visible .jc-goods-thumb-hover {
    opacity: 1;
}

#ctt.jc-goods .jc-goods-thumb-chips {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

#ctt.jc-goods .jc-goods-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

#ctt.jc-goods .jc-goods-card-brand {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #000000;
}

#ctt.jc-goods .jc-goods-card-title {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
}

#ctt.jc-goods .jc-goods-card-price {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #3E3E3E;
}

#ctt.jc-goods .jc-goods-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* empty state - Frame 390: 검색결과가 없습니다 */
#ctt.jc-goods .jc-goods-empty-wrap {
    flex: 1;
    width: 100%;
    max-width: 100%;
    min-height: 284px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

#ctt.jc-goods .jc-goods-empty-wrap[hidden] {
    display: none !important;
}

#ctt.jc-goods .jc-goods-empty,
#ctt.jc-goods .jc-goods-empty-static {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #000000;
    flex: none;
}

#ctt.jc-goods .jc-goods-empty[hidden] {
    display: none !important;
}

/* PC: 데이터 유무와 무관하게 120px 여백 유지 */
#ctt.jc-goods .jc-goods-contents.is-empty-data {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

@media (min-width: 768px) and (max-width: 1439px) {
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-contents-inner {
        gap: 0 !important;
    }
}

#ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-gallery-area,
#ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-empty-wrap {
    min-height: 160px !important;
}

/* 빈 상태도 기본과 동일한 inner 폭/정렬 유지 */
#ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-filter {
    flex-basis: 244px;
}

#ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-gallery-area {
    flex-basis: 956px;
    max-width: calc(100% - 292px);
}

@media (max-width: 1279px) {
    #ctt.jc-goods .jc-goods-contents {
        padding: 104px 40px 128px;
    }

    #ctt.jc-goods .jc-goods-contents-inner {
        gap: 28px;
    }

    #ctt.jc-goods .jc-goods-filter {
        width: 220px;
        flex-basis: 220px;
    }

    #ctt.jc-goods .jc-goods-filter-head,
    #ctt.jc-goods .jc-goods-filter-group,
    #ctt.jc-goods .jc-goods-filter-label {
        width: 100%;
        max-width: 220px;
    }

    #ctt.jc-goods .jc-goods-gallery-area {
        max-width: calc(100% - 248px);
        min-height: 280px;
    }

    #ctt.jc-goods .jc-goods-empty-wrap {
        min-height: 220px;
    }

    #ctt.jc-goods .jc-goods-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1439px) {
    /* 빈 상태는 태블릿 구간에서만 Figma 기준 좌우 96px 유지 */
    #ctt.jc-goods .jc-goods-contents.is-empty-data {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

/* Figma Tablet: sidebar 150px, 갤러리 2열, 카드 썸 193×196px */
@media (max-width: 1024px) {
    #ctt.jc-goods .jc-goods-contents {
        padding: 80px;
    }

    #ctt.jc-goods .jc-goods-contents-inner {
        width: min(640px, 100%);
        margin: 0 auto;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0;
    }

    #ctt.jc-goods .jc-goods-filter {
        width: 150px;
        flex-basis: 150px;
    }

    #ctt.jc-goods .jc-goods-filter-head,
    #ctt.jc-goods .jc-goods-filter-group,
    #ctt.jc-goods .jc-goods-filter-label {
        width: 150px;
        max-width: 150px;
    }

    #ctt.jc-goods .jc-goods-gallery-area {
        width: 410px;
        flex: 0 0 410px;
        max-width: calc(100% - 150px);
        min-height: 280px;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-filter {
        width: 150px;
        flex-basis: 150px;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-gallery-area,
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-empty-wrap {
        width: 410px;
        flex: 0 0 410px;
        max-width: calc(100% - 150px);
    }

    #ctt.jc-goods .jc-goods-gallery-grid {
        width: 100%;
        grid-template-columns: repeat(2, 193px);
        gap: 24px;
    }

    #ctt.jc-goods .jc-goods-card {
        min-width: 0;
    }

    #ctt.jc-goods .jc-goods-thumb {
        width: 193px;
        height: 196px;
        aspect-ratio: auto;
    }
}

/* Figma Mobile: 세로 레이아웃, 검색+필터 한 줄, 2열 그리드 */
@media (max-width: 767px) {
    #ctt.jc-goods .jc-goods-contents {
        padding: 64px 20px 96px;
    }

    #ctt.jc-goods .jc-goods-contents-inner {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    #ctt.jc-goods .jc-goods-filter {
        width: 100%;
        flex-basis: auto;
        align-self: stretch;
    }

    #ctt.jc-goods .jc-goods-filter-head,
    #ctt.jc-goods .jc-goods-filter-group,
    #ctt.jc-goods .jc-goods-filter-label {
        width: 100%;
        max-width: none;
    }

    #ctt.jc-goods .jc-goods-filter-head {
        height: auto;
        min-height: 28px;
        flex-wrap: wrap;
        gap: 8px;
    }

    #ctt.jc-goods .jc-goods-filter-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    #ctt.jc-goods .jc-goods-gallery-area {
        width: 100%;
        max-width: 100%;
        min-height: 240px;
        flex: auto;
        align-self: stretch;
    }

    /* is-empty-data 전역 규칙의 max-width: calc(100%-292px) 덮어쓰기 */
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-gallery-area {
        max-width: 100%;
        flex-basis: auto;
    }

    #ctt.jc-goods .jc-search-row {
        width: 100%;
        min-width: 0;
    }

    #ctt.jc-goods .jc-search-bar {
        flex: 1 1 0;
        width: auto;
        max-width: none;
        min-width: 0;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-search-bar {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    #ctt.jc-goods .jc-filter-toggle {
        display: flex;
    }

    /* 모바일에서 필터는 토글로 열기/닫기 */
    #ctt.jc-goods .jc-goods-filter {
        display: none;
        width: 100%;
        max-width: 296px;
    }

    #ctt.jc-goods .jc-goods-filter.is-open {
        display: flex;
    }

    #ctt.jc-goods .jc-goods-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 24px;
    }

    #ctt.jc-goods .jc-goods-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 193 / 196;
    }
}

/* Figma Mobile: 패딩 32px, 카드 썸네일 유연 비율, 그리드 gap 24×12 */
@media (max-width: 640px) {
    #ctt.jc-goods .jc-goods-contents {
        padding: 96px var(--jc-mobile-side, clamp(20px, 8.89vw, 32px));
    }

    #ctt.jc-goods .jc-goods-contents-inner {
        width: 100%;
        max-width: var(--jc-mobile-content-width, 360px);
        margin: 0 auto;
        min-width: 0;
        gap: 24px;
    }

    #ctt.jc-goods .jc-goods-gallery-area,
    #ctt.jc-goods .jc-goods-gallery-grid,
    #ctt.jc-goods .jc-goods-card,
    #ctt.jc-goods .jc-goods-card-link,
    #ctt.jc-goods .jc-goods-card-body {
        min-width: 0;
        max-width: 100%;
    }

    #ctt.jc-goods .jc-goods-gallery-grid {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 24px;
        justify-content: center;
    }

    #ctt.jc-goods .jc-search-row {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        align-items: center;
        min-width: 0;
    }

    #ctt.jc-goods .jc-search-row > * {
        min-width: 0;
    }

    #ctt.jc-goods .jc-search-bar {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none;
    }

    #ctt.jc-goods .jc-search-bar__input {
        width: 100%;
    }

    #ctt.jc-goods .jc-goods-card {
        width: 100%;
        min-width: 0;
    }

    #ctt.jc-goods .jc-goods-card-link {
        gap: 16px;
    }

    #ctt.jc-goods .jc-goods-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 142 / 144;
    }

    #ctt.jc-goods .jc-goods-card-body {
        gap: 4px;
    }

    #ctt.jc-goods .jc-search-bar {
        height: 38px;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-search-bar {
        flex: 1 1 0 !important;
        width: auto !important;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data {
        padding-left: var(--jc-mobile-side, clamp(20px, 8.89vw, 32px)) !important;
        padding-right: var(--jc-mobile-side, clamp(20px, 8.89vw, 32px)) !important;
    }

    #ctt.jc-goods .jc-search-bar__input {
        font-size: 13px;
        line-height: 1.4;
    }

    #ctt.jc-goods .jc-filter-toggle {
        width: 38px;
        height: 38px;
        padding: 3px;
    }

    #ctt.jc-goods .jc-filter-toggle__icon {
        background-size: 16px 16px;
    }

    #ctt.jc-goods .jc-goods-card-brand {
        font-size: 12px;
        line-height: 1.4;
    }

    #ctt.jc-goods .jc-goods-card-title {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.3;
    }

    #ctt.jc-goods .jc-goods-card-price {
        font-size: 12px;
        line-height: 1.4;
    }

    #ctt.jc-goods .jc-goods-card-meta {
        display: none;
    }

    #ctt.jc-goods .jc-goods-filter-head {
        min-height: 24px;
    }

    #ctt.jc-goods .jc-goods-filter-title {
        font-size: 18px;
    }

    #ctt.jc-goods .jc-goods-reset {
        font-size: 14px;
        flex-shrink: 0;
    }

    #ctt.jc-goods .jc-goods-filter-label {
        height: auto;
        min-height: 22px;
    }

    /* bottom sheet filter */
    #ctt.jc-goods .jc-goods-filter {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 40px);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        background: #ffffff;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.16);
        z-index: 10000;
        overflow-y: hidden;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-filter {
        width: 100%;
        max-width: 100%;
        flex-basis: auto;
    }

    #ctt.jc-goods .jc-goods-filter-body {
        flex: 1;
        width: 100%;
        overflow-y: auto;
        padding-bottom: 40px;
        box-sizing: border-box;
    }

    #ctt.jc-goods .jc-goods-filter.is-open {
        display: flex;
    }

    /* top bar - Frame 398 */
    #ctt.jc-goods .jc-goods-filter-head {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 20px;
        gap: 8px;
        width: 100%;
        height: auto;
        min-height: 69px;
        background: #ffffff;
        border-bottom: 1px solid #EBEBEB;
        border-radius: 8px 8px 0 0;
        align-self: stretch;
        flex-grow: 0;
    }

    #ctt.jc-goods .jc-goods-filter-title {
        font-family: "Pretendard", sans-serif;
        font-size: 20px;
        line-height: 140%;
        color: #000000;
        margin: 0;
    }

    #ctt.jc-goods .jc-goods-reset--pc {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 31px;
        font-family: "Pretendard", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        color: #000000;
    }

    /* checkbox chips area */
    #ctt.jc-goods .jc-goods-filter-group {
        width: 100%;
        padding: 24px 24px 0;
        box-sizing: border-box;
    }

    #ctt.jc-goods .jc-goods-filter-group:last-of-type {
        padding-bottom: 16px;
    }

    #ctt.jc-goods .jc-goods-filter-label {
        width: 100%;
        max-width: none;
    }

    #ctt.jc-goods .jc-goods-filter-list {
        width: 100%;
        max-width: 312px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    #ctt.jc-goods .jc-check-chip-wrap {
        min-width: 120px;
        min-height: 21px;
    }

    #ctt.jc-goods .jc-goods-filter-actions {
        display: none;
    }

    #ctt.jc-goods .jc-goods-filter-actions .jc-btn-reset {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0px 18px;
        width: auto;
        min-width: 0;
        max-width: 320px;
        flex: 0 1 120px;
        height: 48px;
        background: #3E3E3E;
        border-radius: 8px;
        font-family: 'Pretendard', sans-serif;
        font-size: 16px;
        color: #FFFFFF;
        border: none;
        cursor: pointer;
    }

    #ctt.jc-goods .jc-goods-filter-actions .jc-btn-apply {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0px 18px;
        width: auto;
        min-width: 0;
        max-width: 320px;
        flex: 1 1 0;
        height: 48px;
        background: var(--jc-primary-dark);
        border-radius: 8px;
        font-family: 'Pretendard', sans-serif;
        font-size: 16px;
        color: #FFFFFF;
        border: none;
        cursor: pointer;
    }
}

/* gallery modal */
.jc-gallery-modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.jc-gallery-modal-overlay[hidden] {
    display: none !important;
}

.jc-gallery-modal {
    width: min(1046.33px, 100%);
    height: min(628px, calc(100vh - 48px));
    flex: none;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.jc-gallery-modal__left {
    position: relative;
    width: 60%;
    max-width: 628px;
    min-width: 0;
    height: 100%;
    background-color: #f7f7f7;
    border-radius: 6px 0 0 6px;
    display: flex;
    flex-direction: column;
}

.jc-gallery-modal__thumb-chips {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px;
    gap: 6px;
    flex-shrink: 0;
}

/* 이미지가 칩 영역 포함 왼쪽 전체에 보이도록 덮음 */
.jc-gallery-modal__image-wrap {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.jc-gallery-modal__image {
    width: 100%;
    height: 100%;
    min-height: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #f7f7f7;
}

/* 이미지 없을 때·로딩 실패 시에만 체커 보드 표시 */
.jc-gallery-modal__image:not(.has-image),
.jc-gallery-modal__image.jc-gallery-modal__image--load-failed {
    background-color: #f7f7f7;
    background-image:
        linear-gradient(45deg, #e7e7e7 25%, transparent 25%),
        linear-gradient(-45deg, #e7e7e7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e7e7e7 75%),
        linear-gradient(-45deg, transparent 75%, #e7e7e7 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}

.jc-gallery-modal__image.has-image {
    background-color: #f3f3f3;
}

.jc-gallery-modal__nav {
    position: absolute;
    z-index: 2;
    width: 32px;
    height: 32px;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 50%;
    background: #B4B4B4;
    color: #ffffff;
    cursor: pointer;
    flex: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.jc-gallery-modal__nav--next {
    left: auto;
    right: 24px;
}

/* 모달 이미지 개수/위치에 따라 버튼 자체를 숨김 */
.jc-gallery-modal__image-wrap--single .jc-gallery-modal__nav {
    display: none;
}

.jc-gallery-modal__image-wrap--first .jc-gallery-modal__nav--prev {
    display: none;
}

.jc-gallery-modal__image-wrap--last .jc-gallery-modal__nav--next {
    display: none;
}

.jc-gallery-modal__disclaimer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 12px 48px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0 0 0 6px;
    font-family: "Pretendard", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    color: #fff;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.jc-gallery-modal__disclaimer li,
.jc-gallery-modal__disclaimer-bottom li {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0.7em;
}

.jc-gallery-modal__disclaimer li::before,
.jc-gallery-modal__disclaimer-bottom li::before {
    content: "*";
    position: absolute;
    left: 0;
    top: 0;
}

.jc-gallery-modal__right {
    width: 40%;
    max-width: 418.67px;
    min-width: 0;
    height: 100%;
    background: #ffffff;
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
}

.jc-gallery-modal__contents {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 48px;
    gap: 24px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
}

.jc-gallery-modal__head {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    flex: none;
}

.jc-gallery-modal__close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.jc-gallery-modal__close::before,
.jc-gallery-modal__close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;
    height: 2px;
    background: #FFFFFF;
    transform: translate(-50%, -50%) rotate(45deg);
}

.jc-gallery-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.jc-gallery-modal__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-height: 0;
    width: 100%;
}

.jc-gallery-modal__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.jc-gallery-modal__brand {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-size: 16px;
    line-height: 140%;
    color: #000;
}

.jc-gallery-modal__title {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #000;
}

.jc-gallery-modal__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.jc-gallery-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.jc-gallery-modal__btn:focus-visible {
    outline: 2px solid rgba(255, 113, 63, 0.35);
    outline-offset: 2px;
}

.jc-gallery-modal__btn--primary.jc-btn {
    --jc-btn-min-width: auto;
    --jc-btn-icon-size: 16px;
}

.jc-gallery-modal__btn--icon {
    background: #3E3E3E;
    width: 32px;
    height: 32px;
    padding: 4px;
    justify-content: center;
    border-radius: 6px;
    overflow: hidden;
}

.jc-gallery-modal__btn--icon:hover,
.jc-gallery-modal__btn--icon:focus-visible {
    background-color: #272727;
}

.jc-gallery-modal__btn--icon:active {
    background-color: #252525;
}

.jc-gallery-modal__btn--icon i {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1;
}

.jc-gallery-modal__btn--pin {
    background: #3E3E3E url(../../img/common/modal-btn-pinterest.svg) no-repeat center;
    background-size: 10px 13px;
}

.jc-gallery-modal__btn--share {
    background: #3E3E3E url(../../img/common/modal-btn-share.svg) no-repeat center;
    background-size: 10px 15px;
}

.jc-gallery-modal__share-wrap {
    position: relative;
    display: inline-flex;
}

.jc-gallery-modal__share-menu {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.jc-gallery-modal__share-menu[hidden] {
    display: none;
}

.jc-gallery-modal__share-backdrop {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.48);
    cursor: pointer;
}

.jc-gallery-modal__share-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(360px, calc(100vw - 32px));
    min-height: 230px;
    padding: 26px 28px 32px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    box-sizing: border-box;
}

.jc-gallery-modal__share-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    margin-bottom: 22px;
}

.jc-gallery-modal__share-title {
    margin: 0;
    color: #030303;
    font-family: "Pretendard", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.jc-gallery-modal__share-close {
    position: absolute;
    top: -5px;
    right: -7px;
    flex: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.jc-gallery-modal__share-close::before,
.jc-gallery-modal__share-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: #30313a;
}

.jc-gallery-modal__share-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.jc-gallery-modal__share-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.jc-gallery-modal__share-close:hover,
.jc-gallery-modal__share-close:focus-visible {
    background: transparent;
    outline: none;
    opacity: 0.72;
}

.jc-gallery-modal__share-options {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.jc-gallery-modal__share-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 78px;
    min-height: 90px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #030303;
    font-family: "Pretendard", sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.jc-gallery-modal__share-option:hover,
.jc-gallery-modal__share-option:focus-visible {
    background: transparent;
    outline: none;
    opacity: 0.78;
}

.jc-gallery-modal__share-option::before {
    content: "";
    flex: none;
    width: 58px;
    height: 58px;
    border: 2px solid #dedfe5;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.jc-gallery-modal__share-option::after {
    content: "\f0c1";
    position: absolute;
    top: 15px;
    left: 50%;
    width: auto;
    height: auto;
    color: #202124;
    font-family: "FontAwesome";
    font-size: 27px;
    font-weight: normal;
    line-height: 1;
    transform: translateX(-50%);
}

.jc-gallery-modal__share-option:disabled {
    cursor: wait;
    opacity: 0.7;
}

.jc-gallery-modal__share-option--kakao {
    color: #030303;
}

.jc-gallery-modal__share-option--kakao:hover,
.jc-gallery-modal__share-option--kakao:focus-visible {
    background: transparent;
}

.jc-gallery-modal__share-option--kakao::before {
    border-color: #ffe200;
    background: #ffe200;
}

.jc-gallery-modal__share-option--kakao::after {
    content: "";
    top: 15px;
    width: 27px;
    height: 27px;
    background: #17140a;
    transform: translateX(-50%);
    -webkit-mask: url("../../img/common/icon-kakaotalk-bubble.svg") center / contain no-repeat;
    mask: url("../../img/common/icon-kakaotalk-bubble.svg") center / contain no-repeat;
}

.jc-gallery-modal__share-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10030;
    min-width: 220px;
    max-width: calc(100vw - 40px);
    padding: 13px 18px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    font-family: "Pretendard", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px));
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.jc-gallery-modal__share-toast[hidden] {
    display: none;
}

.jc-gallery-modal__share-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.jc-gallery-modal__share-toast.is-error {
    background: rgba(180, 35, 24, 0.94);
}

.jc-gallery-modal__divider {
    width: 100%;
    height: 0;
    border-top: 1px solid #ebebeb;
    flex: none;
}

.jc-gallery-modal__info,
.jc-gallery-modal__info-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.jc-gallery-modal__info-label {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #000;
}

.jc-gallery-modal__info-value {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #000;
}

.jc-gallery-modal__info-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.jc-gallery-modal__info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.jc-gallery-modal__info-key {
    font-family: "Pretendard", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
    color: #000;
    flex: none;
    min-width: 66px;
}

.jc-gallery-modal__info-val {
    font-family: "Pretendard", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #000;
}

@media (min-width: 1025px) {
    .jc-gallery-modal__body {
        gap: 16px;
    }

    .jc-gallery-modal__brand {
        font-size: 18px;
        line-height: 1.3;
    }

    .jc-gallery-modal__title {
        font-size: 34px;
        line-height: 1.4;
        letter-spacing: -0.3px;
    }

    .jc-gallery-modal__info-label {
        font-size: 18px;
        line-height: 1.3;
    }

    .jc-gallery-modal__info-value,
    .jc-gallery-modal__info-val {
        font-size: 13px;
        line-height: 1.4;
    }

    .jc-gallery-modal__info-key {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.4;
    }
}

/* PC default hidden elements */
.jc-gallery-modal__thumb-chips--mobile {
    display: none;
}

.jc-gallery-modal__close-mobile {
    display: none;
}

.jc-gallery-modal__disclaimer-overlay {
    display: none;
}

.jc-gallery-modal__disclaimer-bottom {
    display: none;
    list-style: none;
    margin: 0;
}

.jc-gallery-modal__disclaimer-line {
    display: inline;
}

/* tablet: PC 레이아웃 유지, 너비만 축소 */
@media (max-width: 768px) and (min-width: 641px) {
    .jc-gallery-modal-overlay {
        padding: 20px;
        align-items: center;
    }

    .jc-gallery-modal {
        width: min(877px, 100%);
        height: min(628px, calc(100vh - 40px));
    }

    .jc-gallery-modal__disclaimer {
        padding: 10px 24px;
        font-size: clamp(12px, 1.7vw, 13px);
        align-items: stretch;
        text-align: left;
    }
}

/* mobile */
@media (max-width: 640px) {
    .jc-gallery-modal-overlay {
        padding: 0;
        align-items: flex-end;
        justify-content: center;
        background: rgba(0, 0, 0, 0.6);
    }

    .jc-gallery-modal {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 8px 8px 0 0;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        flex-shrink: 0;
    }

    .jc-gallery-modal__left {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 0;
        border-radius: 8px 8px 0 0;
        overflow: hidden;
        position: relative;
    }

    /* 모바일: goods/portfolio 권장 이미지 비율(442x448)에 맞춤 */
    .jc-gallery-modal__image-wrap {
        position: relative;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        aspect-ratio: 442 / 448;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
    }

    .jc-gallery-modal__image {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .jc-gallery-modal__thumb-chips--pc {
        display: none;
    }

    .jc-gallery-modal__head {
        display: none;
    }

    .jc-gallery-modal__disclaimer {
        display: none;
    }

    .jc-gallery-modal__close-mobile {
        display: flex;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 24px;
        height: 24px;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 10;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .jc-gallery-modal__close-mobile::before,
    .jc-gallery-modal__close-mobile::after {
        content: "";
        position: absolute;
        width: 12px;
        height: 1.5px;
        background: #ffffff;
        border-radius: 99px;
    }

    .jc-gallery-modal__close-mobile::before {
        transform: rotate(45deg);
    }
    .jc-gallery-modal__close-mobile::after {
        transform: rotate(-45deg);
    }

    .jc-gallery-modal__disclaimer-overlay {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        min-height: 22px;
        padding: 5.419px 21.676px;
        background: rgba(0, 0, 0, 60%);
        color: #ffffff;
        font-family: 'Pretendard', sans-serif;
        font-weight: 400;
        font-size: 11px;
        line-height: 140%;
        text-align: center;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        z-index: 5;
    }

    .jc-gallery-modal__disclaimer-bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
        flex-shrink: 0;
        font-family: 'Pretendard', sans-serif;
        font-weight: 400;
        font-size: 11px;
        line-height: 140%;
        color: #F29712;
    }

    .jc-gallery-modal__thumb-chips {
        padding: 0;
        gap: 4.5px;
        flex-wrap: wrap;
    }

    .jc-gallery-modal__thumb-chips--mobile {
        display: flex;
    }

    .jc-gallery-modal__nav {
        width: 24px;
        height: 24px;
        left: 12px;
    }

    .jc-gallery-modal__nav--next {
        left: auto;
        right: 12px;
    }

    .jc-gallery-modal__right {
        flex: 1 0 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
        height: auto;
        border-radius: 0 0 8px 8px;
        display: flex;
        flex-direction: column;
    }

    .jc-gallery-modal__contents {
        flex: 1 0 auto;
        padding: 21.68px;
        gap: 10.84px;
        height: auto;
        min-height: calc((min(360px, 100vw - 32px) * 300 / 360) - 22px);
        min-width: 0;
        max-height: none;
        overflow: visible;
    }

    .jc-gallery-modal__close {
        width: 28px;
        height: 28px;
    }

    .jc-gallery-modal__body {
        flex: 1 0 auto;
        gap: 10px;
        min-width: 0;
    }

    .jc-gallery-modal__brand {
        font-size: 14px;
    }

    .jc-gallery-modal__title {
        font-size: 22px;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .jc-gallery-modal__actions {
        width: 100%;
        gap: 6px;
        flex-wrap: wrap;
        min-width: 0;
    }

    .jc-gallery-modal__btn--primary.jc-btn {
        --jc-btn-height: 28px;
        --jc-btn-padding-y: 4px;
        --jc-btn-padding-x: 8px;
        --jc-btn-padding-left: 8px;
        --jc-btn-padding-right: 8px;
        --jc-btn-font-size: 11px;
        --jc-btn-icon-size: 14px;
        min-width: 0;
        flex: 0 0 auto;
        max-width: 100%;
        justify-content: center;
    }

    .jc-gallery-modal__title-wrap,
    .jc-gallery-modal__info,
    .jc-gallery-modal__info-block,
    .jc-gallery-modal__info-rows,
    .jc-gallery-modal__info-row,
    .jc-gallery-modal__info-value,
    .jc-gallery-modal__info-val {
        min-width: 0;
        max-width: 100%;
    }

    .jc-gallery-modal__btn--icon {
        width: 24px;
        height: 24px;
        padding: 3px;
        border-radius: 4.5px;
        background-size: 15px 15px;
    }

    .jc-gallery-modal__btn--pin,
    .jc-gallery-modal__btn--share {
        background-size: 8px 11px;
    }

    .jc-gallery-modal__btn--share {
        background-size: 8px 12px;
    }

    .jc-gallery-modal__share-menu {
        inset: 0;
        padding: 16px;
    }

    .jc-gallery-modal__share-panel {
        width: min(300px, calc(100vw - 32px));
        min-height: 0;
        padding: 24px 18px 28px;
        border-radius: 12px;
    }

    .jc-gallery-modal__share-head {
        min-height: 32px;
        margin-bottom: 20px;
    }

    .jc-gallery-modal__share-title {
        font-size: 22px;
    }

    .jc-gallery-modal__share-close {
        top: -5px;
        right: -7px;
        width: 34px;
        height: 34px;
    }

    .jc-gallery-modal__share-close::before,
    .jc-gallery-modal__share-close::after {
        width: 28px;
        height: 2px;
    }

    .jc-gallery-modal__share-options {
        gap: 16px;
    }

    .jc-gallery-modal__share-option {
        gap: 8px;
        width: 72px;
        min-height: 82px;
        font-size: 16px;
    }

    .jc-gallery-modal__share-option::before {
        width: 52px;
        height: 52px;
    }

    .jc-gallery-modal__share-option::after {
        top: 14px;
        font-size: 24px;
    }

    .jc-gallery-modal__share-option--kakao::after {
        top: 14px;
        width: 23px;
        height: 23px;
    }

    .jc-gallery-modal__share-toast {
        min-width: 200px;
        font-size: 13px;
    }

    .jc-gallery-modal__info,
    .jc-gallery-modal__info-block {
        gap: 6px;
    }

    .jc-gallery-modal__info-label {
        font-size: 14px;
    }

    .jc-gallery-modal__info-value,
    .jc-gallery-modal__info-val {
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .jc-gallery-modal__info-key {
        font-size: 12px;
        min-width: 58px;
    }

    .jc-gallery-modal__info-row {
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .jc-gallery-modal__disclaimer-line {
        display: block;
        white-space: nowrap;
    }
}

/* Figma tablet base: fixed outer padding, auto middle gap, fluid 176-266px product cards */
@media (min-width: 768px) and (max-width: 1439px) {
    #ctt.jc-goods .jc-goods-contents {
        padding: 160px 96px;
    }

    #ctt.jc-goods .jc-goods-contents.is-empty-data {
        padding: 160px 96px !important;
    }

    #ctt.jc-goods .jc-goods-contents-inner {
        --jc-goods-tablet-filter-width: clamp(150px, 16vw, 168px);
        --jc-goods-tablet-gallery-width: clamp(calc((176px * 2) + 20px), calc(((176px * 2) + 20px) + ((100vw - 800px) * 0.75)), 552px);
        width: 100%;
        max-width: none;
        margin: 0;
        gap: 0;
        justify-content: space-between;
        align-items: flex-start;
    }

    #ctt.jc-goods .jc-goods-filter,
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-filter {
        width: var(--jc-goods-tablet-filter-width);
        flex: 0 0 var(--jc-goods-tablet-filter-width);
    }

    #ctt.jc-goods .jc-goods-filter-head,
    #ctt.jc-goods .jc-goods-filter-group,
    #ctt.jc-goods .jc-goods-filter-label {
        width: var(--jc-goods-tablet-filter-width);
        max-width: var(--jc-goods-tablet-filter-width);
    }

    #ctt.jc-goods .jc-goods-filter-title {
        font-size: 20px;
        line-height: 1.4;
    }

    #ctt.jc-goods .jc-goods-reset {
        font-size: 16px;
        line-height: 1.4;
    }

    #ctt.jc-goods .jc-goods-gallery-area,
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-gallery-area,
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-empty-wrap {
        width: var(--jc-goods-tablet-gallery-width);
        min-width: var(--jc-goods-tablet-gallery-width);
        flex: 0 0 var(--jc-goods-tablet-gallery-width);
        max-width: calc(100% - 150px);
        gap: 24px;
        min-height: 0;
    }

    #ctt.jc-goods .jc-search-bar {
        width: 204px;
        height: 40px;
        padding: 6px 12px;
    }

    #ctt.jc-goods .jc-search-bar__input {
        font-size: 13px;
        line-height: 1.4;
        padding-right: 24px;
    }

    #ctt.jc-goods .jc-goods-gallery-grid {
        width: var(--jc-goods-tablet-gallery-width);
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(176px, 1fr));
        column-gap: 20px;
        row-gap: 24px;
    }

    #ctt.jc-goods .jc-goods-card-link {
        gap: 16px;
    }

    #ctt.jc-goods .jc-goods-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    #ctt.jc-goods .jc-goods-card-brand,
    #ctt.jc-goods .jc-goods-card-price {
        font-size: 13px;
        line-height: 1.4;
    }

    #ctt.jc-goods .jc-goods-card-title {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4;
    }
}

@media (min-width: 1025px) and (max-width: 1439px) {
    #ctt.jc-goods .jc-goods-contents-inner {
        --jc-goods-tablet-filter-width: clamp(150px, 16vw, 168px);
        --jc-goods-tablet-gallery-width: min(956px, calc(100% - var(--jc-goods-tablet-filter-width) - 32px));
        gap: 32px;
        justify-content: space-between;
    }

    #ctt.jc-goods .jc-goods-gallery-area,
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-gallery-area,
    #ctt.jc-goods .jc-goods-contents.is-empty-data .jc-goods-empty-wrap {
        max-width: var(--jc-goods-tablet-gallery-width);
    }

    #ctt.jc-goods .jc-goods-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(193px, 1fr));
    }
}
